Skip to content

Commit

Permalink
fix execute_with
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Nov 4, 2024
1 parent 45608c1 commit 703d2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-primitives/stf-executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ where
});

let state_size_bytes = state.size();
let decimals = G::get_shielding_target_decimals();
let decimals = state.execute_with(|| G::get_shielding_target_decimals());
let runtime_metrics = gather_runtime_metrics(&state, decimals);
let successful_call_count =
executed_and_failed_calls.iter().filter(|call| call.is_success()).count();
Expand Down

0 comments on commit 703d2c8

Please sign in to comment.