Enhance the config commands and change some defaults. #7044
Annotations
10 errors and 1 warning
golangci-lint:
cmd/provenanced/config/toml.go#L54
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
golangci-lint:
cmd/provenanced/cmd/genaccounts.go#L689
S1040: type assertion to the same type: msg already has type sdk.Msg (gosimple)
|
golangci-lint:
x/attribute/simulation/proposals.go#L10
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
golangci-lint:
x/attribute/simulation/proposals.go#L11
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
golangci-lint:
x/hold/module/module.go#L138
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
golangci-lint:
x/trigger/module/module.go#L128
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
golangci-lint:
internal/protocompat/protocompat.go#L8
import 'github.com/golang/protobuf/proto' is not allowed from list 'main' (depguard)
|
golangci-lint:
x/quarantine/quarantine.go#L88
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
x/msgfees/module/module.go#L154
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
golangci-lint:
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)
|
golangci-lint
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/.
|