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