-
Notifications
You must be signed in to change notification settings - Fork 212
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
tx submit-proposal breaking CLI change in cosmos-sdk 0.46 #8871
Comments
I've got a change coming that implements a "hybrid" |
The slight limitation of this approach is that you cannot name the new-syntax JSON file the same as one of the legacy subcommands:
|
Have submit-legacy-proposal be an alias for submit-proposal. Invocations of the legacy syntax should either upgrade to the new syntax, or explicitly use submit-legacy-proposal. When all legacy usages have so migrated, this change can be dropped. See Agoric/agoric-sdk#8871.
CLI-breaking change was laid down in cosmos/cosmos-sdk#11013 |
Manual testing results: Random testing address created and set to shell var
New API:
Legacy - proposal file:
Legacy - proposal args
Legacy - subcommand
|
And in particular, the swingset-core-eval subcommand with
|
Validation on emerynet:
Can see the proposal in the query output:
|
Re-opening as there seem to be issues with chain software upgrade proposals
|
Before we close this issue, we need an a3p test for software upgrades. The problem is that to simulate the upgrade flow, we need a version to upgrade to. Either we set a version that doesn't exist and just verify that the upgrade passed (software halted), or we upgrade to another upgrade plan name supported by the same software, but I'm not sure our upgrade logic currently handles that (depending on if the cosmos upgrade module forces a halt and restart or not) |
Closing in favor of #8884 |
Have submit-legacy-proposal be an alias for submit-proposal. Invocations of the legacy syntax should either upgrade to the new syntax, or explicitly use submit-legacy-proposal. When all legacy usages have so migrated, this change can be dropped. See Agoric/agoric-sdk#8871.
What is the Problem Being Solved?
cosmos-sdk makes breaking CLI changes such that our integration tests fail and our agd cli docs should be updated
For example, they renamed
submit-proposal
tosubmit-legacy-proposal
and introduced a different implementation forsubmit-proposal
cosmos/cosmos-sdk@62d9790
agoric-labs/cosmos-sdk@v0.45.11-alpha.agoric.4...agoric-labs:cosmos-sdk:Agoric#diff-d69f01ab3522c6%5B%E2%80%A6%5D9ed7760c4575147d8c4f (e
Description of the Design / Test Plan
options include:
for example, a snapshot test of the output of
agd tx gov submit-proposal swingset-core-eval
.cc @gibson042 @JimLarson
The text was updated successfully, but these errors were encountered: