Commit 659b796
internal/ethapi: don't estimate gas if no limit provided in eth_createAccessList (ethereum#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.1 parent 499eecf commit 659b796
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
1567 | 1569 | | |
1568 | 1570 | | |
1569 | 1571 | | |
| |||
1589 | 1591 | | |
1590 | 1592 | | |
1591 | 1593 | | |
1592 | | - | |
1593 | | - | |
1594 | | - | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | 1594 | | |
1602 | 1595 | | |
1603 | 1596 | | |
| |||
0 commit comments