Skip to content

feat: upgrade Cosmos SDK to v0.47 #8484

feat: upgrade Cosmos SDK to v0.47

feat: upgrade Cosmos SDK to v0.47 #8484

Triggered via pull request July 30, 2024 22:32
Status Failure
Total duration 4m 57s
Artifacts

lint.yml

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

Annotations

37 errors and 21 warnings
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/intertx)
The job was canceled because "types" 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 (x/data)
The job was canceled because "types" failed.
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 (x/ecocredit)
The job was canceled because "types" failed.
golangci (x/ecocredit): x/ecocredit/migrations/v3/state.go#L1
: # github.com/regen-network/regen-ledger/x/ecocredit/v3/migrations/v3
golangci (x/ecocredit)
undefined: regentypes.CoinToCosmosAPILegacy
golangci (x/ecocredit)
undefined: regentypes.CoinToCosmosAPILegacy (typecheck)
golangci (x/ecocredit): x/ecocredit/server/expected_keepers.go#L14
could not import github.com/regen-network/regen-ledger/x/ecocredit/v3/base/keeper (-: # github.com/regen-network/regen-ledger/x/ecocredit/v3/base/keeper
golangci (x/ecocredit)
undefined: regentypes.CoinFromCosmosAPILegacy
golangci (x/ecocredit)
undefined: regentypes.CoinToCosmosAPILegacy
golangci (x/ecocredit)
undefined: regentypes.CoinFromCosmosAPILegacy
golangci (x/ecocredit)
undefined: regentypes.CoinFromCosmosAPILegacy
golangci (x/ecocredit)
undefined: regentypes.CoinFromCosmosAPILegacy) (typecheck)
golangci (x/ecocredit): x/ecocredit/server/migrations.go#L8
could not import github.com/regen-network/regen-ledger/x/ecocredit/v3/migrations/v3 (-: # github.com/regen-network/regen-ledger/x/ecocredit/v3/migrations/v3
golangci (app)
The job was canceled because "types" failed.
golangci (app): app/upgrades/v5_0/upgrade_test.go#L24
cannot use new(UpgradeTestSuite) (value of type *UpgradeTestSuite) as suite.TestingSuite value in argument to suite.Run: *UpgradeTestSuite does not implement suite.TestingSuite (missing method SetS) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L30
suite.Setup undefined (type *UpgradeTestSuite has no field or method Setup) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L32
suite.Ctx undefined (type *UpgradeTestSuite has no field or method Ctx) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L33
suite.Ctx undefined (type *UpgradeTestSuite has no field or method Ctx) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L36
suite.App undefined (type *UpgradeTestSuite has no field or method App) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L37
suite.Require undefined (type *UpgradeTestSuite has no field or method Require) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L38
suite.App undefined (type *UpgradeTestSuite has no field or method App) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L39
suite.Require undefined (type *UpgradeTestSuite has no field or method Require) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L42
suite.App undefined (type *UpgradeTestSuite has no field or method App) (typecheck)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L43
suite.T undefined (type *UpgradeTestSuite has no field or method T) (typecheck)
buf-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
protolint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: technote-space/get-diff-action@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci (types)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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_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_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#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/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_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_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_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_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_anchor.go#L33
receiver-naming: receiver name msg should be consistent with previous receiver name m for MsgAnchor (revive)