Skip to content
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

Add spec for emergency voting #249

Merged
merged 2 commits into from
Jun 5, 2022

Conversation

mattverse
Copy link
Member

Closes: #XXX

What is the purpose of the change

Simple addition of spec for the emergency voting

@mattverse mattverse requested review from a team and p0mvn and removed request for a team June 4, 2022 09:39
@mattverse mattverse changed the title Add simple changelog Add spec for emergency voting Jun 4, 2022
x/gov/spec/01_concepts.md Show resolved Hide resolved
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
@mattverse mattverse merged commit 68528ce into roman/emergency-voting Jun 5, 2022
@mattverse mattverse deleted the mattverse/update-gov-spec branch June 5, 2022 15:10
p0mvn added a commit that referenced this pull request Jun 16, 2022
* 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>

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
p0mvn added a commit that referenced this pull request Jun 20, 2022
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants