0

UNPREDICTABLE_GAS_LIMIT from estimateGas


Avatar
Gregory Luneau

You can try a transfer with metamask first and see how it's supposed to work, then try with Talisman

Get test tokens here:
Faucet UI
faucet-ui-stage.buildwithsygma.com

Test the bridge here:

transfer-ui-develop.buildwithsygma.com/transfer

The console is very verbose and helpful to troubleshoot.

Error on deposit Error: transaction failed [ See: links.ethers.org/v5-errors-CALL_EXCEPTION ] (transactionHash="0x41a44efdd74b96fc3fc01b7d45fdcac5fef3290c3e2580c74419cb69cf674549", transaction={"hash":"0x41a44efdd74b96fc3fc01b7d45fdcac5fef3290c3e2580c74419cb69cf674549","type":2,"accessList":[],"blockHash":null,"blockNumber":null,"transactionIndex":null,"confirmations":0,"from":"0xC9CB0Bd811343Dbf6B9f61704d736dCD1975a7cE","maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x022ccd2b"},"maxFeePerGas":{"type":"BigNumber","hex":"0x05c0c94242"},"gasLimit":{"type":"BigNumber","hex":"0xacc1"},"to":"0x3D151A97A446C9ea6893038e7C0db73466f3f3af","value":{"type":"BigNumber","hex":"0x00"},"nonce":18,"data":"0x095ea7b300000000000000000000000027da1fda1bf990902602aa616063665fb14de9f10000000000000000000000000000000000000000000000056bc75e2d63100000","r":"0x205157a78cd47c36debcf7b790a71a0536484b72b739f5365432d4b46654c4c8","s":"0x74f4cb4f450e6046813456cfbb903ff8899244c96aef2f79db8619a09e42bbe8","v":1,"creates":null,"chainId":5}, receipt={"to":"0x3D151A97A446C9ea6893038e7C0db73466f3f3af","from":"0xC9CB0Bd811343Dbf6B9f61704d736dCD1975a7cE","contractAddress":null,"transactionIndex":56,"gasUsed":{"type":"BigNumber","hex":"0xacc1"},"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","blockHash":"0xb01427c8aef5357a37b082ae33808e03cc77e872c5e184ced74e998a617b3c9c","transactionHash":"0x41a44efdd74b96fc3fc01b7d45fdcac5fef3290c3e2580c74419cb69cf674549","logs":[],"blockNumber":8140410,"confirmations":2,"cumulativeGasUsed":{"type":"BigNumber","hex":"0x0131ea49"},"effectiveGasPrice":{"type":"BigNumber","hex":"0x02270b0db7"},"status":0,"type":2,"byzantium":true}, code=CALL_EXCEPTION, version=providers/5.7.2)
at e.value (index.ts:269:28)
at e.value (index.ts:281:20)
at r. (base-provider.ts:1549:24)
at l (regeneratorRuntime.js:44:17)
at Generator. (regeneratorRuntime.js:125:22)
at Generator.next (regeneratorRuntime.js:69:21)
at o (main.9a03b845.js:1:878821)

A

Activity Newest / Oldest

A

0bit | Talisman

Status changed to: Closed

Avatar

Kheops

Hi Gregory, sorry for the late response.

On my first attempts I didn't have any GoerliETH to pay for the fee, and I did get an UNPREDICTABLE_GAS_LIMIT error, both with MM and Talisman. This error is gone since i got some, and I can sign the token `approve` transaction with Talisman without problem.

Then for the transfer i get an error both with Metamask and Talisman.
Errors are similar, in both case the console displays a contract call beeing reverted with message "Incorrect feeData length".

Since the behavior is the same as MM I can't do much at this point. But maybe the issue you had was due to the Talisman account not having any GoerliETH ?