mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-28 01:03:25 +00:00
fix: logging, config
This commit is contained in:
parent
5eb4e0af1f
commit
c622f3540a
@ -139,6 +139,9 @@ impl IndexerCore {
|
||||
|
||||
info!("Searching for initial header finished");
|
||||
|
||||
info!("Moving one block into future in case if channel start was on first L1 block");
|
||||
prev_last_l1_lib_header = self.get_next_lib(prev_last_l1_lib_header).await?;
|
||||
|
||||
info!("Starting backfilling from {prev_last_l1_lib_header}");
|
||||
|
||||
loop {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"home": "./indexer/service",
|
||||
"consensus_info_polling_interval": "1s",
|
||||
"consensus_info_polling_interval": "60s",
|
||||
"bedrock_client_config": {
|
||||
"addr": "http://localhost:8080",
|
||||
"backoff": {
|
||||
|
||||
@ -182,6 +182,14 @@ async fn retry_pending_blocks(seq_core: &Arc<Mutex<SequencerCore>>) -> Result<()
|
||||
(pending_blocks, client)
|
||||
};
|
||||
|
||||
if !pending_blocks.is_empty() {
|
||||
info!(
|
||||
"Resubmitting blocks from {} to {}",
|
||||
pending_blocks.first().unwrap().header.block_id,
|
||||
pending_blocks.last().unwrap().header.block_id
|
||||
);
|
||||
}
|
||||
|
||||
for block in pending_blocks.iter() {
|
||||
debug!(
|
||||
"Resubmitting pending block with id {}",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user