From 8e8e4fb4822cfc1d10df796c89b3481c1b48ecae Mon Sep 17 00:00:00 2001 From: Uday Patil Date: Tue, 2 Jan 2024 09:35:04 -0600 Subject: [PATCH] fix interface --- storev2/rootmulti/store.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/storev2/rootmulti/store.go b/storev2/rootmulti/store.go index 89076e7d1..661e67e32 100644 --- a/storev2/rootmulti/store.go +++ b/storev2/rootmulti/store.go @@ -778,3 +778,17 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { return nil } + +// SetKVStores implements types.CommitMultiStore. +func (*Store) SetKVStores(handler func(key types.StoreKey, s types.KVStore) types.CacheWrap) types.MultiStore { + panic("unimplemented") +} + +// StoreKeys implements types.CommitMultiStore. +func (s *Store) StoreKeys() []types.StoreKey { + res := make([]types.StoreKey, len(s.storeKeys)) + for _, sk := range s.storeKeys { + res = append(res, sk) + } + return res +}