chore: backport NewMemStoreService method (#21212)
This commit is contained in:
parent
1cde7541b7
commit
156231be8a
@ -24,6 +24,10 @@ func (k kvStoreService) OpenKVStore(ctx context.Context) store.KVStore {
|
||||
return newKVStore(sdk.UnwrapSDKContext(ctx).KVStore(k.key))
|
||||
}
|
||||
|
||||
func NewMemStoreService(storeKey *storetypes.MemoryStoreKey) store.MemoryStoreService {
|
||||
return &memStoreService{key: storeKey}
|
||||
}
|
||||
|
||||
type memStoreService struct {
|
||||
key *storetypes.MemoryStoreKey
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user