Skip to content

feat: require finalization certificate in finalizer for last block of epoch#123

Merged
matthias-wright merged 5 commits intomainfrom
m/epoch-boundary-finalization-not-optional
Feb 10, 2026
Merged

feat: require finalization certificate in finalizer for last block of epoch#123
matthias-wright merged 5 commits intomainfrom
m/epoch-boundary-finalization-not-optional

Conversation

@matthias-wright
Copy link
Collaborator

This makes the finalization certificate that is sent from the syncer to the finalizer together with the last block of an epoch a requirement.

Changes:

  • In the syncer, when trying to dispatch a block to the finalizer, a check is added to ensure that the finalization certificate is available. If it is not available, a request is sent via the resolver.
  • The finalization certificate that is sent from the syncer to the finalizer is still wrapped in an Option. The reason for this is that for every block of an epoch, except the last one, no finalization is sent.
  • In the finalizer's handle_finalized_block method, we expect the finalization certificate for the last block of an epoch.
  • Finalizer tests and binary e2e tests are updated

@matthias-wright matthias-wright merged commit 55a3795 into main Feb 10, 2026
4 checks passed
@matthias-wright matthias-wright deleted the m/epoch-boundary-finalization-not-optional branch February 10, 2026 17:38
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 this pull request may close these issues.

1 participant