-
Notifications
You must be signed in to change notification settings - Fork 558
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
Simulate fail for chains created with address-prefix setup #4185
Comments
@pangwa The example chain had already been scaffolded with address prefix 'cosmos' then pushed to github. I beleive you can change the address prefix to 'test' in the app.go file then you should not get an error when you serve the chain or build the binary. Can you please try that? cc: @salmad3 @julienrbrt |
I tried that, cleanup the binaries to make sure everything was rebuilt. ignite chain serve works well. only ignite chain simulate fails. |
Thanks @pangwa, I tried scaffolding a new chain from scratch with the 'test' prefix and got the same error message as you. Thanks for flagging this, hopefully a solution can be found. |
Due to the leak of the global config still present in the SDK, setting the bech32 prefixes only in the app config isn't sufficient. Currently, we were initializing the bech32 global sdk config when the root command was called. Which wasn't the case in simulations. The fix is to move the setting of the bech32 prefix in the app ( |
Describe the bug
ignite simulate failed for chains created with a custom address prefix
To reproduce
Steps to reproduce the behavior:
Below is the error messages:
What version are you using?
The text was updated successfully, but these errors were encountered: