Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic scaling: polkadot node support for new candidate receipts #5047

Open
4 tasks
sandreim opened this issue Jul 17, 2024 · 0 comments
Open
4 tasks

Elastic scaling: polkadot node support for new candidate receipts #5047

sandreim opened this issue Jul 17, 2024 · 0 comments

Comments

@sandreim
Copy link
Contributor

Breakdown of changes:

  • early checks in collator-protocol to drop candidates if descriptor core_index does not match the core the validator is assigned to.
  • in backing fist tray to use the core_index if descriptor is new but fallback to of core_index_from_statement() to be backwards compatible with the MVP.
  • in candidate-validation add a check to verify core index commitment in descriptor vs pvf execution output CandidateCommitments::core_index() == CandidateDescriptor::core_index().
  • Collators will check if the PVF execution has outputted UMPSignal messages in the UMP. In collation-generation if a CoreIndex is supplied, we need to include it in the new candidate receipt inconstruct_and_distribute_receipt. If the execution does not output a CoreIndex we will use the old format of the receipt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant