update go.mod #1040
Annotations
10 errors and 2 warnings
Analyze (go):
x/gov/types/v1alpha1/params.go#L30
`validateDepositParams` is unused (deadcode)
|
Analyze (go):
x/gov/types/v1alpha1/params.go#L70
`validateTally` is unused (deadcode)
|
Analyze (go):
x/gov/types/v1alpha1/params.go#L88
`validateCustomParams` is unused (deadcode)
|
Analyze (go):
x/gov/types/v1alpha1/params.go#L126
`validateVotingParams` is unused (deadcode)
|
Analyze (go):
x/gov/types/v1/genesis.go#L68
struct field `ProposalId` should be `ProposalID` (golint)
|
Analyze (go):
x/gov/types/v1/genesis.go#L92
struct field `ProposalId` should be `ProposalID` (golint)
|
Analyze (go):
app/upgrade_handler.go#L19
`(ShentuApp).setUpgradeHandler` - `clientKeeper` is unused (unparam)
|
Analyze (go):
x/gov/types/v1alpha1/params.go#L103
func `validateTallyParams` is unused (unused)
|
Analyze (go):
x/auth/types/codec.go#L39
SA1019: authtypes.AccountI is deprecated: Use `AccountI` from types package instead. (staticcheck)
|
Analyze (go):
x/cert/module.go#L157
SA1019: simtypes.WeightedProposalContent is deprecated: Use WeightedProposalMsg instead. (staticcheck)
|
Analyze (go)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/[email protected], github/codeql-action/init@v2, github/codeql-action/autobuild@v2, github/codeql-action/analyze@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze (go)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|