mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 04:41:03 +00:00
Plumb polkadot backend into cumulus-collator (#269)
* The problem in the nutshell * Make it compile * make tests pass * Update the parachain-upgrade module * Fix collator tests Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
@@ -223,6 +223,7 @@ where
|
||||
prometheus_registry.as_ref(),
|
||||
);
|
||||
|
||||
let polkadot_backend = polkadot_full_node.backend.clone();
|
||||
let params = StartCollatorParams {
|
||||
proposer_factory,
|
||||
inherent_data_providers: params.inherent_data_providers,
|
||||
@@ -236,6 +237,7 @@ where
|
||||
para_id,
|
||||
collator_key,
|
||||
polkadot_full_node,
|
||||
polkadot_backend,
|
||||
};
|
||||
|
||||
start_collator(params).await?;
|
||||
|
||||
Reference in New Issue
Block a user