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] Epoch sync should always do something if we're in SyncStatus::EpochSync #12566

Open
Tracked by #101 ...
robin-near opened this issue Dec 5, 2024 · 0 comments
Open
Tracked by #101 ...

Comments

@robin-near
Copy link
Contributor

Description

Currently we check three conditions before doing epoch sync: config not disabled, header head at genesis, highest height is far ahead enough. In weird cases it might happen that some of these are no longer true after they were initially true. We should make sure that if we're already in SyncStatus::EpochSync but these conditions became no longer all true, we should exit SyncStatus::EpochSync, or else the node would be stuck on that state, as nothing else can make progress.

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