Skip to content

Commit d3187fd

Browse files
committed
refactor: improve lifecycle events
1 parent fa557af commit d3187fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/tasks/cache/tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl TxPoller {
134134
})
135135
{
136136
let _guard = span.entered();
137-
debug!(count = ?transactions.len(), "found transactions");
137+
trace!(count = ?transactions.len(), "found transactions");
138138
for tx in transactions.into_iter() {
139139
self.spawn_check_nonce(tx, outbound.clone());
140140
}

src/tasks/env.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,16 +322,16 @@ impl EnvTask {
322322
let rollup_env = self.construct_rollup_env(rollup_header.into());
323323
let host_env = self.construct_host_env(host_header);
324324

325-
span_debug!(
325+
span_info!(
326326
span,
327327
rollup_env_number = rollup_env.block_env.number.to::<u64>(),
328328
rollup_env_basefee = rollup_env.block_env.basefee,
329-
"constructed block env"
329+
"constructed block env, initiating build process"
330330
);
331331

332332
if sender.send(Some(SimEnv { span, rollup: rollup_env, host: host_env })).is_err() {
333333
// The receiver has been dropped, so we can stop the task.
334-
tracing::debug!("receiver dropped, stopping task");
334+
span_debug!("receiver dropped, stopping task");
335335
break;
336336
}
337337
}

0 commit comments

Comments
 (0)