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

consensus: race condition receive epoch end proposal before base layer scanner is at tip #1148

Open
sdbondi opened this issue Sep 17, 2024 · 0 comments
Milestone

Comments

@sdbondi
Copy link
Member

sdbondi commented Sep 17, 2024

A node may receive an epoch end block before it has scanned to the tip.

This results in leader failures since the node decides not to vote for it.

We need to ensure that we have scanned to the tip before processing the block.

Possible solutions:

  • park the block until we scan to the epoch
  • wait until block height is height(epoch) + 1 before proposing epoch end to allow enough time to avoid the race condition (node will still accept the block if scanned to height(epoch))
  • other suggestions?
@sdbondi sdbondi converted this from a draft issue Sep 17, 2024
@sdbondi sdbondi added this to the v0.0.1 milestone Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant