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

Checkpoint sync from states newer than finalization #5082

Open
ethDreamer opened this issue Jan 18, 2024 · 0 comments
Open

Checkpoint sync from states newer than finalization #5082

ethDreamer opened this issue Jan 18, 2024 · 0 comments
Assignees
Labels

Comments

@ethDreamer
Copy link
Member

Description

One of the main edge cases to worry about post-deneb is if the chain takes longer than the data availability boundary to finalize. In such a case, nodes must be able to weak subjectivity sync off of non-finalized states that are still within the data availability boundary.

Present Behaviour

Currently, lighthouse will only request a finalized state from the remote node. This is bad if we run into this edge case.

Expected Behaviour

Lighthouse should be able to accept an anchor state id (finalized, justified, slot, root) from which to sync from. Regardless of whether or not the state is finalized, lighthouse should refuse to sync from a chain that conflicts with the anchor state.

It's not as simple as just treating the anchor state as finalized because lighthouse will then believe it is ahead of all of its peers and won't be able to sync because it filters out peers with lower finalized states.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant