-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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(x/upgrade): Use cosmossdk.io/core/codec
instead of github.com/cosmos/cosmos-sdk/codec
#23261
Changes from 5 commits
2ff654b
786bcf6
5924a91
89d7a4c
de5929f
309b069
597187a
7dc9a54
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ import ( | |
storetypes "cosmossdk.io/store/types" | ||
"cosmossdk.io/x/upgrade/types" | ||
|
||
"github.com/cosmos/cosmos-sdk/codec" | ||
"cosmossdk.io/core/codec" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix import ordering. The import statement needs to be reordered according to the project's import group ordering rules: standard, default, prefix(cosmossdk.io), prefix(github.com/cosmos/cosmos-sdk). - "cosmossdk.io/core/codec"
- "github.com/cosmos/cosmos-sdk/runtime"
- "github.com/cosmos/cosmos-sdk/telemetry"
- sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
- "github.com/cosmos/cosmos-sdk/types/kv"
+ "cosmossdk.io/core/codec"
+ "cosmossdk.io/core/appmodule"
+ "cosmossdk.io/core/server"
+ errorsmod "cosmossdk.io/errors"
+ "cosmossdk.io/store/prefix"
+ storetypes "cosmossdk.io/store/types"
+ "cosmossdk.io/x/upgrade/types"
+
+ "github.com/cosmos/cosmos-sdk/runtime"
+ "github.com/cosmos/cosmos-sdk/telemetry"
+ sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
+ "github.com/cosmos/cosmos-sdk/types/kv"
🧰 Tools🪛 golangci-lint (1.62.2)23-23: File is not (gci) 🪛 GitHub Actions: Lint[error] 23-23: File is not |
||
"github.com/cosmos/cosmos-sdk/runtime" | ||
"github.com/cosmos/cosmos-sdk/telemetry" | ||
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" | ||
|
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.
Fix import ordering.
The import statement needs to be reordered according to the project's import group ordering rules: standard, default, prefix(cosmossdk.io), prefix(github.com/cosmos/cosmos-sdk).
🧰 Tools
🪛 golangci-lint (1.62.2)
15-15: File is not
gci
-ed with --skip-generated -s standard -s default -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) --custom-order(gci)
🪛 GitHub Actions: Lint
[error] 15-15: File is not
gci
-ed with --skip-generated -s standard -s default -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) --custom-order