Skip to content

Commit e2a3c90

Browse files
committed
minor edits
1 parent e854517 commit e2a3c90

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

chain-interactions/send-transactions/interoperability/debug-and-preview-xcms.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Before you begin, make sure you have:
1818
- [Chopsticks](/reference/tools/chopsticks){target=\_blank} installed
1919
- Access to the endpoint or genesis file of the parachain you want to fork
2020
- The block number or hash where the XCM was sent
21-
- (Optional) A Chopsticks config file for repeated setups.
21+
- (Optional) A Chopsticks config file for repeated setups
2222

2323
## Set Up Your Project
2424

25-
Let's start by creating a dedicated workspace for your XCM replay and dry-run experiments.
25+
Start by creating a dedicated workspace for your XCM replay and dry-run experiments:
2626

2727
1. Create a new directory and navigate into it:
2828

@@ -163,15 +163,15 @@ Full execution logs only work if the runtime was compiled with logging enabled.
163163
164164
To replay an XCM, you'll first need to identify the exact extrinsic that triggered it. In this example, we'll use block 9079592 on the Polkadot Asset Hub.
165165
166-
1. Find and open the block on Subscan to inspect its extrinsics and events. In this case, the block is [9079592](https://assethub-polkadot.subscan.io/block/9079592){target=\_blank}
166+
1. Find and open the block on Subscan to inspect its extrinsics and events. In this case, the block is [9079592](https://assethub-polkadot.subscan.io/block/9079592){target=\_blank}.
167167
168168
2. Copy the block hash. Look for the block hash at the top of the page. For block 9079592, the hash is:
169169
170170
```bash title="Block Hash"
171171
0xeb5a5737d47367dc1c02b978232283cdb096eb7e51d2eb22366a106a011347f6
172172
```
173173
174-
3. Explore and view the block in [Polkadot.js Apps](https://polkadot.js.org/apps){target=\_blank} using this direct link: [Block Hash Explorer](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-asset-hub-rpc.polkadot.io#/explorer/query/0xeb5a5737d47367dc1c02b978232283cdb096eb7e51d2eb22366a106a011347f6){target=\_blank}
174+
3. Explore and view the block in [Polkadot.js Apps](https://polkadot.js.org/apps){target=\_blank} using this direct link: [Block Hash Explorer](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fpolkadot-asset-hub-rpc.polkadot.io#/explorer/query/0xeb5a5737d47367dc1c02b978232283cdb096eb7e51d2eb22366a106a011347f6){target=\_blank}.
175175
176176
4. Locate and decode the XCM extrinsic. Once you've found the extrinsic (e.g., 9079592-2), extract and decode its call data. For example, the call data is:
177177
@@ -256,8 +256,8 @@ If it fails, you'll receive detailed error information:
256256
257257
For more information, see:
258258
259-
- [Dry Run Call](https://paritytech.github.io/polkadot-sdk/master/xcm_runtime_apis/dry_run/trait.DryRunApi.html#method.dry_run_call){target=\_blank} to simulate a full extrinsic
260-
- [Dry Run XCM](https://paritytech.github.io/polkadot-sdk/master/xcm_runtime_apis/dry_run/trait.DryRunApi.html#method.dry_run_xcm){target=\_blank} to simulate a raw XCM
259+
- [Dry Run Call](https://paritytech.github.io/polkadot-sdk/master/xcm_runtime_apis/dry_run/trait.DryRunApi.html#method.dry_run_call){target=\_blank} to simulate a full extrinsic.
260+
- [Dry Run XCM](https://paritytech.github.io/polkadot-sdk/master/xcm_runtime_apis/dry_run/trait.DryRunApi.html#method.dry_run_xcm){target=\_blank} to simulate a raw XCM.
261261
262262
## Review and Debug
263263
@@ -273,7 +273,7 @@ Replaying XCMs with full logging provides fine-grained control and visibility in
273273
274274
View the official Chopsticks GitHub repository.
275275
276-
[:octicons-arrow-right-24: Get Started](https://github.com/AcalaNetwork/chopsticks/)
276+
[:octicons-arrow-right-24: Get Started](https://github.com/AcalaNetwork/chopsticks/){target=\_blank}
277277
278278
- <span class="badge guide">Guide</span> **Get Started with XCM**
279279

0 commit comments

Comments
 (0)