XLabs / portal-bridge-ui

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

[support] Cannot claim on BNB chain, transaction routed through wormhole gateway transfer <Discord ID - 1079917462881058876> #1026

Closed drisAloma closed 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

Bridge Experience URL

No response

Operation Details

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

Current Behavior

Error comes up immediately after clicking on the claim button, no wallet prompt to approve a transaction. 26a241a622e13996d5cc05e721ff32a2-1

Expected Behavior

Clicking on the claim button should prompt a wallet approval for the transaction.

Steps To Reproduce

No response

Anything else?

The transfer was routed through wormhole gateway; https://wormholescan.io/#/tx/0xa6f57ba1730b18a04954a3403c34265e6d4bae8d8d21d3e1862ff42530eee9f8 img_20240811_171544

mliu-xlabs commented 1 month ago

Note here - not sure why a Base to BSC transfer went through gateway, as it should not have gone through gateway at all. I also notice that its a payload v3, which doesn't make sense here either. Looking at whscan, I did not find other instances of this

sebastianscatularo commented 1 month ago

we has been able to reproduce it

Steps to reproduce:

sebastianscatularo commented 1 month ago

PR to prevent this issue in the future https://github.com/wormhole-foundation/wormhole-connect/pull/2429

tsadovska commented 1 month ago

Fix looks good on https://preview.portalbridge.com/b3b7091778/, checked with 3G network throttling. Info "Resolving available routes" is shown and "Approve and proceed with transaction" button is not displayed until routes are resolved.

Screenshot 2024-08-27 at 11 27 28

USDC transfer from Base (MetaMask) to BSC (MetaMask) is sent through "Manual Bridge" route, link to Wormholescan.

sebastianscatularo commented 1 month ago

Fix has been deployed