Skip to content

feat: new vote extenison type THRESHOLD_RAW #1648

feat: new vote extenison type THRESHOLD_RAW

feat: new vote extenison type THRESHOLD_RAW #1648

Triggered via pull request December 21, 2023 20:47
Status Failure
Total duration 1m 19s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
golangci-lint: internal/libs/timer/throttle_timer.go#L6
import 'github.com/sasha-s/go-deadlock' is not allowed from list 'Main' (depguard)
golangci-lint: internal/libs/timer/throttle_timer_test.go#L7
import 'github.com/sasha-s/go-deadlock' is not allowed from list 'Main' (depguard)
golangci-lint: internal/libs/timer/throttle_timer_test.go#L11
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
golangci-lint: internal/libs/tempfile/tempfile_test.go#L71
string `/tmp/` has 4 occurrences, make it a constant (goconst)
golangci-lint: internal/libs/tempfile/tempfile.go#L12
import 'github.com/sasha-s/go-deadlock' is not allowed from list 'Main' (depguard)
golangci-lint: internal/libs/tempfile/tempfile_test.go#L12
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
golangci-lint: internal/libs/tempfile/tempfile_test.go#L14
import 'github.com/dashpay/tenderdash/libs/rand' is not allowed from list 'Main' (depguard)
golangci-lint: libs/rand/random.go#L32
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
golangci-lint: libs/rand/random_test.go#L6
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
golangci-lint: internal/jsontypes/jsontypes.go#L102
empty-block: this block is empty, you can remove it (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 following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. 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: crypto/secp256k1/secp256k1.go#L257
unused-parameter: parameter 'sigSharesData' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: crypto/secp256k1/secp256k1.go#L261
unused-parameter: parameter 'messages' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: crypto/secp256k1/secp256k1.go#L265
unused-parameter: parameter 'hash' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: dash/llmq/llmq_test.go#L245
unused-parameter: parameter 'sigHash' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L58
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L62
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L66
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L70
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L76
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: abci/types/application.go#L80
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)