Skip to content

Commit 990f415

Browse files
authored
feat(runtime): Add missing NewTransientStoreService (#20261)
1 parent e33884f commit 990f415

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

runtime/store.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ func (m memStoreService) OpenMemoryStore(ctx context.Context) store.KVStore {
3636
return newKVStore(sdk.UnwrapSDKContext(ctx).KVStore(m.key))
3737
}
3838

39+
func NewTransientStoreService(storeKey *storetypes.TransientStoreKey) store.TransientStoreService {
40+
return &transientStoreService{key: storeKey}
41+
}
42+
3943
type transientStoreService struct {
4044
key *storetypes.TransientStoreKey
4145
}

0 commit comments

Comments
 (0)