-
Notifications
You must be signed in to change notification settings - Fork 382
Change Polkadot run_collator
to start_collator
#44
Comments
So to be clear. You would like to remove and replace the SetupParachain code here: cumulus/test/parachain/src/service.rs Lines 80 to 182 in 0efd15c
But also the CollatorBuilder then? Lines 259 to 346 in 0efd15c
And in exchange, having in polkadot a This is more or less what I did with the This returns a service which impl Future but it doesn't get rid of the whole BuildParachainContext part. So all I need to do is to build the ParachainContext in cumulus instead of polkadot? |
I don't care how the Cumulus side will look like, as long as it easier to use and better reusable. And I think we should have the following requirements:
|
This change makes service's Configuration and GenesisSource thread-safe. Related to: paritytech/cumulus#44 Forked at: 099cd0f Parent branch: origin/master
This change makes service's Configuration and GenesisSource thread-safe. Related to: paritytech/cumulus#44 Forked at: 099cd0f Parent branch: origin/master
This change makes service's Configuration and GenesisSource thread-safe. Related to: paritytech/cumulus#44 Forked at: 099cd0f Parent branch: origin/master
This change makes service's Configuration and GenesisSource thread-safe. Related to: paritytech/cumulus#44 Forked at: 099cd0f Parent branch: origin/master
I think this is done? @cecton |
Yes! Looks like it has been solved by paritytech/polkadot#851 |
Currently to start a Collator with Polkadot, we use
run_collator
. I think we should add a functionstart_collator
, that takes almost the same arguments, but returns a future. I think it would make the setup stuff easier, when we are driving the Polkadot future/service and not the other way around (like it is done now). This also replicates more of the "default" model of starting a service in Substrate.The text was updated successfully, but these errors were encountered: