Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Oct 11, 2023
1 parent 61b17de commit a212dec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ test-memiavl:
lint-all: lint-memiavl

lint-memiavl:
golangci-lint run --config=.golangci.yml -- sc/memiavl/...
golangci-lint run --config=.golangci.yml ./sc/memiavl/...
1 change: 1 addition & 0 deletions sc/memiavl/db/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (

"github.com/cosmos/iavl"
"github.com/cosmos/iavl/cache"
"github.com/sei-protocol/sei-db/memiavl/utils"
)

var emptyHash = sha256.New().Sum(nil)
Expand Down
2 changes: 1 addition & 1 deletion sc/memiavl/store/memiavlstore/store_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package memiavlstore

import (
memiavl "github.com/sei-protocol/sei-db/memiavl/db"
"testing"

"github.com/cosmos/cosmos-sdk/store/types"
"github.com/sei-protocol/sei-db/memiavl/db"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/libs/log"
)
Expand Down
1 change: 0 additions & 1 deletion sc/memiavl/store/rootmulti/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
protoio "github.com/gogo/protobuf/io"

"github.com/sei-protocol/sei-db/memiavl/db"
)

Expand Down
7 changes: 3 additions & 4 deletions sc/memiavl/store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ import (
"github.com/cosmos/cosmos-sdk/store/transient"
"github.com/cosmos/cosmos-sdk/store/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"

"github.com/sei-protocol/sei-db/memiavl/db"
"github.com/sei-protocol/sei-db/memiavl/store/cachemulti"
"github.com/sei-protocol/sei-db/memiavl/store/memiavlstore"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
)

const CommitInfoFileName = "commit_infos"
Expand Down

0 comments on commit a212dec

Please sign in to comment.