Skip to content

Commit a85d42a

Browse files
committed
Merge remote-tracking branch 'origin' into dawn/improved-llms
2 parents 5013a55 + 02d77c0 commit a85d42a

File tree

45 files changed

+854
-760
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+854
-760
lines changed

.ai/categories/basics.md

Lines changed: 31 additions & 22 deletions
Large diffs are not rendered by default.

.ai/categories/dapps.md

Lines changed: 44 additions & 35 deletions
Large diffs are not rendered by default.

.ai/categories/infrastructure.md

Lines changed: 44 additions & 35 deletions
Large diffs are not rendered by default.

.ai/categories/networks.md

Lines changed: 33 additions & 24 deletions
Large diffs are not rendered by default.

.ai/categories/parachains.md

Lines changed: 48 additions & 39 deletions
Large diffs are not rendered by default.

.ai/categories/polkadot-protocol.md

Lines changed: 38 additions & 29 deletions
Large diffs are not rendered by default.

.ai/categories/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Well-known development accounts, such as Alice, Bob, Charlie, Dave, Eve, and Fer
121121
bottom drive obey lake curtain smoke basket hold race lonely fit walk
122122
```
123123

124-
Many tools in the Polkadot SDK ecosystem, such as [`subkey`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506/substrate/bin/utils/subkey){target=\_blank}, allow you to implicitly specify an account using a derivation path such as `//Alice`.
124+
Many tools in the Polkadot SDK ecosystem, such as [`subkey`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/substrate/bin/utils/subkey){target=\_blank}, allow you to implicitly specify an account using a derivation path such as `//Alice`.
125125

126126
## Digest
127127

@@ -1261,7 +1261,7 @@ The executor is highly configurable, with the [XCM builder](https://paritytech.g
12611261

12621262
## XCM Executor Configuration
12631263

1264-
The `Config` trait defines the XCM executor’s configuration, which requires several associated types. Each type has specific trait bounds that the concrete implementation must fulfill. Some types, such as `RuntimeCall`, come with a default implementation in most cases, while others use the unit type `()` as the default. For many of these types, selecting the appropriate implementation carefully is crucial. Predefined solutions and building blocks can be adapted to your specific needs. These solutions can be found in the [`xcm-builder`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506/polkadot/xcm/xcm-builder){target=\_blank} folder.
1264+
The `Config` trait defines the XCM executor’s configuration, which requires several associated types. Each type has specific trait bounds that the concrete implementation must fulfill. Some types, such as `RuntimeCall`, come with a default implementation in most cases, while others use the unit type `()` as the default. For many of these types, selecting the appropriate implementation carefully is crucial. Predefined solutions and building blocks can be adapted to your specific needs. These solutions can be found in the [`xcm-builder`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/polkadot/xcm/xcm-builder){target=\_blank} folder.
12651265

12661266
Each type is explained below, along with an overview of some of its implementations:
12671267

.ai/categories/smart-contracts.md

Lines changed: 34 additions & 24 deletions
Large diffs are not rendered by default.

.ai/categories/tooling.md

Lines changed: 54 additions & 44 deletions
Large diffs are not rendered by default.

.ai/pages/develop-interoperability-test-and-debug.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For scenarios where real blockchain state is required, [Chopsticks](/tutorials/p
2323

2424
Setting up a live network with multiple interconnected parachains for XCM testing can be complex and resource-intensive.
2525

26-
The [`xcm-emulator`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506/cumulus/xcm/xcm-emulator){target=\_blank} is a tool designed to simulate the execution of XCM programs using predefined runtime configurations. These configurations include those utilized by live networks like Kusama, Polkadot, and Asset Hub.
26+
The [`xcm-emulator`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/cumulus/xcm/xcm-emulator){target=\_blank} is a tool designed to simulate the execution of XCM programs using predefined runtime configurations. These configurations include those utilized by live networks like Kusama, Polkadot, and Asset Hub.
2727

2828
This tool enables testing of cross-chain message passing, providing a way to verify outcomes, weights, and side effects efficiently. It achieves this by utilizing mocked runtimes for both the relay chain and connected parachains, enabling developers to focus on message logic and configuration without needing a live network.
2929

@@ -46,9 +46,9 @@ The XCM Emulator provides both advantages and limitations when testing cross-cha
4646

4747
### How Does It Work?
4848

49-
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/polkadot-stable2506/cumulus/xcm/xcm-emulator/src/lib.rs){target=\_blank}. The most important macros are:
49+
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/polkadot-stable2506-2/cumulus/xcm/xcm-emulator/src/lib.rs){target=\_blank}. The most important macros are:
5050

51-
- **[`decl_test_relay_chains`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506/cumulus/xcm/xcm-emulator/src/lib.rs#L361){target=\_blank}**: Defines runtime and configuration for the relay chains. Example:
51+
- **[`decl_test_relay_chains`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506-2/cumulus/xcm/xcm-emulator/src/lib.rs#L361){target=\_blank}**: Defines runtime and configuration for the relay chains. Example:
5252

5353
```rust
5454
decl_test_relay_chains! {
@@ -74,7 +74,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
7474
}
7575
```
7676

77-
- **[`decl_test_parachains`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506/cumulus/xcm/xcm-emulator/src/lib.rs#L596){target=\_blank}**: Defines runtime and configuration for parachains. Example:
77+
- **[`decl_test_parachains`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506-2/cumulus/xcm/xcm-emulator/src/lib.rs#L596){target=\_blank}**: Defines runtime and configuration for parachains. Example:
7878

7979
```rust
8080
decl_test_parachains! {
@@ -105,7 +105,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
105105
}
106106
```
107107

108-
- **[`decl_test_bridges`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506/cumulus/xcm/xcm-emulator/src/lib.rs#L1221){target=\_blank}**: Creates bridges between chains, specifying the source, target, and message handler. Example:
108+
- **[`decl_test_bridges`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506-2/cumulus/xcm/xcm-emulator/src/lib.rs#L1221){target=\_blank}**: Creates bridges between chains, specifying the source, target, and message handler. Example:
109109

110110
```rust
111111
decl_test_bridges! {
@@ -122,7 +122,7 @@ The `xcm-emulator` provides macros for defining a mocked testing environment. Ch
122122
}
123123
```
124124

125-
- **[`decl_test_networks`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506/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:
125+
- **[`decl_test_networks`](https://github.com/paritytech/polkadot-sdk/blob/polkadot-stable2506-2/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:
126126

127127
```rust
128128
decl_test_networks! {
@@ -146,4 +146,4 @@ By leveraging these macros, developers can customize their testing networks by d
146146

147147
This framework enables thorough testing of runtime and cross-chain interactions, enabling developers to effectively design, test, and optimize cross-chain functionality.
148148

149-
To see a complete example of implementing and executing tests, refer to the [integration tests](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506/cumulus/parachains/integration-tests/emulated){target=\_blank} in the Polkadot SDK repository.
149+
To see a complete example of implementing and executing tests, refer to the [integration tests](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/cumulus/parachains/integration-tests/emulated){target=\_blank} in the Polkadot SDK repository.

0 commit comments

Comments
 (0)