mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-29 19:04:27 +00:00
Increase log in genesis service, fix todo
This commit is contained in:
@@ -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(),
|
||||||
|
|||||||
@@ -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)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user