diff --git a/beacon_node/src/run.rs b/beacon_node/src/run.rs index 1afeb5408..52dc3973b 100644 --- a/beacon_node/src/run.rs +++ b/beacon_node/src/run.rs @@ -27,12 +27,22 @@ pub fn run_beacon_node(config: ClientConfig, log: &slog::Logger) -> error::Resul match config.db_type { DBType::RocksDB => { + info!( + log, + "BeaconNode starting"; + "type" => "DiskDBTestingClientType" + ); let client: Client = Client::new(config, log.clone(), &executor)?; run(client, executor, runtime, log) } DBType::Memory => { + info!( + log, + "BeaconNode starting"; + "type" => "MemoryDBTestingClientType" + ); let client: Client = Client::new(config, log.clone(), &executor)?; diff --git a/eth2/types/src/test_utils/testing_beacon_state_builder.rs b/eth2/types/src/test_utils/testing_beacon_state_builder.rs index def58b0d7..b0168eb78 100644 --- a/eth2/types/src/test_utils/testing_beacon_state_builder.rs +++ b/eth2/types/src/test_utils/testing_beacon_state_builder.rs @@ -122,12 +122,7 @@ impl TestingBeaconStateBuilder { }) .collect(); - let now = SystemTime::now() - .duration_since(SystemTime::UNIX_EPOCH) - .unwrap() - .as_secs() - - 30; - let genesis_time = now; // arbitrary + let genesis_time = 1554069200; // arbitrary let mut state = BeaconState::genesis( genesis_time,