Skip to content

Ensure confirmed chain includes greatest unrealized checkpoint - #5288

Merged
jtraglia merged 3 commits into
ethereum:masterfrom
mkalinin:fcr-reconf-chkp-fix
May 29, 2026
Merged

Ensure confirmed chain includes greatest unrealized checkpoint#5288
jtraglia merged 3 commits into
ethereum:masterfrom
mkalinin:fcr-reconf-chkp-fix

Conversation

@mkalinin

Copy link
Copy Markdown
Contributor

Changes reconfirmation code from checking that a confirmed block is descendant of block(GU) to checking that a confirmed block is a descendant of GU, i.e. that the checkpoint is in the chain of a confirmed block.

This PR comes with the corresponding test.

@github-actions github-actions Bot added testing CI, actions, tests, testing infra phase0 labels May 26, 2026
@jtraglia jtraglia changed the title FCR: check if block has GU checkpoint in its chain Check if confirmed block descends from greatest unrealized checkpoint May 26, 2026
@jtraglia jtraglia changed the title Check if confirmed block descends from greatest unrealized checkpoint Ensure confirmed chain includes greatest unrealized checkpoint May 26, 2026
@etan-status

etan-status commented May 26, 2026

Copy link
Copy Markdown
Contributor

Tests (based on v1.7.0-alpha.8):

tersec pushed a commit to status-im/nimbus-eth2 that referenced this pull request May 26, 2026
The spec was updated to match our implementation, the current epoch GU
has to not be just any ancestor but actually be the expected checkpoint.

- ethereum/consensus-specs#5288
@jtraglia

Copy link
Copy Markdown
Member

Hey @mkalinin I support this change. Will approve/merge after the conflict is resolved.

@mkalinin

Copy link
Copy Markdown
Contributor Author

Hey @mkalinin I support this change. Will approve/merge after the conflict is resolved.

done!

@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.

Looks great, thanks!

@jtraglia
jtraglia merged commit 1beb70d into ethereum:master May 29, 2026
15 checks passed
nazarhussain added a commit to ChainSafe/lodestar that referenced this pull request Jun 3, 2026
michaelsproul added a commit to dapplion/lighthouse that referenced this pull request Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

phase0 testing CI, actions, tests, testing infra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants