mirror of https://github.com/ethereum/go-ethereum
internal/ethapi: don't estimate gas if no limit provided in eth_createAccessList (#25467)
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.pull/25472/head
parent
5fb463dddc
commit
948e08d55b
Loading…
Reference in new issue