From 7647d17d9eff9e769d5f1ec5d64a349304c17259 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh <80243668+agnxsh@users.noreply.github.com> Date: Fri, 13 Dec 2024 23:21:38 +0530 Subject: [PATCH] wait for fulu fork epoch to pass, then trigger metadata_v3 (#6759) * wait for fulu fork epoch to pass, then trigger metadata_v3 * tiny fix --- beacon_chain/networking/eth2_network.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/networking/eth2_network.nim b/beacon_chain/networking/eth2_network.nim index f585738e5f..96003fdfb9 100644 --- a/beacon_chain/networking/eth2_network.nim +++ b/beacon_chain/networking/eth2_network.nim @@ -2097,7 +2097,7 @@ proc getMetadata_vx(node: Eth2Node, peer: Peer): {.async: (raises: [CancelledError]).} = let res = - if node.cfg.FULU_FORK_EPOCH != FAR_FUTURE_EPOCH: + if node.getBeaconTime().slotOrZero.epoch >= node.cfg.FULU_FORK_EPOCH: # Directly fetch fulu metadata if available await getMetadata_v3(peer) else: