Skip to content

Commit 8efae11

Browse files
committed
add println
1 parent 100f60f commit 8efae11

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/revm/src/inspector.rs

+6
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ impl<DB: Database> Inspector<DB> for GasInspector {
206206
self.full_gas_block = interp.contract.gas_block(previous_pc);
207207
self.was_return = false;
208208
}
209+
println!(
210+
"rem:{},full_gas_block {} reduced_gas_block {}",
211+
interp.gas.remaining(),
212+
self.full_gas_block,
213+
self.reduced_gas_block
214+
);
209215
self.gas_remaining =
210216
interp.gas.remaining() + (self.full_gas_block - self.reduced_gas_block);
211217

0 commit comments

Comments
 (0)