Add electra version of AggregateAndProof

This commit is contained in:
Justin Traglia 2024-05-07 16:29:49 -05:00
parent 1a5671d2f6
commit 99ccfe0163

View File

@ -291,6 +291,23 @@ class Attestation(Container):
signature: BLSSignature
```
#### `AggregateAndProof`
```python
class AggregateAndProof(Container):
aggregator_index: ValidatorIndex
aggregate: Attestation # [New in Electra:EIP7549]
selection_proof: BLSSignature
```
#### `SignedAggregateAndProof`
```python
class SignedAggregateAndProof(Container):
message: AggregateAndProof # [New in Electra:EIP7549]
signature: BLSSignature
```
#### `IndexedAttestation`
```python