feat(runtime): Add missing NewTransientStoreService (#20261)

This commit is contained in:
beer-1 2024-05-09 20:32:44 +09:00 committed by GitHub
parent e33884f79a
commit 990f415eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}