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 11, 2024
1 parent 1d0b93a commit 5b80bcc
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 @@ -336,6 +336,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 5b80bcc

Please sign in to comment.