Commit 564b616
authored
internal/ethapi/api: for simulated calls, set gaspool to max value if global gascap is 0 (ethereum#30474)
In ethereum#27720, we introduced RPC global gas cap. A value of `0` means an unlimited gas cap. However, this was not the case for simulated calls. This PR fixes the behaviour.1 parent b805772 commit 564b616
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1181 | 1181 | | |
1182 | 1182 | | |
1183 | 1183 | | |
1184 | | - | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1185 | 1191 | | |
1186 | 1192 | | |
1187 | 1193 | | |
| |||
0 commit comments