Skip to content

feat: add task manager #159

feat: add task manager

feat: add task manager #159

Triggered via pull request April 5, 2024 11:25
Status Failure
Total duration 5m 30s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
5m 20s
Run golangci-lint
Run markdown-lint
9s
Run markdown-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
Run golangci-lint: testutil/abci.go#L1
: # github.com/ExocoreNetwork/exocore/testutil
Run golangci-lint: testutil/utils.go#L75
not enough arguments in call to exocoreapp.SetupTestingApp
Run golangci-lint: precompiles/testutil/contracts/contracts.go#L10
could not import github.com/ExocoreNetwork/exocore/testutil (-: # github.com/ExocoreNetwork/exocore/testutil
Run golangci-lint: testutil/utils.go#L75
not enough arguments in call to exocoreapp.SetupTestingApp
Run golangci-lint: x/avs/client/cli/query.go#L1
: # github.com/ExocoreNetwork/exocore/x/avs/client/cli
Run golangci-lint: x/avs/client/cli/tx.go#L59
cannot use args[2] (variable of type string) as []string value in struct literal (typecheck)
Run golangci-lint: x/avs/module.go#L21
could not import github.com/ExocoreNetwork/exocore/x/avs/client/cli (-: # github.com/ExocoreNetwork/exocore/x/avs/client/cli
Run golangci-lint: x/avs/client/cli/tx.go#L59
cannot use args[2] (variable of type string) as []string value in struct literal) (typecheck)
Run golangci-lint: x/avs/module.go#L117
undefined: keeper.NewMsgServerImpl (typecheck)
Run golangci-lint: x/taskmanageravs/keeper/task.go#L74
Error return value of `k.SetTaskforAvs` is not checked (errcheck)
Run markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6.1.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6.1.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run golangci-lint: x/taskmanageravs/types/keys.go#L20
var-naming: const PrefixAvsTaskIdMap should be PrefixAvsTaskIDMap (revive)
Run golangci-lint: x/taskmanageravs/types/keys.go#L27
var-naming: var KeyPrefixAvsTaskIdMap should be KeyPrefixAvsTaskIDMap (revive)
Run golangci-lint: x/taskmanageravs/keeper/keeper.go#L22
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/taskmanageravs/keeper/params.go#L9
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/taskmanageravs/keeper/params.go#L14
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/taskmanageravs/client/cli/tx.go#L55
var-naming: var taskId should be taskID (revive)
Run golangci-lint: x/taskmanageravs/client/cli/query_params.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/avs/types/codec.go#L10
unused-parameter: parameter 'cdc' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/avs/keeper/keeper.go#L65
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
Run golangci-lint: x/avs/keeper/keeper.go#L81
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)