Skip to content

Commit 7af9551

Browse files
committed
dry_run_xcm
1 parent 36a105c commit 7af9551

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

develop/interoperability/xcm-runtime-apis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ This API allows a dry-run of any extrinsic and obtaining the outcome if it fails
117117
This API allows the direct dry-run of an xcm message instead of an extrinsic one, checks if it will execute successfully, and determines what other xcm messages will be forwarded to other chains.
118118

119119
```rust
120-
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/polkadot/xcm/xcm-runtime-apis/src/dry_run.rs:72:72'
120+
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/polkadot/xcm/xcm-runtime-apis/src/dry_run.rs:75:75'
121121
```
122122

123123
??? interface "Input parameters"

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ client.destroy();
19121912
This API allows the direct dry-run of an xcm message instead of an extrinsic one, checks if it will execute successfully, and determines what other xcm messages will be forwarded to other chains.
19131913

19141914
```rust
1915-
fn dry_run_call(origin: OriginCaller, call: Call) -> Result<CallDryRunEffects<Event>, Error>;
1915+
fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm<Call>) -> Result<XcmDryRunEffects<Event>, Error>;
19161916
```
19171917

19181918
??? interface "Input parameters"

0 commit comments

Comments
 (0)