mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
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:
+11
-12
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user