Skip to content

Commit 974c432

Browse files
committed
Merge remote-tracking branch 'origin' into 0xlukem/card-styling
2 parents 52310a5 + 552e509 commit 974c432

16 files changed

+355
-372
lines changed

.ai/categories/basics.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
159159
3. In the `[features]` section, add the custom pallet to the `std` feature list:
160160

161161
```toml hl_lines="5" title="Cargo.toml"
162-
162+
[features]
163+
default = ["std"]
164+
std = [
163165
...
164-
166+
"custom-pallet/std",
165167
...
166168
]
167169
```

.ai/categories/dapps.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/categories/infrastructure.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/categories/networks.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/categories/parachains.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
557557
3. In the `[features]` section, add the custom pallet to the `std` feature list:
558558

559559
```toml hl_lines="5" title="Cargo.toml"
560-
560+
[features]
561+
default = ["std"]
562+
std = [
561563
...
562-
564+
"custom-pallet/std",
563565
...
564566
]
565567
```
@@ -5067,6 +5069,12 @@ To create a plain chain specification, first ensure that the runtime has been co
50675069
chain-spec-builder create -r INSERT_RUNTIME_WASM_PATH INSERT_COMMAND
50685070
```
50695071

5072+
To generate your chain specification in a specific directory, use the `--chain-spec-path` flag:
5073+
5074+
```bash
5075+
chain-spec-builder --chain-spec-path INSERT_OUTPUT_PATH create -r INSERT_RUNTIME_WASM_PATH INSERT_COMMAND
5076+
```
5077+
50705078
Replace `INSERT_RUNTIME_WASM_PATH` with the path to the runtime Wasm file and `INSERT_COMMAND` with the command to insert the runtime into the chain specification.
50715079

50725080
The available commands are:

.ai/categories/polkadot-protocol.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/categories/smart-contracts.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/categories/tooling.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
160160
3. In the `[features]` section, add the custom pallet to the `std` feature list:
161161

162162
```toml hl_lines="5" title="Cargo.toml"
163-
163+
[features]
164+
default = ["std"]
165+
std = [
164166
...
165-
167+
"custom-pallet/std",
166168
...
167169
]
168170
```

.ai/pages/develop-parachains-deployment-generate-chain-specs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ To create a plain chain specification, first ensure that the runtime has been co
102102
chain-spec-builder create -r INSERT_RUNTIME_WASM_PATH INSERT_COMMAND
103103
```
104104

105+
To generate your chain specification in a specific directory, use the `--chain-spec-path` flag:
106+
107+
```bash
108+
chain-spec-builder --chain-spec-path INSERT_OUTPUT_PATH create -r INSERT_RUNTIME_WASM_PATH INSERT_COMMAND
109+
```
110+
105111
Replace `INSERT_RUNTIME_WASM_PATH` with the path to the runtime Wasm file and `INSERT_COMMAND` with the command to insert the runtime into the chain specification.
106112

107113
The available commands are:

.ai/pages/tutorials-polkadot-sdk-parachains-zero-to-hero-add-pallets-to-runtime.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ First, you'll update the runtime's `Cargo.toml` file to include the Utility pall
3939
3. In the `[features]` section, add the custom pallet to the `std` feature list:
4040

4141
```toml hl_lines="5" title="Cargo.toml"
42-
42+
[features]
43+
default = ["std"]
44+
std = [
4345
...
44-
46+
"custom-pallet/std",
4547
...
4648
]
4749
```

0 commit comments

Comments
 (0)