Skip to content

Commit 747fad9

Browse files
Update Automatic vs Manual SetTopic
1 parent cd9645c commit 747fad9

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
@@ -27934,10 +27934,10 @@ Matching these IDs lets you **correlate** an origin message with its destination
2793427934

2793527935
### Automatic vs Manual `SetTopic`
2793627936

27937-
- Automatically **append a `SetTopic` instruction** if it is missing.
27938-
- When using high-level extrinsics such as `limited_reserve_transfer_assets`, **you don't need to set a topic manually**.
27939-
- If manually crafting an XCM via `execute` (or `send`), you **can supply your own `SetTopic`**, but it **must be the last instruction** to be respected.
27940-
- In multi-hop flows, manually setting the topic can guarantee consistent tracing across all hops.
27937+
- The runtime **automatically appends a `SetTopic` instruction** if one is missing at the end of an XCM.
27938+
- When using high-level extrinsics such as `limited_reserve_transfer_assets`, **you do not need to set a topic manually**; the runtime handles it for you.
27939+
- If you **manually craft an XCM** (e.g., via `execute` or `send`), you **can supply your own `SetTopic`**, but it **must be the final instruction** to be respected.
27940+
- In **multi-hop XCM flows**, manually setting the topic ensures **consistent tracing across all hops**. Any **remote XCM calls** embedded inside the XCM must also include a `SetTopic` at the end to preserve the same `message_id` throughout the cross-chain flow.
2794127941

2794227942
## Message Lifecycle
2794327943

tutorials/interoperability/xcm-observability.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ Matching these IDs lets you **correlate** an origin message with its destination
114114

115115
### Automatic vs Manual `SetTopic`
116116

117-
- Automatically **append a `SetTopic` instruction** if it is missing.
118-
- When using high-level extrinsics such as `limited_reserve_transfer_assets`, **you don't need to set a topic manually**.
119-
- If manually crafting an XCM via `execute` (or `send`), you **can supply your own `SetTopic`**, but it **must be the last instruction** to be respected.
120-
- In multi-hop flows, manually setting the topic can guarantee consistent tracing across all hops.
117+
- The runtime **automatically appends a `SetTopic` instruction** if one is missing at the end of an XCM.
118+
- When using high-level extrinsics such as `limited_reserve_transfer_assets`, **you do not need to set a topic manually**; the runtime handles it for you.
119+
- If you **manually craft an XCM** (e.g., via `execute` or `send`), you **can supply your own `SetTopic`**, but it **must be the final instruction** to be respected.
120+
- In **multi-hop XCM flows**, manually setting the topic ensures **consistent tracing across all hops**. Any **remote XCM calls** embedded inside the XCM must also include a `SetTopic` at the end to preserve the same `message_id` throughout the cross-chain flow.
121121

122122
## Message Lifecycle
123123

0 commit comments

Comments
 (0)