Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 committed Jul 22, 2024
1 parent 5ae1ca6 commit 56ecd5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/v2/snapshots/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/stretchr/testify/require"

coretesting "cosmossdk.io/core/testing"
"cosmossdk.io/log"
"cosmossdk.io/store/v2/snapshots"
"cosmossdk.io/store/v2/snapshots/types"
)
Expand Down Expand Up @@ -268,7 +269,7 @@ func TestSnapshot_Take_Restore(t *testing.T) {
extSnapshotter := newExtSnapshotter(10)

expectChunks := snapshotItems(items, extSnapshotter)
manager := snapshots.NewManager(store, opts, commitSnapshotter, &mockStorageSnapshotter{}, nil, log.NewNopLogger())
manager := snapshots.NewManager(store, opts, commitSnapshotter, &mockStorageSnapshotter{}, nil, coretesting.NewNopLogger())
err := manager.RegisterExtensions(extSnapshotter)
require.NoError(t, err)

Expand Down

0 comments on commit 56ecd5d

Please sign in to comment.