Skip to content
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

cosmos kit address not updating when switching keplr address after closing tab #352

Open
kombos opened this issue Oct 17, 2023 · 4 comments

Comments

@kombos
Copy link

kombos commented Oct 17, 2023

the address showing in the cosmos kit as connected does not update in this particular flow:

  1. connect your webApp to keplr using comos kit
  2. close the webApp tab
  3. go to keplr extension and switch the address to a different address
  4. open the webApp and let cosmos kit auto load the keplr data
  5. the connected address shown is still the old address and not the newly switched address.
@liujun93
Copy link
Contributor

liujun93 commented Oct 26, 2023

@kombos I can't reproduce it with the latest version. are you using the latest CosmosKit?

@twhy
Copy link
Contributor

twhy commented Oct 29, 2023

@kombos The CosmosKit docs site is using the latest version and it works fine. https://docs.cosmoskit.com/

@Sen-Com
Copy link

Sen-Com commented Nov 7, 2023

@kombos is correct, there are some issues with useChain. Even the Osmosis frontend is broken.

Example:

  • Go to Osmosis
  • Connect
  • Switch Accounts -> All good
  • Disconnect
  • Connect
  • Switch Accounts -> broken

@Sen-Com
Copy link

Sen-Com commented Nov 7, 2023

I know that for some reason the example is working, maybe some forceful refresh somewhere but it doesn't matter how they got it working, the hook should always provide the correct result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants