#25319·go-ethereum

internal/ethapi: `eth_createAccessList` fails without fee parameters

Author: lightclientCreated Jul 17, 2022Updated Sep 2, 2026
Labelstype:bug

Currently when making an eth_createAccessList request with no fee parameters set, the client fails to generate the access list.

Request:

>> {"jsonrpc":"2.0","id":12,"method":"eth_createAccessList","params":[{"from":"0xaa00000000000000000000000000000000000000","to":"0xbb00000000000000000000000000000000000000"}]}
<< {"jsonrpc":"2.0","id":12,"error":{"code":-32000,"message":"gas required exceeds allowance (0)"}}

Geth:

WARN [07-17|16:22:03.089] Gas estimation capped by limited funds   original=5,004,881 balance=1 sent=0 maxFeePerGas=2,343,061,306 fundable=0
WARN [07-17|16:22:03.090] Served eth_createAccessList              conn=127.0.0.1:52137 reqid=12 duration="332.041µs" err="gas required exceeds allowance (0)" fail.