Skip to content

Only update proposer boost if proposer is same as on canonical chain - #8104

Merged
tersec merged 1 commit into
unstablefrom
dev/etan/fc-propboostindex
Mar 18, 2026
Merged

Only update proposer boost if proposer is same as on canonical chain#8104
tersec merged 1 commit into
unstablefrom
dev/etan/fc-propboostindex

Conversation

@etan-status

Copy link
Copy Markdown
Contributor

From ethereum/consensus-specs#4807:

There's a few changes. Firstly, there's a fix to the mechanism for
setting the proposer boost root: we only update it if
block.proposer_index matches the expected proposer of your current
head_state. This way you can't nullify proposer boost by just
creating forks with a divergent proposer sequence. Also small refactor
with the updating logic moved to update_proposer_boost_root, and the
block timeliness logic in record_block_timeliness. All of this is
essentially unrelated to epbs.

Having to pull a fresh EpochRef is unfortunate, the existing one given to process_block is not necessarily compatible with the canonical one. Should be cached, though.

From ethereum/consensus-specs#4807:

> There's a few changes. Firstly, there's a fix to the mechanism for
> setting the proposer boost root: we only update it if
> `block.proposer_index` matches the expected proposer of your current
> `head_state`. This way you can't nullify proposer boost by just
> creating forks with a divergent proposer sequence. Also small refactor
> with the updating logic moved to `update_proposer_boost_root`, and the
> block timeliness logic in `record_block_timeliness`. All of this is
> essentially unrelated to epbs.

Having to pull a fresh EpochRef is unfortunate, the existing one given
to `process_block` is not necessarily compatible with the canonical one.
Should be cached, though.
@github-actions

Copy link
Copy Markdown

Unit Test Results

       12 files  ±0    2 480 suites  ±0   51m 16s ⏱️ - 3m 2s
12 952 tests ±0  12 405 ✔️ ±0  547 💤 ±0  0 ±0 
65 508 runs  ±0  64 798 ✔️ ±0  710 💤 ±0  0 ±0 

Results for commit ded2042. ± Comparison against base commit 27132f0.

@tersec
tersec merged commit 611ab37 into unstable Mar 18, 2026
11 checks passed
@tersec
tersec deleted the dev/etan/fc-propboostindex branch March 18, 2026 11:23
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