From 5de80f27995b0ce8a6f0e82e000774502825d85f Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 9 Sep 2019 17:12:47 -0400 Subject: [PATCH] Add extra logging when new head found --- beacon_node/beacon_chain/src/beacon_chain.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index b026b15af3..064260cfc1 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -1332,9 +1332,11 @@ impl BeaconChain { } else { info!( self.log, - "new head block"; + "New head beacon block"; "justified_root" => format!("{}", beacon_state.current_justified_checkpoint.root), + "justified_epoch" => beacon_state.current_justified_checkpoint.epoch, "finalized_root" => format!("{}", beacon_state.finalized_checkpoint.root), + "finalized_epoch" => beacon_state.finalized_checkpoint.epoch, "root" => format!("{}", beacon_block_root), "slot" => new_slot, );