cmd/geth, eth, core: snapshot dump + unify with trie dump#22795
Merged
karalabe merged 5 commits intoethereum:masterfrom May 12, 2021
Merged
cmd/geth, eth, core: snapshot dump + unify with trie dump#22795karalabe merged 5 commits intoethereum:masterfrom
karalabe merged 5 commits intoethereum:masterfrom
Conversation
Contributor
Author
|
Dumping from the mainnet trie (was performed before the changes in this PR) : Iterating the trie (no code nor storage lookup) took around ~14h. This one also checks the db for any preimages, which does add an extra lookup per account. Same with Results (after I grepped out what I was looking for) are identical. PerformanceSo, performance-wise, it's |
karalabe
reviewed
May 11, 2021
karalabe
reviewed
May 11, 2021
karalabe
reviewed
May 11, 2021
karalabe
reviewed
May 11, 2021
karalabe
reviewed
May 11, 2021
Contributor
Author
|
Updated |
enlight
added a commit
to loomnetwork/go-ethereum
that referenced
this pull request
Sep 18, 2021
RawDump changed in ethereum#22795
atif-konasl
pushed a commit
to frozeman/pandora-execution-engine
that referenced
this pull request
Oct 15, 2021
…2795) * cmd/geth, eth, core: snapshot dump + unify with trie dump * cmd/evm: dump API fixes * cmd/geth, core, eth: fix some remaining errors * cmd/evm: dump - add limit, support address startkey, address review concerns * cmd, core/state, eth: minor polishes, fix snap dump crash, unify format Co-authored-by: Péter Szilágyi <peterke@gmail.com>
19 tasks
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this pull request
Jul 11, 2025
gzliudan
added a commit
to gzliudan/XDPoSChain
that referenced
this pull request
Aug 21, 2025
gzliudan
added a commit
to XinFinOrg/XDPoSChain
that referenced
this pull request
Aug 22, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Supersedes #22787
This PR adds support for doing dumps from the snapshot. This is useful for two purposes:
There are a few differences, however.
jsonlines, notjson) output.startOpening this in draft, will test it a bit more, add some performance numbers.
Examples:
Trie dump:
Snapshot dump: