feat(l1): implement debug_storageRangeAt RPC endpoint#6697
Conversation
Add debug_storageRangeAt which iterates storage slots for a contract address starting from a given key, returning up to maxResult entries. Uses the block's final state root (txIndex-based state reconstruction is a future enhancement). Preimage lookup is not yet available so the original key field is null. Part of #6572
|
Lines of code reportTotal lines added: Detailed view |
Execute a block, then query debug_storageRangeAt by block hash and account address. Assert the response has storage and nextKey.
Summary
debug_storageRangeAtwhich iterates storage slots for a contract address starting from a given keymaxResultentries with anextKeyfor paginationCloses part of #6572
Test plan