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

fix: register impls against govtypes.Content interface #4746

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

damiannolan
Copy link
Member

Description

Register the legacy gov proposal content types against the interface


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.

@damiannolan damiannolan added v8 type: bug Something isn't working as expected labels Sep 21, 2023
@damiannolan damiannolan marked this pull request as ready for review September 21, 2023 12:17
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.

Can we add a test for this?

@colin-axner colin-axner added this to the v8.0.0 milestone Sep 21, 2023
@@ -155,3 +156,78 @@ func (suite *TypesTestSuite) TestPackClientMessage() {
}
}
}

func (suite *TypesTestSuite) TestCodecTypeRegistration() {
Copy link
Member Author

@damiannolan damiannolan Sep 21, 2023

Choose a reason for hiding this comment

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

We should replicate this testing to each codec.go of our apps and submodules.

Copy link
Member Author

Choose a reason for hiding this comment

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

@damiannolan damiannolan mentioned this pull request Sep 21, 2023
11 tasks
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.

Gorgeous ❤️

@damiannolan damiannolan merged commit 9b595a9 into main Sep 21, 2023
59 checks passed
@damiannolan damiannolan deleted the damian/legacy-gov-3 branch September 21, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants