Substrate Companion #9737 (#3830)

Co-authored-by: parity-processbot <>
Co-authored-by: kianenigma <kian@parity.io>
This commit is contained in:
Bastian Köcher
2021-09-12 15:25:58 +02:00
committed by GitHub
parent 3693eb8744
commit a2cea3a314
8 changed files with 187 additions and 186 deletions
@@ -21,7 +21,7 @@ const PUPPET_EXE: &str = env!("CARGO_BIN_EXE_adder_collator_puppet_worker");
// If this test is failing, make sure to run all tests with the `real-overseer` feature being enabled.
#[substrate_test_utils::test]
async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor) {
async fn collating_using_adder_collator() {
use futures::join;
use polkadot_primitives::v1::Id as ParaId;
use sp_keyring::AccountKeyring::*;
@@ -34,7 +34,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
// start alice
let alice = polkadot_test_service::run_validator_node(
task_executor.clone(),
tokio::runtime::Handle::current(),
Alice,
|| {},
vec![],
@@ -43,7 +43,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
// start bob
let bob = polkadot_test_service::run_validator_node(
task_executor.clone(),
tokio::runtime::Handle::current(),
Bob,
|| {},
vec![alice.addr.clone()],
@@ -60,7 +60,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
// run the collator node
let mut charlie = polkadot_test_service::run_collator_node(
task_executor.clone(),
tokio::runtime::Handle::current(),
Charlie,
|| {},
vec![alice.addr.clone(), bob.addr.clone()],