Expose types from `sc-service` (#5855)
# 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 from `sc_service::client`. The objective of this PR is to simplify the implementation by making public some types in polkadot-sdk. - Modules: - `sc_service::client` **I do not see a point to only expose this type when `test-helpers` feature is enabled** ## Integration 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.
parent
6416b280
Pipeline
#507576
waiting for manual action
with stages
in
28 minutes and 23 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- prdoc/pr_5855.prdoc 15 additions, 0 deletionsprdoc/pr_5855.prdoc
- substrate/bin/node/testing/Cargo.toml 1 addition, 1 deletionsubstrate/bin/node/testing/Cargo.toml
- substrate/client/network/test/Cargo.toml 1 addition, 1 deletionsubstrate/client/network/test/Cargo.toml
- substrate/client/rpc-spec-v2/Cargo.toml 1 addition, 1 deletionsubstrate/client/rpc-spec-v2/Cargo.toml
- substrate/client/rpc-spec-v2/src/chain_head/subscription/inner.rs 3 additions, 3 deletions...e/client/rpc-spec-v2/src/chain_head/subscription/inner.rs
- substrate/client/rpc-spec-v2/src/chain_head/tests.rs 3 additions, 3 deletionssubstrate/client/rpc-spec-v2/src/chain_head/tests.rs
- substrate/client/service/Cargo.toml 0 additions, 2 deletionssubstrate/client/service/Cargo.toml
- substrate/client/service/src/client/client.rs 2 additions, 38 deletionssubstrate/client/service/src/client/client.rs
- substrate/client/service/src/client/mod.rs 1 addition, 2 deletionssubstrate/client/service/src/client/mod.rs
- substrate/client/service/src/lib.rs 1 addition, 4 deletionssubstrate/client/service/src/lib.rs
- substrate/client/service/test/Cargo.toml 1 addition, 1 deletionsubstrate/client/service/test/Cargo.toml
- substrate/client/service/test/src/client/mod.rs 3 additions, 3 deletionssubstrate/client/service/test/src/client/mod.rs
- substrate/test-utils/client/Cargo.toml 1 addition, 3 deletionssubstrate/test-utils/client/Cargo.toml
- substrate/test-utils/runtime/Cargo.toml 1 addition, 1 deletionsubstrate/test-utils/runtime/Cargo.toml
Please register or sign in to comment