From a6b771f265f5ccd81b42936896d97c1af5a2fd32 Mon Sep 17 00:00:00 2001 From: Jimmy Chen Date: Thu, 22 Dec 2022 00:19:22 +1100 Subject: [PATCH] Add more logging to `Error::MaxDistanceExceeded` --- beacon_node/beacon_chain/src/state_advance_timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/beacon_chain/src/state_advance_timer.rs b/beacon_node/beacon_chain/src/state_advance_timer.rs index f73223fa5..3d21a14c8 100644 --- a/beacon_node/beacon_chain/src/state_advance_timer.rs +++ b/beacon_node/beacon_chain/src/state_advance_timer.rs @@ -186,7 +186,7 @@ async fn state_advance_timer( head_slot, }) => debug!( log, - "Refused to advance head state"; + "Refused to advance head state. Chain may be syncing or lagging too far behind"; "head_slot" => head_slot, "current_slot" => current_slot, ),