-
Notifications
You must be signed in to change notification settings - Fork 716
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
feat!: add expedited propsals support #3149
Conversation
Also requires changes to ICS to support the new changes in gov. |
Also requires forking wasmd and supporting the correct gov interface. |
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.
The general logic LGTM. The params are not initialized with the values from the proposal.
go.mod
Outdated
@@ -231,14 +231,14 @@ replace ( | |||
github.com/99designs/keyring => github.com/cosmos/keyring v1.2.0 | |||
|
|||
// Use special SDK v0.47.x release with support for both ICS and LSM | |||
github.com/cosmos/cosmos-sdk => github.com/cosmos/cosmos-sdk v0.47.15-ics-lsm | |||
github.com/cosmos/cosmos-sdk => github.com/informalsystems/cosmos-sdk v0.46.0-alpha2.0.20240614081903-f1b9aac8d413 |
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.
Why are we using a spacial 0.46 branch of SDK?
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.
Removed
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.
Why is this under API breaking?
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.
Adds a new API method.
app/upgrades/v18/upgrades.go
Outdated
govParams := keepers.GovKeeper.GetParams(ctx) | ||
govParams.ExpeditedVotingPeriod = &expeditedPeriod | ||
govParams.ExpeditedThreshold = govv1.DefaultExpeditedThreshold.String() // 66.7% | ||
govParams.ExpeditedMinDeposit = govParams.MinDeposit // full deposit amount is required |
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.
This needs to be 500 ATOMs. The min deposit is 250 ATOMs. See https://www.mintscan.io/cosmos/proposals/926
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.
Resolved in 364db84
Add expedited proposals to gaia v18.
Related:
Uses: