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

Some eth_getBlockByNumber requests have null response without explicit error #624

Open
yakud opened this issue Oct 19, 2022 · 6 comments
Open

Comments

@yakud
Copy link

yakud commented Oct 19, 2022

Hello. I tried fetch two block from https://mainnet.aurora.dev and rpc returns me null result every time.

curl -X POST -s -H 'content-type: application/json' \
  --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["76484583", false],"id":1}' \
  https://mainnet.aurora.dev

result:

{"jsonrpc":"2.0","id":1,"result":null}

same for 76484584. But blocks around this two returns right response

What could be the problem? And how do I validate a block hash chain via rpc?

@0xChupaCabra
Copy link

same problem here for block 86443859

@spilin
Copy link
Contributor

spilin commented Mar 20, 2023

Hey, @stepollo2 .
Trying to reproduce this issue, hope you can help me with that by answering few questions.

  1. Is this an occasional issue, or it occurs 100% of the time for this specific block?
  2. What that server is located?

@0xChupaCabra
Copy link

0xChupaCabra commented Mar 20, 2023

It happens always at this specific block 100% of the times

curl -X POST -s -H 'content-type: application/json'   --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["86443859", false],"id":1}' http://10.1.1.3:10082
{"jsonrpc":"2.0","id":1,"result":null}

The node is hosted on a dedicated server with 512gb ram and 7TB NVMe drives

@aleksuss
Copy link
Member

@stepollo2 there is a typo jsponrpc -> jsonrpc
It works:

curl -X POST https://mainnet.aurora.dev -H 'Content-Type: application/json' -d '{"method":"eth_getBlockByNumber","params":["0x5270753",true],"id":0,"jsonrpc":"2.0"}'

@0xChupaCabra
Copy link

@stepollo2 there is a typo jsponrpc -> jsonrpc It works:

curl -X POST https://mainnet.aurora.dev -H 'Content-Type: application/json' -d '{"method":"eth_getBlockByNumber","params":["0x5270753",true],"id":0,"jsonrpc":"2.0"}'

saw it and edited the post. im using etherjs to process blocks and it returns null as well

@spilin
Copy link
Contributor

spilin commented Mar 20, 2023

@stepollo2 Where is this server located geographically?

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

4 participants