From a11d12755d9bc26ca7ab6286d73ff9f04cec8afb Mon Sep 17 00:00:00 2001 From: tate Date: Wed, 16 Apr 2025 18:00:56 +1000 Subject: [PATCH] feat: disable EIP-3607 for `eth_createAccessList` (#15763) --- crates/rpc/rpc-eth-api/src/helpers/call.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/rpc/rpc-eth-api/src/helpers/call.rs b/crates/rpc/rpc-eth-api/src/helpers/call.rs index a636866a6a..ef1452c5cb 100644 --- a/crates/rpc/rpc-eth-api/src/helpers/call.rs +++ b/crates/rpc/rpc-eth-api/src/helpers/call.rs @@ -385,6 +385,9 @@ pub trait EthCall: EstimateCall + Call + LoadPendingBlock + LoadBlock + FullEthA // evm_env.cfg_env.disable_base_fee = true; + // Disabled because eth_createAccessList is sometimes used with non-eoa senders + evm_env.cfg_env.disable_eip3607 = true; + if request.gas.is_none() && tx_env.gas_price() > 0 { let cap = caller_gas_allowance(&mut db, &tx_env)?; // no gas limit was provided in the request, so we need to cap the request's gas limit