diff --git a/store/rootmulti/store_test.go b/store/rootmulti/store_test.go index b3e6c83518a3..b1d517b3c19f 100644 --- a/store/rootmulti/store_test.go +++ b/store/rootmulti/store_test.go @@ -116,7 +116,7 @@ func TestCacheMultiStoreWithVersion(t *testing.T) { // require we cannot commit (write) to a cache-versioned multi-store require.Panics(t, func() { kvStore.Set(k, []byte("newValue")) - cms.Write() + kvStore.(types.CacheWrap).Write() }) }