-
Notifications
You must be signed in to change notification settings - Fork 379
Companion for Polkadot#7337 #2929
Companion for Polkadot#7337 #2929
Conversation
Companion for paritytech/polkadot#7337
workers_path: None, | ||
workers_names: None, | ||
dont_use_external_workers: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we may need to rig this crate to build the workers for this to work. Can someone please explain what this crate does exactly, does it call PVF preparation/execution?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think Cumulus spawns PVF workers. There's some discussion here: paritytech/polkadot#6497
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a collator the runtime is trusted, for a validator the runtime is not.
Okay yeah, that makes perfect sense. So we don't need most of what I added here, will remove.
@paritytech-cicd-pr Requester could not be detected as a member of an allowed organization. |
I'd rather somebody from the main PR reviewers with understanding of underlying changes reviewed and approved this instead of me. @koute could you have a look? |
Waiting for commit status. |
Merge cancelled due to error. Error: Statuses failed for cf97d9f |
Advice would be appreciated, cumulus CI for other PRs will be broken until this is fixed. |
We instantiate the polkadot node here: cumulus/client/relay-chain-inprocess-interface/src/lib.rs Lines 273 to 293 in 2df9b9a
It is only started as collator, if the node is run as a collator. If it is just a parachain full node, we pass |
While thinking about it, why does a polkadot full-node require the workers, even if we pass |
Agreed @skunert. Perhaps we should add a separate parameter |
Hmm maybe I am missing something, but that should not be necessary. Via |
Waiting for commit status. |
Companion for paritytech/polkadot#7337
Companion for paritytech/polkadot#7566