diff --git a/core/vm/evm.go b/core/vm/evm.go index 8f82376db0d7..29498e6d3c16 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -525,11 +525,6 @@ func (evm *EVM) create(caller ContractRef, codeAndHash *codeAndHash, gas uint64, err = ErrCodeStoreOutOfGas } } else { - // Contract creation completed, touch the missing fields in the contract - if !contract.UseGas(evm.Accesses.TouchFullAccount(address.Bytes()[:], true)) { - err = ErrCodeStoreOutOfGas - } - if err == nil && len(ret) > 0 && !contract.UseGas(evm.Accesses.TouchCodeChunksRangeAndChargeGas(address.Bytes(), 0, uint64(len(ret)), uint64(len(ret)), true)) { err = ErrCodeStoreOutOfGas }