Skip to content

Commit 8bf6068

Browse files
committed
EIP-7549: Append new committee_bits field to end of Attestation
Introducing new fields in the middle of an existing `Container` pointlessly breaks merkleization of all subsequent fields. In the case of `committee_bits`, it is also misleading, as `signature` only covers `data` inside `Attestation`.
1 parent d295813 commit 8bf6068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs/electra/beacon-chain.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ class AttesterSlashing(Container):
287287
class Attestation(Container):
288288
aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT] # [Modified in Electra:EIP7549]
289289
data: AttestationData
290-
committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT] # [New in Electra:EIP7549]
291290
signature: BLSSignature
291+
committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT] # [New in Electra:EIP7549]
292292
```
293293

294294
#### `IndexedAttestation`

0 commit comments

Comments
 (0)