Skip to content

Require imported payload for index == 1 attestation gossip#5355

Open
tbenr wants to merge 1 commit into
ethereum:masterfrom
tbenr:improve-gloas-attestation-gossip-validation
Open

Require imported payload for index == 1 attestation gossip#5355
tbenr wants to merge 1 commit into
ethereum:masterfrom
tbenr:improve-gloas-attestation-gossip-validation

Conversation

@tbenr

@tbenr tbenr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

The gossip validation rule for attestations and aggregates that vote the execution payload is present for a past block (data.index == 1) only required the payload to have been seen. Require instead that it has been fully imported, i.e. is_payload_verified returns True, which also guarantees its data is available.

Such a vote concerns the payload of a prior block, so by the time the attestation is validated the payload should already be fully imported. Requiring this rather than mere receipt lets a node validate the vote against verified state and its local data availability.

The gossip validation rule for attestations and aggregates that vote
the execution payload is present for a past block (`data.index == 1`)
only required the payload to have been seen. Require instead that it has
been fully imported, i.e. `is_payload_verified` returns `True`, which
also guarantees its data is available.

Such a vote concerns the payload of a prior block, so by the time the
attestation is validated the payload should already be fully imported.
Requiring this rather than mere receipt lets a node validate the vote
against verified state and its local data availability.
@github-actions github-actions Bot added the gloas label Jun 10, 2026

@jtraglia jtraglia 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 clarification. Thanks!

@tbenr

tbenr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

Good clarification. Thanks!

but as later discussed in discord, such a clarification should be applied to several "seen" usage in gossip rules since phase0, for consistency.

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.

2 participants