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

[Epoch Sync] Blocks received during state sync marked as invalid #11955

Closed
Tracked by #73
robin-near opened this issue Aug 15, 2024 · 0 comments · Fixed by #12172
Closed
Tracked by #73

[Epoch Sync] Blocks received during state sync marked as invalid #11955

robin-near opened this issue Aug 15, 2024 · 0 comments · Fixed by #12172

Comments

@robin-near
Copy link
Contributor

After epoch sync and the header sync that follows, we do state sync. During the state sync, recent blocks that are received from other peers are marked invalid by the node. I suspect this is because our HEAD is still at genesis and there's some heuristic that rejects blocks whose heights are too far from the genesis. We should fix that; otherwise after state sync is done we will not be able to block sync all the way - as we would be stuck on some block marked as invalid earlier.

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

Successfully merging a pull request may close this issue.

1 participant