pub fn service_overweight<T: Config>(
    index: OverweightIndex,
    weight_limit: Weight
)
Expand description

Services a single overweight XCM.

  • origin: Must pass ExecuteOverweightOrigin.
  • index: The index of the overweight XCM to service
  • weight_limit: The amount of weight that XCM execution may take.

Errors:

  • BadOverweightIndex: XCM under index is not found in the Overweight storage map.
  • BadXcm: XCM under index cannot be properly decoded into a valid XCM format.
  • WeightOverLimit: XCM execution may use greater weight_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.