pub fn cancel_registration<T: Config>(para_id: ParaId)Expand description
Give up on a registration the relay chain never reported on.
Callable from Config::PendingDeadline blocks after the request. Nothing on the
relay chain abandons a registration on its own, so this is what ends one whose code
never turned up, and the manager pays for the round trip rather than every relay-chain
block paying for a sweep.
The deposit is not released here: the relay chain is asked to drop the authorization
first, and Pallet::receive releases the deposit when it confirms. Waiting for that
answer is the point. A registration that did go through, with a verdict that got lost on
the way here, must not have its deposit refunded, and only the relay chain knows
which of the two happened.
The para id itself stays reserved either way, so the manager can simply try again.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::cancel_registration.