Skip to content

Commit

Permalink
feat(runtime): Add missing NewTransientStoreService (cosmos#20261)
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 authored May 9, 2024
1 parent e33884f commit 990f415
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 @@ -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
}
Expand Down

0 comments on commit 990f415

Please sign in to comment.