Skip to content

EIP-8045 + bump ref tests to v1.7.0-alpha.9 - #10766

Merged
zilm13 merged 15 commits into
Consensys-Incorporated:masterfrom
StefanBratanov:eip_8045
Jun 3, 2026
Merged

zilm13 merged 15 commits into
Consensys-Incorporated:masterfrom
StefanBratanov:eip_8045

Conversation

@StefanBratanov

@StefanBratanov StefanBratanov commented May 30, 2026

Copy link
Copy Markdown
Contributor

PR Description

ethereum/consensus-specs#5115

Also adds changes for ethereum/consensus-specs#4704 and new spec tests https://github.com/ethereum/consensus-specs/releases/tag/v1.7.0-alpha.9

Fixed Issue(s)

N/A

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

Note

Medium Risk
Changes beacon-chain deposit processing, epoch pending-deposit ordering, and Gloas proposer selection鈥攃ore consensus paths鈥攖hough scoped to new fork milestones and accompanied by ref-test skips.

Overview
Bumps consensus reference tests to v1.7.0-alpha.9 and aligns Teku with new spec behavior, including EIP-8045 (Gloas proposer selection excludes slashed validators from the active pool before compute_proposer_indices).

Fulu now treats the legacy Eth1 deposit path as fully off: isFormerDepositMechanismDisabled is always true, block bodies must have empty deposits, processDeposits is a no-op, deposit requests no longer set deposit_requests_start_index, and pending-deposit epoch processing no longer waits on Eth1 bridge deposits (ExecutionRequestsProcessorFulu / EpochProcessorFulu; Gloas builds on the Fulu processor). Electra retains the prior bridge/deposit-request semantics via shared helpers.

Reference-test wiring drops should_override_forkchoice_update, ignores fork_choice/on_attestation and several new gossip suites (with targeted skips), expands gloas/altair/fulu exclusions, and skips one Fulu gossip beacon-block case. specrefs tracks alpha.9; fuzz deposit coverage moves to Electra because Fulu disables legacy deposits.

Reviewed by Cursor Bugbot for commit 128e645. Bugbot is set up for automated code reviews on this repo. Configure here.

@StefanBratanov
StefanBratanov marked this pull request as draft May 30, 2026 08:05
@StefanBratanov
StefanBratanov marked this pull request as ready for review June 2, 2026 05:21
zilm13
zilm13 previously approved these changes Jun 2, 2026

@zilm13 zilm13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zilm13

zilm13 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

we have a lot of reference tests for this, it will be covered
and probably you will need to ignore some reference test until we bump to alpha9

@StefanBratanov StefanBratanov changed the title Implement EIP-8045 (Exclude slashed validators from proposing) Implement EIP-8045 + bump ref tests to v1.7.0-alpha.9 Jun 2, 2026
@StefanBratanov StefanBratanov mentioned this pull request Jun 2, 2026
15 tasks
@StefanBratanov StefanBratanov changed the title Implement EIP-8045 + bump ref tests to v1.7.0-alpha.9 EIP-8045 + bump ref tests to v1.7.0-alpha.9 Jun 2, 2026
Comment thread specrefs/.ethspecify.yml

// modified to remove support for the former deposit mechanism
@Override
public boolean areEth1BridgeDepositsNotApplied(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it "Not"? if it should be, I'd find another name for it, boolean with "not" is confusing

Comment thread specrefs/.ethspecify.yml
# Constant for max value, defined elsewhere
- UINT64_MAX_SQRT
- EMPTY_BLOCK_HASH#bellatrix

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess we have this

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is part of Tuweni, on the other side we have MAX_SQRT, will do some changes

Comment thread specrefs/.ethspecify.yml

# Not implemented: phase0
- get_dependent_root#phase0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we have this probably

Comment thread specrefs/.ethspecify.yml
# Not implemented: gloas
- get_proposer_dependent_root#gloas
- get_dependent_root#gloas

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we probably have this

Comment thread specrefs/.ethspecify.yml
- get_payload_due_ms#gloas

# Will be fixed later phase0 and gloas
- get_supported_node#phase0

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

when?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i mean what scope it fits better?

Comment thread fuzz/src/test/java/tech/pegasys/teku/fuzz/FuzzUtilTest.java

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Reviewed by Cursor Bugbot for commit ba9faf4. Configure here.

zilm13
zilm13 previously approved these changes Jun 3, 2026

@zilm13 zilm13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zilm13
zilm13 enabled auto-merge (squash) June 3, 2026 09:05
@zilm13
zilm13 merged commit 9d79b4e into Consensys-Incorporated:master Jun 3, 2026
91 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants