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

Implement candidate validation processing for ValidateFromChainState message #3919

Open
Tracked by #3585
edwardmack opened this issue Apr 24, 2024 · 0 comments
Open
Tracked by #3585
Assignees
Labels
S-subsystems-backing issues related to polkadot host backing subsystem functionality.

Comments

@edwardmack
Copy link
Member

Issue summary

Validation from chain state means that the subsystem will need to do work to assemble the parameters necessary to validate the candidate.

  • Implement functionality for validating candidates from chain state.
    • Determine parameters, validating from chain state requires determining the source data by checking runtime OccupiedCoreAssumption function.
    • Fetch validation code from the runtime
    • Call PVF Host to Execute the parachain wasm, invoke the validation function to confirm validation outputs are correct.
  • Create tests to confirm functionality

Other information and links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-subsystems-backing issues related to polkadot host backing subsystem functionality.
Projects
None yet
Development

No branches or pull requests

1 participant