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

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

  • O(1).
  • The weight of this call is defined by the caller.

Warning: Doc-Only

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