Skip to content

Merge pull request #20 from darrenvechain/golangci-linnt-setup #15

Merge pull request #20 from darrenvechain/golangci-linnt-setup

Merge pull request #20 from darrenvechain/golangci-linnt-setup #15

Triggered via push January 12, 2024 14:05
Status Failure
Total duration 1m 22s
Artifacts

lint-go.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
golangci-lint: blake2b/blake2b.go#L305
`appendUint32` is unused (deadcode)
golangci-lint: blake2b/blake2b.go#L316
`consumeUint32` is unused (deadcode)
golangci-lint: blake2b/blake2b_generic.go#L28
`hashBlocksGeneric` is unused (deadcode)
golangci-lint: vm/bn256/cloudflare/constants.go#L29
`np` is unused (deadcode)
golangci-lint: vm/bn256/cloudflare/gfp_decl.go#L13
`hasBMI2` is unused (deadcode)
golangci-lint: vm/bn256/cloudflare/lattice.go#L21
`targetLattice` is unused (deadcode)
golangci-lint: poa/seed.go#L18
`mockEpochInterval` is unused (deadcode)
golangci-lint: logdb/logdb.go#L97
97-166 lines are duplicate of `logdb/logdb.go:168-231` (dupl)
golangci-lint: logdb/logdb.go#L168
168-231 lines are duplicate of `logdb/logdb.go:97-166` (dupl)
golangci-lint: vm/instructions.go#L712
712-735 lines are duplicate of `vm/instructions.go:737-760` (dupl)
golangci-lint: vm/bn256/cloudflare/gfp12.go#L107
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: vm/bn256/google/gfp12.go#L88
unused-parameter: parameter 'pool' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: vm/bn256/google/twist.go#L257
unused-parameter: parameter 'pool' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: vm/bn256/google/gfp12.go#L127
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: trie/node.go#L79
redefines-builtin-id: redefinition of the built-in function copy (revive)
golangci-lint: trie/node.go#L80
redefines-builtin-id: redefinition of the built-in function copy (revive)
golangci-lint: trie/fast_node_encoder.go#L63
unused-parameter: parameter 'nonCrypto' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: trie/node.go#L133
unused-parameter: parameter 'ind' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: trie/node.go#L136
unused-parameter: parameter 'ind' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: trie/node.go#L225
unused-parameter: parameter 'buf' seems to be unused, consider removing or renaming it as _ (revive)