Companion PR for 'Make choosing an executor an explicit part of service construction' (#9525) (#3615)

* Companion PR

* Update a few files

* Run cargo fmt

* Do better at renaming things

* More renamings

* More fixes

* oops

* Fix simnet problems

* fix compilation

* Update substrate

Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
Ashley
2021-08-18 15:26:30 +02:00
committed by GitHub
parent e3eb5fda68
commit d88dec65fb
9 changed files with 277 additions and 237 deletions
+3 -2
View File
@@ -28,7 +28,8 @@ use sp_runtime::BuildStorage;
pub use block_builder::*;
pub use polkadot_test_runtime as runtime;
pub use polkadot_test_service::{
construct_extrinsic, construct_transfer_extrinsic, Client, FullBackend, PolkadotTestExecutor,
construct_extrinsic, construct_transfer_extrinsic, Client, FullBackend,
PolkadotTestExecutorDispatch,
};
pub use substrate_test_client::*;
@@ -36,7 +37,7 @@ pub use substrate_test_client::*;
pub type Executor = client::LocalCallExecutor<
Block,
FullBackend,
sc_executor::NativeExecutor<PolkadotTestExecutor>,
sc_executor::NativeElseWasmExecutor<PolkadotTestExecutorDispatch>,
>;
/// Test client builder for Polkadot.