8000 Verify statedb by ethan-kr · Pull Request #1701 · klaytn/klaytn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Verify statedb #1701

Merged
merged 8 commits into from
Nov 17, 2022
Merged

Verify statedb #1701

merged 8 commits into from
Nov 17, 2022

Conversation

ethan-kr
Copy link
Contributor
@ethan-kr ethan-kr commented Nov 15, 2022

Proposed changes

  • This PR is derived from all: bloom-filter based pruning mechanism ethereum/go-ethereum#21724
  • Added snapshot subcommand in order to verify snapshot data
  • It creates a trie based on snapshot data and compare the created root hash with the root hash in the header
  • Added snapshot subcommand in order to trace statetrie nodes
  • It reads all the nodes in the statetrie, looking for any missing nodes.
  • Added iteration tools for snapshot nodes & statetrie nodes

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

#1229

@kjhman21 kjhman21 mentioned this pull request Nov 17, 2022
31 tasks
@ethan-kr ethan-kr merged commit 33bf8a6 into klaytn:dev Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0