Skip to content

feat: feature/state dump#702

Merged
kant777 merged 8 commits intomainfrom
feature/state-dump
Jun 23, 2025
Merged

feat: feature/state dump#702
kant777 merged 8 commits intomainfrom
feature/state-dump

Conversation

@kant777
Copy link
Copy Markdown
Contributor

@kant777 kant777 commented Jun 22, 2025

This PR introduces two new utilities to streamline EVM state migration:

State dump script
Captures the full world state at a specified block number N—including each account’s nonce, balance, code and storage slots—and generates a ready-to-use genesis.json for bootstrapping a new chain.

State verification script
After migration, compares nonces, balances, contract code and storage roots across three sources (the original chain, the generated genesis file, and the target chain) to ensure complete fidelity of the migrated state.

@kant777 kant777 changed the title Feature/state dump feat: Feature/state dump Jun 22, 2025
@kant777 kant777 changed the title feat: Feature/state dump feat: feature/state dump Jun 22, 2025
@kant777 kant777 merged commit 15e8c5a into main Jun 23, 2025
5 of 7 checks passed
@kant777 kant777 deleted the feature/state-dump branch June 23, 2025 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants