-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't remove wallet account if storageAddress
is undefined
#595
Don't remove wallet account if storageAddress
is undefined
#595
Conversation
This is to fix a bug where the wallet account is sometimes deleted when switching between tenants
✅ Deploy Preview for rococo-souffle-a625f5 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@prayagd when testing the deploy preview, please also consider checking how the wallet connection behaves for wallet connect etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm well I can reproduce that it breaks on the deploy preview. It worked for me locally though. I'll have a look again.
Right, sorry. We need to whitelist all the domains on our walletconnect account. I whitelisted the domain of this deploy preview now so it should work. I'll let you know when I looked into the other bug again so you can test. |
…from-pendulum-to-any-other-network
Troubleshooting this was way too annoying. I think I was able to pin it down though. The call to @prayagd please give it another shot and let me know if it works now. |
…from-pendulum-to-any-other-network
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done! ✅ It works. I hope Talisman will address this in the future, so we won’t need to rely on setTimeout, because using setTimeout is not ideal
@prayagd can you also try again and approve if it works? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we can merge
I think this was caused by some kind of race condition that sometimes happens when switching the new tenant. I think it's fine to remove that call to fix the problem.
Closes #541.