-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix infinite gas cap for eth_estimateGas #404
Comments
@ramtandukar-wm, thanks for the bug report. Could you also post the RPC call that you used to trigger this error? |
|
Ofcourse this is set |
I think @joshuacolvin0 may have fixed this issue now in master. I will check in a subsequent release. |
This has been resolved with Nitro |
System information
nitro version: Version: v3.4.0-d896e9c, time: 2025-01-14T18:03:37-05:00
go-ethereum @ 779b669
OS & Version: Linux
Expected behaviour
When --execution.rpc.gas-cap=0 is specified, calling eth_estimateGas should apply the infinite gas cap.
Actual behaviour
When calling eth_estimateGas, we receive the following error:
{'code': -32000, 'message': 'gas required exceeds allowance (14537)'}
I note, the following fix:
#396
Perhaps this also needs to be updated in
go-ethereum/internal/ethapi/api.go
Line 1307 in 8070936
Not 100% sure though.
Steps to reproduce the behaviour
Backtrace
When submitting logs: please submit them as text and not screenshots.
The text was updated successfully, but these errors were encountered: