Companion for Polkadot#7617 (#3008)

* Companion for Polkadot#7617

https://github.com/paritytech/polkadot/pull/7617

* Adapt to latest Polkadot changes.

* update lockfile for {"polkadot", "substrate"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
Bastian Köcher
2023-08-15 11:29:10 +02:00
committed by GitHub
parent 381e6422a3
commit 896c60185a
3 changed files with 270 additions and 271 deletions
+2 -2
View File
@@ -261,9 +261,9 @@ async fn build_relay_chain_interface(
let relay_chain_full_node = polkadot_test_service::new_full(
relay_chain_config,
if let Some(ref key) = collator_key {
polkadot_service::IsCollator::Yes(key.clone())
polkadot_service::IsParachainNode::Collator(key.clone())
} else {
polkadot_service::IsCollator::Yes(CollatorPair::generate().0)
polkadot_service::IsParachainNode::Collator(CollatorPair::generate().0)
},
None,
)