Move SingleAttestation after ExecutionRequests

This commit is contained in:
Justin Traglia 2024-11-07 11:15:38 -06:00
parent f024665275
commit c662452284
No known key found for this signature in database
GPG Key ID: F099C9CD25DF82A1

View File

@ -271,16 +271,6 @@ class ConsolidationRequest(Container):
target_pubkey: BLSPubkey target_pubkey: BLSPubkey
``` ```
#### `SingleAttestation`
```python
class SingleAttestation(Container):
committee_index: CommitteeIndex
attester_index: ValidatorIndex
data: AttestationData
signature: BLSSignature
```
#### `ExecutionRequests` #### `ExecutionRequests`
*Note*: This container holds requests from the execution layer that are received in [ *Note*: This container holds requests from the execution layer that are received in [
@ -294,6 +284,16 @@ class ExecutionRequests(Container):
consolidations: List[ConsolidationRequest, MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD] # [New in Electra:EIP7251] consolidations: List[ConsolidationRequest, MAX_CONSOLIDATION_REQUESTS_PER_PAYLOAD] # [New in Electra:EIP7251]
``` ```
#### `SingleAttestation`
```python
class SingleAttestation(Container):
committee_index: CommitteeIndex
attester_index: ValidatorIndex
data: AttestationData
signature: BLSSignature
```
### Modified Containers ### Modified Containers
#### `AttesterSlashing` #### `AttesterSlashing`