Substrate Companion #9575 (#3695)

* Upgrade to tokio 1.10

* update Substrate

* Fmt

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2021-08-24 17:25:32 +02:00
committed by GitHub
parent 489a8e6da1
commit ec86d1d119
8 changed files with 210 additions and 266 deletions
@@ -359,7 +359,7 @@ where
use sc_cli::{CliConfiguration, SubstrateCli};
use structopt::StructOpt;
let mut tokio_runtime = build_runtime()?;
let tokio_runtime = build_runtime()?;
let task_executor = task_executor(tokio_runtime.handle().clone());
// parse cli args
let cmd = <polkadot_cli::Cli as StructOpt>::from_args();
@@ -391,7 +391,7 @@ mod tests {
#[test]
fn test_runner() {
let mut runtime = build_runtime().unwrap();
let runtime = build_runtime().unwrap();
let task_executor = task_executor(runtime.handle().clone());
let (rpc, task_manager, client, pool, command_sink, backend) =
client_parts::<PolkadotChainInfo>(ConfigOrChainSpec::ChainSpec(
+1 -1
View File
@@ -59,4 +59,4 @@ substrate-test-client = { git = "https://github.com/paritytech/substrate", branc
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
serde_json = "1.0.66"
substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" }
tokio = { version = "0.2", features = ["macros"] }
tokio = { version = "1.10", features = ["macros"] }