Skip to content

Commit

Permalink
fix interface
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Jan 25, 2024
1 parent 20991c0 commit 8e8e4fb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions storev2/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 8e8e4fb

Please sign in to comment.