chore: improve test suite testutil/keeper by adding utility methods for state initialization #2891
Annotations
9 errors and 19 warnings
golangci-lint:
pkg/airdrop/airdrop_missions.go#L32
Error return value of `h.k.CompleteMission` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/keeper.go#L152
Error return value of `distrKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/keeper.go#L153
Error return value of `stakingKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/keeper.go#L258
Error return value of `distrKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/keeper.go#L259
Error return value of `stakingKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/monitoring_provider.go#L76
Error return value of `distrKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
testutil/keeper/monitoring_provider.go#L77
Error return value of `stakingKeeper.SetParams` is not checked (errcheck)
|
golangci-lint:
app/app.go#L157
const `missionIDSendingRequest` is unused (unused)
|
golangci-lint:
cmd/root.go#L413
directive `//nolint:revive` is unused for linter "revive" (nolintlint)
|
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: technote-space/get-diff-action@v4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
golangci-lint:
x/profile/client/cli/query.go#L13
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/participation/client/cli/query.go#L14
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringp/types/codec.go#L10
unused-parameter: parameter 'cdc' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/project/client/cli/query.go#L13
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringp/keeper/monitoring_packet.go#L54
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringp/keeper/monitoring_packet.go#L55
unused-parameter: parameter 'packet' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringp/keeper/monitoring_packet.go#L56
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringp/client/cli/query.go#L15
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/launch/client/cli/query.go#L17
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/monitoringc/client/cli/query.go#L12
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/spn/spn. Supported file pattern: go.sum
|