From 1b908f59ec0f1c1eff0b7f201fd70b9b3e3de71c Mon Sep 17 00:00:00 2001 From: Eitan Seri-Levi Date: Mon, 17 Jun 2024 17:04:28 +0200 Subject: [PATCH] move committee bits to the last index in attestation (#5924) --- consensus/types/src/attestation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/types/src/attestation.rs b/consensus/types/src/attestation.rs index 3df14feadef..eccc63e6be3 100644 --- a/consensus/types/src/attestation.rs +++ b/consensus/types/src/attestation.rs @@ -69,9 +69,9 @@ pub struct Attestation { #[superstruct(only(Electra), partial_getter(rename = "aggregation_bits_electra"))] pub aggregation_bits: BitList, pub data: AttestationData, + pub signature: AggregateSignature, #[superstruct(only(Electra))] pub committee_bits: BitVector, - pub signature: AggregateSignature, } // TODO(electra): think about how to handle fork variants here