Skip to content
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

Merged
merged 8 commits into from
Feb 15, 2023

Conversation

damiannolan
Copy link
Member

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.

  • Targeted PR against correct branch (see CONTRIBUTING.md).
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/).
  • Added relevant godoc comments.
  • Provide a commit message to be used for the changelog entry in the PR description for review.
  • Re-reviewed Files changed in the Github PR explorer.
  • Review Codecov Report in the comment section below once CI passes.

// ProposalContents doesn't return any content functions for governance proposals.
- func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
+ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
Copy link
Member

@julienrbrt julienrbrt Feb 6, 2023

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:

@colin-axner colin-axner self-assigned this Feb 15, 2023
Copy link
Contributor

@colin-axner colin-axner left a 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

Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@damiannolan damiannolan merged commit f034e6b into main Feb 15, 2023
@damiannolan damiannolan deleted the damian/2918-sdk-47-migration-doc branch February 15, 2023 16:12
mergify bot pushed a commit that referenced this pull request Feb 15, 2023
* 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
damiannolan added a commit that referenced this pull request Feb 15, 2023
stackman27 pushed a commit to stackman27/ibc-go that referenced this pull request Mar 13, 2023
* 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]>
@faddat faddat mentioned this pull request Jun 23, 2023
9 tasks
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.

Migration docs for upgrade to SDK 0.47
5 participants