Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Jan 7, 2023
1 parent a4d72a3 commit bcbb2e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon_chain/spec/forks.nim
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,8 @@ template getForkedBodyField*(
of BeaconBlockFork.Phase0: unsafeAddr x.phase0Data.message.body.y
of BeaconBlockFork.Altair: unsafeAddr x.altairData.message.body.y
of BeaconBlockFork.Bellatrix: unsafeAddr x.bellatrixData.message.body.y
of BeaconBlockFork.Capella: unsafeAddr x.capellaData.message.body.y)[]
of BeaconBlockFork.Capella: unsafeAddr x.capellaData.message.body.y
of BeaconBlockFork.EIP4844: unsafeAddr x.eip4844Data.message.body.y)[]

func signature*(x: ForkedSignedBeaconBlock |
ForkedMsgTrustedSignedBeaconBlock |
Expand Down
2 changes: 2 additions & 0 deletions tests/test_blockchain_dag.nim
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,9 @@ suite "Diverging hardforks":
altairRuntimeConfig = defaultRuntimeConfig

phase0RuntimeConfig.ALTAIR_FORK_EPOCH = FAR_FUTURE_EPOCH
phase0RuntimeConfig.BELLATRIX_FORK_EPOCH = FAR_FUTURE_EPOCH
altairRuntimeConfig.ALTAIR_FORK_EPOCH = 2.Epoch
altairRuntimeConfig.BELLATRIX_FORK_EPOCH = FAR_FUTURE_EPOCH

var
db = makeTestDB(SLOTS_PER_EPOCH)
Expand Down

0 comments on commit bcbb2e8

Please sign in to comment.