Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent debug_storageRangeAt Behavior in Erigon 2.60.10 #12726

Open
jwelch-qn opened this issue Nov 14, 2024 · 0 comments
Open

Inconsistent debug_storageRangeAt Behavior in Erigon 2.60.10 #12726

jwelch-qn opened this issue Nov 14, 2024 · 0 comments

Comments

@jwelch-qn
Copy link

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^^^

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

No branches or pull requests

1 participant