diff --git a/store/v2/multi/snapshot.go b/store/v2/multi/snapshot.go index 03d760ed1131..68155e5001eb 100644 --- a/store/v2/multi/snapshot.go +++ b/store/v2/multi/snapshot.go @@ -3,14 +3,16 @@ package multi import ( "bytes" "fmt" + "io" + "sort" + + protoio "github.com/gogo/protobuf/io" + "github.com/cosmos/cosmos-sdk/snapshots" snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" storetypes "github.com/cosmos/cosmos-sdk/store/types" types "github.com/cosmos/cosmos-sdk/store/v2" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - protoio "github.com/gogo/protobuf/io" - "io" - "sort" ) // Snapshot implements snapshottypes.Snapshotter. diff --git a/store/v2/multi/snapshot_test.go b/store/v2/multi/snapshot_test.go index a064d88b8eba..0495e95e1e10 100644 --- a/store/v2/multi/snapshot_test.go +++ b/store/v2/multi/snapshot_test.go @@ -6,19 +6,20 @@ import ( "encoding/hex" "errors" "fmt" - "github.com/cosmos/cosmos-sdk/snapshots" "io" "math/rand" "sort" "strings" "testing" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + dbm "github.com/cosmos/cosmos-sdk/db" "github.com/cosmos/cosmos-sdk/db/memdb" + "github.com/cosmos/cosmos-sdk/snapshots" snapshottypes "github.com/cosmos/cosmos-sdk/snapshots/types" "github.com/cosmos/cosmos-sdk/store/types" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" ) func multiStoreConfig(t *testing.T, stores int) StoreConfig {