Skip to content

chore: improve test suite testutil/keeper by adding utility methods for state initialization #2886

chore: improve test suite testutil/keeper by adding utility methods for state initialization

chore: improve test suite testutil/keeper by adding utility methods for state initialization #2886

Re-run triggered November 6, 2023 12:12
Status Success
Total duration 5m 19s
Artifacts

test-lint.yml

on: pull_request
golangci-lint
5m 3s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 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: testutil/keeper/profile.go#L4
File is not `gofumpt`-ed (gofumpt)
golangci-lint: testutil/keeper/profile.go#L6
File is not `gofumpt`-ed (gofumpt)
golangci-lint: testutil/keeper/project.go#L4
File is not `gofumpt`-ed (gofumpt)
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/monitoringp/client/cli/query.go#L15
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/project/client/cli/query.go#L13
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