-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose types from sc-service
#5855
Expose types from sc-service
#5855
Conversation
sc-service
This feature should not exist at all... Could you give some more details on how you implemented this? I mean why do you need to expose these types at all? I would say that you only need to write some |
We had to change the |
Which validation? Could you be more specific? |
It was the as_trie_backend when recording is enabled, we cannot convert the lazy loading to a |
Dumb question, could you not just use a custom |
The |
Can you please remove the |
Sure, will have a look at it 👍 |
/cmd prdoc --bump major --audience node_dev |
Command "prdoc --bump major --audience node_dev" has failed ❌! See logs here |
added the PRdoc |
@bkchr can this PR be merged? |
72fb8bd
Description
At moonbeam we have worked on a
lazy-loading
feature which is a client mode that forks a live parachain and fetches its state on-demand, we have been able to do this by duplicating some code fromsc_service::client
. The objective of this PR is to simplify the implementation by making public some types in polkadot-sdk.sc_service::client
I do not see a point to only expose this type whentest-helpers
feature is enabledIntegration
Not applicable, the PR just makes some types public.
Review Notes
The changes included in this PR give more flexibility for client developers by exposing important types.