Update to latest polkadot & substrate (#266)

This commit is contained in:
Alexander Krupenkin
2020-12-16 12:50:05 +03:00
committed by GitHub
parent aba8f46ec9
commit a060991bbe
10 changed files with 352 additions and 243 deletions
+5 -1
View File
@@ -157,7 +157,11 @@ where
let polkadot_full_node = polkadot_test_service::new_full(
polkadot_config,
polkadot_service::IsCollator::Yes(collator_key.public()),
)?;
)
.map_err(|e| match e {
polkadot_service::Error::Sub(x) => x,
s => format!("{}", s).into(),
})?;
let client = params.client.clone();
let backend = params.backend.clone();