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,