Skip to content

Commit

Permalink
move committee bits to the last index in attestation (#5924)
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev authored Jun 17, 2024
1 parent 9c9fc62 commit 1b908f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/types/src/attestation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ pub struct Attestation<E: EthSpec> {
#[superstruct(only(Electra), partial_getter(rename = "aggregation_bits_electra"))]
pub aggregation_bits: BitList<E::MaxValidatorsPerSlot>,
pub data: AttestationData,
pub signature: AggregateSignature,
#[superstruct(only(Electra))]
pub committee_bits: BitVector<E::MaxCommitteesPerSlot>,
pub signature: AggregateSignature,
}

// TODO(electra): think about how to handle fork variants here
Expand Down

0 comments on commit 1b908f5

Please sign in to comment.