System information
Geth version: 2021.03.02-alpha
OS & Version: Linux
Expected behaviour
Specifying --rpc.gascap=0 should allow infinite gas to be used for both eth_call and eth_estimateGas.
Actual behaviour
Specifying --rpc.gascap=0 allows infinite gas to be used for eth_call, but sets the gas cap for eth_estimateGas to 0, which causes every call to eth_estimateGas to fail.
Steps to reproduce the behaviour
- Start tg with
--private-api.addr
- Start rpcdaemon with
--chaindata and --private.api.addr (not sure if this issues is present with just one) and --rpc.gascap=0
- Call
eth_call that requires a large amount of gas (this should work)
- Call
eth_estimateGas for anything (this fails with "gas required exceeds allowance (0)"
System information
Geth version:
2021.03.02-alphaOS & Version: Linux
Expected behaviour
Specifying
--rpc.gascap=0should allow infinite gas to be used for botheth_callandeth_estimateGas.Actual behaviour
Specifying
--rpc.gascap=0allows infinite gas to be used foreth_call, but sets the gas cap foreth_estimateGasto 0, which causes every call toeth_estimateGasto fail.Steps to reproduce the behaviour
--private-api.addr--chaindataand--private.api.addr(not sure if this issues is present with just one) and--rpc.gascap=0eth_callthat requires a large amount of gas (this should work)eth_estimateGasfor anything (this fails with "gas required exceeds allowance (0)"