Skip to content

feat: upgrade Cosmos SDK to v0.47 #8416

feat: upgrade Cosmos SDK to v0.47

feat: upgrade Cosmos SDK to v0.47 #8416

Triggered via pull request April 22, 2024 17:36
Status Failure
Total duration 32s
Artifacts

lint.yml

on: pull_request
Matrix: golangci
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 13 warnings
golangci (types): types/math/math.go#L5
File is not `goimports`-ed (goimports)
golangci (types): types/ormstore/db_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
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 (types)
issues found
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): 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 (x/intertx)
issues found
golangci (x/data)
The job was canceled because "types" failed.
golangci (x/data): x/data/server/testsuite/genesis.go#L1
: # github.com/regen-network/regen-ledger/x/data/v3/server/testsuite [github.com/regen-network/regen-ledger/x/data/v3/server/testsuite.test]
golangci (x/data)
cannot use authSubspace (variable of type "github.com/cosmos/cosmos-sdk/x/params/types".Subspace) as func() "github.com/cosmos/cosmos-sdk/x/auth/types".AccountI value in argument to authkeeper.NewAccountKeeper
golangci (x/data)
cannot use authtypes.ProtoBaseAccount (value of type func() "github.com/cosmos/cosmos-sdk/x/auth/types".AccountI) as map[string][]string value in argument to authkeeper.NewAccountKeeper
golangci (x/data)
cannot use maccPerms (variable of type map[string][]string) as string value in argument to authkeeper.NewAccountKeeper
golangci (x/data)
cannot use bankSubspace (variable of type "github.com/cosmos/cosmos-sdk/x/params/types".Subspace) as map[string]bool value in argument to bankkeeper.NewBaseKeeper
golangci (x/data)
cannot use nil as string value in argument to bankkeeper.NewBaseKeeper (typecheck)
golangci (x/data): x/data/server/hasher/hasher_test.go#L12
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/data): x/data/server/genesis.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/data): x/data/server/server.go#L5
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/data)
issues found
golangci (app)
The job was canceled because "types" failed.
golangci (app)
The operation was canceled.
golangci (x/ecocredit)
The job was canceled because "types" failed.
golangci (x/ecocredit)
The operation was canceled.
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 (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/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/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_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_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_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_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_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#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)