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
78 stars 56 forks source link

[QA]Two pop-ups to conect to Solana network are shown when Bitget wallet is enabled #2001

Open AigaD opened 4 months ago

AigaD commented 4 months ago

Precondition: Previously Solflare wallet was connected to Solana network

Environment: OS: macOS Sonoma 14.4.1 Browser: Chrome Version 121.0.6167.85 Configs: { env: 'mainnet', "bridgeDefaults": { fromNetwork: 'ethereum', toNetwork: 'solana', token: 'ETH', } }

Tested from: https://wormhole-connect-mainnet.netlify.app/?config=N4KABGCmB2BuBcYDkBbAhgS2tSAXJANOGAEQBGAThgCYDmkAIpAGZoCuANrgM4mKgQIzCgHsUAOTwB3ERQDWiJHgAWkCpDYpCxCLhGTcM%2BYu4iOaaGm2CweuTEUBRACoAJa2AC%2BIT0A%3D#

Steps:

  1. Enable Bitget wallet extension
  2. On Bridge screen click on Select network
  3. Select Solana network
  4. Observe the pop-up shown

Actual result: Two pop-ups to automatically connect to wallet are shown, one from Solflare as it was previously connected and one Bitget wallet pop-up. If user clicks on Cancel on the Solflare wallet pop-up, both pop-ups are closed

Expected result: Bitget wallet pop-up should not be shown, Solflare wallet is offered to automatically connect as it was previously chosen

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/5f8cb16a-2609-4bb8-a379-df9740bcab56

AigaD commented 3 months ago

Tested from: Mainnet Issue still reproducible, Bitget wallet pop-up is shown although previous connection was made to Solflare wallet Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/a51510a8-22c6-45fd-ae6b-67ec6197b33e