vegaprotocol/vegawallet-desktop

Network switching is broken

notbot00 opened this issue · 0 comments

Description

the network switcher is kind of broken, not sure what state the backend is in after updating the app config with a new default network value and restarting the service, it displays the expected network, but that doesn't kill the existing connections somehow. not sure what's the intended behaviour here, i'd expect the backend to disconnect all dApps, i'm pretty sure that's how it used to work at some point.

Steps to Reproduce

  1. start wallet on fairground
  2. connect to console fairground
  3. switch network in wallet to xyz (e.g. stagnet1)
  4. place an order
  5. approve the transaction
  6. see it succeed

Expected behaviour

Get an error response on the console site saying the wallet app is not connected to the correct network anymore.