referrerpolicy=no-referrer-when-downgrade

authorize_code

Function authorize_code 

Source
pub fn authorize_code<T: Config>(message: MessageToRelay<T::AccountId>)
Expand description

Accept a control-plane message from the parachain’s registrar pallet and authorize the validation code that will follow.

Only callable by a trusted XCM origin (e.g. the Coretime chain), never by users.

A request this pallet will not act on is not an extrinsic failure. Failing would roll back the rejection report along with everything else, and the parachain would sit on a held deposit waiting for news that never comes. So a rejection is applied, reported, and returns Ok.

§Warning: Doc-Only

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