• lightclient's avatar
    internal/ethapi: don't estimate gas if no limit provided in eth_createAccessList (#25467) · 948e08d5
    lightclient authored
    Because the goal of eth_createAccessList is providing the caller with the largest-possible
    access list, it's generally not important that the gas limit used by the tracer will match the usage
    of the call exactly. Avoiding the gas estimation step is a performance improvement. As long as the
    call does not branch based on gas limit, the returned access list will be accurate. 
    948e08d5
api.go 71.9 KB