diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 55d085de2..c1f0f5436 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,7 +23,7 @@ jobs: - uses: golangci/golangci-lint-action@master with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.28.3 + version: v1.28 args: --timeout 10m github-token: ${{ secrets.github_token }} if: "env.GIT_DIFF != ''" diff --git a/blockchain/msgs_test.go b/blockchain/msgs_test.go index c8c8a77c9..899bc6217 100644 --- a/blockchain/msgs_test.go +++ b/blockchain/msgs_test.go @@ -7,6 +7,7 @@ import ( "github.com/gogo/protobuf/proto" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain" "github.com/tendermint/tendermint/types" ) diff --git a/consensus/replay.go b/consensus/replay.go index f116e909a..dc4ab9ab3 100644 --- a/consensus/replay.go +++ b/consensus/replay.go @@ -8,9 +8,9 @@ import ( "reflect" "time" - abci "github.com/tendermint/tendermint/abci/types" dbm "github.com/tendermint/tm-db" + abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/proxy" sm "github.com/tendermint/tendermint/state" diff --git a/evidence/reactor.go b/evidence/reactor.go index 79c909a6b..70f23bd3c 100644 --- a/evidence/reactor.go +++ b/evidence/reactor.go @@ -5,6 +5,7 @@ import ( "time" "github.com/gogo/protobuf/proto" + clist "github.com/tendermint/tendermint/libs/clist" "github.com/tendermint/tendermint/libs/log" "github.com/tendermint/tendermint/p2p" diff --git a/p2p/pex/addrbook.go b/p2p/pex/addrbook.go index a5a408f10..c47177984 100644 --- a/p2p/pex/addrbook.go +++ b/p2p/pex/addrbook.go @@ -15,6 +15,7 @@ import ( "time" "github.com/minio/highwayhash" + "github.com/tendermint/tendermint/crypto" tmmath "github.com/tendermint/tendermint/libs/math" tmrand "github.com/tendermint/tendermint/libs/rand" diff --git a/state/validation_test.go b/state/validation_test.go index 087d8328c..fc40e171f 100644 --- a/state/validation_test.go +++ b/state/validation_test.go @@ -6,6 +6,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/libs/bytes" "github.com/tendermint/tendermint/proto/tendermint/version" diff --git a/types/block_meta_test.go b/types/block_meta_test.go index 3ab750fef..1e29a132a 100644 --- a/types/block_meta_test.go +++ b/types/block_meta_test.go @@ -4,6 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" + "github.com/tendermint/tendermint/crypto/tmhash" tmrand "github.com/tendermint/tendermint/libs/rand" ) diff --git a/types/evidence_test.go b/types/evidence_test.go index 1e0047e52..61fd764b8 100644 --- a/types/evidence_test.go +++ b/types/evidence_test.go @@ -7,6 +7,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/tendermint/tendermint/crypto" "github.com/tendermint/tendermint/crypto/ed25519" "github.com/tendermint/tendermint/crypto/tmhash"