align `StableContainer` types with latest EIP-7688 specs
This commit is contained in:
parent
c2777513bb
commit
388f1cfa7b
|
@ -68,8 +68,7 @@ type
|
|||
signature*: TrustedSig
|
||||
|
||||
# https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.0/specs/electra/beacon-chain.md#attesterslashing
|
||||
AttesterSlashing* {.
|
||||
sszProfile: StableAttesterSlashing.} = object
|
||||
AttesterSlashing* = object
|
||||
attestation_1*: IndexedAttestation # [Modified in Electra:EIP7549]
|
||||
attestation_2*: IndexedAttestation # [Modified in Electra:EIP7549]
|
||||
|
||||
|
|
|
@ -123,8 +123,7 @@ type
|
|||
blob_kzg_commitments*: Opt[KzgCommitments]
|
||||
consolidations*: Opt[List[SignedConsolidation, Limit MAX_CONSOLIDATIONS]]
|
||||
|
||||
StableBeaconState* {.
|
||||
sszStableContainer: MAX_BEACON_STATE_FIELDS.} = object
|
||||
StableBeaconState* {.sszStableContainer: MAX_BEACON_STATE_FIELDS.} = object
|
||||
# Versioning
|
||||
genesis_time*: Opt[uint64]
|
||||
genesis_validators_root*: Opt[Eth2Digest]
|
||||
|
@ -146,7 +145,7 @@ type
|
|||
eth1_data*: Opt[Eth1Data]
|
||||
eth1_data_votes*: Opt[HashList[Eth1Data,
|
||||
Limit(EPOCHS_PER_ETH1_VOTING_PERIOD * SLOTS_PER_EPOCH)]]
|
||||
eth1_deposit_index*: uint64
|
||||
eth1_deposit_index*: Opt[uint64]
|
||||
|
||||
# Registry
|
||||
validators*: Opt[HashList[Validator, Limit VALIDATOR_REGISTRY_LIMIT]]
|
||||
|
|
Loading…
Reference in New Issue