parachainify!() { /* proc-macro */ }
Expand description

Prepares a Tuxedo runtime to be parachain compatible by doing two main tasks.

  1. Wraps the provided constraint checker in another layer of aggregation including the parachain inherent piece
  2. Registers the validate_block function that is used by parachains to validate blocks on a validator when building to wasm. This is skipped when building to std.

Expects as parameters a Verifier, a non-yet-parachain-ready ConstraintChecker, and a ParaId.