referrerpolicy=no-referrer-when-downgrade

force_register

Function force_register 

Source
pub fn force_register<T: Config>(
    para_id: ParaId,
    manager: T::AccountId,
    genesis_head: Vec<u8>,
    code_len: u32,
    code_hash: H256,
    skip_deposit: bool,
)
Expand description

Ask the relay chain to register a para id under manager, on Config::ForceOrigin’s say-so.

The relay chain’s paras_registrar::force_register, moved here: the same checks and the same deposits, except that the id need not have been reserved first, so the origin can onboard an id nobody holds, the system range included.

System ids never take a deposit, as on Polkadot, and skip_deposit waives it for a public id too. A reservation the manager already holds stays held.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::force_register.