XLabs / portal-bridge-ui

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

[bug] Cannot add WIF token to the wallet #960

Closed tsadovska closed 3 months ago

tsadovska commented 3 months ago

Is there an existing issue for this?

Current Behavior

Cannot add WIF token to the wallet.

Uncaught (in promise) {code: -32602, message: 'The symbol in the request (WIF) does not match the symbol in the contract ($WIF)'}

image

Expected Behavior

Token can be added to the wallet.

Steps To Reproduce

  1. Open https://portalbridge.com/
  2. Send 0.0001 WIF from Solana (Phantom) to Moonbeam (MetaMask)
  3. Click on "Add WIF to your wallet" link

Environment

- OS: macOS Sonoma 14.5
- Wallet: MetaMask, Phantom
- Browser: Google Chrome Version 126.0.6478.183 (Official Build) (arm64)

Anything else?

No response

yuli-ferna commented 3 months ago

@tsadovska It should be fixed :)

image
tsadovska commented 3 months ago

Thank you!

Checked following scenarios:

When user clicks on"Add $WIF to your wallet" link, MetaMask notification opens and token can be successfully added to the wallet.

Ticket is closed.