From d822b6de0a18a7a9fb724f1ed80ed7a8a60e98c6 Mon Sep 17 00:00:00 2001 From: tersec Date: Sun, 22 Dec 2024 16:44:57 +0000 Subject: [PATCH] add tests for Electra and Fulu gossip transitions --- 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..