diff --git a/rust/agents/validator/src/submit.rs b/rust/agents/validator/src/submit.rs index 284dd4205c..b94b5781a1 100644 --- a/rust/agents/validator/src/submit.rs +++ b/rust/agents/validator/src/submit.rs @@ -216,14 +216,20 @@ impl ValidatorSubmitter { bail!("Incorrect tree root, something went wrong"); } - debug!(index = checkpoint.index, "Reached tree consistency"); + if !checkpoint_queue.is_empty() { + info!( + index = checkpoint.index, + queue_len = checkpoint_queue.len(), + "Reached tree consistency" + ); - self.sign_and_submit_checkpoints(checkpoint_queue).await?; + self.sign_and_submit_checkpoints(checkpoint_queue).await?; - info!( - index = checkpoint.index, - "Signed all queued checkpoints until index" - ); + info!( + index = checkpoint.index, + "Signed all queued checkpoints until index" + ); + } Ok(()) } diff --git a/rust/hyperlane-base/src/settings/trace/mod.rs b/rust/hyperlane-base/src/settings/trace/mod.rs index 954843d0d5..a8d835494e 100644 --- a/rust/hyperlane-base/src/settings/trace/mod.rs +++ b/rust/hyperlane-base/src/settings/trace/mod.rs @@ -69,6 +69,9 @@ impl TracingConfig { .with_target("hyper", Level::Info) .with_target("rusoto_core", Level::Info) .with_target("reqwest", Level::Info) + .with_target("h2", Level::Info) + .with_target("tower", Level::Info) + .with_target("tendermint", Level::Info) .with_target("tokio", Level::Debug) .with_target("tokio_util", Level::Debug) .with_target("ethers_providers", Level::Debug);