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

can not seem to switch chains #78

Closed
PFC-developer opened this issue Nov 10, 2022 · 2 comments
Closed

can not seem to switch chains #78

PFC-developer opened this issue Nov 10, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@PFC-developer
Copy link

hi.
I'm trying to build a dApp that uses multiple chains at once.

I'm doing

  walletManager.setCurrentChain('osmosis');
  await walletManager.connect();

which seems to switch the chain, and get the correct address.
but

  const res = await walletManager.signAndBroadcast(voteMessages);

fails with

 Query failed with (18): fee payer address:  does not exist: unknown address: invalid request

the same code appears to work fine when only 1 setCurrentChain has been executed. (it's like the second call doesn't setup something correctly

@pyramation
Copy link
Collaborator

thanks @PFC-developer we'll take a look at this asap!

cc @liujun93

@pyramation pyramation added the bug Something isn't working label Nov 11, 2022
@liujun93
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants