mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-14 10:23:08 +00:00
fmt
This commit is contained in:
parent
ab2b16956e
commit
deca3ffe69
@ -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"
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@ -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!(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user