referrerpolicy=no-referrer-when-downgrade

schedule_code_upgrade

Function schedule_code_upgrade 

Source
pub fn schedule_code_upgrade<T: Config>(
    para_id: ParaId,
    code_hash: H256,
    code_len: u32,
)
Expand description

Ask the relay chain to authorize a validation code upgrade.

Root, the para itself, or its manager while unlocked. As with Pallet::register only code_hash and code_len are sent: the caller uploads the code to the relay chain separately, and it is accepted only if it matches both. Nothing is recorded and no deposit is taken; the outcome comes back through Pallet::receive as an event.

§Warning: Doc-Only

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