Skip to content

Remove GetSigners from sdk.Msg implementations#5305

Merged
damiannolan merged 15 commits intocosmos:mainfrom
decentrio:nhan/remove_GetSigners
Dec 6, 2023
Merged

Remove GetSigners from sdk.Msg implementations#5305
damiannolan merged 15 commits intocosmos:mainfrom
decentrio:nhan/remove_GetSigners

Conversation

@ThanhNhann
Copy link
Copy Markdown
Contributor

@ThanhNhann ThanhNhann commented Dec 4, 2023

Description

partially addresses: #4687


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.

@DimitrisJim
Copy link
Copy Markdown
Contributor

no worries w.r.t pull request labeler, you can run make lint/make lint-fix for linter complains.

@DimitrisJim
Copy link
Copy Markdown
Contributor

note, also grepped for it and found GetSigners for a mock message, see: ./modules/apps/27-interchain-accounts/types/codec_test.go:40

I'd assume that can also probably be safely dropped.

Copy link
Copy Markdown
Contributor

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

Awesome! I just commented on some more tests which could be refactored to remove the suite receiver and use moduletestutil.MakeTestEncodingConfig

Happy to merge after those are addressed 🚀

@ThanhNhann
Copy link
Copy Markdown
Contributor Author

Updated, thank @damiannolan for your suggestions ❤️

Copy link
Copy Markdown
Contributor

@damiannolan damiannolan left a comment

Choose a reason for hiding this comment

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

ACK finishing touches, thank you @ThanhNhann! 🚀

Copy link
Copy Markdown
Contributor

@DimitrisJim DimitrisJim left a comment

Choose a reason for hiding this comment

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

lgtm, left one minor nit while going through changes

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.

3 participants