Skip to content

Commit 274dddb

Browse files
Add results
1 parent 9933e8a commit 274dddb

File tree

5 files changed

+58
-49
lines changed

5 files changed

+58
-49
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<div class="termynal" data-termynal>
2+
<pre data-ty>
3+
[
4+
{
5+
"type": "ReserveAssetDeposited",
6+
"value": [...]
7+
},
8+
{
9+
"type": "ClearOrigin"
10+
},
11+
{
12+
"type": "BuyExecution",
13+
"value": {...}
14+
},
15+
{
16+
"type": "DepositAsset",
17+
"value": {...}
18+
},
19+
{
20+
"type": "SetTopic",
21+
"value": "0xd60225f721599cb7c6e23cdf4fab26f205e30cd7eb6b5ccf6637cdc80b2339b2"
22+
}
23+
]
24+
</pre>
25+
</div>

.snippets/code/tutorials/interoperability/xcm-observability/local-xcm.html

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div class="termynal" data-termynal>
2+
<span data-ty="input">npx tsx limited-reserve-transfer-assets.ts</span>
3+
<span data-ty>✅ Local dry run successful.</span>
4+
<span data-ty>📦 Finalised on Polkadot Asset Hub in block #9437981: 0xf3c33536a2687f20947fb25cf2b3d70c4917ff84e7a8f205f5a58a188bda7a3d</span>
5+
<span data-ty>📣 Last message Sent on Polkadot Asset Hub: 0xd60225f721599cb7c6e23cdf4fab26f205e30cd7eb6b5ccf6637cdc80b2339b2</span>
6+
<span data-ty>✅ Sent message ID matched.</span>
7+
<span data-ty>📦 Finalised on Hydration in block #8676869: 0x55e3e0eeec7396d00ad776d85ea60f935d6e90a99cfde97b25a550845e084f92</span>
8+
<span data-ty>📣 Last message Processed on Hydration: 0xd60225f721599cb7c6e23cdf4fab26f205e30cd7eb6b5ccf6637cdc80b2339b2</span>
9+
<span data-ty>✅ Processed Message ID matched.</span>
10+
</div>

llms.txt

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28101,22 +28101,6 @@ Run it locally:
2810128101
npx tsx limited-reserve-transfer-assets.ts
2810228102
```
2810328103

28104-
#### Local XCM (Origin Chain: Polkadot Asset Hub)
28105-
28106-
The submitted extrinsic constructs an XCM like the following:
28107-
28108-
<div class="termynal" data-termynal>
28109-
<pre data-ty>
28110-
{
28111-
"type": "TransferAsset",
28112-
"value": {
28113-
"assets": [...],
28114-
"beneficiary": {...}
28115-
}
28116-
}
28117-
</pre>
28118-
</div>
28119-
2812028104
#### Forwarded XCM (Destination Chain: Hydration)
2812128105

2812228106
During execution, the runtime adds a `SetTopic` instruction automatically. This topic is carried through to the destination chain and becomes the basis for event correlation:
@@ -28433,16 +28417,24 @@ Run it locally:
2843328417
npx tsx multi-hop-with-set-topic.ts
2843428418
```
2843528419

28420+
#### Forwarded XCM (Destination Chain: Hydration)
28421+
28422+
During execution, the runtime adds a `SetTopic` instruction with the customised topic, which is carried across the chains:
28423+
28424+
code/tutorials/interoperability/xcm-observability/forwarded-xcm-custom.html
28425+
2843628426
#### Example: Message Trace Output
2843728427

28438-
```console
28439-
📦 Finalised on Polkadot Asset Hub in block #9294993: 0xa4e15ad6eae7fcd837f7a7c02a1925165bd97597fbe1ceb74adc17d3cbcf34bd
28440-
📣 Last message Sent on Polkadot Asset Hub: 0x836c6039763718fd3db4e22484fc4bacd7ddf1c74b6067d15b297ea72d8ecf89
28441-
✅ Sent message ID matched.
28442-
📦 Finalised on Hydration in block #8377216: 0x6bb6e7d69c2d574f8646f3c739d872ab832850a44659ea9401249dbe11a4c447
28443-
📣 Last message Processed on Hydration: 0x836c6039763718fd3db4e22484fc4bacd7ddf1c74b6067d15b297ea72d8ecf89
28444-
✅ Processed Message ID matched.
28445-
```
28428+
<div class="termynal" data-termynal>
28429+
<span data-ty="input">npx tsx limited-reserve-transfer-assets.ts</span>
28430+
<span data-ty>✅ Local dry run successful.</span>
28431+
<span data-ty>📦 Finalised on Polkadot Asset Hub in block #9437981: 0xf3c33536a2687f20947fb25cf2b3d70c4917ff84e7a8f205f5a58a188bda7a3d</span>
28432+
<span data-ty>📣 Last message Sent on Polkadot Asset Hub: 0xd60225f721599cb7c6e23cdf4fab26f205e30cd7eb6b5ccf6637cdc80b2339b2</span>
28433+
<span data-ty>✅ Sent message ID matched.</span>
28434+
<span data-ty>📦 Finalised on Hydration in block #8676869: 0x55e3e0eeec7396d00ad776d85ea60f935d6e90a99cfde97b25a550845e084f92</span>
28435+
<span data-ty>📣 Last message Processed on Hydration: 0xd60225f721599cb7c6e23cdf4fab26f205e30cd7eb6b5ccf6637cdc80b2339b2</span>
28436+
<span data-ty>✅ Processed Message ID matched.</span>
28437+
</div>
2844628438

2844728439
## Workaround for Older Runtimes
2844828440

tutorials/interoperability/xcm-observability.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,6 @@ Run it locally:
104104
npx tsx limited-reserve-transfer-assets.ts
105105
```
106106

107-
#### Local XCM (Origin Chain: Polkadot Asset Hub)
108-
109-
The submitted extrinsic constructs an XCM like the following:
110-
111-
--8<-- 'code/tutorials/interoperability/xcm-observability/local-xcm.html'
112-
113107
#### Forwarded XCM (Destination Chain: Hydration)
114108

115109
During execution, the runtime adds a `SetTopic` instruction automatically. This topic is carried through to the destination chain and becomes the basis for event correlation:
@@ -169,16 +163,15 @@ Run it locally:
169163
npx tsx multi-hop-with-set-topic.ts
170164
```
171165

166+
#### Forwarded XCM (Destination Chain: Hydration)
167+
168+
During execution, the runtime adds a `SetTopic` instruction with the customised topic, which is carried across the chains:
169+
170+
--8<-- 'code/tutorials/interoperability/xcm-observability/forwarded-xcm-custom.html'
171+
172172
#### Example: Message Trace Output
173173

174-
```console
175-
📦 Finalised on Polkadot Asset Hub in block #9294993: 0xa4e15ad6eae7fcd837f7a7c02a1925165bd97597fbe1ceb74adc17d3cbcf34bd
176-
📣 Last message Sent on Polkadot Asset Hub: 0x836c6039763718fd3db4e22484fc4bacd7ddf1c74b6067d15b297ea72d8ecf89
177-
✅ Sent message ID matched.
178-
📦 Finalised on Hydration in block #8377216: 0x6bb6e7d69c2d574f8646f3c739d872ab832850a44659ea9401249dbe11a4c447
179-
📣 Last message Processed on Hydration: 0x836c6039763718fd3db4e22484fc4bacd7ddf1c74b6067d15b297ea72d8ecf89
180-
✅ Processed Message ID matched.
181-
```
174+
--8<-- 'code/tutorials/interoperability/xcm-observability/multi-hop-with-set-topic-result.html'
182175

183176
## Workaround for Older Runtimes
184177

0 commit comments

Comments
 (0)