Skip to content

feat: upgrade Cosmos SDK to v0.47 #8274

feat: upgrade Cosmos SDK to v0.47

feat: upgrade Cosmos SDK to v0.47 #8274

Triggered via pull request February 10, 2024 14:52
Status Failure
Total duration 55s
Artifacts

lint.yml

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

Annotations

28 errors and 22 warnings
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L109
undefined: ecocredit (typecheck)
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L137
undefined: ecocredit (typecheck)
golangci (x/ecocredit): x/ecocredit/simulation/utils/utils.go#L79
undefined: ecocredit (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/client/testsuite/suite.go#L198
cannot use db (variable of type *"github.com/cometbft/cometbft-db".MemDB) as kv.Store value in struct literal: *"github.com/cometbft/cometbft-db".MemDB does not implement kv.Store (wrong type for method Iterator)
golangci (x/ecocredit): x/ecocredit/client/testsuite/suite.go#L199
cannot use db (variable of type *"github.com/cometbft/cometbft-db".MemDB) as kv.Store value in struct literal: *"github.com/cometbft/cometbft-db".MemDB does not implement kv.Store (wrong type for method Iterator)
golangci (x/ecocredit): x/ecocredit/marketplace/simulation/msg_add_allowed_denom.go#L9
string literal not terminated (typecheck)
golangci (x/ecocredit): x/ecocredit/marketplace/simulation/msg_cancel_sell_order.go#L7
string literal not terminated (typecheck)
golangci (x/ecocredit): x/ecocredit/marketplace/simulation/msg_remove_allowed_denom.go#L8
string literal not terminated (typecheck)
golangci (app)
The operation was canceled.
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 (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): x/data/client/testsuite/tx.go#L67
undefined: flags.BroadcastBlock (typecheck)
golangci (x/data): x/data/client/testsuite/tx.go#L74
undefined: banktestutil.MsgSendExec (typecheck)
golangci (x/data): x/data/client/testsuite/tx.go#L86
undefined: banktestutil.MsgSendExec (typecheck)
golangci (x/data): x/data/client/testsuite/tx.go#L221
undefined: flags.BroadcastBlock (typecheck)
golangci (x/data): x/data/client/testsuite/tx.go#L274
undefined: flags.BroadcastBlock (typecheck)
golangci (x/data): x/data/simulation/genesis.go#L1
: # github.com/regen-network/regen-ledger/x/data/v3/simulation
golangci (x/data)
cannot use db (variable of type *"github.com/cometbft/cometbft-db".MemDB) as "github.com/cosmos/cosmos-sdk/orm/types/kv".Store value in struct literal: *"github.com/cometbft/cometbft-db".MemDB does not implement "github.com/cosmos/cosmos-sdk/orm/types/kv".Store (wrong type for method Iterator)
golangci (x/data): x/data/module/module.go#L26
could not import github.com/regen-network/regen-ledger/x/data/v3/genesis (-: # github.com/regen-network/regen-ledger/x/data/v3/genesis
golangci (x/data)
cannot use db (variable of type *"github.com/cometbft/cometbft-db".MemDB) as "github.com/cosmos/cosmos-sdk/orm/types/kv".Store value in struct literal: *"github.com/cometbft/cometbft-db".MemDB does not implement "github.com/cosmos/cosmos-sdk/orm/types/kv".Store (wrong type for method Iterator)
golangci (x/data)
cannot use db (variable of type *"github.com/cometbft/cometbft-db".MemDB) as "github.com/cosmos/cosmos-sdk/orm/types/kv".Store value in struct literal: *"github.com/cometbft/cometbft-db".MemDB does not implement "github.com/cosmos/cosmos-sdk/orm/types/kv".Store (wrong type for method Iterator)
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/.
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/.
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 (app)
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 (x/intertx)
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 (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)
golangci (types)
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 (x/data)
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 (x/data): x/data/msg_define_resolver.go#L33
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
golangci (x/data): x/data/msg_define_resolver.go#L34
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
golangci (x/data): x/data/msg_define_resolver.go#L35
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgDefineResolver (revive)
golangci (x/data): x/data/msg_attest.go#L40
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
golangci (x/data): x/data/msg_anchor.go#L31
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)
golangci (x/data): x/data/msg_attest.go#L41
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
golangci (x/data): x/data/msg_anchor.go#L32
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)
golangci (x/data): x/data/msg_attest.go#L42
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAttest (revive)
golangci (x/data): x/data/msg_anchor.go#L33
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)