Skip to content

Commit 813721a

Browse files
committed
refactored according to feedback
1 parent 9cff834 commit 813721a

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

llms.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33054,11 +33054,11 @@ metadata-hash = ["substrate-wasm-builder/metadata-hash"]
3305433054
on-chain-release-build = ["metadata-hash"]
3305533055
```
3305633056

33057-
Update your root parachain template's `Cargo.toml` file to include you custom pallet as dependency. Follow these steps:
33057+
Update your root parachain template's `Cargo.toml` file to include your custom pallet as a dependency. Follow these steps:
3305833058

3305933059
1. Open the `./Cargo.toml` file and locate the `[workspace]` section.
3306033060

33061-
Make sure the custom-pallet is a member of the workspace:
33061+
Make sure the `custom-pallet` is a member of the workspace:
3306233062

3306333063
```toml hl_lines="4" title="Cargo.toml"
3306433064
[workspace]
@@ -34654,10 +34654,10 @@ For comprehensive information about benchmarking concepts, refer to the [Benchma
3465434654

3465534655
Follow these steps to prepare your environment for pallet benchmarking:
3465634656

34657-
1. Install the [`frame-omni-bencher`](https://crates.io/crates/frame-omni-bencher/{{dependencies.repositories.polkadot_sdk_parachain_template.frame_omni_bencher_version}}){target=\_blank} command-line tool:
34657+
1. Install the [`frame-omni-bencher`](https://crates.io/crates/frame-omni-bencher/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.frame_omni_bencher_version}}){target=\_blank} command-line tool:
3465834658

3465934659
```bash
34660-
cargo install --locked frame-omni-bencher@{{dependencies.repositories.polkadot_sdk_parachain_template.frame_omni_bencher_version}}
34660+
cargo install --locked frame-omni-bencher@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.frame_omni_bencher_version}}
3466134661
```
3466234662

3466334663
2. Update your pallet's `Cargo.toml` file in the `pallets/custom-pallet` directory by adding the `runtime-benchmarks` feature flag:
@@ -34710,7 +34710,7 @@ runtime-benchmarks = ["frame/runtime-benchmarks"]
3471034710
```
3471134711

3471234712
4. Set up the benchmarking module in your pallet:
34713-
1. Create a benchmarking.rs file in your pallet's src/ directory:
34713+
1. Create a `benchmarking.rs` file in your pallet's `src/` directory:
3471434714
```bash
3471534715
touch benchmarking.rs
3471634716
```
@@ -36068,22 +36068,22 @@ rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
3606836068

3606936069
This tutorial requires two essential tools:
3607036070

36071-
- [**Chain spec builder**](https://crates.io/crates/staging-chain-spec-builder/{{dependencies.repositories.polkadot_sdk_parachain_template.chain_spec_builder_version}}){target=\_blank} - is a Polkadot SDK utility for generating chain specifications. Refer to the [Generate Chain Specs](/develop/parachains/deployment/generate-chain-specs/){target=\_blank} documentation for detailed usage.
36071+
- [**Chain spec builder**](https://crates.io/crates/staging-chain-spec-builder/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.chain_spec_builder_version}}){target=\_blank} - is a Polkadot SDK utility for generating chain specifications. Refer to the [Generate Chain Specs](/develop/parachains/deployment/generate-chain-specs/){target=\_blank} documentation for detailed usage.
3607236072

3607336073
Install it by executing the following command:
3607436074

3607536075
```bash
36076-
cargo install --locked staging-chain-spec-builder@{{dependencies.repositories.polkadot_sdk_parachain_template.chain_spec_builder_version}}
36076+
cargo install --locked staging-chain-spec-builder@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.chain_spec_builder_version}}
3607736077
```
3607836078

3607936079
This installs the `chain-spec-builder` binary.
3608036080

36081-
- [**Polkadot Omni Node**](https://crates.io/crates/polkadot-omni-node/{{dependencies.crates.polkadot_omni_node.version}}){target=\_blank} - is a white-labeled binary, released as a part of Polkadot SDK that can act as the collator of a parachain in production, with all the related auxiliary functionalities that a normal collator node has: RPC server, archiving state, etc. Moreover, it can also run the wasm blob of the parachain locally for testing and development.
36081+
- [**Polkadot Omni Node**](https://crates.io/crates/polkadot-omni-node/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.polkadot_omni_node_version}}){target=\_blank} - is a white-labeled binary, released as a part of Polkadot SDK that can act as the collator of a parachain in production, with all the related auxiliary functionalities that a normal collator node has: RPC server, archiving state, etc. Moreover, it can also run the wasm blob of the parachain locally for testing and development.
3608236082

3608336083
To install it, run the following command:
3608436084

3608536085
```bash
36086-
cargo install --locked polkadot-omni-node@{{dependencies.repositories.polkadot_sdk_parachain_template.polkadot_omni_node_version}}
36086+
cargo install --locked polkadot-omni-node@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.polkadot_omni_node_version}}
3608736087
```
3608836088

3608936089
This installs the `polkadot-omni-node` binary.

tutorials/polkadot-sdk/parachains/zero-to-hero/pallet-benchmarking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ For comprehensive information about benchmarking concepts, refer to the [Benchma
2424

2525
Follow these steps to prepare your environment for pallet benchmarking:
2626

27-
1. Install the [`frame-omni-bencher`](https://crates.io/crates/frame-omni-bencher/{{dependencies.repositories.polkadot_sdk_parachain_template.frame_omni_bencher_version}}){target=\_blank} command-line tool:
27+
1. Install the [`frame-omni-bencher`](https://crates.io/crates/frame-omni-bencher/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.frame_omni_bencher_version}}){target=\_blank} command-line tool:
2828

2929
```bash
30-
cargo install --locked frame-omni-bencher@{{dependencies.repositories.polkadot_sdk_parachain_template.frame_omni_bencher_version}}
30+
cargo install --locked frame-omni-bencher@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.frame_omni_bencher_version}}
3131
```
3232

3333
2. Update your pallet's `Cargo.toml` file in the `pallets/custom-pallet` directory by adding the `runtime-benchmarks` feature flag:
@@ -47,7 +47,7 @@ Follow these steps to prepare your environment for pallet benchmarking:
4747
```
4848

4949
4. Set up the benchmarking module in your pallet:
50-
1. Create a benchmarking.rs file in your pallet's src/ directory:
50+
1. Create a `benchmarking.rs` file in your pallet's `src/` directory:
5151
```bash
5252
touch benchmarking.rs
5353
```

tutorials/polkadot-sdk/parachains/zero-to-hero/set-up-a-template.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ rustup component add rust-src --toolchain 1.86-aarch64-apple-darwin
4444

4545
This tutorial requires two essential tools:
4646

47-
- [**Chain spec builder**](https://crates.io/crates/staging-chain-spec-builder/{{dependencies.repositories.polkadot_sdk_parachain_template.chain_spec_builder_version}}){target=\_blank} - is a Polkadot SDK utility for generating chain specifications. Refer to the [Generate Chain Specs](/develop/parachains/deployment/generate-chain-specs/){target=\_blank} documentation for detailed usage.
47+
- [**Chain spec builder**](https://crates.io/crates/staging-chain-spec-builder/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.chain_spec_builder_version}}){target=\_blank} - is a Polkadot SDK utility for generating chain specifications. Refer to the [Generate Chain Specs](/develop/parachains/deployment/generate-chain-specs/){target=\_blank} documentation for detailed usage.
4848

4949
Install it by executing the following command:
5050

5151
```bash
52-
cargo install --locked staging-chain-spec-builder@{{dependencies.repositories.polkadot_sdk_parachain_template.chain_spec_builder_version}}
52+
cargo install --locked staging-chain-spec-builder@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.chain_spec_builder_version}}
5353
```
5454

5555
This installs the `chain-spec-builder` binary.
5656

57-
- [**Polkadot Omni Node**](https://crates.io/crates/polkadot-omni-node/{{dependencies.crates.polkadot_omni_node.version}}){target=\_blank} - is a white-labeled binary, released as a part of Polkadot SDK that can act as the collator of a parachain in production, with all the related auxiliary functionalities that a normal collator node has: RPC server, archiving state, etc. Moreover, it can also run the wasm blob of the parachain locally for testing and development.
57+
- [**Polkadot Omni Node**](https://crates.io/crates/polkadot-omni-node/{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.polkadot_omni_node_version}}){target=\_blank} - is a white-labeled binary, released as a part of Polkadot SDK that can act as the collator of a parachain in production, with all the related auxiliary functionalities that a normal collator node has: RPC server, archiving state, etc. Moreover, it can also run the wasm blob of the parachain locally for testing and development.
5858

5959
To install it, run the following command:
6060

6161
```bash
62-
cargo install --locked polkadot-omni-node@{{dependencies.repositories.polkadot_sdk_parachain_template.polkadot_omni_node_version}}
62+
cargo install --locked polkadot-omni-node@{{dependencies.repositories.polkadot_sdk_parachain_template.subdependencies.polkadot_omni_node_version}}
6363
```
6464

6565
This installs the `polkadot-omni-node` binary.

0 commit comments

Comments
 (0)