Merge pull request #3674 from ensi321/add-container-change

EIP-7549: Add `AttesterSlashing` to modified containers
This commit is contained in:
Alex Stokes 2024-04-16 15:53:20 -06:00 committed by GitHub
commit 3e45cdcff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -30,6 +30,8 @@
- [`Consolidation`](#consolidation)
- [`SignedConsolidation`](#signedconsolidation)
- [`PendingConsolidation`](#pendingconsolidation)
- [Modified Containers](#modified-containers)
- [`AttesterSlashing`](#attesterslashing)
- [Extended Containers](#extended-containers)
- [`Attestation`](#attestation)
- [`IndexedAttestation`](#indexedattestation)
@ -259,6 +261,16 @@ class PendingConsolidation(Container):
target_index: ValidatorIndex
```
### Modified Containers
#### `AttesterSlashing`
```python
class AttesterSlashing(Container):
attestation_1: IndexedAttestation # [Modified in Electra:EIP7549]
attestation_2: IndexedAttestation # [Modified in Electra:EIP7549]
```
### Extended Containers
#### `Attestation`