-
Notifications
You must be signed in to change notification settings - Fork 208
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
Core proposals in upgrade handler #8844
Conversation
9d52b1e
to
eb9ad28
Compare
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.
LGTM, just a few suggestions.
golang/cosmos/app/app.go
Outdated
// Core proposals that should run during the upgrade block | ||
// These will be merged with any coreProposals specified in the | ||
// upgradeInfo field of the upgrade plan ran as subsequent steps | ||
CoreProposals: vm.CoreProposalsFromSteps(), |
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.
Can you supply a commented-out example of what real-world use would look like? I was confused by thinking that somehow vm.CoreProposalsFromSteps()
was actually supposed to do something useful, rather than just generating an emptyish struct.
golang/cosmos/vm/core_proposals.go
Outdated
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.
Would be nice to have tests, but I recognize that may be infeasible due to time constraints.
fa66528
to
0a4a43c
Compare
0a4a43c
to
605eb4b
Compare
closes: #8843
Description
Adds the ability to define core proposals as part of the upgrade handler.
Security Considerations
None
Scaling Considerations
None
Documentation Considerations
Some contributors documentation will be included in the release process
Testing Considerations
Upgrade Considerations
This change add new capabilities to our upgrade handler.