-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
x/upgrade: remove alias.go usage #6382
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6382 +/- ##
==========================================
+ Coverage 47.95% 55.50% +7.55%
==========================================
Files 216 465 +249
Lines 11836 27536 +15700
==========================================
+ Hits 5676 15284 +9608
- Misses 5758 11154 +5396
- Partials 402 1098 +696 |
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, thanks @dauTT
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, one comment only
x/upgrade/abci_test.go
Outdated
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" |
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.
When you are on the same module (i.e x/upgrade
in this case) you don't need to define the imported packages with the upgrade...
prefix
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" | |
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | |
"github.com/cosmos/cosmos-sdk/x/upgrade/keeper" | |
"github.com/cosmos/cosmos-sdk/x/upgrade/types" |
* x/upgrade: remove alias.go usage * Simplify code Co-authored-by: Alexander Bezobchuk <[email protected]> Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Description
This PR closes a sub task in #6311
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.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorer