Skip to content

Commit dd70324

Browse files
committed
update dependencies
1 parent 2f31c4c commit dd70324

File tree

3 files changed

+25
-22
lines changed

3 files changed

+25
-22
lines changed

develop/interoperability/test-and-debug.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,28 @@ The XCM Emulator provides both advantages and limitations when testing cross-cha
4646

4747
The `xcm-emulator` provides macros for defining a mocked testing environment. Check all the existing macros and functionality in the [XCM Emulator source code](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs){target=\_blank}. The most important macros are:
4848

49-
- [**`decl_test_relay_chains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L361){target=\_blank} - defines runtime and configuration for the relay chains. Example:
49+
- [**`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:
5050

5151
```rust
52-
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/polkadot-stable2412/cumulus/parachains/integration-tests/emulated/chains/relays/westend/src/lib.rs:27:47'
52+
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/parachains/integration-tests/emulated/chains/relays/westend/src/lib.rs:27:47'
5353
```
5454

55-
- [**`decl_test_parachains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L596){target=\_blank} - defines runtime and configuration for the parachains. Example:
55+
- [**`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/polkadot-stable2412/cumulus/parachains/integration-tests/emulated/chains/parachains/assets/asset-hub-westend/src/lib.rs:33:55'
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

61-
- [**`decl_test_bridges`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L1221){target=\_blank} - creates bridges between chains, specifying the source, target, and message handler. Example:
61+
- [**`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:
6262

6363
```rust
64-
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/polkadot-stable2412/cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/src/lib.rs:63:74'
64+
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/parachains/integration-tests/emulated/networks/rococo-westend-system/src/lib.rs:63:74'
6565
```
6666

67-
- [**`decl_test_networks`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L958){target=\_blank} - defines a testing network with relay chains, parachains, and bridges, implementing message transport and processing logic. Example:
67+
- [**`decl_test_networks`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L957){target=\_blank} - defines a testing network with relay chains, parachains, and bridges, implementing message transport and processing logic. Example:
6868

6969
```rust
70-
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/polkadot-stable2412/cumulus/parachains/integration-tests/emulated/networks/westend-system/src/lib.rs:38:52'
70+
--8<-- 'https://raw.githubusercontent.com/paritytech/polkadot-sdk/refs/tags/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/parachains/integration-tests/emulated/networks/westend-system/src/lib.rs:38:52'
7171
```
7272

7373
By leveraging these macros, developers can customize their testing networks by defining relay chains and parachains tailored to their needs. For guidance on implementing a mock runtime for a Polkadot SDK-based chain, refer to the [Pallet Testing](/develop/parachains/testing/pallet-testing/){target=\_blank} article.

llms.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,11 @@ The XCM Emulator provides both advantages and limitations when testing cross-cha
670670

671671
The `xcm-emulator` provides macros for defining a mocked testing environment. Check all the existing macros and functionality in the [XCM Emulator source code](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs){target=\_blank}. The most important macros are:
672672

673-
- [**`decl_test_relay_chains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L361){target=\_blank} - defines runtime and configuration for the relay chains. Example:
673+
- [**`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
676676
decl_test_relay_chains! {
677-
#[api_version(11)]
677+
#[api_version(13)]
678678
pub struct Westend {
679679
genesis = genesis::genesis(),
680680
on_init = (),
@@ -696,7 +696,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
696696
}
697697
```
698698

699-
- [**`decl_test_parachains`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L596){target=\_blank} - defines runtime and configuration for the parachains. Example:
699+
- [**`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:
700700

701701
```rust
702702
decl_test_parachains! {
@@ -711,6 +711,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
711711
LocationToAccountId: asset_hub_westend_runtime::xcm_config::LocationToAccountId,
712712
ParachainInfo: asset_hub_westend_runtime::ParachainInfo,
713713
MessageOrigin: cumulus_primitives_core::AggregateMessageOrigin,
714+
DigestProvider: (),
714715
},
715716
pallets = {
716717
PolkadotXcm: asset_hub_westend_runtime::PolkadotXcm,
@@ -719,12 +720,14 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
719720
ForeignAssets: asset_hub_westend_runtime::ForeignAssets,
720721
PoolAssets: asset_hub_westend_runtime::PoolAssets,
721722
AssetConversion: asset_hub_westend_runtime::AssetConversion,
723+
SnowbridgeSystemFrontend: asset_hub_westend_runtime::SnowbridgeSystemFrontend,
724+
Revive: asset_hub_westend_runtime::Revive,
722725
}
723726
},
724727
}
725728
```
726729

727-
- [**`decl_test_bridges`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L1221){target=\_blank} - creates bridges between chains, specifying the source, target, and message handler. Example:
730+
- [**`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:
728731

729732
```rust
730733
decl_test_bridges! {
@@ -741,7 +744,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
741744
}
742745
```
743746

744-
- [**`decl_test_networks`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L958){target=\_blank} - defines a testing network with relay chains, parachains, and bridges, implementing message transport and processing logic. Example:
747+
- [**`decl_test_networks`**](https://github.com/paritytech/polkadot-sdk/blob/{{dependencies.repositories.polkadot_sdk.version}}/cumulus/xcm/xcm-emulator/src/lib.rs#L957){target=\_blank} - defines a testing network with relay chains, parachains, and bridges, implementing message transport and processing logic. Example:
745748

746749
```rust
747750
decl_test_networks! {

variables.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ dependencies:
1313
version: v0.0.2
1414
srtool:
1515
repository_url: https://github.com/paritytech/srtool
16-
version: v0.18.2
16+
version: v0.18.3
1717
docker_image_name: paritytech/srtool
18-
docker_image_version: 1.84.1
18+
docker_image_version: 1.88.0
1919
polkadot_sdk:
2020
repository_url: https://github.com/paritytech/polkadot-sdk
21-
version: polkadot-stable2503-7
22-
docker_image_version: stable2503-7
21+
version: polkadot-stable2506
22+
docker_image_version: stable2506
2323
open_zeppelin_contracts:
2424
repository_url: https://github.com/OpenZeppelin/openzeppelin-contracts
25-
version: v5.3.0
25+
version: v5.4.0
2626
polkadot_sdk_contracts_node:
2727
repository_url: https://github.com/paritytech/polkadot-sdk
2828
version: polkadot-stable2503-6
@@ -57,13 +57,13 @@ dependencies:
5757
polkadot_js_api_version: v16.2.2 # Check changelog for pjs version bumps
5858
moonwall:
5959
name: '@moonwall/cli'
60-
version: 5.13.1
60+
version: 5.13.5
6161
polkadot_js_api:
6262
name: '@polkadot/api'
63-
version: 16.4.2
63+
version: 16.4.3
6464
polkadot_api:
6565
name: polkadot-api
66-
version: 1.15.0
66+
version: 1.15.2
6767
hardhat_resolc:
6868
name: '@hardhat-resolc'
6969
version: 0.0.7
@@ -84,5 +84,5 @@ dependencies:
8484
version: 6.13.5
8585
paraspell_sdk:
8686
name: '@paraspell/sdk'
87-
version: 10.10.11
87+
version: 10.11.5
8888
# python_packages:

0 commit comments

Comments
 (0)