From 2bc7baab37e9c162af777e34fbf8c33efababcaa Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 22 Feb 2024 16:05:33 +1100 Subject: [PATCH] Fix beta compiler lints --- beacon_node/beacon_chain/src/state_advance_timer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon_node/beacon_chain/src/state_advance_timer.rs b/beacon_node/beacon_chain/src/state_advance_timer.rs index 39d35f81113..5da3d5feff5 100644 --- a/beacon_node/beacon_chain/src/state_advance_timer.rs +++ b/beacon_node/beacon_chain/src/state_advance_timer.rs @@ -52,6 +52,8 @@ const MAX_BLOCK_PRODUCTION_CACHE_DISTANCE: u64 = 4; enum Error { BeaconChain(BeaconChainError), // We don't use the inner value directly, but it's used in the Debug impl. + BeaconState(#[allow(dead_code)] BeaconStateError), + Store(#[allow(dead_code)] store::Error), HeadMissingFromSnapshotCache(#[allow(dead_code)] Hash256), MaxDistanceExceeded { current_slot: Slot,