Skip to content

Commit

Permalink
fix metricss
Browse files Browse the repository at this point in the history
  • Loading branch information
forcodedancing committed Sep 27, 2024
1 parent 9a4c98c commit 68d9703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/engine/tree/src/tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@ where
let root_elapsed = root_time.elapsed();
self.metrics.block_validation.record_state_root(root_elapsed.as_secs_f64());
debug!(target: "engine::tree", ?root_elapsed, ?block_number, "Calculated state root");
update_root_total(block_number, elapsed.as_millis());
update_root_total(block_number, root_elapsed.as_millis());

let executed = ExecutedBlock {
block: sealed_block.clone(),
Expand Down

0 comments on commit 68d9703

Please sign in to comment.