Skip to content

Add a mechanism for providing a restart-resilient confirmed root - #5673

Open
mkalinin wants to merge 6 commits into
ethereum:masterfrom
mkalinin:restart-resilience
Open

mkalinin wants to merge 6 commits into
ethereum:masterfrom
mkalinin:restart-resilience

Conversation

@mkalinin

Copy link
Copy Markdown
Contributor

Introduces a mechanism providing confirmed root that is resilient to a node restart.
The mechanism works as the following:

  • Returns a block confirmed before the restart if it is from an epoch no older than three epochs in the past
  • Falls back to a finalized block if that block is older
  • Returns a recently confirmed block if that block is from a slot higher than the one that was confirmed before the restart

This mechanism is safe as long as the synchrony has been maintained for no more than three epochs since the node went offline.

cc @saltiniroberto @dapplion

Comment thread specs/phase0/fast-confirmation.md Outdated
mkalinin and others added 2 commits September 26, 2026 08:25
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

@jtraglia jtraglia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, feel free to merge whenever you think it's ready 🙂

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants