pub fn sudo<T: Config>(call: Box<<T as Config>::RuntimeCall>)
Expand description

Authenticates the sudo key and dispatches a function call with Root origin.

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.