collator protocol: validate descriptor version on the validator side (#6011)
Part of https://github.com/paritytech/polkadot-sdk/issues/5047 TODO: - [x] prdoc - [x] fix/add tests --------- Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> Co-authored-by:
Andrei Sandu <andrei-mihail@parity.io> Co-authored-by:
Andrei Sandu <54316454+sandreim@users.noreply.github.com>
Showing
- polkadot/node/network/collator-protocol/src/error.rs 24 additions, 1 deletionpolkadot/node/network/collator-protocol/src/error.rs
- polkadot/node/network/collator-protocol/src/validator_side/collation.rs 15 additions, 10 deletions...network/collator-protocol/src/validator_side/collation.rs
- polkadot/node/network/collator-protocol/src/validator_side/mod.rs 107 additions, 52 deletions.../node/network/collator-protocol/src/validator_side/mod.rs
- polkadot/node/network/collator-protocol/src/validator_side/tests/mod.rs 75 additions, 58 deletions...network/collator-protocol/src/validator_side/tests/mod.rs
- polkadot/node/network/collator-protocol/src/validator_side/tests/prospective_parachains.rs 248 additions, 17 deletions...otocol/src/validator_side/tests/prospective_parachains.rs
- prdoc/pr_6011.prdoc 12 additions, 0 deletionsprdoc/pr_6011.prdoc
Please register or sign in to comment