-
Notifications
You must be signed in to change notification settings - Fork 432
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
eth_estimateGas
results in an error when omitting the from
-field
#4197
Comments
Thanks for reporting @most08 , we will look at this now. |
We might have fix already but needs more testing: #3824 |
Any updates ? I have the same issue when I using blockscout indexing:
Nethermind log:
|
Merged
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When calling
eth_estimateGas
without thefrom
-field (sender-address) an error is occuring:Error when handling ID 1, eth_estimateGas({ "to": "0x53d8cd462fa22e843ff0c4425f5cf2f4f00273ae", "value": "0x16345785d8a0000" }) | {"jsonrpc":"2.0","error":{"code":-32000,"message":"insufficient funds for transfer: address 0xfffffffffffffffffffffffffffffffffffffffe"},"id":1}
To Reproduce
Call
eth_estimateGas
:curl --data '{"method":"eth_estimateGas","params":[{"to": "0x53d8cd462fa22e843ff0c4425f5cf2f4f00273ae", "value": "0x16345785d8a0000"}],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST 172.17.0.1:8546
Expected behavior
Return the amount of gas.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: