Skip to content

Commit

Permalink
fixed linter and test
Browse files Browse the repository at this point in the history
  • Loading branch information
werty144 committed Jul 21, 2023
1 parent ec60b4a commit fac927e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,7 @@ go.tmz.dev/musttag v0.7.0/go.mod h1:oTFPvgOkJmp5kYL02S8+jrH0eLrBIl57rzWeA26zDEM=
go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE=
go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI=
go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60=
Expand Down Expand Up @@ -961,6 +962,7 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu
golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
Expand Down
1 change: 1 addition & 0 deletions state/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package state
import (
"errors"
"fmt"

"github.com/cosmos/gogoproto/proto"

dbm "github.com/cometbft/cometbft-db"
Expand Down
12 changes: 0 additions & 12 deletions store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,18 +378,6 @@ func TestBlockStoreSaveLoadBlock(t *testing.T) {

func TestBlockStore_SaveBlockWithExtendedCommit(t *testing.T) {
dbTypes := []dbm.BackendType{
// - requires gcc
// - use cleveldb build tag (go build -tags cleveldb)
// - you should have levelDB installed
dbm.CLevelDBBackend,
// - requires gcc
// - use rocksdb build tag (go build -tags rocksdb)
// - you should have rocksDB installed
dbm.RocksDBBackend,
// - use badgerdb build tag (go build -tags badgerdb)
dbm.BadgerDBBackend,
// - use boltdb build tag (go build -tags boltdb)
dbm.BoltDBBackend,
dbm.GoLevelDBBackend,
dbm.MemDBBackend,
}
Expand Down

0 comments on commit fac927e

Please sign in to comment.