From 73a3a54ad77a3e41699d68b02d73368dd697686a Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Fri, 4 Oct 2024 05:26:38 +0200 Subject: [PATCH] core/vm: fix rebasing issue --- core/vm/evm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/evm.go b/core/vm/evm.go index 51f8b923397f..19d8ee68e6b8 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -559,7 +559,7 @@ func (evm *EVM) create(caller ContractRef, codeAndHash *codeAndHash, gas uint64, 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, value.Sign() != 0), evm.Config.Tracer, tracing.GasChangeWitnessContractInit) { + if !contract.UseGas(evm.AccessEvents.ContractCreateInitGas(address), evm.Config.Tracer, tracing.GasChangeWitnessContractInit) { return nil, ErrOutOfGas } }