Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions substrate/client/service/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@
mod wasm_override;
mod wasm_substitutes;

pub use code_provider::CodeProvider;
pub use wasm_override::WasmOverride;
pub use wasm_substitutes::WasmSubstitutes;
pub use call_executor::LocalCallExecutor;
pub use client::{Client, ClientConfig};
pub(crate) use code_provider::CodeProvider;

Check failure on line 60 in substrate/client/service/src/client/mod.rs

View workflow job for this annotation

GitHub Actions / cargo-check-all-crate-macos

the name `CodeProvider` is defined multiple times

Check failure on line 60 in substrate/client/service/src/client/mod.rs

View workflow job for this annotation

GitHub Actions / cargo-check-all-crate-macos

unused import: `code_provider::CodeProvider`

#[cfg(feature = "test-helpers")]
pub use self::client::{new_in_mem, new_with_backend};
3 changes: 0 additions & 3 deletions substrate/client/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ pub mod config;
pub mod error;

mod builder;
#[cfg(feature = "test-helpers")]
pub mod client;
#[cfg(not(feature = "test-helpers"))]
mod client;
mod metrics;
mod task_manager;

Expand Down
Loading