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

Changing address prefix doesn't work #56

Closed
fadeev opened this issue Mar 19, 2021 · 6 comments
Closed

Changing address prefix doesn't work #56

fadeev opened this issue Mar 19, 2021 · 6 comments

Comments

@fadeev
Copy link
Contributor

fadeev commented Mar 19, 2021

    await this.$store.dispatch("common/env/init", {
      prefix: "foo",
    });

Still shows cosmos in UI.

@clockworkgr
Copy link
Collaborator

a) it's addrPrefix
b) If you're using the starport module (default) , it reconfigures itself for nodes from the :12345/status endpoint and also picks up prefix from the env variables set by starport: VUE_APP_ADDRESS_PREFIX

@fadeev
Copy link
Contributor Author

fadeev commented Mar 19, 2021

Yes, my mistake, used addrPrefix, still can't see the change.

@clockworkgr
Copy link
Collaborator

Does starport set VUE_APP_ADDRESS_PREFIX properly? can you comment out starport(store) from config.js and try again?

@clockworkgr
Copy link
Collaborator

ah....spotted it, fixed in: 4c6ffd3

@fadeev
Copy link
Contributor Author

fadeev commented Mar 20, 2021

@clockworkgr on @starport/vue 0.1.32 the prefix now doesn't get added at all. Can't seem to be able to use the app. 0.1.31 looks fine.

Screenshot 2021-03-20 at 21 29 02

@clockworkgr
Copy link
Collaborator

Fixed in https://github.com/tendermint/vue/tree/v0.1.37

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

2 participants