Function pallet_sudo_origin::pallet::dispatchables::sudo
source · pub fn sudo<T: Config>(call: Box<<T as Config>::RuntimeCall>)
Expand description
Authenticates the SudoOrigin and dispatches a function call with Root
origin.
- O(1).
- Limited storage reads.
- One DB write (event).
- Weight of derivative
call
execution + 10,000.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::sudo
.