From 561d845b26b2a766240e3d0f1ef93651aa91ce0f Mon Sep 17 00:00:00 2001 From: tersec Date: Sun, 22 Dec 2024 19:28:18 +0000 Subject: [PATCH] add tests for Electra and Fulu gossip transitions (#6784) --- beacon_chain/spec/network.nim | 4 +- tests/test_gossip_transition.nim | 838 +++++++++++++++---------------- 2 files changed, 421 insertions(+), 421 deletions(-) diff --git a/beacon_chain/spec/network.nim b/beacon_chain/spec/network.nim index 227426e2ed..6ce2d33770 100644 --- a/beacon_chain/spec/network.nim +++ b/beacon_chain/spec/network.nim @@ -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 @@ -248,4 +248,4 @@ func getDataColumnSidecarTopic*(forkDigest: ForkDigest, iterator dataColumnSidecarTopics*(forkDigest: ForkDigest, targetSubnetCount: uint64): string = for subnet_id in 0'u64..