Skip to content

Feat/oracle reactor #46

Feat/oracle reactor

Feat/oracle reactor #46

Triggered via pull request June 3, 2024 10:41
Status Failure
Total duration 37s
Artifacts

lint.yml

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

Annotations

7 errors and 11 warnings
golangci-lint: libs/bytes/bytes.go#L61
Error return value of `s.Write` is not checked (errcheck)
golangci-lint: libs/bytes/bytes.go#L63
Error return value of `s.Write` is not checked (errcheck)
golangci-lint: oracle/service/runner/runner.go#L9
import 'github.com/sirupsen/logrus' is not allowed from list 'main' (depguard)
golangci-lint: oracle/reactor.go#L21
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: test/e2e/generator/main.go#L38
unused-parameter: parameter 'args' 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: privval/file.go#L281
unused-parameter: parameter 'chainID' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/pex/pex_reactor_test.go#L587
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/pex/pex_reactor_test.go#L617
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: p2p/pex/pex_reactor_test.go#L669
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)