|
33 | 33 | - [`PendingConsolidation`](#pendingconsolidation) |
34 | 34 | - [Modified Containers](#modified-containers) |
35 | 35 | - [`AttesterSlashing`](#attesterslashing) |
| 36 | + - [`IndexedAttestation`](#indexedattestation) |
36 | 37 | - [Extended Containers](#extended-containers) |
37 | 38 | - [`Attestation`](#attestation) |
38 | | - - [`AggregateAndProof`](#aggregateandproof) |
39 | | - - [`SignedAggregateAndProof`](#signedaggregateandproof) |
40 | | - - [`IndexedAttestation`](#indexedattestation) |
41 | 39 | - [`BeaconBlockBody`](#beaconblockbody) |
42 | 40 | - [`ExecutionPayload`](#executionpayload) |
43 | 41 | - [`ExecutionPayloadHeader`](#executionpayloadheader) |
@@ -281,42 +279,25 @@ class AttesterSlashing(Container): |
281 | 279 | attestation_2: IndexedAttestation # [Modified in Electra:EIP7549] |
282 | 280 | ``` |
283 | 281 |
|
284 | | -### Extended Containers |
285 | | - |
286 | | -#### `Attestation` |
| 282 | +#### `IndexedAttestation` |
287 | 283 |
|
288 | 284 | ```python |
289 | | -class Attestation(Container): |
290 | | - aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT] # [Modified in Electra:EIP7549] |
| 285 | +class IndexedAttestation(Container): |
| 286 | + # [Modified in Electra:EIP7549] |
| 287 | + attesting_indices: List[ValidatorIndex, MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT] |
291 | 288 | data: AttestationData |
292 | | - committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT] # [New in Electra:EIP7549] |
293 | 289 | signature: BLSSignature |
294 | 290 | ``` |
295 | 291 |
|
296 | | -#### `AggregateAndProof` |
297 | | - |
298 | | -```python |
299 | | -class AggregateAndProof(Container): |
300 | | - aggregator_index: ValidatorIndex |
301 | | - aggregate: Attestation # [Modified in Electra:EIP7549] |
302 | | - selection_proof: BLSSignature |
303 | | -``` |
304 | | - |
305 | | -#### `SignedAggregateAndProof` |
306 | | - |
307 | | -```python |
308 | | -class SignedAggregateAndProof(Container): |
309 | | - message: AggregateAndProof # [Modified in Electra:EIP7549] |
310 | | - signature: BLSSignature |
311 | | -``` |
| 292 | +### Extended Containers |
312 | 293 |
|
313 | | -#### `IndexedAttestation` |
| 294 | +#### `Attestation` |
314 | 295 |
|
315 | 296 | ```python |
316 | | -class IndexedAttestation(Container): |
317 | | - # [Modified in Electra:EIP7549] |
318 | | - attesting_indices: List[ValidatorIndex, MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT] |
| 297 | +class Attestation(Container): |
| 298 | + aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT] # [Modified in Electra:EIP7549] |
319 | 299 | data: AttestationData |
| 300 | + committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT] # [New in Electra:EIP7549] |
320 | 301 | signature: BLSSignature |
321 | 302 | ``` |
322 | 303 |
|
|
0 commit comments