fix: logging, config

This commit is contained in:
Pravdyvy 2026-02-26 20:05:16 +02:00
parent 5eb4e0af1f
commit c622f3540a
3 changed files with 12 additions and 1 deletions

View File

@ -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 {

View File

@ -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": {

View File

@ -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 {}",