Skip to content

Commit

Permalink
add tests for Electra and Fulu gossip transitions (#6784)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored Dec 22, 2024
1 parent 06cf78a commit 561d845
Show file tree
Hide file tree
Showing 2 changed files with 421 additions and 421 deletions.
4 changes: 2 additions & 2 deletions beacon_chain/spec/network.nim
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func getTargetGossipState*(
maybeIncludeFork(
ConsensusFork.Electra, ELECTRA_FORK_EPOCH, FULU_FORK_EPOCH)
maybeIncludeFork(
ConsensusFork.Electra, FULU_FORK_EPOCH, FAR_FUTURE_EPOCH)
ConsensusFork.Fulu, FULU_FORK_EPOCH, FAR_FUTURE_EPOCH)

doAssert len(targetForks) <= 2
targetForks
Expand Down Expand Up @@ -248,4 +248,4 @@ func getDataColumnSidecarTopic*(forkDigest: ForkDigest,
iterator dataColumnSidecarTopics*(forkDigest: ForkDigest,
targetSubnetCount: uint64): string =
for subnet_id in 0'u64..<targetSubnetCount:
yield getDataColumnSidecarTopic(forkDigest, subnet_id)
yield getDataColumnSidecarTopic(forkDigest, subnet_id)
Loading

0 comments on commit 561d845

Please sign in to comment.