From 552da3d514a0c6148ea2037f99abacd31d6aa5f5 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Fri, 4 Oct 2024 07:50:57 +0200 Subject: [PATCH] core/vm: fix rebasing issue --- core/vm/evm.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/vm/evm.go b/core/vm/evm.go index 19d8ee68e6b8..70d13d00bd5b 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -557,13 +557,6 @@ func (evm *EVM) create(caller ContractRef, codeAndHash *codeAndHash, gas uint64, // initNewContract runs a new contract's creation code, performs checks on the // resulting code that is to be deployed, and consumes necessary gas. func (evm *EVM) initNewContract(contract *Contract, address common.Address, value *uint256.Int, input []byte, isInitcodeEOF bool) ([]byte, error) { - // Charge the contract creation init gas in verkle mode - if evm.chainRules.IsEIP4762 { - if !contract.UseGas(evm.AccessEvents.ContractCreateInitGas(address), evm.Config.Tracer, tracing.GasChangeWitnessContractInit) { - return nil, ErrOutOfGas - } - } - ret, err := evm.interpreter.Run(contract, input, false, contract.IsDeployment) if err != nil { return ret, err