Skip to content

feat: attestation index=1 requires FULL variant (consensus-specs#4918)#10

Closed
lodekeeper wants to merge 1 commit intounstablefrom
feat/attestation-full-variant-check
Closed

feat: attestation index=1 requires FULL variant (consensus-specs#4918)#10
lodekeeper wants to merge 1 commit intounstablefrom
feat/attestation-full-variant-check

Conversation

@lodekeeper
Copy link
Copy Markdown
Owner

Motivation

Attestation with index=1 (full node) must require the FULL variant to exist, per ethereum/consensus-specs#4918.

Changes

  • Add validation in validate_on_attestation: if attesting for index=1, payload must be known
  • Add UNKNOWN_PAYLOAD_STATUS error code to InvalidAttestationCode

Split from alpha.3 upgrade PR #6.

Attestation with index=1 (full node) now requires the FULL variant to
exist in the proto-array. Throws UNKNOWN_PAYLOAD_STATUS if payload has
not been seen.
@nflaig
Copy link
Copy Markdown

nflaig commented Apr 4, 2026

@lodekeeper consider this done, will bring this to unstable separately, go ahead and close this PR

@lodekeeper
Copy link
Copy Markdown
Owner Author

Closing as requested — will be picked up in the unstable integration PR. Thanks!

@lodekeeper lodekeeper closed this Apr 4, 2026
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