-
Notifications
You must be signed in to change notification settings - Fork 9
STR-1308: EVM state diff(snapshot) prototype #800
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
7e10bf7
Implement a prototype of EE batch state diff.
evgenyzdanovich 8901eab
Implement exex for EE state diff generation.
evgenyzdanovich 20b236b
Implement an RPC to fetch block state diff.
evgenyzdanovich 8285495
Implement StateDiff traits for DB.
evgenyzdanovich cd50dba
Use state diff as an exex in alpen-reth, guarded by the config flag.
evgenyzdanovich c53f4c1
Implement unit tests for state diff DB table.
evgenyzdanovich d58a305
Add basic fntest for state diff.
evgenyzdanovich 1d706c7
Fmt and other small fixes.
evgenyzdanovich 809f448
Add unit tests for state diff.
evgenyzdanovich 5ded8f6
Introduce a separate BatchStateDiff builder for a cleaner interface.
evgenyzdanovich 7b1b4aa
Factor our mpt into its own separate crate.
evgenyzdanovich d748d63
Use strata-mpt in the evm-ee-stf.
evgenyzdanovich c223321
Basic interative state reconstruction from batch state diffs.
evgenyzdanovich 9bd8563
Extend exex DB with number to hash mapping to facilitate easier testing.
evgenyzdanovich 222dbc9
Expose an additional RPC that reconstructs and returns the block stat…
evgenyzdanovich 5496eeb
Minor fixes
evgenyzdanovich c9025a7
Prettify structure, factor out pieces.
evgenyzdanovich 06c74f7
Split out chainspec into a separate microcrate and use it in statedif…
evgenyzdanovich 3f45638
Add fntests for state reconstructure from state diffs using load gen …
evgenyzdanovich 2f573bf
Minor review fixes.
evgenyzdanovich 1edbb1d
Fix chain configs path in the fntests.
evgenyzdanovich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
description = "Implementation of the Merkle-Patricia Trie" | ||
edition = "2021" | ||
name = "strata-mpt" | ||
version = "0.1.0" | ||
|
||
[dependencies] | ||
alloy-rlp.workspace = true | ||
alloy-rlp-derive.workspace = true | ||
alloy-rpc-types-eth.workspace = true | ||
|
||
anyhow.workspace = true | ||
revm-primitives.workspace = true | ||
rlp = "0.5.2" | ||
serde.workspace = true | ||
thiserror.workspace = true | ||
|
||
[dev-dependencies] | ||
hex-literal = "0.4" |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.