Skip to content

Commit 89fd9ce

Browse files
committed
Update content
1 parent e62e2eb commit 89fd9ce

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

develop/interoperability/test-and-debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
5555
- [**`decl_test_parachains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L595){target=\_blank} - defines runtime and configuration for the parachains. Example:
5656

5757
```rust
58-
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/src/lib.rs:34:58'
58+
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/src/lib.rs:33:58'
5959
```
6060

6161
- [**`decl_test_bridges`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L1222){target=\_blank} - creates bridges between chains, specifying the source, target, and message handler. Example:

llms.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,8 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
673673
- [**`decl_test_relay_chains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L360){target=\_blank} - defines runtime and configuration for the relay chains. Example:
674674

675675
```rust
676-
#[api_version(13)]
676+
decl_test_relay_chains! {
677+
#[api_version(13)]
677678
pub struct Westend {
678679
genesis = genesis::genesis(),
679680
on_init = (),
@@ -698,7 +699,8 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
698699
- [**`decl_test_parachains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L595){target=\_blank} - defines runtime and configuration for the parachains. Example:
699700

700701
```rust
701-
pub struct AssetHubWestend {
702+
decl_test_parachains! {
703+
pub struct AssetHubWestend {
702704
genesis = genesis::genesis(),
703705
on_init = {
704706
asset_hub_westend_runtime::AuraExt::on_initialize(1);

0 commit comments

Comments
 (0)