pub fn cancel_authorization<T: Config>(message: MessageToRelay<T::AccountId>)Expand description
Drop the authorization held for a para id, at the parachain’s request.
Only callable by a trusted XCM origin (e.g. the Coretime chain), never by users. This is the only way an authorization that never received its code goes away, and the manager pays for it on the parachain: nothing here expires on its own.
Answered with [MessageToParaV1::CancelResponse], which is what lets the parachain
release the deposit. Refused, and reported as such, if the code did land in the meantime
and the para is registered: the deposit is then owed after all.
Cancelling something that was never pending is not an error. The request may simply have been rejected here and the report lost, and the parachain still needs an answer it can act on.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel_authorization.