You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I connect to the app with an account, and then in MM switch accounts, the app should reinitialize itself instead of leaving previous-connected account up.
To Reproduce
Steps to reproduce the behavior:
Connect to an account
Open MM
Switch to a different account
Expected behavior
The app reinitializes, shows the 'connect' button.
Actual behavior
The app does not change, still shows information of previously connected account.
The text was updated successfully, but these errors were encountered:
Do you mean native or FEVM ?
Native account are not connected to MM account, it might be a good idea to do that.
FEVM changes when you change account on MM you just need to connect the new account manually
I did a round of manual testing today and the demo app behaves differently for different combinations of the flow, and also depending if directly after connecting or not.
So I guess fixing this issue would require first to determine whether it's worth shaking out bugs in the demo app, or whether some of this should go in a higher-level library or helper.
Eg, to do this properly, I'd make a matrix of the combinations of the following and have a test which exercises the complete set of valid combinations:
different networks
different accounts
just-connected/already-connected/disconnected
But before writing the test, I bet writing out that matrix would inform whether some API/event/library change might solve the problem better for dapp authors, instead of leaving everything as-is and writing tests for what might be a bucket of footguns.
Describe the bug
If I connect to the app with an account, and then in MM switch accounts, the app should reinitialize itself instead of leaving previous-connected account up.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app reinitializes, shows the 'connect' button.
Actual behavior
The app does not change, still shows information of previously connected account.
The text was updated successfully, but these errors were encountered: