Skip to content

feat: upgrade Cosmos SDK to v0.47 #8451

feat: upgrade Cosmos SDK to v0.47

feat: upgrade Cosmos SDK to v0.47 #8451

Triggered via pull request June 22, 2024 19:13
Status Failure
Total duration 1m 25s
Artifacts

lint.yml

on: pull_request
buf-lint
8s
buf-lint
protolint
9s
protolint
Matrix: golangci
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 12 warnings
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L108
undefined: ecocredit (typecheck)
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L136
undefined: ecocredit (typecheck)
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L78
undefined: ecocredit (typecheck)
golangci (x/ecocredit): x/ecocredit/base/types/v1alpha1/doc.pb.go#L16
could not import github.com/cosmos/gogoproto/proto (-: # github.com/cosmos/gogoproto/proto
golangci (x/ecocredit)
type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int) (typecheck)
golangci (x/ecocredit): x/ecocredit/client/testsuite/suite.go#L10
could not import github.com/cosmos/gogoproto/proto (-: # github.com/cosmos/gogoproto/proto
golangci (x/ecocredit)
type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int) (typecheck)
golangci (x/ecocredit): x/ecocredit/client/testsuite/suite.go#L111
undefined: types (typecheck)
golangci (x/ecocredit): x/ecocredit/client/testsuite/suite.go#L114
undefined: types (typecheck)
golangci (x/ecocredit): x/ecocredit/orderbook/memory.pb.go#L10
could not import github.com/cosmos/gogoproto/proto (-: # github.com/cosmos/gogoproto/proto
golangci (types)
The job was canceled because "x_ecocredit" failed.
golangci (types): types/ormutil/compatability.go#L7
File is not `gofmt`-ed with `-s` (gofmt)
golangci (types): types/coin.go#L4
File is not `gofmt`-ed with `-s` (gofmt)
golangci (types): types/ormstore/db_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
golangci (types): types/math/math.go#L5
File is not `goimports`-ed (goimports)
golangci (types)
issues found
golangci (x/data)
The job was canceled because "x_ecocredit" failed.
golangci (x/data): x/data/client/util.go#L8
could not import github.com/cosmos/gogoproto/proto (-: # github.com/cosmos/gogoproto/proto
golangci (x/data)
type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int) (typecheck)
golangci (x/data): x/data/client/tx.go#L227
undefined: data (typecheck)
golangci (x/data): x/data/client/util.go#L29
undefined: data (typecheck)
golangci (x/data): x/data/client/util.go#L37
undefined: data (typecheck)
golangci (x/data): x/data/doc.pb.go#L18
could not import github.com/cosmos/gogoproto/proto (-: # github.com/cosmos/gogoproto/proto
golangci (x/data)
type func(x *descriptorpb.FileDescriptorProto, y *descriptorpb.FileDescriptorProto) bool of func(x, y *descriptorpb.FileDescriptorProto) bool {…} does not match inferred type func(a *descriptorpb.FileDescriptorProto, b *descriptorpb.FileDescriptorProto) int for func(a E, b E) int) (typecheck)
golangci (x/data): x/data/genesis/genesis_test.go#L40
undefined: types (typecheck)
golangci (x/data): x/data/server/msg_anchor.go#L99
undefined: types (typecheck)
golangci (x/data): x/data/server/msg_anchor.go#L108
undefined: types (typecheck)
golangci (x/intertx)
The job was canceled because "x_ecocredit" failed.
golangci (x/intertx): x/intertx/keeper/keeper.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/intertx): x/intertx/keeper/keeper_test.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/intertx): x/intertx/keeper/keeper_test.go#L10
File is not `goimports`-ed (goimports)
golangci (x/intertx)
issues found
golangci (app)
The job was canceled because "x_ecocredit" failed.
golangci (app)
The operation was canceled.
buf-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
protolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/ecocredit)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (types): types/ormutil/compatability.go#L14
var-naming: func PageReqToCosmosApiLegacy should be PageReqToCosmosAPILegacy (revive)
golangci (types): types/coin.go#L25
var-naming: func CoinToCosmosApiLegacy should be CoinToCosmosAPILegacy (revive)
golangci (types): types/coin.go#L33
var-naming: func CoinFromCosmosApiLegacy should be CoinFromCosmosAPILegacy (revive)
golangci (x/intertx): x/intertx/types/v1/msg_register_account.go#L37
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
golangci (x/intertx): x/intertx/types/v1/msg_register_account.go#L38
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
golangci (x/intertx): x/intertx/types/v1/msg_register_account.go#L39
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgRegisterAccount (revive)
golangci (x/intertx): x/intertx/types/v1/msg_submit_tx.go#L44
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)
golangci (x/intertx): x/intertx/types/v1/msg_submit_tx.go#L45
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)
golangci (x/intertx): x/intertx/types/v1/msg_submit_tx.go#L46
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgSubmitTx (revive)