You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got this error after using "estimate" in a contract:
TypeError: Cannot read property 'toHexString' of undefined
at new BigNumber (/app/node_modules/ethers/utils/bignumber.js:89:24)
at Object.bigNumberify (/app/node_modules/ethers/utils/bignumber.js:182:12)
at /app/node_modules/ethers/providers/base-provider.js:839:44
at process._tickCallback (internal/process/next_tick.js:68:7)
The return value is "undefined". The parity node answered very wrong somehow. Will try to get the response together.
Update from 15.06.2019:
Found in Parity logs this response:
Response: {"jsonrpc":"2.0","error":{"code":-32016,"message":"The execution failed due to an exception."},"id":42}.
for eth_estimateGas.
Ethers.js should normally understand the code -32016. Saw it working somewhere.
The text was updated successfully, but these errors were encountered:
Got this error after using "estimate" in a contract:
TypeError: Cannot read property 'toHexString' of undefined
at new BigNumber (/app/node_modules/ethers/utils/bignumber.js:89:24)
at Object.bigNumberify (/app/node_modules/ethers/utils/bignumber.js:182:12)
at /app/node_modules/ethers/providers/base-provider.js:839:44
at process._tickCallback (internal/process/next_tick.js:68:7)
The return value is "undefined". The parity node answered very wrong somehow. Will try to get the response together.
Update from 15.06.2019:
Found in Parity logs this response:
Response: {"jsonrpc":"2.0","error":{"code":-32016,"message":"The execution failed due to an exception."},"id":42}.
for eth_estimateGas.
Ethers.js should normally understand the code -32016. Saw it working somewhere.
The text was updated successfully, but these errors were encountered: