chore: use remaining (#4082)

This commit is contained in:
Matthias Seitz
2023-08-05 18:34:05 +02:00
committed by GitHub
parent 5298868d88
commit a519641e7d

View File

@@ -352,7 +352,7 @@ impl ParityTraceBuilder {
};
let maybe_execution = Some(VmExecutedOperation {
used: step.gas_cost,
used: step.gas_remaining,
push: step.new_stack.into_iter().map(|new_stack| new_stack.into()).collect(),
mem: maybe_memory,
store: maybe_storage,