pub fn register<T: Config>(
para_id: ParaId,
genesis_head: Vec<u8>,
code_len: u32,
code_hash: H256,
)Expand description
Ask the relay chain to register head data and validation code for a reserved para id.
The validation code itself stays here: only code_hash and code_len are sent. The
caller uploads the blob to the relay chain separately, which accepts it only if it
hashes to code_hash and is exactly code_len bytes long.
§Costs
Takes Config::RegistrationConsideration for the head data and the declared code
length, on top of the para id reservation. It is returned if the relay chain rejects
the registration or if the caller later abandons it.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::register.