From cd8757de1c67bfb87e7f171d5e27efa6aa686273 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Mon, 13 Feb 2023 16:51:55 -0500 Subject: [PATCH] Revert "make batch size check compile time panic" This reverts commit 68f2484efcccd3a51fd1f92356cf95671d0c9eb1. --- beacon_node/network/src/service/tests.rs | 2 +- beacon_node/network/src/sync/block_lookups/tests.rs | 2 +- beacon_node/network/src/sync/range_sync/range.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beacon_node/network/src/service/tests.rs b/beacon_node/network/src/service/tests.rs index 240e16c7c..66d23234d 100644 --- a/beacon_node/network/src/service/tests.rs +++ b/beacon_node/network/src/service/tests.rs @@ -4,7 +4,7 @@ mod tests { use crate::persisted_dht::load_dht; use crate::{NetworkConfig, NetworkService}; use beacon_chain::test_utils::{ - BeaconChainHarness, EphemeralTestingSlotClockHarnessType as HarnessType, + BeaconChainHarness, EphemeralSystemTimeSlotClockHarnessType as HarnessType, }; use lighthouse_network::Enr; use slog::{o, Drain, Level, Logger}; diff --git a/beacon_node/network/src/sync/block_lookups/tests.rs b/beacon_node/network/src/sync/block_lookups/tests.rs index c45fe545e..c310d61b4 100644 --- a/beacon_node/network/src/sync/block_lookups/tests.rs +++ b/beacon_node/network/src/sync/block_lookups/tests.rs @@ -10,7 +10,7 @@ use beacon_chain::{ builder::Witness, eth1_chain::CachingEth1Backend, test_utils::{ - build_log, BeaconChainHarness, EphemeralTestingSlotClockHarnessType as HarnessType, + build_log, BeaconChainHarness, EphemeralSystemTimeSlotClockHarnessType as HarnessType, }, }; pub use genesis::{interop_genesis_state, DEFAULT_ETH1_BLOCK_HASH}; diff --git a/beacon_node/network/src/sync/range_sync/range.rs b/beacon_node/network/src/sync/range_sync/range.rs index 4291abd52..afa42371b 100644 --- a/beacon_node/network/src/sync/range_sync/range.rs +++ b/beacon_node/network/src/sync/range_sync/range.rs @@ -382,7 +382,7 @@ mod tests { eth1_chain::CachingEth1Backend, parking_lot::RwLock, test_utils::{ - build_log, BeaconChainHarness, EphemeralTestingSlotClockHarnessType as HarnessType, + build_log, BeaconChainHarness, EphemeralSystemTimeSlotClockHarnessType as HarnessType, }, EngineState, };