XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
24 stars 35 forks source link

[support] Cannot complete redeem to Ethereum, ticket-13713 #918

Open drisAloma opened 1 month ago

drisAloma commented 1 month ago

Is there an existing issue for this?

have you checked our wiki for common solutions?

Bridge Experience

https://portalbridge.com/advanced-tools

Bridge Experience URL

No response

Operation Details

- Source Chain: Base
- Source Chain Wallet: Metamask 
- Target Chain: Ethereum 
- Target Chain Wallet: Metamask 
- Asset Type: Token
- Tx: https://basescan.org/tx/0xbbbf1f916e33a855ccd661c3a705f29b726a5d681bef1ba68005bf0758e0b47c

Current Behavior

It throws an error immediately after clicking on the redeem button, no wallet prompt; IMG_20240710_210130

Expected Behavior

Get a wallet prompt to approve redeem transaction.

Steps To Reproduce

  1. Go to https://portalbridge.com/advanced-tools/#/redeem
  2. Choose Base as source chain
  3. Paste in the transaction hash: 0xbbbf1f916e33a855ccd661c3a705f29b726a5d681bef1ba68005bf0758e0b47c
  4. Click on RECOVER
  5. Connect Ethereum wallet and click on REDEEM

Anything else?

No response

danielisaacgeslin commented 1 month ago

I tried it with a coinbase wallet and got a similar error

image

contract on ethereum https://etherscan.io/address/0x3ee18B2214AFF97000D974cf647E7C347E8fa585

error docs https://docs.ethers.org/v5/troubleshooting/errors/#help-UNPREDICTABLE_GAS_LIMIT

image

line of advanced tools redeem call causing the error https://github.com/XLabs/portal-bridge-ui/blob/advanced-tools/src/hooks/useHandleRedeem.tsx#L239 calling the redeemOnEth from @certusone/wormhole-sdk

function args on runtime image

drisAloma commented 3 weeks ago

Hello! Please is there further update on this?