mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(root): log multiproof calculation (#13673)
This commit is contained in:
@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user