Skip to content

Commit 7f3cbcf

Browse files
committed
fix: llms
1 parent ce58e12 commit 7f3cbcf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llms-full.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31264,7 +31264,7 @@ Make sure to replace the endpoint URLs with the actual WebSocket endpoints. This
3126431264

3126531265
## Create the XCM Message
3126631266

31267-
Now, you can construct a proper XCM message using the new XCM V5 instructions for teleporting from Asset Hub to the Relay Chain:
31267+
Now, you can construct a proper XCM message using the new XCM V5 instructions for teleporting from Asset Hub to the Bridge Hub Chain:
3126831268

3126931269
```typescript title="teleport-ah-to-bridge-hub.ts"
3127031270
// Create the XCM message for teleport (Asset Hub → Bridge Hub)
@@ -31366,7 +31366,7 @@ async function estimateXcmFeesFromAssetHubToBridgeHub(xcm: any, assetHubApi: any
3136631366
}
3136731367
```
3136831368

31369-
2. **Dry-run and delivery fees to Relay**: Dry-run the XCM on Asset Hub to capture forwarded messages, locate the one targeting Relay (`parents: 1, interior: Here`), and ask for delivery fees. Add the code to the function:
31369+
2. **Dry-run and delivery fees to Bridge Hub**: Dry-run the XCM on Asset Hub to capture forwarded messages, locate the one targeting Bridge Hub (`parents: 1, interior: Here`), and ask for delivery fees. Add the code to the function:
3137031370

3137131371
```typescript title="teleport-ah-to-bridge-hub.ts"
3137231372
// 2. DELIVERY FEES + REMOTE EXECUTION FEES
@@ -31427,7 +31427,7 @@ async function estimateXcmFeesFromAssetHubToBridgeHub(xcm: any, assetHubApi: any
3142731427
}
3142831428
```
3142931429

31430-
3. **Remote execution fees on Relay**: Connect to Relay, re-compute the forwarded XCM weight there, and convert weight to PAS (`parents: 0, interior: Here`). Add the code to the function:
31430+
3. **Remote execution fees on Bridge Hub**: Connect to Bridge Hub, re-compute the forwarded XCM weight there, and convert weight to PAS (`parents: 0, interior: Here`). Add the code to the function:
3143131431

3143231432
```typescript title="teleport-ah-to-bridge-hub.ts"
3143331433
// 3. REMOTE EXECUTION FEES on Bridge Hub
@@ -31666,7 +31666,7 @@ async function main() {
3166631666

3166731667
The full code for the complete implementation is the following:
3166831668

31669-
??? code "Teleport from Asset Hub to Relay"
31669+
??? code "Teleport from Asset Hub to Bridge Hub"
3167031670

3167131671
```typescript title="teleport-ah-to-bridge-hub.ts"
3167231672
import { paseoAssetHub, paseoBridgeHub } from "@polkadot-api/descriptors";

0 commit comments

Comments
 (0)