-
Notifications
You must be signed in to change notification settings - Fork 60
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
chore: lint fixes #356
chore: lint fixes #356
Conversation
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.
Are we sure about the NewHandler + Route() removal? I thought this was still used for Amino (ledger) messages?
This suggests to me that it is still relevant in 0.46? https://github.com/cosmos/cosmos-sdk/blob/5023392bd9718679668dd8e88a792a6defa63c00/types/module/module.go#LL294C3-L296C4 |
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
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
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
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
* update lint * easy fixes * loop fixes * review suggestions
1. Summary
Fixes failing lint
2.Type of change
3. Implementation details
Golangci-lint action was bumped to
v1.52.0
which started complaining about a bunch of code. This PR bumps our version oflint
and makes the according changes to fix the lint.NewHandler
functions (not needed anymore).Ones to check (simplified logic that should be verified):