Skip to content

feat: upgrade Cosmos SDK to v0.47 #8464

feat: upgrade Cosmos SDK to v0.47

feat: upgrade Cosmos SDK to v0.47 #8464

Triggered via pull request July 3, 2024 22:23
Status Failure
Total duration 5m 6s
Artifacts

lint.yml

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

Annotations

29 errors and 23 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/v4/state_test.go#L6
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/ecocredit): x/ecocredit/simulation/genesis_test.go#L10
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/ecocredit): x/ecocredit/basket/simulation/msg_take.go#L9
File is not `gofmt`-ed with `-s` (gofmt)
golangci (x/ecocredit): x/ecocredit/server/testsuite/suite.go#L27
ST1019: package "github.com/regen-network/regen-ledger/types/v2" is being imported more than once (stylecheck)
golangci (x/ecocredit): x/ecocredit/server/testsuite/suite.go#L28
ST1019(related information): other import of "github.com/regen-network/regen-ledger/types/v2" (stylecheck)
golangci (x/ecocredit)
issues found
golangci (app)
The job was canceled because "types" failed.
golangci (app): app/testsuite/suite.go#L7
File is not `gofmt`-ed with `-s` (gofmt)
golangci (app): app/upgrades/v5_0/upgrade_test.go#L11
File is not `gofmt`-ed with `-s` (gofmt)
golangci (app): app/app.go#L836
ST1016: methods on the same type should have the same receiver name (seen 1x "a", 28x "app") (stylecheck)
golangci (app)
issues found
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/
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/
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_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/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_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_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_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_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)
golangci (app): app/app.go#L851
receiver-naming: receiver name a should be consistent with previous receiver name app for RegenApp (revive)
golangci (app): app/client/cli/root.go#L177
var-naming: don't use underscores in Go names; range var sub_cmd should be subCmd (revive)