companion for substrate#7474 (#1985)

* include new parameter in test `Configuration`

* update calls to `init_logger`

* "Update Substrate"

* cargo update -p sp-io

Co-authored-by: Matt <mattrutherford@users.noreply.github.com>
Co-authored-by: parity-processbot <>
This commit is contained in:
mattrutherford
2020-12-03 14:32:56 +00:00
committed by GitHub
parent 3f4d405a30
commit 16a43d9e93
4 changed files with 182 additions and 150 deletions
+179 -148
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -216,7 +216,7 @@ pub fn run() -> Result<()> {
})
},
Some(Subcommand::ValidationWorker(cmd)) => {
let _ = sc_cli::init_logger("", sc_tracing::TracingReceiver::Log, None);
let _ = sc_cli::init_logger("", sc_tracing::TracingReceiver::Log, None, false);
if cfg!(feature = "browser") || cfg!(target_os = "android") {
Err(sc_cli::Error::Input("Cannot run validation worker in browser".into()))
+1
View File
@@ -194,6 +194,7 @@ pub fn node_config(
announce_block: true,
base_path: Some(base_path),
informant_output_format: Default::default(),
disable_log_reloading: false,
}
}
@@ -25,7 +25,7 @@ async fn collating_using_adder_collator(task_executor: sc_service::TaskExecutor)
use futures::join;
use polkadot_primitives::v1::Id as ParaId;
sc_cli::init_logger("", Default::default(), None).expect("Sets up logger");
sc_cli::init_logger("", Default::default(), None, false).expect("Sets up logger");
let para_id = ParaId::from(100);