Skip to content

Commit

Permalink
build stabilized
Browse files Browse the repository at this point in the history
  • Loading branch information
agnxsh committed May 8, 2024
1 parent 2eac8f5 commit 40c6f0c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
18 changes: 9 additions & 9 deletions beacon_chain/spec/datatypes/electra.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 16 additions & 16 deletions beacon_chain/spec/forks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ type
altair.HashedBeaconState |
bellatrix.HashedBeaconState |
capella.HashedBeaconState |
deneb.HashedBeaconState #|
# electra.HashedBeaconState
deneb.HashedBeaconState |
electra.HashedBeaconState

ForkedHashedBeaconState* = object
case kind*: ConsensusFork
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -189,8 +189,8 @@ type
altair.SignedBeaconBlock |
bellatrix.SignedBeaconBlock |
capella.SignedBeaconBlock |
deneb.SignedBeaconBlock #|
# electra.SignedBeaconBlock
deneb.SignedBeaconBlock |
electra.SignedBeaconBlock

ForkedSignedBeaconBlock* = object
case kind*: ConsensusFork
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 40c6f0c

Please sign in to comment.