Function cumulus_pallet_xcmp_queue::pallet::dispatchables::service_overweight
source · pub fn service_overweight<T: Config>(
index: OverweightIndex,
weight_limit: Weight
)
Expand description
Services a single overweight XCM.
origin
: Must passExecuteOverweightOrigin
.index
: The index of the overweight XCM to serviceweight_limit
: The amount of weight that XCM execution may take.
Errors:
BadOverweightIndex
: XCM underindex
is not found in theOverweight
storage map.BadXcm
: XCM underindex
cannot be properly decoded into a valid XCM format.WeightOverLimit
: XCM execution may use greaterweight_limit
.
Events:
OverweightServiced
: On success.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::service_overweight
.