pub fn sudo_unchecked_weight<T: Config>(
    call: Box<<T as Config>::RuntimeCall>,
    _weight: Weight
)
Expand description

Authenticates the sudo key and dispatches a function call with Root origin. This function does not check the weight of the call, and instead allows the Sudo user to specify the weight of the call.

The dispatch origin for this call must be Signed.

Complexity

  • O(1).

Warning: Doc-Only

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