Skip to content

Commit cd9645c

Browse files
Update Observability Features
1 parent 8ea2de5 commit cd9645c

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

llms.txt

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27914,22 +27914,18 @@ When executing XCMs using `limited_reserve_transfer_assets`, other extrinsics, o
2791427914

2791527915
### Observability Features
2791627916

27917-
Runtimes built from **`stable2503-5` or later** provide two key observability features for tracing and correlating XCMs across chains:
27917+
Runtimes built from **`stable2503-5` or later** provide key observability features for tracing and correlating XCMs across chains:
2791827918

2791927919
- **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank}** emitted on the origin chain when an XCM is sent.
27920-
- 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.
27920+
- **[`MessageQueue.Processed`](https://paritytech.github.io/polkadot-sdk/master/pallet_message_queue/pallet/enum.Event.html#variant.Processed){target=\_blank}** emitted on the destination chain when the XCM is processed.
27921+
- The **`message_id` in the `Sent` event matches the `id` in the `Processed` event**, enabling reliable cross-chain correlation. This `message_id` is derived from the `SetTopic` instruction.
2792127922

27922-
### Understanding `message_id`
27923+
| Chain Role | Event | Field | Purpose |
27924+
|-------------------|--------------------------|--------------|------------------------------------|
27925+
| Origin chain | `PolkadotXcm.Sent` | `message_id` | Identifies the sent XCM |
27926+
| Destination chain | `MessageQueue.Processed` | `id` | Confirms processing of the message |
2792327927

27924-
- The `message_id` is a hash derived from the `SetTopic` topic.
27925-
- It is emitted in:
27926-
27927-
| Chain Role | Event | Field | Purpose |
27928-
|-------------------|--------------------------|--------------|------------------------------------|
27929-
| Origin chain | `PolkadotXcm.Sent` | `message_id` | Identifies the sent XCM |
27930-
| Destination chain | `MessageQueue.Processed` | `id` | Confirms processing of the message |
27931-
27932-
- Matching these IDs lets you **correlate** an origin message with its destination processing.
27928+
Matching these IDs lets you **correlate** an origin message with its destination processing.
2793327929

2793427930
### Why Not `XcmpQueue.XcmpMessageSent`?
2793527931

tutorials/interoperability/xcm-observability.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,18 @@ When executing XCMs using `limited_reserve_transfer_assets`, other extrinsics, o
9494

9595
### Observability Features
9696

97-
Runtimes built from **`stable2503-5` or later** provide two key observability features for tracing and correlating XCMs across chains:
97+
Runtimes built from **`stable2503-5` or later** provide key observability features for tracing and correlating XCMs across chains:
9898

9999
- **[`PolkadotXcm.Sent`](https://paritytech.github.io/polkadot-sdk/master/pallet_xcm/pallet/enum.Event.html#variant.Sent){target=\_blank}** emitted on the origin chain when an XCM is sent.
100-
- 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.
100+
- **[`MessageQueue.Processed`](https://paritytech.github.io/polkadot-sdk/master/pallet_message_queue/pallet/enum.Event.html#variant.Processed){target=\_blank}** emitted on the destination chain when the XCM is processed.
101+
- The **`message_id` in the `Sent` event matches the `id` in the `Processed` event**, enabling reliable cross-chain correlation. This `message_id` is derived from the `SetTopic` instruction.
101102

102-
### Understanding `message_id`
103+
| Chain Role | Event | Field | Purpose |
104+
|-------------------|--------------------------|--------------|------------------------------------|
105+
| Origin chain | `PolkadotXcm.Sent` | `message_id` | Identifies the sent XCM |
106+
| Destination chain | `MessageQueue.Processed` | `id` | Confirms processing of the message |
103107

104-
- The `message_id` is a hash derived from the `SetTopic` topic.
105-
- It is emitted in:
106-
107-
| Chain Role | Event | Field | Purpose |
108-
|-------------------|--------------------------|--------------|------------------------------------|
109-
| Origin chain | `PolkadotXcm.Sent` | `message_id` | Identifies the sent XCM |
110-
| Destination chain | `MessageQueue.Processed` | `id` | Confirms processing of the message |
111-
112-
- Matching these IDs lets you **correlate** an origin message with its destination processing.
108+
Matching these IDs lets you **correlate** an origin message with its destination processing.
113109

114110
### Why Not `XcmpQueue.XcmpMessageSent`?
115111

0 commit comments

Comments
 (0)