Range sync rate limit exhaust when execution node is syncing #6435
Labels
meta-bug
Issues that identify a bug and require a fix.
meta-discussion
Indicates a topic that requires input from various developers.
Describe the bug
When beacon node start and tries to sync from genesis, it usually fall back to range sync because head of connected peers are too far in the future.
BeaconBlocksByRange
method to get blocks from connected peer.BeaconBlocksByRange
continuously.BeaconBlocksByRange
which is 1024 blocks per 10s.lodestar/packages/beacon-node/src/network/reqresp/rateLimit.ts
Line 31 in 5047410
BeaconBlocksByRange
.Expected behavior
It should be able to proceed with range sync after waiting the execution node to be synced.
Possible solution could be to wait for the execution engine to sync before initiating multiple concurrent
BeaconBlocksByRange
requests.Steps to reproduce
Additional context
Look for the logs of
range-sync-node-beacon-lodestar.log
multi-fork.zip
Operating system
Linux
Lodestar version or commit hash
unstable
The text was updated successfully, but these errors were encountered: