Skip to content

Commit

Permalink
move committee bits to the last index in attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
eserilev committed Jun 17, 2024
1 parent 9c9fc62 commit 77da1dc
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 77da1dc

Please sign in to comment.