From deca3ffe69bb0d8eb18a281ab16f5515ee7d9198 Mon Sep 17 00:00:00 2001 From: Sergio Chouhy Date: Thu, 29 Jan 2026 00:41:38 -0300 Subject: [PATCH] fmt --- sequencer_core/src/lib.rs | 2 +- sequencer_runner/configs/debug/sequencer_config.json | 5 +++-- sequencer_runner/src/lib.rs | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/sequencer_core/src/lib.rs b/sequencer_core/src/lib.rs index 2caa99ed..dfc488e8 100644 --- a/sequencer_core/src/lib.rs +++ b/sequencer_core/src/lib.rs @@ -71,7 +71,7 @@ impl SequencerCore { Some(state) => { info!("Found local database. Loading state and pending blocks from it."); state - }, + } None => { info!( "No database found when starting the sequencer. Creating a fresh new with the initial data in config" diff --git a/sequencer_runner/configs/debug/sequencer_config.json b/sequencer_runner/configs/debug/sequencer_config.json index ad43ba65..5aeacb48 100644 --- a/sequencer_runner/configs/debug/sequencer_config.json +++ b/sequencer_runner/configs/debug/sequencer_config.json @@ -5,7 +5,8 @@ "is_genesis_random": true, "max_num_tx_in_block": 20, "mempool_max_size": 1000, - "block_create_timeout_millis": 10000, + "block_create_timeout_millis": 5000, + "retry_pending_blocks_timeout_millis": 7000, "port": 3040, "initial_accounts": [ { @@ -157,6 +158,6 @@ ], "bedrock_config": { "channel_id": [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], - "node_url": "http://localhost:8080" + "node_url": "http://localhost:58072" } } diff --git a/sequencer_runner/src/lib.rs b/sequencer_runner/src/lib.rs index 488b755f..8540c2c2 100644 --- a/sequencer_runner/src/lib.rs +++ b/sequencer_runner/src/lib.rs @@ -67,6 +67,7 @@ pub async fn startup_sequencer( continue; }; + info!("Resubmitting {} pending blocks", pending_blocks.len()); for block in pending_blocks.iter() { if let Err(e) = client.submit_block_to_bedrock(block).await { warn!(