Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored May 29, 2024
1 parent 79a114e commit 084f0f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions polkadot/xcm/pallet-xcm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2439,6 +2439,7 @@ impl<T: Config> Pallet<T> {
}

/// Dry-runs `call` with the given `origin`.
///
/// Returns not only the call result and events, but also the local XCM, if any,
/// and any XCMs forwarded to other locations.
/// Meant to be used in the `xcm_fee_payment_runtime_api::dry_run::DryRunApi` runtime API.
Expand Down Expand Up @@ -2471,6 +2472,7 @@ impl<T: Config> Pallet<T> {
}

/// Dry-runs `xcm` with the given `origin_location`.
///
/// Returns execution result, events, and any forwarded XCMs to other locations.
/// Meant to be used in the `xcm_fee_payment_runtime_api::dry_run::DryRunApi` runtime API.
pub fn dry_run_xcm<Runtime, Router, RuntimeCall, XcmConfig>(
Expand Down

0 comments on commit 084f0f9

Please sign in to comment.