feat(agoric-cli): proposeChangeMintLimit #6278
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
refs: #6108
Description
add an
agops psm proposeChangeMintLimit
command.Security Considerations
can't think of any; this just makes things that were previously possible somewhat easier.
Documentation Considerations
Notes on using
proposePauseOffers
are added tohttps://github.com/Agoric/agoric-sdk/blob/master/packages/agoric-cli/test/agops-governance-smoketest.sh
This is purely a client; no chain-side changes to prompt upgrade considerations.
Testing Considerations
tested manually as far as seeing the question posted:
agoric follow :published.committees.Initial_Economic_Committee.latestQuestion
``` $ agoric follow :published.committees.Initial_Economic_Committee.latestQuestion { closingRule: { deadline: 1663627279n, timer: slot(0,"Alleged: timerService"), }, counterInstance: slot(1,"Alleged: InstanceHandle"), electionType: "param_change", issue: { contract: slot(2,"Alleged: InstanceHandle"), spec: { changes: { MintLimit: { brand: slot(3,"Alleged: IST brand"), value: 10000000000n, }, }, paramPath: { key: "governedApi", }, }, }, maxChoices: 1, method: "unranked", positions: [ { changes: { MintLimit: { brand: slot(3), value: 10000000000n, }, }, }, { noChange: [ "MintLimit", ], }, ], questionHandle: slot(4,"Alleged: QuestionHandle"), quorumRule: "majority", tieOutcome: { noChange: [ "MintLimit", ], }, } ```