From 1696d1753a702dbb85101b93b0058c24ae092f4b Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Tue, 14 Nov 2023 22:31:37 +0700 Subject: [PATCH] use sdk's logging and db --- store/iavl/tree_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/store/iavl/tree_test.go b/store/iavl/tree_test.go index 9abb7aa50de5..74046da25190 100644 --- a/store/iavl/tree_test.go +++ b/store/iavl/tree_test.go @@ -3,14 +3,15 @@ package iavl import ( "testing" - dbm "github.com/cometbft/cometbft-db" + "cosmossdk.io/log" + dbm "github.com/cosmos/cosmos-db" "github.com/cosmos/iavl" "github.com/stretchr/testify/require" ) func TestImmutableTreePanics(t *testing.T) { t.Parallel() - immTree := iavl.NewImmutableTree(dbm.NewMemDB(), 100, false) + immTree := iavl.NewImmutableTree(dbm.NewMemDB(), 100, false, log.NewNopLogger()) it := &immutableTree{immTree} require.Panics(t, func() { it.Set([]byte{}, []byte{}) }) require.Panics(t, func() { it.Remove([]byte{}) })