diff --git a/core/vm/evm.go b/core/vm/evm.go index 049ea40f54..eb4a854fc8 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -549,6 +549,7 @@ func (evm *EVM) create(caller common.Address, code []byte, gas GasCosts, value * if evm.Config.Tracer != nil && evm.Config.Tracer.OnGasChange != nil { evm.Config.Tracer.OnGasChange(gas.RegularGas, 0, tracing.GasChangeCallFailedExecution) } + gas.RegularGas = 0 return nil, common.Address{}, gas, ErrContractAddressCollision } // Create a new account on the state only if the object was not present.