Increase log in genesis service, fix todo

This commit is contained in:
Paul Hauner
2019-12-01 11:48:22 +11:00
parent ef3cabb60e
commit e81f7c11bb
2 changed files with 2 additions and 3 deletions

View File

@@ -183,7 +183,7 @@ impl Eth1GenesisService {
{ {
Ok(Loop::Break((spec, genesis_state))) Ok(Loop::Break((spec, genesis_state)))
} else { } else {
trace!( debug!(
service_4.core.log, service_4.core.log,
"No eth1 genesis block found"; "No eth1 genesis block found";
"latest_block_timestamp" => service_4.core.latest_block_timestamp(), "latest_block_timestamp" => service_4.core.latest_block_timestamp(),

View File

@@ -20,8 +20,7 @@ pub fn verify_first_finalization<E: EthSpec>(
network: LocalNetwork<E>, network: LocalNetwork<E>,
slot_duration: Duration, slot_duration: Duration,
) -> impl Future<Item = (), Error = String> { ) -> impl Future<Item = (), Error = String> {
// TODO: set 5 back to 4. epoch_delay(Epoch::new(4), slot_duration, E::slots_per_epoch())
epoch_delay(Epoch::new(5), slot_duration, E::slots_per_epoch())
.and_then(|()| verify_all_finalized_at(network, Epoch::new(2))) .and_then(|()| verify_all_finalized_at(network, Epoch::new(2)))
} }