Skip to content

Created consensus.go_util.go and edited consensuscore,rpc and types … #68

Created consensus.go_util.go and edited consensuscore,rpc and types …

Created consensus.go_util.go and edited consensuscore,rpc and types … #68

Triggered via pull request September 21, 2024 09:42
Status Failure
Total duration 1m 5s
Artifacts

cilint.yml

on: pull_request
detect-modules
13s
detect-modules
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint (/home/runner/work/selene/selene): utils/proof/merkleProof.go#L9
func `validateMerkleProof` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L180
func `ConsensusClient.expected_current_slot` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L295
func `(*Inner).get_payloads` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L766
func `(*Inner).log_finality_update` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L857
func `(*Inner).age` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L784
func `(*Inner).log_optimistic_update` is unused (unused)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L505
S1002: should omit comparison to bool constant, can be simplified to `in.Config.StrictCheckpointAge` (gosimple)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L197
ineffectual assignment to err (ineffassign)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L326
SA4001: *&x will be simplified to x. It will not copy x. (staticcheck)
golangci-lint (/home/runner/work/selene/selene): consensus/consensus.go#L327
SA4001: *&x will be simplified to x. It will not copy x. (staticcheck)