-
Notifications
You must be signed in to change notification settings - Fork 563
fix(services/chain): detecting keyring #1449
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
Conversation
when client.toml > keyring-backend used.
I may think it's a normal behavior from the |
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.
Code looks legit to me. We just need to fix integration test.
We may also need to track #1449 (comment)
I may think the solution would be to refacto the serve workflow and not create the accounts when they already exist
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.
👍
I just realized that If it's actually the case, we should have
by default in the generated |
Yes it's fine. I think I used |
@fadeev I realized it happens with Although nothing is specified in Can someone else try? https://github.com/tendermint/spn If I set in config it works
|
Trying it now, but I think it may be related to the version of |
Yeah, this change breaks compatibility with chains scaffolded with previous versions of Starport. |
Updating |
We can force upgrade the version of spm in older chains to the latest. But I'm no sure what would be the side effects of this on user's chain. For some, it may break their chain because of possibly different sdk versions or may make their chain behave differently. For now, I'll set the fallback keyring backend to test if no configuration specified by the user, let me know if this not OK. |
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.
Seems to be working!
* feat(templates/cmd): upgrade spm to add 'config' cmd (#1417) * feat(templates/cmd): upgrade spm to add 'config' cmd to appd. * also make $HOME/config/client.toml configurable through 'init.client' section of chain's Starport config.yml. * default to test * fix * fix * updated changelog * fix config application order * fix Co-authored-by: Denis Fadeev <denis@fadeev.org> * fix(services/chain): detecting keyring (#1449) * fix(services/chain): detecting keyring when client.toml > keyring-backend used. * fix * fix * default to test kb * fix * fix(services/chain): default home dir for app (#1457) * fix(services/chain): support 0.43.x based chains (#1455) * Apply suggestions from code review * Apply suggestions from code review * feat(pkg/chaincmd/runner): support YAML encoded CLI response (#1468) * feat(pkg/chaincmd/runner): support YAML encoded CLI response * Apply suggestions from code review * fix * fix * fix * fix Co-authored-by: Denis Fadeev <denis@fadeev.org>
* feat(templates/cmd): upgrade spm to add 'config' cmd (ignite#1417) * feat(templates/cmd): upgrade spm to add 'config' cmd to appd. * also make $HOME/config/client.toml configurable through 'init.client' section of chain's Starport config.yml. * default to test * fix * fix * updated changelog * fix config application order * fix Co-authored-by: Denis Fadeev <denis@fadeev.org> * fix(services/chain): detecting keyring (ignite#1449) * fix(services/chain): detecting keyring when client.toml > keyring-backend used. * fix * fix * default to test kb * fix * fix(services/chain): default home dir for app (ignite#1457) * fix(services/chain): support 0.43.x based chains (ignite#1455) * Apply suggestions from code review * Apply suggestions from code review * feat(pkg/chaincmd/runner): support YAML encoded CLI response (ignite#1468) * feat(pkg/chaincmd/runner): support YAML encoded CLI response * Apply suggestions from code review * fix * fix * fix * fix Co-authored-by: Denis Fadeev <denis@fadeev.org>
when client.toml > keyring-backend used.