Migration from the drand v1.5 codebase to its own repo #3
Annotations
10 errors and 1 warning
lint:
client/test/result/mock/result.go#L84
Error return value of `binary.Write` is not checked (errcheck)
|
lint:
client/test/result/mock/result.go#L82
func `roundToBytes` is unused (unused)
|
lint:
internal/grpc/client.go#L45
SA1019: grpc.Dial is deprecated: use NewClient instead. Will be supported throughout 1.x. (staticcheck)
|
lint:
internal/grpc/client.go#L56
SA1019: r.Randomness is deprecated: Marked as deprecated in drand/api.proto. (staticcheck)
|
lint:
internal/lp2p/ctor.go#L21
SA1019: "github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoreds" is deprecated: The database-backed peerstore will be removed from go-libp2p in the future. Use the memory peerstore (pstoremem) instead. For more details see https://github.com/libp2p/go-libp2p/issues/2329 and https://github.com/libp2p/go-libp2p/issues/2355. (staticcheck)
|
lint:
internal/cli.go#L52
var `beaconIDFlag` is unused (unused)
|
lint:
internal/cli.go#L123
func `isVerbose` is unused (unused)
|
lint:
internal/cli.go#L142
func `schemesCmd` is unused (unused)
|
lint:
client/client.go#L185
field `prometheus` is unused (unused)
|
lint:
client/test/http/mock/httpserver.go#L64
Error return value of `httpServer.Serve` is not checked (errcheck)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/drand-cli/drand-cli. Supported file pattern: go.sum
|