Candidate Validation Subsystem (#1432)
* skeleton for candidate-validation * add to workspace * implement candidate validation logic * guide: note occupied-core assumption for candidate validation * adjust message doc * wire together `run` asynchronously * add a Subsystem implementation * clean up a couple warnings * fix compilation errors due to merge * improve candidate-validation.md * remove old reference to subsystem-test helpers crate * update Cargo.lock * add a couple new Runtime API methods * add a candidate validation message * fetch validation data from the chain state * some tests for assumption checking * make spawn_validate_exhaustive mockable * more tests on the error handling side * fix all other grumbles except for wasm validation API change * wrap a SpawnNamed in candidate-validation * warn * amend guide * squanch warning * remove duplicate after merge
Showing
- polkadot/Cargo.lock 18 additions, 0 deletionspolkadot/Cargo.lock
- polkadot/Cargo.toml 2 additions, 1 deletionpolkadot/Cargo.toml
- polkadot/node/core/candidate-validation/Cargo.toml 24 additions, 0 deletionspolkadot/node/core/candidate-validation/Cargo.toml
- polkadot/node/core/candidate-validation/src/lib.rs 918 additions, 0 deletionspolkadot/node/core/candidate-validation/src/lib.rs
- polkadot/node/subsystem/src/messages.rs 3 additions, 1 deletionpolkadot/node/subsystem/src/messages.rs
- polkadot/roadmap/implementers-guide/src/node/utility/candidate-validation.md 33 additions, 7 deletions...plementers-guide/src/node/utility/candidate-validation.md
- polkadot/roadmap/implementers-guide/src/types/overseer-protocol.md 3 additions, 1 deletion...roadmap/implementers-guide/src/types/overseer-protocol.md
This diff is collapsed.
Please register or sign in to comment