From 5eb4e0af1fc8079b4ca8169de3ad3836ce9267ee Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Thu, 26 Feb 2026 19:18:41 +0200 Subject: [PATCH] fix: downgrades of logs --- .github/workflows/ci.yml | 2 +- indexer/service/protocol/src/lib.rs | 6 ------ sequencer_core/src/block_settlement_client.rs | 4 ++-- sequencer_runner/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5515da9c..eb4cc791 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -186,7 +186,7 @@ jobs: valid-proof-test: runs-on: ubuntu-latest - timeout-minutes: 90 + timeout-minutes: 60 steps: - uses: actions/checkout@v5 with: diff --git a/indexer/service/protocol/src/lib.rs b/indexer/service/protocol/src/lib.rs index 47dc20cc..8fdd3289 100644 --- a/indexer/service/protocol/src/lib.rs +++ b/indexer/service/protocol/src/lib.rs @@ -190,12 +190,6 @@ pub struct WitnessSet { pub proof: Proof, } -impl WitnessSet { - pub fn signatures_and_public_keys(&self) -> &[(Signature, PublicKey)] { - &self.signatures_and_public_keys - } -} - #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema)] pub struct Proof( #[serde(with = "base64")] diff --git a/sequencer_core/src/block_settlement_client.rs b/sequencer_core/src/block_settlement_client.rs index 075ebd11..15612835 100644 --- a/sequencer_core/src/block_settlement_client.rs +++ b/sequencer_core/src/block_settlement_client.rs @@ -28,7 +28,7 @@ pub trait BlockSettlementClientTrait: Clone { /// Create and sign a transaction for inscribing data. fn create_inscribe_tx(&self, block: &Block) -> Result<(SignedMantleTx, MsgId)> { let inscription_data = borsh::to_vec(block)?; - log::info!( + log::debug!( "The size of the block {} is {} bytes", block.header.block_id, inscription_data.len() @@ -104,7 +104,7 @@ impl BlockSettlementClientTrait for BlockSettlementClient { .await .context("Failed to post transaction to Bedrock")?; - log::info!("Posted block to Bedrock with parent id {parent_id:?} and msg id: {msg_id:?}"); + log::debug!("Posted block to Bedrock with parent id {parent_id:?} and msg id: {msg_id:?}"); Ok(()) } diff --git a/sequencer_runner/src/lib.rs b/sequencer_runner/src/lib.rs index 7a02bfc3..8bef705e 100644 --- a/sequencer_runner/src/lib.rs +++ b/sequencer_runner/src/lib.rs @@ -183,7 +183,7 @@ async fn retry_pending_blocks(seq_core: &Arc>) -> Result<() }; for block in pending_blocks.iter() { - info!( + debug!( "Resubmitting pending block with id {}", block.header.block_id );