Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
More sc-service config reexports (paritytech#8887)
Browse files Browse the repository at this point in the history
* Reexport ExecutionStrategies and ExecutionStrategy

* Reexport more of the network

* Reexport the ExecutionStrategy as it's used within ExecutionStrategies
  • Loading branch information
MOZGIII authored and nazar-pc committed Aug 8, 2021
1 parent 46789c6 commit ba52ed1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion client/api/src/execution_extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ use sp_runtime::{
generic::BlockId,
traits,
};
use sp_state_machine::{ExecutionStrategy, ExecutionManager, DefaultHandler};
use sp_state_machine::{ExecutionManager, DefaultHandler};
pub use sp_state_machine::ExecutionStrategy;
use sp_externalities::Extensions;
use parking_lot::RwLock;

Expand Down
8 changes: 6 additions & 2 deletions client/service/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ pub use sc_client_db::{
KeepBlocks, TransactionStorageMode
};
pub use sc_network::Multiaddr;
pub use sc_network::config::{ExtTransport, MultiaddrWithPeerId, NetworkConfiguration, Role, NodeKeyConfig};
pub use sc_network::config::{
ExtTransport, MultiaddrWithPeerId, NetworkConfiguration, Role, NodeKeyConfig,
SetConfig, NonDefaultSetConfig, TransportConfig,
RequestResponseConfig, IncomingRequest, OutgoingResponse,
};
pub use sc_executor::WasmExecutionMethod;
use sc_client_api::execution_extensions::ExecutionStrategies;
pub use sc_client_api::execution_extensions::{ExecutionStrategies, ExecutionStrategy};

use std::{io, future::Future, path::{PathBuf, Path}, pin::Pin, net::SocketAddr, sync::Arc};
pub use sc_transaction_pool::txpool::Options as TransactionPoolOptions;
Expand Down

0 comments on commit ba52ed1

Please sign in to comment.