Skip to content

Commit 59269d7

Browse files
Update flowchart
1 parent 44c67e3 commit 59269d7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

llms.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27839,7 +27839,7 @@ You will learn how to:
2783927839
- Use workarounds for older runtimes with derived message IDs
2784027840
- Debug failed or incomplete XCMs using indexers and Chopsticks replay
2784127841

27842-
The guide revolves around a **single, concrete scenario** of a cross-chain DOT transfer between two parachains, with multiple example scripts and detailed outputs.
27842+
The guide revolves around a **single, concrete scenario** of a cross-chain asset transfer/swap between two parachains, with multiple example scripts and detailed outputs.
2784327843

2784427844
## Prerequisites
2784527845

@@ -27905,9 +27905,9 @@ If you are new to XCM dry-run or replay, see the [Replay and Dry Run XCMs Using
2790527905

2790627906
When sending XCMs using `limited_reserve_transfer_assets` or other extrinsics from the `PolkadotXcm` pallet, two key observability features enable developers to trace and correlate messages across chains:
2790727907

27908-
- The addition of a new **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank} event**, emitted on the origin chain when an XCM message is sent.
27908+
- The addition of a new **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank} event**, emitted on the origin chain when an XCM is sent.
2790927909
- The guarantee that the **`message_id` in the `PolkadotXcm.Sent` event matches the `id` in the [`MessageQueue.Processed`](https://paritytech.github.io/polkadot-sdk/master/pallet_message_queue/pallet/enum.Event.html#variant.Processed){target=\_blank} event** on the destination chain, enabling reliable cross-chain correlation.
27910-
- [`SetTopic([u8; 32])`](https://github.com/polkadot-fellows/xcm-format#settopic){target=\_blank} is an XCM instruction that **sets a 32-byte topic register** inside the message.
27910+
- **[`SetTopic([u8; 32])`](https://github.com/polkadot-fellows/xcm-format#settopic){target=\_blank}** is an XCM instruction that sets a 32-byte topic register inside the message.
2791127911
- This topic acts as a **logical identifier** (`message_id`) for the XCM, allowing you to group and trace related messages across chains.
2791227912

2791327913
> ⚠️ **Note:** The topic is **not guaranteed to be unique**. If uniqueness is required (e.g. for deduplication), it must be enforced by the message creator.
@@ -27945,7 +27945,7 @@ Here is a high-level overview of an XCM lifecycle with observability events:
2794527945
```mermaid
2794627946
flowchart LR
2794727947
A[User submits extrinsic] --> B[Origin Chain Runtime constructs XCM]
27948-
B --> C[Runtime appends SetTopic instruction (if missing)]
27948+
B --> C["Runtime appends SetTopic instruction (if missing)"]
2794927949
C --> D[PolkadotXcm.Sent event emitted with message_id]
2795027950
D --> E[XCM forwarded to Destination Chain(s)]
2795127951
E --> F[Destination Chain executes XCM]

tutorials/interoperability/xcm-observability.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You will learn how to:
1919
- Use workarounds for older runtimes with derived message IDs
2020
- Debug failed or incomplete XCMs using indexers and Chopsticks replay
2121

22-
The guide revolves around a **single, concrete scenario** of a cross-chain DOT transfer between two parachains, with multiple example scripts and detailed outputs.
22+
The guide revolves around a **single, concrete scenario** of a cross-chain asset transfer/swap between two parachains, with multiple example scripts and detailed outputs.
2323

2424
## Prerequisites
2525

@@ -85,9 +85,9 @@ If you are new to XCM dry-run or replay, see the [Replay and Dry Run XCMs Using
8585

8686
When sending XCMs using `limited_reserve_transfer_assets` or other extrinsics from the `PolkadotXcm` pallet, two key observability features enable developers to trace and correlate messages across chains:
8787

88-
- The addition of a new **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank} event**, emitted on the origin chain when an XCM message is sent.
88+
- The addition of a new **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank} event**, emitted on the origin chain when an XCM is sent.
8989
- The guarantee that the **`message_id` in the `PolkadotXcm.Sent` event matches the `id` in the [`MessageQueue.Processed`](https://paritytech.github.io/polkadot-sdk/master/pallet_message_queue/pallet/enum.Event.html#variant.Processed){target=\_blank} event** on the destination chain, enabling reliable cross-chain correlation.
90-
- [`SetTopic([u8; 32])`](https://github.com/polkadot-fellows/xcm-format#settopic){target=\_blank} is an XCM instruction that **sets a 32-byte topic register** inside the message.
90+
- **[`SetTopic([u8; 32])`](https://github.com/polkadot-fellows/xcm-format#settopic){target=\_blank}** is an XCM instruction that sets a 32-byte topic register inside the message.
9191
- This topic acts as a **logical identifier** (`message_id`) for the XCM, allowing you to group and trace related messages across chains.
9292

9393
> ⚠️ **Note:** The topic is **not guaranteed to be unique**. If uniqueness is required (e.g. for deduplication), it must be enforced by the message creator.
@@ -125,7 +125,7 @@ Here is a high-level overview of an XCM lifecycle with observability events:
125125
```mermaid
126126
flowchart LR
127127
A[User submits extrinsic] --> B[Origin Chain Runtime constructs XCM]
128-
B --> C[Runtime appends SetTopic instruction (if missing)]
128+
B --> C["Runtime appends SetTopic instruction (if missing)"]
129129
C --> D[PolkadotXcm.Sent event emitted with message_id]
130130
D --> E[XCM forwarded to Destination Chain(s)]
131131
E --> F[Destination Chain executes XCM]

0 commit comments

Comments
 (0)