Skip to content

Commit

Permalink
fix interface
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Jan 2, 2024
1 parent 84132f3 commit d773582
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 @@ -773,3 +773,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 d773582

Please sign in to comment.