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
81 stars 63 forks source link

[QA]Wallet is not automatically switching to corresponding network when changing settings in configs #2019

Closed AigaD closed 2 weeks ago

AigaD commented 6 months ago

Precondition: Arbitrum network with Metamask wallet connected at sending From section

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

Tested from: Mainnet

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

Steps:

  1. Open "Custom config"
  2. Change section fromNetwork: 'arbitrum', to fromNetwork: 'solana'
  3. Observe

Actual result: Wallet is not changing to Solana supported wallet (e.g. Solflare), but instead Metamask wallet is left connected

Expected result: Solana supported network is automatically connected when configuring environment

Attachment:

https://github.com/wormhole-foundation/wormhole-connect/assets/91047061/42e9c13c-9554-4d76-8f6e-f03727e79795 Metamask wallet left connected to Osmosis network:

Screenshot 2024-04-30 at 15 45 28
tsadovska commented 2 months ago

Re-checked the issue on wormhole-connect-mainnet. Issue is still reproducible, please see video attached.

https://github.com/user-attachments/assets/b31c4518-de9a-415a-ad15-e586ae05cf73