feat(l1): implement debug_dumpBlock endpoint#6701
Conversation
Add debug_dumpBlock which dumps the entire state at a given block, returning the state root and all accounts with their balance, nonce, storage root, and code hash.
|
Lines of code reportTotal lines added: Detailed view |
Execute a block, then query debug_dumpBlock by number. Assert the response has root and accounts fields with non-empty state.
Summary
debug_dumpBlockRPC endpoint that dumps the entire state at a given blockiter_accountsto iterate the state trie at the block's state rootCloses part of #6572