From 8e777c9ec7c7358fa00beb09bf164d0a52deefe1 Mon Sep 17 00:00:00 2001 From: Bastian Gruber Date: Thu, 11 Apr 2024 13:04:34 -0300 Subject: [PATCH] fix: add logs to check if the latest version got picked up --- crates/topos-certificate-spammer/src/lib.rs | 2 +- crates/topos/src/components/regtest/mod.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/topos-certificate-spammer/src/lib.rs b/crates/topos-certificate-spammer/src/lib.rs index 37d3b7681..3a7835b43 100644 --- a/crates/topos-certificate-spammer/src/lib.rs +++ b/crates/topos-certificate-spammer/src/lib.rs @@ -189,7 +189,7 @@ pub async fn run( args: CertificateSpammerConfig, mut shutdown: mpsc::Receiver>, ) -> Result<(), Error> { - debug!("{:#?}", args); + info!("{:#?}", args); // Is list of nodes is specified in the command line use them otherwise use // config file provided nodes let target_nodes = if args.benchmark { diff --git a/crates/topos/src/components/regtest/mod.rs b/crates/topos/src/components/regtest/mod.rs index b6dbbf92c..f8933f9b2 100644 --- a/crates/topos/src/components/regtest/mod.rs +++ b/crates/topos/src/components/regtest/mod.rs @@ -43,6 +43,8 @@ pub(crate) async fn handle_command( env!("TOPOS_VERSION"), )?; + info!("Verify version of topos_certificate_spammer: 111"); + let (shutdown_sender, shutdown_receiver) = mpsc::channel::>(1); let mut runtime = spawn(topos_certificate_spammer::run(config, shutdown_receiver));