This commit is contained in:
Sergio Chouhy 2026-01-29 00:41:38 -03:00
parent ab2b16956e
commit deca3ffe69
3 changed files with 5 additions and 3 deletions

View File

@ -71,7 +71,7 @@ impl SequencerCore {
Some(state) => { Some(state) => {
info!("Found local database. Loading state and pending blocks from it."); info!("Found local database. Loading state and pending blocks from it.");
state state
}, }
None => { None => {
info!( info!(
"No database found when starting the sequencer. Creating a fresh new with the initial data in config" "No database found when starting the sequencer. Creating a fresh new with the initial data in config"

View File

@ -5,7 +5,8 @@
"is_genesis_random": true, "is_genesis_random": true,
"max_num_tx_in_block": 20, "max_num_tx_in_block": 20,
"mempool_max_size": 1000, "mempool_max_size": 1000,
"block_create_timeout_millis": 10000, "block_create_timeout_millis": 5000,
"retry_pending_blocks_timeout_millis": 7000,
"port": 3040, "port": 3040,
"initial_accounts": [ "initial_accounts": [
{ {
@ -157,6 +158,6 @@
], ],
"bedrock_config": { "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], "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"
} }
} }

View File

@ -67,6 +67,7 @@ pub async fn startup_sequencer(
continue; continue;
}; };
info!("Resubmitting {} pending blocks", pending_blocks.len());
for block in pending_blocks.iter() { for block in pending_blocks.iter() {
if let Err(e) = client.submit_block_to_bedrock(block).await { if let Err(e) = client.submit_block_to_bedrock(block).await {
warn!( warn!(