forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: expedited proposal min deposit param (#254)
* make proto-all * make proto-all with IsExpedited flag * expedited_voting_period on voting params * go mod tidy * add IsExpedited flag to all proposals * implement the foundation for expedited proposals * add validation for voting period params * validate tally params - expedited must be greater than or equal to regular tally * fix cli * fix problems with querying tally params * TestProposalPassedEndblocker for expedited * update TestCmdParams * fix TestMigrate v040 * fix TestGRPCQueryProposal * fix v043 TestMigrateJSON * fix TestRandomizedGenState * fix TestSimulateMsgSubmitProposal * TestExpeditedToRegularConversion * fix TestIntegrationTestSuite/TestCmdParams/text_output * test TestExpeditedProposal_PassAndConversionToRegular * attempt to fix TestAppStateDeterminism * fix TestRandomizedGenState after changing rand generation bounds * fix TestParamChanges * Update x/gov/abci.go * Update x/gov/abci.go * Update x/gov/types/keys.go * refactor to have isExpedited flag on the proposal struct * fix tests * clean up proto files and remove is_expedited from CommunityPoolSpendProposal * fix migrate tests * fix proto * Update x/gov/abci.go Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update proto/cosmos/gov/v1beta1/gov.proto Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * expedited vote threshold must be strictly greater than regular * fix Cmd tests * fix another cmd test * Add spec for emergency voting (#249) * Add simple changelog * Update x/gov/spec/01_concepts.md Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> * Update x/gov/types/keys.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * remove redundant isExpedited flag from ContentFromProposalType * Update x/gov/abci.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * feat: expedited proposal min deposit param * fix TestMigrateJSON * improve TestProposalHandler to test validation of invalid min expedited deposit param * fix abci tests * fix migrate_test.go * fix more cli tests * fix TestRandomizedGenState * fix merge issue * Update x/gov/types/proposal.go * Update x/gov/abci_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
- Loading branch information
1 parent
c3bf09f
commit 8b021d2
Showing
18 changed files
with
440 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.