wormhole-foundation / wormhole-connect

Wormhole Connect brings all the functionality and utility of Wormhole right into your application and removes all of the complexity.
https://connect-in-style.wormhole.com/
Other
70 stars 47 forks source link

[QA]Rabby wallet pop-up is opened when adding token to wallet when Rabby is banned #2028

Open AigaD opened 2 months ago

AigaD commented 2 months ago

Precondition: Rabby wallet is banned, Metamask wallet is in use

Environment: OS: macOS Sonoma 14.4.1 Browser: Chrome Version 121.0.6167.85

Tested from: Mainnet

`{
  env: 'mainnet',
  "bridgeDefaults": {
    fromNetwork: '',
    toNetwork: '',
    token: '',
  }
}`

Steps:

  1. Prepare to send 0.001 WMATIC from Celo to Moonbeam
  2. Click Approve and proceed with transaction
  3. Click Claim when option is given
  4. Click "View on Wormholescan"
  5. Click on "Add to Metamask" button
  6. Observe the pop-up

Actual result: Rabby wallet pop-up instead of Metamask is opened to add asset to wallet

Expected result: Metamask wallet pop-up is opened

Attachment: Celo explorer Wormholescan link

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/72b79c5f-45fd-47c0-8952-d57cb204d48e

AigaD commented 1 month ago

Reproduced from: https://preview.portalbridge.com/bceadc8c64/# Transaction 0.00001 USDC.e from Fantom to Ethereum, Native token transfer automatic Wormholescan Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/ce84d485-a07f-40ed-bcb1-b89eb45782b4

AigaD commented 1 month ago

Tested from: https://preview.portalbridge.com/bceadc8c64/# For transaction 0.1 KLAY from Klaytn to Fantom, when adding token through Wormholescan, Rabby wallet pop-up is opened, although Rabby is banned and Metamask is in use Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/baac8e02-fd02-4386-975e-7a665c6f22bf