Skip to content

go mod tidy

go mod tidy #19

Triggered via push March 27, 2024 15:06
Status Failure
Total duration 1m 54s
Artifacts

go-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
go-check / All: cmd/hermes/cmd_eth.go#L237
func validateBeaconAddrInfoFlag is unused (U1000)
go-check / All: cmd/hermes/cmd_eth_chains.go#L36
the argument is already a string, there's no need to use fmt.Sprintf (S1025)
go-check / All: eth/discovery.go#L194
should use !bytes.Equal(forkEntry.CurrentForkDigest, digest[:]) instead (S1004)
go-check / All: eth/discovery.go#L228
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. (SA1019)
go-check / All: eth/discovery_config.go#L26
field forkDigest is unused (U1000)
go-check / All: eth/node_config.go#L23
"github.com/libp2p/go-libp2p/p2p/host/resource-manager/obs" is deprecated: obs is deprecated and the exported types and methods are moved to rcmgr package. Use the corresponding identifier in the rcmgr package, for example obs.NewStatsTraceReporter => rcmgr.NewStatsTraceReporter (SA1019)
go-check / All: eth/node_notifiee.go#L116
empty branch (SA9003)
go-check / All: eth/prysm.go#L243
p.beaconClient.GetChainHead is deprecated: Do not use. (SA1019)
go-check / All: eth/reqresp.go#L26
package "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1" is being imported more than once (ST1019)
go-check / All
other import of "github.com/prysmaticlabs/prysm/v5/proto/prysm/v1alpha1"