Function polkadot_runtime_common::paras_registrar::pallet::dispatchables::reserve
source · pub fn reserve<T: Config>()Expand description
Reserve a Para Id on the relay chain.
This function will reserve a new Para Id to be owned/managed by the origin account.
The origin account is able to register head data and validation code using register to
create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then
be upgraded to a lease holding parachain.
Arguments
origin: Must be called by aSignedorigin. Becomes the manager/owner of the new para ID.
Deposits/Fees
The origin must reserve a deposit of ParaDeposit for the registration.
Events
The Reserved event is emitted in case of success, which provides the ID reserved for
use.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::reserve.