diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 12f43f226a..b9605ab7f5 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -293,7 +293,7 @@ func (in *EVMInterpreter) Run(contract *Contract, input []byte, readOnly bool) ( } - // Do tracing before memory expansion + // Do tracing before potential memory expansion if debug { if in.evm.Config.Tracer.OnGasChange != nil { in.evm.Config.Tracer.OnGasChange(gasCopy, gasCopy-cost, tracing.GasChangeCallOpCode)