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