pub fn with_weight<T: Config>(
    call: Box<<T as Config>::RuntimeCall>,
    weight: Weight
Expand description

Dispatch a function call with a specified weight.

This function does not check the weight of the call, and instead allows the Root origin to specify the weight of the call.

The dispatch origin for this call must be Root.

§Warning: Doc-Only

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