Skip to content

Accept not_yet_revealed fork choice validity - #61

Merged
samcm merged 1 commit into
masterfrom
fix/fork-choice-not-yet-revealed
Oct 7, 2026
Merged

samcm merged 1 commit into
masterfrom
fix/fork-choice-not-yet-revealed

Conversation

@samcm

@samcm samcm commented Oct 7, 2026

Copy link
Copy Markdown
Member

Lighthouse reports Gloas fork choice nodes whose payload envelope has not arrived as not_yet_revealed (proposed in ethereum/beacon-APIs#658). Rejecting it fails the whole /eth/v1/debug/fork_choice response, so Sepolia lighthouse fork choice snapshots stopped at the Glamsterdam fork. Adds the value to ForkChoiceNodeValidity.

Lighthouse reports Gloas fork choice nodes whose payload envelope has not
arrived as not_yet_revealed, and rejecting it fails the whole fork choice
response.

@redpandabot redpandabot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Adds ForkChoiceNodeValidityNotYetRevealed to the fork choice validity enum, its string table and FromString parser, plus a round-trip test. The constant is appended so existing iota values are unchanged, the string matches the upstream beacon-APIs#658 spec exactly, and no other switch or mapping over this enum exists in the repo. The change is complete and correct.


Reviewed 2 changed file(s) @ 7b1835e6 — no blocking issues found.
"He who digs a pit for others falls into it himself." — Eastern European proverb

@samcm
samcm merged commit c11b2f4 into master Oct 7, 2026
3 checks passed
@samcm
samcm deleted the fix/fork-choice-not-yet-revealed branch October 7, 2026 05:22
@nflaig

nflaig commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

we should not use fork choice v1 endpoint after gloas, please take a look at ethereum/beacon-APIs#615 instead

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.

2 participants