Update core/vm/interpreter.go

This commit is contained in:
jwasinger 2025-01-24 22:46:41 -05:00 committed by GitHub
parent 479ea1196d
commit d152aa69b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)