Skip to content

Commit

Permalink
feat(runtime): Add missing NewTransientStoreService (backport #20261) (
Browse files Browse the repository at this point in the history
…#20327)

Co-authored-by: beer-1 <147697694+beer-1@users.noreply.github.com>
  • Loading branch information
mergify[bot] and beer-1 authored May 9, 2024
1 parent a2d3b2a commit 9f8e3a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9f8e3a5

Please sign in to comment.