-
Notifications
You must be signed in to change notification settings - Fork 623
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
docs: adding migration doc info for sdk v0.47 #3107
Conversation
docs/migrations/v6-to-v7.md
Outdated
// ProposalContents doesn't return any content functions for governance proposals. | ||
- func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent { | ||
+ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg { |
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.
Actually, the return value from ProposalContents
has not been updated. We've created an additional method that can define a proposal msg for simulation:
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.
Thanks @damiannolan! I addressed @julienrbrt's comments. LGTM now
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 👍
* adding migration doc info for sdk v0.47 * code alignment * title formatting * chore: preemptively apply changes from #3149 * chore: apply changes from #3150 * chore: formatting * chore: combine proposal contents removal into existing section --------- Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: Colin Axnér <[email protected]> (cherry picked from commit f034e6b) # Conflicts: # docs/migrations/v6-to-v7.md
Co-authored-by: Damian Nolan <[email protected]> Co-authored-by: Colin Axnér <[email protected]>
* adding migration doc info for sdk v0.47 * code alignment * title formatting * chore: preemptively apply changes from cosmos#3149 * chore: apply changes from cosmos#3150 * chore: formatting * chore: combine proposal contents removal into existing section --------- Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: Colin Axnér <[email protected]>
Description
I have gone through the #2672 and #2095 PRs and so far came up with these changes to be included.
I have disregarded changes to test code and simapp as I didn't see most of the changes as relevant. Perhaps some changes to simapp should be included, but we can add to this PR if necessary.
closes: #2918
Commit Message / Changelog Entry
docs: adding migration doc info for sdk v0.47
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.