From 355a438cc08f1ae8510ce17f22832170d43e64c8 Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Thu, 26 Feb 2026 15:13:38 -0300 Subject: [PATCH] remove spamming log lines --- sequencer_runner/src/lib.rs | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/sequencer_runner/src/lib.rs b/sequencer_runner/src/lib.rs index 7a02bfc3..f81ea482 100644 --- a/sequencer_runner/src/lib.rs +++ b/sequencer_runner/src/lib.rs @@ -182,11 +182,21 @@ async fn retry_pending_blocks(seq_core: &Arc>) -> Result<() (pending_blocks, client) }; + let min = pending_blocks + .iter() + .map(|b| b.header.block_id) + .min() + .expect("empty"); + + let max = pending_blocks + .iter() + .map(|b| b.header.block_id) + .max() + .expect("empty"); + + info!("Resubmitting pending blocks from block id {} to {}", min, max); + for block in pending_blocks.iter() { - info!( - "Resubmitting pending block with id {}", - block.header.block_id - ); // TODO: We could cache the inscribe tx for each pending block to avoid re-creating it // on every retry. let now = Instant::now(); @@ -208,6 +218,7 @@ async fn retry_pending_blocks(seq_core: &Arc>) -> Result<() } debug!(">>>> Post: {:?}", now.elapsed()); } + Ok(()) }