Skip to content

Commit fbf7430

Browse files
authored
chore(root): log multiproof calculation (#13673)
1 parent 09f2f4a commit fbf7430

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

crates/engine/tree/src/tree/root.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,20 @@ where
403403
) {
404404
// Dispatch proof gathering for this state update
405405
scope.spawn(move |_| {
406+
trace!(
407+
target: "engine::root",
408+
proof_sequence_number,
409+
?proof_targets,
410+
"Starting multiproof calculation",
411+
);
412+
let start = Instant::now();
406413
let result = calculate_multiproof(thread_pool, config, proof_targets.clone());
414+
trace!(
415+
target: "engine::root",
416+
proof_sequence_number,
417+
elapsed = ?start.elapsed(),
418+
"Multiproof calculated",
419+
);
407420

408421
match result {
409422
Ok(proof) => {

0 commit comments

Comments
 (0)