Skip to content

Commit

Permalink
Expose Get State Store
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbhat1 committed Oct 22, 2024
1 parent aa7a702 commit e2001f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions storev2/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ func (rs *Store) GetStoreType() types.StoreType {
return types.StoreTypeMulti
}

// GetStateStore returns the ssStore instance
func (rs *Store) GetStateStore() sstypes.StateStore {
return rs.ssStore
}

// Implements interface CacheWrapper
func (rs *Store) CacheWrap(_ types.StoreKey) types.CacheWrap {
return rs.CacheMultiStore().(types.CacheWrap)
Expand Down

0 comments on commit e2001f3

Please sign in to comment.