From 92e727e6e9cf6a3f19c2341f91bd478e71fb97d6 Mon Sep 17 00:00:00 2001 From: HuangYi Date: Wed, 15 Jan 2025 11:29:33 +0800 Subject: [PATCH] better equavalence --- store/rootmulti/store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/rootmulti/store_test.go b/store/rootmulti/store_test.go index 79a18d6d7a87..a0cf292f987e 100644 --- a/store/rootmulti/store_test.go +++ b/store/rootmulti/store_test.go @@ -751,7 +751,7 @@ func TestTraceConcurrency(t *testing.T) { cms := multi.CacheMultiStore() store1 := cms.GetKVStore(key) - cw := tracekv.NewStore(store1.CacheWrap().(types.KVStore), b, tc) + cw := tracekv.NewStore(store1, b, tc).CacheWrap() _ = cw require.NotNil(t, store1)