diff --git a/beacon_chain/spec/datatypes/electra.nim b/beacon_chain/spec/datatypes/electra.nim index fc8e464af9..df39e3f01b 100644 --- a/beacon_chain/spec/datatypes/electra.nim +++ b/beacon_chain/spec/datatypes/electra.nim @@ -549,16 +549,16 @@ type # bls_to_execution_changes*: # List[SignedBLSToExecutionChange, Limit MAX_BLS_TO_EXECUTION_CHANGES] - BeaconStateDiffPreSnapshot* = object - eth1_data_votes_recent*: seq[Eth1Data] - eth1_data_votes_len*: int - slot*: Slot - historical_summaries_len*: int - eth1_withdrawal_credential*: seq[bool] + # BeaconStateDiffPreSnapshot* = object + # eth1_data_votes_recent*: seq[Eth1Data] + # eth1_data_votes_len*: int + # slot*: Slot + # historical_summaries_len*: int + # eth1_withdrawal_credential*: seq[bool] - IndexedWithdrawalCredentials* = object - validator_index*: uint64 - withdrawal_credentials*: Eth2Digest + # IndexedWithdrawalCredentials* = object + # validator_index*: uint64 + # withdrawal_credentials*: Eth2Digest # BeaconStateDiff* = object # # Small and/or static; always include diff --git a/beacon_chain/spec/forks.nim b/beacon_chain/spec/forks.nim index cf9ec2d72a..20d5b6b28d 100644 --- a/beacon_chain/spec/forks.nim +++ b/beacon_chain/spec/forks.nim @@ -61,8 +61,8 @@ type altair.HashedBeaconState | bellatrix.HashedBeaconState | capella.HashedBeaconState | - deneb.HashedBeaconState #| - # electra.HashedBeaconState + deneb.HashedBeaconState | + electra.HashedBeaconState ForkedHashedBeaconState* = object case kind*: ConsensusFork @@ -117,24 +117,24 @@ type altair.BeaconBlock | bellatrix.BeaconBlock | capella.BeaconBlock | - deneb.BeaconBlock #| - # electra.BeaconBlock + deneb.BeaconBlock | + electra.BeaconBlock ForkySigVerifiedBeaconBlock* = phase0.SigVerifiedBeaconBlock | altair.SigVerifiedBeaconBlock | bellatrix.SigVerifiedBeaconBlock | capella.SigVerifiedBeaconBlock | - deneb.SigVerifiedBeaconBlock #| - # electra.SigVerifiedBeaconBlock + deneb.SigVerifiedBeaconBlock | + electra.SigVerifiedBeaconBlock ForkyTrustedBeaconBlock* = phase0.TrustedBeaconBlock | altair.TrustedBeaconBlock | bellatrix.TrustedBeaconBlock | capella.TrustedBeaconBlock | - deneb.TrustedBeaconBlock #| - # electra.TrustedBeaconBlock + deneb.TrustedBeaconBlock | + electra.TrustedBeaconBlock SomeForkyBeaconBlock* = ForkyBeaconBlock | @@ -189,8 +189,8 @@ type altair.SignedBeaconBlock | bellatrix.SignedBeaconBlock | capella.SignedBeaconBlock | - deneb.SignedBeaconBlock #| - # electra.SignedBeaconBlock + deneb.SignedBeaconBlock | + electra.SignedBeaconBlock ForkedSignedBeaconBlock* = object case kind*: ConsensusFork @@ -220,24 +220,24 @@ type altair.SigVerifiedSignedBeaconBlock | bellatrix.SigVerifiedSignedBeaconBlock | capella.SigVerifiedSignedBeaconBlock | - deneb.SigVerifiedSignedBeaconBlock #| - # electra.SigVerifiedSignedBeaconBlock + deneb.SigVerifiedSignedBeaconBlock | + electra.SigVerifiedSignedBeaconBlock ForkyMsgTrustedSignedBeaconBlock* = phase0.MsgTrustedSignedBeaconBlock | altair.MsgTrustedSignedBeaconBlock | bellatrix.MsgTrustedSignedBeaconBlock | capella.MsgTrustedSignedBeaconBlock | - deneb.MsgTrustedSignedBeaconBlock #| - # electra.MsgTrustedSignedBeaconBlock + deneb.MsgTrustedSignedBeaconBlock | + electra.MsgTrustedSignedBeaconBlock ForkyTrustedSignedBeaconBlock* = phase0.TrustedSignedBeaconBlock | altair.TrustedSignedBeaconBlock | bellatrix.TrustedSignedBeaconBlock | capella.TrustedSignedBeaconBlock | - deneb.TrustedSignedBeaconBlock #| - # electra.TrustedSignedBeaconBlock + deneb.TrustedSignedBeaconBlock | + electra.TrustedSignedBeaconBlock ForkedMsgTrustedSignedBeaconBlock* = object case kind*: ConsensusFork