Skip to content

cli: add --hard flag to rollback command to remove block as well #1

cli: add --hard flag to rollback command to remove block as well

cli: add --hard flag to rollback command to remove block as well #1

Triggered via pull request November 20, 2023 18:44
Status Failure
Total duration 1m 35s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: rpc/core/abci.go#L1
: # github.com/tendermint/tendermint/rpc/core [github.com/tendermint/tendermint/rpc/core.test]
golangci-lint: rpc/core/blocks_test.go#L89
cannot use mockBlockStore{…} (value of type mockBlockStore) as type "github.com/tendermint/tendermint/state".BlockStore in assignment:
golangci-lint: state/execution_test.go#L1
: # github.com/tendermint/tendermint/state_test [github.com/tendermint/tendermint/state.test]
golangci-lint: state/rollback_test.go#L96
params.Version.App undefined (type "github.com/tendermint/tendermint/proto/tendermint/types".VersionParams has no field or method App)
golangci-lint: state/rollback_test.go#L101
undefined: tmversion
golangci-lint: state/rollback_test.go#L111
params.Hash undefined (type *"github.com/tendermint/tendermint/proto/tendermint/types".ConsensusParams has no field or method Hash)
golangci-lint: state/rollback_test.go#L119
assignment mismatch: 2 variables but block.MakePartSet returns 1 value
golangci-lint: state/rollback_test.go#L124
undefined: tmstate
golangci-lint: state/rollback_test.go#L143
undefined: tmversion
golangci-lint: state/rollback_test.go#L153
params.Hash undefined (type *"github.com/tendermint/tendermint/proto/tendermint/types".ConsensusParams has no field or method Hash)