Skip to content

Commit 812ac2c

Browse files
authored
Merge pull request #3759 from jtraglia/ext-aggregate-and-proof
Add electra version of AggregateAndProof
2 parents e96c070 + 93c043a commit 812ac2c

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

specs/electra/validator.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
- [Introduction](#introduction)
1010
- [Prerequisites](#prerequisites)
11+
- [Containers](#containers)
12+
- [Modified Containers](#modified-containers)
13+
- [`AggregateAndProof`](#aggregateandproof)
14+
- [`SignedAggregateAndProof`](#signedaggregateandproof)
1115
- [Block proposal](#block-proposal)
1216
- [Constructing the `BeaconBlockBody`](#constructing-the-beaconblockbody)
1317
- [Attester slashings](#attester-slashings)
@@ -34,6 +38,27 @@ All behaviors and definitions defined in this document, and documents it extends
3438
All terminology, constants, functions, and protocol mechanics defined in the updated Beacon Chain doc of [Electra](./beacon-chain.md) are requisite for this document and used throughout.
3539
Please see related Beacon Chain doc before continuing and use them as a reference throughout.
3640

41+
## Containers
42+
43+
### Modified Containers
44+
45+
#### `AggregateAndProof`
46+
47+
```python
48+
class AggregateAndProof(Container):
49+
aggregator_index: ValidatorIndex
50+
aggregate: Attestation # [Modified in Electra:EIP7549]
51+
selection_proof: BLSSignature
52+
```
53+
54+
#### `SignedAggregateAndProof`
55+
56+
```python
57+
class SignedAggregateAndProof(Container):
58+
message: AggregateAndProof # [Modified in Electra:EIP7549]
59+
signature: BLSSignature
60+
```
61+
3762
## Block proposal
3863

3964
### Constructing the `BeaconBlockBody`

0 commit comments

Comments
 (0)