Gloas consensus logic for attestations (#8760)

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
This commit is contained in:
Michael Sproul
2026-02-09 16:26:34 +11:00
committed by GitHub
parent b8d098685f
commit f8cfaa4251
8 changed files with 219 additions and 14 deletions

View File

@@ -176,6 +176,8 @@ pub enum BeaconStateError {
NonExecutionAddressWithdrawalCredential,
NoCommitteeFound(CommitteeIndex),
InvalidCommitteeIndex(CommitteeIndex),
/// `Attestation.data.index` field is invalid in overloaded data index scenario.
BadOverloadedDataIndex(u64),
InvalidSelectionProof {
aggregator_index: u64,
},
@@ -198,6 +200,7 @@ pub enum BeaconStateError {
i: usize,
},
InvalidIndicesCount,
InvalidExecutionPayloadAvailabilityIndex(usize),
}
/// Control whether an epoch-indexed field can be indexed at the next epoch or not.