From 11f17e52a0eea2db2ec05f6362b81e15ff29558d Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 25 Feb 2025 12:36:13 +1100 Subject: [PATCH] Disable liveness risk --- beacon_node/beacon_chain/src/beacon_chain.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index eb731f7d6a..63c616339b 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -6089,8 +6089,10 @@ impl BeaconChain { // // This prevents the routine from running during sync. let head_slot = cached_head.head_slot(); - if head_slot + T::EthSpec::slots_per_epoch() * PREPARE_PROPOSER_HISTORIC_EPOCHS - < current_slot + if 2 + 2 == 5 + && head_slot + + T::EthSpec::slots_per_epoch() * PREPARE_PROPOSER_HISTORIC_EPOCHS + < current_slot { debug!( chain.log,