close
Skip to content

Use head_state for epoch boundary root note#4881

Merged
jtraglia merged 1 commit into
ethereum:masterfrom
sashass1315:docs/validator-ffg-head-state
Jan 30, 2026
Merged

Use head_state for epoch boundary root note#4881
jtraglia merged 1 commit into
ethereum:masterfrom
sashass1315:docs/validator-ffg-head-state

Conversation

@sashass1315

Copy link
Copy Markdown
Contributor

The FFG section in the honest validator spec described looking up epoch_boundary_block_root with get_block_root(state, get_current_epoch(head_state)) while all preceding steps consistently use head_state. Although this does not change the computed value, the mixed naming is confusing for implementers and suggests the wrong state object is being referenced.

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

Good catch. Thanks!

@jtraglia jtraglia changed the title chore(phase0): use head_state for epoch boundary root note Use head_state for epoch boundary root note Jan 30, 2026
@jtraglia jtraglia merged commit 4e92e9b into ethereum:master Jan 30, 2026
17 of 18 checks passed
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.

3 participants