Macro tuxedo_parachain_core::parachainify
source · parachainify!() { /* proc-macro */ }
Expand description
Prepares a Tuxedo runtime to be parachain compatible by doing two main tasks.
- Wraps the provided constraint checker in another layer of aggregation including the parachain inherent piece
- 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.