mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-24 14:45:42 +00:00
* Upgrade to tokio 1.10 * update Substrate * Fmt Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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"] }
|
||||
|
||||
Reference in New Issue
Block a user