mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
start updating virtual sizes of lists
This commit is contained in:
parent
4ebdceaf12
commit
97025c51ac
@ -367,7 +367,7 @@ class IndexedAttestation(Container):
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
class PendingAttestation(Container):
|
class PendingAttestation(Container):
|
||||||
aggregation_bitfield: bytes # Bit set for every attesting participant within a committee
|
aggregation_bitfield: Bytes[MAX_COMMITTEE_SIZE] # Bit set for every attesting participant within a committee
|
||||||
data: AttestationData
|
data: AttestationData
|
||||||
inclusion_delay: Slot
|
inclusion_delay: Slot
|
||||||
proposer_index: ValidatorIndex
|
proposer_index: ValidatorIndex
|
||||||
@ -434,9 +434,9 @@ class AttesterSlashing(Container):
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
class Attestation(Container):
|
class Attestation(Container):
|
||||||
aggregation_bitfield: bytes
|
aggregation_bitfield: Bytes[MAX_COMMITTEE_SIZE]
|
||||||
data: AttestationData
|
data: AttestationData
|
||||||
custody_bitfield: bytes
|
custody_bitfield: Bytes[MAX_COMMITTEE_SIZE]
|
||||||
signature: BLSSignature
|
signature: BLSSignature
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -480,12 +480,12 @@ class BeaconBlockBody(Container):
|
|||||||
eth1_data: Eth1Data # Eth1 data vote
|
eth1_data: Eth1Data # Eth1 data vote
|
||||||
graffiti: Bytes32 # Arbitrary data
|
graffiti: Bytes32 # Arbitrary data
|
||||||
# Operations
|
# Operations
|
||||||
proposer_slashings: List[ProposerSlashing]
|
proposer_slashings: List[ProposerSlashing, MAX_PROPOSER_SLASHINGS]
|
||||||
attester_slashings: List[AttesterSlashing]
|
attester_slashings: List[AttesterSlashing, MAX_ATTESTER_SLASHINGS]
|
||||||
attestations: List[Attestation]
|
attestations: List[Attestation, MAX_ATTESTATIONS]
|
||||||
deposits: List[Deposit]
|
deposits: List[Deposit, MAX_DEPOSITS]
|
||||||
voluntary_exits: List[VoluntaryExit]
|
voluntary_exits: List[VoluntaryExit, MAX_VOLUNTARY_EXITS]
|
||||||
transfers: List[Transfer]
|
transfers: List[Transfer, MAX_TRANSFERS]
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `BeaconBlock`
|
#### `BeaconBlock`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user