fixup! Disable use of system time in tests

This commit is contained in:
Emilia Hane
2023-02-14 15:04:50 +01:00
parent 9e4abc79fb
commit 13efd47238
6 changed files with 19 additions and 20 deletions

View File

@@ -8,7 +8,6 @@ use beacon_chain::test_utils::{
};
use lazy_static::lazy_static;
use sloggers::{null::NullLoggerBuilder, Build};
use slot_clock::TestingSlotClock;
use std::sync::Arc;
use store::{LevelDB, StoreConfig};
use tempfile::{tempdir, TempDir};
@@ -23,7 +22,7 @@ lazy_static! {
}
type E = MinimalEthSpec;
type TestHarness = BeaconChainHarness<DiskHarnessType<E, TestingSlotClock>>;
type TestHarness = BeaconChainHarness<DiskHarnessType<E>>;
type HotColdDB = store::HotColdDB<E, LevelDB<E>, LevelDB<E>>;
fn get_store(db_path: &TempDir) -> Arc<HotColdDB> {