diff --git a/crates/revm/src/inspector/customprinter.rs b/crates/revm/src/inspector/customprinter.rs index 17510feeeb..510d1f5a95 100644 --- a/crates/revm/src/inspector/customprinter.rs +++ b/crates/revm/src/inspector/customprinter.rs @@ -26,11 +26,9 @@ impl Inspector for CustomPrintTracer { let opcode_str = opcode::OPCODE_JUMPMAP[opcode as usize]; let gas_remaining = self.gas_inspector.gas_remaining(); - let depth = data.journaled_state.depth(); println!( - "depth:{}, PC:{}, gas:{:#x}({}), OPCODE: {:?}({:?}) refund:{:#x}({}) Stack:{:?}, Data size:{} Free stack:{}", - depth, + "PC:{}, gas:{:#x}({}), OPCODE: {:?}({:?}) refund:{:#x}({}) Stack:{:?}, Data size:{}", interp.program_counter(), gas_remaining, gas_remaining, @@ -40,7 +38,6 @@ impl Inspector for CustomPrintTracer { interp.gas.refunded(), interp.stack.data(), interp.memory.data().len(), - stacker::remaining_stack().unwrap() ); self.gas_inspector.step(interp, data);