Skip to content

Feat/oracle reactor #18

Feat/oracle reactor

Feat/oracle reactor #18

Triggered via pull request April 21, 2024 16:00
Status Failure
Total duration 58s
Artifacts

lint.yml

on: pull_request
golangci-lint
41s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 11 warnings
golangci-lint: state/execution.go#L217
`unsucessful` is a misspelling of `unsuccessful` (misspell)
golangci-lint: oracle/service/runner/runner.go#L7
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: oracle/reactor.go#L12
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: consensus/reactor.go#L22
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: state/execution.go#L17
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: cmd/cometbft/commands/compact.go#L18
ST1003: const flagDbNames should be flagDBNames (stylecheck)
golangci-lint
issues found
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci-lint: libs/cli/setup_test.go#L40
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/cli/setup_test.go#L98
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/cli/setup_test.go#L177
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/cli/setup_test.go#L214
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/events/events_test.go#L231
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/events/events_test.go#L316
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/events/events_test.go#L322
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/events/event_cache_test.go#L15
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: libs/events/event_cache_test.go#L28
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: crypto/merkle/proof_test.go#L148
unused-parameter: parameter 'sp' seems to be unused, consider removing or renaming it as _ (revive)