Skip to content

Commit 1b908f5

Browse files
authored
move committee bits to the last index in attestation (#5924)
1 parent 9c9fc62 commit 1b908f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/types/src/attestation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ pub struct Attestation<E: EthSpec> {
6969
#[superstruct(only(Electra), partial_getter(rename = "aggregation_bits_electra"))]
7070
pub aggregation_bits: BitList<E::MaxValidatorsPerSlot>,
7171
pub data: AttestationData,
72+
pub signature: AggregateSignature,
7273
#[superstruct(only(Electra))]
7374
pub committee_bits: BitVector<E::MaxCommitteesPerSlot>,
74-
pub signature: AggregateSignature,
7575
}
7676

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

0 commit comments

Comments
 (0)