From efe2d3c7554ed2e74865c8efc64688ad730f6a06 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Wed, 26 Jun 2024 18:01:19 +0200 Subject: [PATCH 1/2] DO NOT MERGE --- mithril-common/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril-common/Cargo.toml b/mithril-common/Cargo.toml index e988f78cc0..115a894776 100644 --- a/mithril-common/Cargo.toml +++ b/mithril-common/Cargo.toml @@ -91,7 +91,7 @@ tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "time"] } mithril-build-script = { path = "../internal/mithril-build-script", version = "=0.2" } [features] -default = ["rug-backend"] +default = ["rug-backend", "allow_skip_signer_certification"] # Full feature set full = ["random", "fs", "test_tools"] From d478cf1d4f854b1c80c1516b3f017bacdc2c7697 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Thu, 1 Aug 2024 16:49:48 +0200 Subject: [PATCH 2/2] test: add more debug logs for ChainReaderBlockStreamer --- .../src/cardano_block_scanner/chain_reader_block_streamer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mithril-common/src/cardano_block_scanner/chain_reader_block_streamer.rs b/mithril-common/src/cardano_block_scanner/chain_reader_block_streamer.rs index e770d53f3f..a26c0c4475 100644 --- a/mithril-common/src/cardano_block_scanner/chain_reader_block_streamer.rs +++ b/mithril-common/src/cardano_block_scanner/chain_reader_block_streamer.rs @@ -127,14 +127,14 @@ impl ChainReaderBlockStreamer { match chain_reader.get_next_chain_block().await? { Some(ChainBlockNextAction::RollForward { parsed_block }) => { if parsed_block.block_number > self.until { - trace!( + debug!( self.logger, "Received a RollForward above threshold block number ({})", parsed_block.block_number ); Ok(None) } else { - trace!( + debug!( self.logger, "Received a RollForward below threshold block number ({})", parsed_block.block_number