Skip to content

Apply struct changes for new Alpaca #17

Apply struct changes for new Alpaca

Apply struct changes for new Alpaca #17

Triggered via pull request December 2, 2024 08:05
Status Failure
Total duration 57s
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: 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/gwei.go#L25
the methods of "Gwei" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/slot.go#L25
the methods of "Slot" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/root.go#L25
the methods of "Root" use pointer receiver and non-pointer receiver. (recvcheck)
lint: spec/phase0/blspubkey.go#L25
the methods of "BLSPubKey" 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)