From 90d3d0f9cb7d98a4ae034d76b01d0de2193227b2 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) (cherry picked from commit 990f415eeb886d798a1633c1827c6ca1d3012087) --- runtime/store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/store.go b/runtime/store.go index 230f53c38c5d..1806ea0d7699 100644 --- a/runtime/store.go +++ b/runtime/store.go @@ -32,6 +32,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 }