feat: new vote extenison type THRESHOLD_RAW #1642
Annotations
10 errors and 12 warnings
golangci-lint:
internal/jsontypes/jsontypes_test.go#L111
string `"}}` has 5 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/jsontypes/jsontypes_test.go#L137
string `{"type":"test/PointerType","value":{"field":"` has 3 occurrences, make it a constant (goconst)
|
golangci-lint:
internal/jsontypes/jsontypes_test.go#L6
import 'github.com/dashpay/tenderdash/internal/jsontypes' is not allowed from list 'Main' (depguard)
|
golangci-lint:
internal/libs/protoio/io.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
golangci-lint:
internal/libs/protoio/io.go#L36
import 'github.com/gogo/protobuf/proto' is not allowed from list 'Main' (depguard)
|
golangci-lint:
internal/libs/protoio/reader.go#L39
import 'github.com/gogo/protobuf/proto' is not allowed from list 'Main' (depguard)
|
golangci-lint:
internal/libs/protoio/writer.go#L40
import 'github.com/gogo/protobuf/proto' is not allowed from list 'Main' (depguard)
|
golangci-lint:
internal/pubsub/query/syntax/syntax_test.go#L9
import 'github.com/dashpay/tenderdash/internal/pubsub/query/syntax' is not allowed from list 'Main' (depguard)
|
golangci-lint:
scripts/metricsgen/metricsgen.go#L171
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
internal/libs/flowrate/flowrate.go#L13
import 'github.com/sasha-s/go-deadlock' is not allowed from list 'Main' (depguard)
|
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:
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:
internal/libs/clist/clist.go#L201
redefines-builtin-id: redefinition of the built-in function len (revive)
|
golangci-lint:
libs/bits/bit_array_test.go#L192
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/bits/bit_array_test.go#L211
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
libs/cli/setup.go#L84
empty-block: this block is empty, you can remove it (revive)
|
golangci-lint:
libs/cli/setup.go#L71
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
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:
internal/libs/clist/clist_property_test.go#L28
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|