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

Find some solution to the problem of RPC reporting incorrect highest block #77

Open
brson opened this issue Jan 13, 2023 · 0 comments
Open

Comments

@brson
Copy link
Collaborator

brson commented Jan 13, 2023

It happens with multiple chains:

  • we ask for the highest block number, and it gives us a number
  • we ask for that block and it tells us it doesn't know about that block yet

For chains that have this problem, we can enter a state where we are very likely to hit it, fail the import, delay, retry, and keep failing. I would expect the existing 'fast-forwarding' mechanism to help with this situation, but it doesn't seem to.

Recently, hedera got into this situation - 2 million blocks behind, each rescan would hit a block that couldn't be retreived; import would restart, fast-forward, repeat.

I imagine this is because these RPC's are load balancing a cluster that doesn't agree on the highest block, but I don't know.

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