Skip to content

New alpha.9 spec gossip rules - #10764

Merged
zilm13 merged 2 commits into
Consensys-Incorporated:masterfrom
zilm13:gossip-rules
Jun 1, 2026
Merged

New alpha.9 spec gossip rules#10764
zilm13 merged 2 commits into
Consensys-Incorporated:masterfrom
zilm13:gossip-rules

Conversation

@zilm13

@zilm13 zilm13 commented May 29, 2026

Copy link
Copy Markdown
Contributor

PR Description

If gossip ref tests are passing with it, I think we could merge it already, it's sanity checks, shouldn't break compatibility with alpha.8
2 rules added:
ethereum/consensus-specs#5281
ethereum/consensus-specs#5302

Fixed Issue(s)

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

Low Risk
Targeted gossip validation only for Gloas EPBS messages; stricter filtering should not affect unrelated network paths.

Overview
Implements two Gloas/EPBS alpha.9 gossip checks from the updated consensus specs.

Payload attestation messages: After the referenced beacon block is known, validation now requires block.slot == data.slot. Unknown block slot is saved for future; a slot mismatch is ignored (not rejected).

Execution payload bids: Once the parent beacon block鈥檚 slot is known, the bid鈥檚 slot must be strictly greater than the parent鈥檚 slot; equal or lower slots are rejected.

Unit tests cover the mismatch/reject paths; happy-path mocks stub matching parent/attestation slots.

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

@gfukushima gfukushima 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 merged commit 4e52b04 into Consensys-Incorporated:master Jun 1, 2026
83 checks passed
@zilm13
zilm13 deleted the gossip-rules branch June 1, 2026 11:08
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 1, 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.

2 participants