-
Notifications
You must be signed in to change notification settings - Fork 1.7k
eth_estimateGas returns "The execution failed due to an exception." #9669
Comments
Could be linked to #9133 |
I don't understand what your main concern is, the most likely outcomes in my opinion are:
1 Most likely a combination of both Are implying that the Have you tried this request with a bigger value such as 50 or something? |
I've built the latest master, ran a full node and a light node connected to it. Light node launched with I also tried with This time the Here is the gist |
Thanks, We should change the Maybe by exponential decaying?! However, I'm still not sure the cause of this behavior. I will fix #9133 first (or I have a PR ready soon for it) and then deal with this after! |
This also happens when I do this RPC against a full node: 2018-10-15 17:49:00 TRACE rpc Request: {"id":204,"jsonrpc":"2.0","method":"eth_estimateGas","params":[{"to":"0x4a6e6c3868a279e1d9047b42c3fb356ff4680003","gasPrice":"0x1faa3b500","data":"0xa9059cbb000000000000000000000000004702bdcc3c7dbffd943136107e70b82702860000000000000000000000000000dfc93112abd2578503b667b95491b101281f2b"}]}.
2018-10-15 17:49:00 DEBUG rpc Response: {"jsonrpc":"2.0","error":{"code":-32016,"message":"The execution failed due to an exception."},"id":204}. |
I think #9756 should fix the timeout at least but the internal execution error thaẗ́'s a full-node issue :P |
Looks like transact_virtual failed with |
Earlier versions of parity error out with curl --data '{"method":"eth_estimateGas","params":[{ ... }],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545
{"jsonrpc":"2.0","error":{"code":-32015,"message":"Transaction execution error.","data":"Internal(\"Requires higher than upper limit of 80000000\")"},"id":204} |
Yup this error looks legit, I can't reproduce with other tokens. |
Before filing a new issue, please provide the following information.
Edit:
Running
eth_estimateGas
RPC against a full node returns "The execution failed due to an exception." :Example:
Message before edit, (not relevant for full nodes)
eth_getTransactionReceipt
returnsTimeout for On-demand query; 1 query attempts remain for query #0"
Running a full node on this branch connected as
reserved-only
to a light client (also on the same branch).Here is the rpc trace, what happens is that I send a Tx and check for the request:
Once
parity_checkRequest
answers with the Tx id, we check the receipt, and that's were things go south:Here is a similar trace with
pip
,on_demand
andrpc
.The text was updated successfully, but these errors were encountered: