chore(root): log multiproof calculation (#13673)

This commit is contained in:
Alexey Shekhirin
2025-01-06 17:04:58 +00:00
committed by GitHub
parent 09f2f4adfe
commit fbf7430d9b

View File

@ -403,7 +403,20 @@ where
) { ) {
// Dispatch proof gathering for this state update // Dispatch proof gathering for this state update
scope.spawn(move |_| { scope.spawn(move |_| {
trace!(
target: "engine::root",
proof_sequence_number,
?proof_targets,
"Starting multiproof calculation",
);
let start = Instant::now();
let result = calculate_multiproof(thread_pool, config, proof_targets.clone()); let result = calculate_multiproof(thread_pool, config, proof_targets.clone());
trace!(
target: "engine::root",
proof_sequence_number,
elapsed = ?start.elapsed(),
"Multiproof calculated",
);
match result { match result {
Ok(proof) => { Ok(proof) => {