Clean up Msgs and Codecs. #7050
Annotations
10 errors and 1 warning
Run golangci/golangci-lint-action@v6:
internal/protocompat/protocompat.go#L8
import 'github.com/golang/protobuf/proto' is not allowed from list 'main' (depguard)
|
Run golangci/golangci-lint-action@v6:
x/attribute/keeper/keeper.go#L104
dupBranchBody: both branches in if statement have same body (gocritic)
|
Run golangci/golangci-lint-action@v6:
x/quarantine/quarantine.go#L88
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Run golangci/golangci-lint-action@v6:
x/ibchooks/module.go#L48
unused-parameter: parameter 'cdc' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v6:
testutil/cli/exec.go#L29
exported: type name will be used as cli.CLITxExecutor by other packages, and that stutters; consider calling this TxExecutor (revive)
|
Run golangci/golangci-lint-action@v6:
internal/handlers/msg_service_router.go#L103
(*PioMsgServiceRouter).registerMsgServiceHandler - result 0 (error) is always nil (unparam)
|
Run golangci/golangci-lint-action@v6:
x/metadata/types/address.go#L14
import 'sigs.k8s.io/yaml' is not allowed from list 'main' (depguard)
|
Run golangci/golangci-lint-action@v6:
cmd/provenanced/cmd/genaccounts.go#L689
S1040: type assertion to the same type: msg already has type sdk.Msg (gosimple)
|
Run golangci/golangci-lint-action@v6:
x/marker/simulation/proposals.go#L36
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
Run golangci/golangci-lint-action@v6:
x/marker/simulation/proposals.go#L37
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading