Skip to content

fix(state): proposer selected twice when prev block round > 0 #2083

fix(state): proposer selected twice when prev block round > 0

fix(state): proposer selected twice when prev block round > 0 #2083

Triggered via pull request September 18, 2024 14:51
Status Failure
Total duration 12m 49s
Artifacts

lint.yml

on: pull_request
golangci-lint
2m 4s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci-lint: light/provider/http/http.go#L250
Error return value of `valSet.SetProposer` is not checked (errcheck)
golangci-lint: types/validator_set_test.go#L279
func `(*ValidatorSet).toBytes` is unused (unused)
golangci-lint: types/validator_set_test.go#L289
func `(*ValidatorSet).fromBytes` is unused (unused)
golangci-lint: types/validator_set_test.go#L795
type `testVSetCfg` is unused (unused)
golangci-lint: types/validator_set_test.go#L803
func `randTestVSetCfg` is unused (unused)
golangci-lint: types/validator_set_test.go#L915
type `testValsByVotingPower` is unused (unused)
golangci-lint: types/validator_set_test.go#L857
func `applyChangesToValSet` is unused (unused)
golangci-lint: types/validator_set_test.go#L917
func `testValsByVotingPower.Len` is unused (unused)
golangci-lint: types/validator_set_test.go#L924
func `testValsByVotingPower.Less` is unused (unused)
golangci-lint: types/validator_set_test.go#L931
func `testValsByVotingPower.Swap` is unused (unused)
golangci-lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/get-diff-action@v6, actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/