-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
System information
Erigon version: Erigon/2.60.10
OS & Version: Ubuntu 24.04
Commit hash:
Erigon Command (with flags/config):
curl <ERIGON ENDPOINT> \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"debug_storageRangeAt","params":["0x4058c0ab3483dd92e7a872330eb3f0086e4664b846549592d672cc4f31776013",0,"0x3a10dc1a145da500d5fba38b9ec49c8ff11a981f","0x00",1],"id":1,"jsonrpc":"2.0"}'
Consensus Layer: Lighthouse
Chain/Network: Mainnet Ethereum
Expected behaviour
Calling a geth archive node we get a full accurate response:
{"jsonrpc":"2.0","id":1,"result":{"storage":{"0x0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9":{"key":"0x000000000000000000000000000000000000000000000000000000000000000b","value":"0x0000000000000000000000008680a87a6ff5a2467eeb8a877f3dcfefde7b65b5"}},"nextKey":"0x036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db0"}}
Actual behaviour
When calling an erigon archive node we get 0x000 key values which are not accurate.
{"jsonrpc":"2.0","id":1,"result":{"storage":{"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563":{"key":"0x0000000000000000000000000000000000000000000000000000000000000000","value":"0x0000000000000000000000000000000000000000000000000000000000000001"}},"nextKey":"0x0000000000000000000000000000000000000000000000000000000000000001"}}
Steps to reproduce the behaviour
See Erigon Command^^^