-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
gov: replace Content and Proposal handlers in other modules with messages #10489
Comments
Update: We are going to keep |
I'm not sure we should even bother. What's the rationale behind that? Also, why do we need to touch x/params at all? |
We can provide an example (say in the docs) on how to create a Msg-based software upgrade proposal. To showcase the new proposal. I'd say let's see next week how gov/group work advances. If the blocker is group, then we can include MsgSoftwareUpgrade into v0.46 in the meantime. |
Yes and leave the old ones as deprecated IMO. |
Summary
Ref: #9438
Update: For v0.46.0, we are only doing
MsgSoftwareUpgrade
andMsgCancelUpgrade
. Other Msgs will be added in future releasesThis is a follow up issue on the use of an arbitrary array of messages in the proposal (#9810). Existing modules that use governance are still defining proposals as a
Content
and a proposalHandler
. This needs to be replaced with their respectivesdk.Msg
type and a whitelist filter that only allows the governance module account to execute them. The following is a list of modules and the new messages:x/distribution
:CommunityPoolSpend
. This could also be configured as the distribution module giving authorization to the governance module and then proposals would just be a regular spend from the distribution account to the recipients account.x/params
:ParameterChange
. There is ongoing work to change this, so I'm not sure what the current status is.x/upgrade
:Upgrade
&CancelUpgrade
cc: @blushi, @aaronc
For Admin Use
The text was updated successfully, but these errors were encountered: