Skip to content

feat!: add expedited propsals support#3149

Merged
MSalopek merged 22 commits into
mainfrom
masa/integrate-expedidited-props
Jun 21, 2024
Merged

feat!: add expedited propsals support#3149
MSalopek merged 22 commits into
mainfrom
masa/integrate-expedidited-props

Conversation

@MSalopek

@MSalopek MSalopek commented Jun 17, 2024

Copy link
Copy Markdown
Contributor

@MSalopek

Copy link
Copy Markdown
Contributor Author

Also requires changes to ICS to support the new changes in gov.

@MSalopek MSalopek changed the title [wip] feat!: add expedited propsals support feat!: add expedited propsals support Jun 17, 2024
Comment thread app/upgrades/v18/upgrades.go Fixed
Comment thread app/upgrades/v18/upgrades.go Fixed
Comment thread app/upgrades/v18/upgrades.go Fixed
@MSalopek

Copy link
Copy Markdown
Contributor Author

Also requires forking wasmd and supporting the correct gov interface.

@MSalopek MSalopek marked this pull request as ready for review June 20, 2024 15:17
@MSalopek MSalopek requested a review from a team June 20, 2024 15:17

@mpoke mpoke left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread go.mod Outdated

// 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

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

Copy link
Copy Markdown
Contributor

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?

Copy link
Copy Markdown
Contributor Author

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.

Comment thread 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

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in 364db84

@MSalopek MSalopek merged commit edd0f2f into main Jun 21, 2024
@MSalopek MSalopek deleted the masa/integrate-expedidited-props branch June 21, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants