Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mpt): TrieCacheDB scaffold #174

Merged
merged 1 commit into from
May 8, 2024
Merged

feat(mpt): TrieCacheDB scaffold #174

merged 1 commit into from
May 8, 2024

Conversation

clabby
Copy link
Collaborator

@clabby clabby commented May 5, 2024

Overview

Introduces the scaffolding for the TrieCacheDB, a revm Database backed by a TrieNode with a fetcher for the preimages of intermediate blinded nodes.

This PR only implements the logic for fetching and caching data from the state root verifiably. Follow-up PRs will implement the logic for updating the state root as well as the DatabaseCommit trait implementation, as these are more complex areas that should get independent review.

Copy link
Collaborator Author

clabby commented May 5, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on Graphite Graphite

@clabby clabby force-pushed the cl/trie-node-retrieval branch from 5f20a54 to 7fe1984 Compare May 5, 2024 00:05
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 8ead0c7 to 585a29a Compare May 5, 2024 00:05
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 7fe1984 to 245962d Compare May 5, 2024 00:17
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 585a29a to b26f547 Compare May 5, 2024 00:17
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 245962d to 7ef1971 Compare May 5, 2024 00:30
@clabby clabby force-pushed the cl/trie-db-scaffold branch from b26f547 to bff1195 Compare May 5, 2024 00:30
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 7ef1971 to f0fd22a Compare May 5, 2024 04:20
@clabby clabby force-pushed the cl/trie-db-scaffold branch from bff1195 to 19e239e Compare May 5, 2024 04:20
@clabby clabby self-assigned this May 5, 2024
@clabby clabby added A-mpt Area: kona-mpt crate K-feature Kind: feature labels May 5, 2024
@clabby clabby force-pushed the cl/trie-node-retrieval branch from f0fd22a to 332d5be Compare May 5, 2024 04:22
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 19e239e to 7b86352 Compare May 5, 2024 04:22
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 332d5be to c9e7462 Compare May 5, 2024 05:07
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 7b86352 to 30050ba Compare May 5, 2024 05:07
@clabby clabby force-pushed the cl/trie-node-retrieval branch from c9e7462 to 93fed22 Compare May 5, 2024 05:07
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 30050ba to a2dd0f5 Compare May 5, 2024 05:07
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 93fed22 to 6b2ad4d Compare May 5, 2024 05:11
@clabby clabby force-pushed the cl/trie-db-scaffold branch from a2dd0f5 to fe56e84 Compare May 5, 2024 05:11
@clabby clabby marked this pull request as ready for review May 5, 2024 18:11
@clabby clabby force-pushed the cl/trie-node-retrieval branch from 6b2ad4d to 5f64a34 Compare May 8, 2024 18:02
@clabby clabby force-pushed the cl/trie-db-scaffold branch from fe56e84 to 89c475a Compare May 8, 2024 18:02
Introduces the scaffolding for the `TrieCacheDB`, a `revm` `Database`
backed by a `TrieNode` with a fetcher for the preimages of intermediate
blinded nodes.
@clabby clabby changed the base branch from cl/trie-node-retrieval to main May 8, 2024 20:09
@clabby clabby force-pushed the cl/trie-db-scaffold branch from 89c475a to 42220ac Compare May 8, 2024 20:09
@clabby clabby enabled auto-merge May 8, 2024 20:10
@clabby clabby added this pull request to the merge queue May 8, 2024
Merged via the queue into main with commit 8113e34 May 8, 2024
13 checks passed
@github-actions github-actions bot mentioned this pull request May 8, 2024
This was referenced May 29, 2024
This was referenced Jun 6, 2024
This was referenced Jun 16, 2024
@clabby clabby deleted the cl/trie-db-scaffold branch July 2, 2024 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mpt Area: kona-mpt crate K-feature Kind: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants