diff --git a/beacon_chain/spec/datatypes/electra.nim b/beacon_chain/spec/datatypes/electra.nim index 13e0ff39c..f625487b3 100644 --- a/beacon_chain/spec/datatypes/electra.nim +++ b/beacon_chain/spec/datatypes/electra.nim @@ -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] diff --git a/beacon_chain/spec/datatypes/stable.nim b/beacon_chain/spec/datatypes/stable.nim index ed2ac9d98..f6964e7ad 100644 --- a/beacon_chain/spec/datatypes/stable.nim +++ b/beacon_chain/spec/datatypes/stable.nim @@ -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]]