From 990f415eeb886d798a1633c1827c6ca1d3012087 Mon Sep 17 00:00:00 2001 From: beer-1 <147697694+beer-1@users.noreply.github.com> Date: Thu, 9 May 2024 20:32:44 +0900 Subject: [PATCH] feat(runtime): Add missing NewTransientStoreService (#20261) --- runtime/store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/store.go b/runtime/store.go index 5de89d180a65..5a5f21647bcf 100644 --- a/runtime/store.go +++ b/runtime/store.go @@ -36,6 +36,10 @@ func (m memStoreService) OpenMemoryStore(ctx context.Context) store.KVStore { return newKVStore(sdk.UnwrapSDKContext(ctx).KVStore(m.key)) } +func NewTransientStoreService(storeKey *storetypes.TransientStoreKey) store.TransientStoreService { + return &transientStoreService{key: storeKey} +} + type transientStoreService struct { key *storetypes.TransientStoreKey }