One node two runtimes (#191)

* One node two runtimes

This enables the rococo-collator to run the normal and the contracts runtime.

* Fix tests
This commit is contained in:
Bastian Köcher
2020-08-11 11:35:54 +02:00
committed by GitHub
parent 3ed6030110
commit 3b71c2a6e2
33 changed files with 1958 additions and 1466 deletions
+11 -12
View File
@@ -518,18 +518,17 @@ where
Box::new(self.polkadot_network.clone()),
)));
let follow =
match cumulus_consensus::follow_polkadot(
self.para_id,
self.client,
polkadot_client,
self.announce_block.clone(),
) {
Ok(follow) => follow,
Err(e) => {
return Err(error!("Could not start following polkadot: {:?}", e));
}
};
let follow = match cumulus_consensus::follow_polkadot(
self.para_id,
self.client,
polkadot_client,
self.announce_block.clone(),
) {
Ok(follow) => follow,
Err(e) => {
return Err(error!("Could not start following polkadot: {:?}", e));
}
};
self.spawner
.spawn("cumulus-follow-polkadot", follow.map(|_| ()).boxed());