Skip to content

Apply struct changes for new Alpaca #19

Apply struct changes for new Alpaca

Apply struct changes for new Alpaca #19

Triggered via pull request December 2, 2024 08:32
Status Failure
Total duration 59s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: api/v1/validatorstate.go#L176
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: http/signedbeaconblock.go#L148
dupBranchBody: both branches in if statement have same body (gocritic)
lint: spec/altair/beaconstate.go#L472
unnecessary conversion (unconvert)
lint: spec/altair/beaconstate.go#L478
unnecessary conversion (unconvert)
lint: spec/altair/beaconstate.go#L479
unnecessary conversion (unconvert)
lint: spec/altair/beaconstate.go#L426
return with no blank line before (nlreturn)
lint: spec/phase0/blspubkey.go#L25
the methods of "BLSPubKey" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/gwei.go#L25
the methods of "Gwei" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/blssignature.go#L25
the methods of "BLSSignature" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/hash32.go#L25
the methods of "Hash32" use pointer receiver and non-pointer receiver. (recvcheck)