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).

NOTE: This function is an automatically generated, doc only, uncallable stub. designed to document the sudo_unchecked_weight variant of the pallet Call enum. You should not attempt to call this function directly.