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

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