Skip to content

feat: consensus mimicry #63

feat: consensus mimicry

feat: consensus mimicry #63

Triggered via pull request October 29, 2024 02:57
@samcmsamcm
synchronize #28
feat/libp2p-host
Status Failure
Total duration 2m 17s
Artifacts

golangci-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/consensus/mimicry/crawler/req_handlers.go#L43
Error return value is not checked (errcheck)
lint: pkg/consensus/mimicry/p2p/req_resp.go#L60
importShadow: shadow of imported from 'github.com/libp2p/go-libp2p/core/protocol' package 'protocol' (gocritic)
lint: pkg/consensus/mimicry/host/host.go#L279
importShadow: shadow of imported package 'net' (gocritic)
lint: pkg/consensus/mimicry/host/host.go#L291
importShadow: shadow of imported package 'net' (gocritic)
lint: pkg/consensus/mimicry/host/host.go#L304
importShadow: shadow of imported package 'net' (gocritic)
lint: pkg/consensus/mimicry/crawler/metrics.go#L69
builtinShadow: shadowing of predeclared identifier: error (gocritic)
lint: pkg/consensus/mimicry/host/host.go#L213
func `(*Node).createLocalNode` is unused (unused)
lint: pkg/consensus/mimicry/crawler/crawler.go#L49
field `ctx` is unused (unused)
lint: pkg/discovery/peer.go#L27
SA1019: elliptic.Marshal has been deprecated since Go 1.21: for ECDH, use the crypto/ecdh package. This function returns an encoding equivalent to that of PublicKey.Bytes in crypto/ecdh. (staticcheck)
lint: pkg/consensus/mimicry/crawler/crawler.go#L289
ST1016: methods on the same type should have the same receiver name (seen 26x "c", 8x "n") (stylecheck)
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/ethcore/ethcore. Supported file pattern: go.sum