Skip to content

11261 update gossip rules - #11270

Open
mehdi-aouadi wants to merge 5 commits into
Consensys-Incorporated:masterfrom
mehdi-aouadi:11261-update-gossip-rules
Open

11261 update gossip rules#11270
mehdi-aouadi wants to merge 5 commits into
Consensys-Incorporated:masterfrom
mehdi-aouadi:11261-update-gossip-rules

Conversation

@mehdi-aouadi

@mehdi-aouadi mehdi-aouadi commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

PR Description

Update Gloas gossip rules for beta 0 spec

Fixed Issue(s)

fixes #11261

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 which gossip messages are accepted, ignored, or queued across EPBS paths; misalignment with the spec or lookahead logic could drop valid traffic or admit invalid messages.

Overview
Aligns Gloas gossip validation with the beta 0 spec: rule comments, ordering, and several new or tightened checks across payload attestations, execution payload bids/envelopes, and proposer preferences.

GossipValidationHelper adds isWithinProposerLookahead and isWithinParentProposerLookahead (MIN_SEED_LOOKAHEAD / clock disparity). Execution payload bids now IGNORE bids whose slot is past the parent block’s proposer lookahead, and split gas-limit vs. parent-payload checks to match the spec; fee-recipient mismatch stays IGNORE. Proposer preferences dedupe runs earlier, IGNORE pre-Gloas epochs, use the new lookahead helper, and require dependent-block state via getStateAtBlockRoot before checkpoint validation. Payload attestations REJECT out-of-range validator indices and route all outcomes through shared trace logging with validator/slot/block context.

Tests cover lookahead helpers, bid lookahead, blob limits, builder index/version, payload attestation bounds, and the updated proposer-preferences paths.

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

@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 using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 095c1e1. Configure here.

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.

Update gossip rules

1 participant