Skip to content

Commit

Permalink
feat(collator): add log for import anchors on init
Browse files Browse the repository at this point in the history
  • Loading branch information
serejkaaa512 committed Jul 10, 2024
1 parent db0a4d2 commit 1e7aa74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions collator/src/collator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,11 @@ impl CollatorStdImpl {
.as_ref()
.map(|upto| upto.processed_to.0)
{
tracing::info!(target: tracing_targets::COLLATOR,
"Collator (block_id={}): init: import anchors from processed upto anchor id {} ...",
self.next_block_id_short,
processed_upto_anchor_id,
);
self.import_anchors_on_init(
processed_upto_anchor_id,
working_state.prev_shard_data.gen_chain_time(),
Expand Down

0 comments on commit 1e7aa74

Please sign in to comment.