Skip to content

Merge pull request #19 from darrenvechain/golangci-linnt-setup-test #13

Merge pull request #19 from darrenvechain/golangci-linnt-setup-test

Merge pull request #19 from darrenvechain/golangci-linnt-setup-test #13

Triggered via push January 11, 2024 11:02
Status Failure
Total duration 1m 25s
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-157 lines are duplicate of `logdb/logdb.go:159-213` (dupl)
golangci-lint: logdb/logdb.go#L159
159-213 lines are duplicate of `logdb/logdb.go:97-157` (dupl)
golangci-lint: vm/instructions.go#L712
712-735 lines are duplicate of `vm/instructions.go:737-760` (dupl)
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/gfp12.go#L127
unused-parameter: parameter 'a' 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/cloudflare/gfp12.go#L107
unused-parameter: parameter 'a' seems to be unused, consider removing or renaming it as _ (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)
golangci-lint: trie/node.go#L257
unused-parameter: parameter 'buf' 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)