Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding verbose rustdoc to diff between build-spec and chain-spec-builder #7698

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

seemantaggarwal
Copy link
Contributor

Follow up from #7619
Adding a more verbose rustdoc for guidance and difference between chain-spec-builder and build-spec commands under polkadot-omni-node

@seemantaggarwal seemantaggarwal added R0-silent Changes should not be mentioned in any release notes T9-cumulus This PR/Issue is related to cumulus. T11-documentation This PR/Issue is related to documentation. labels Feb 24, 2025
@seemantaggarwal seemantaggarwal self-assigned this Feb 24, 2025
@seemantaggarwal seemantaggarwal requested review from a team, iulianbarbu and skunert February 25, 2025 06:34
Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested some changes. If we're polishing the docs, I would change as part of this PR the polkadot-omni-node README and suggest there instead of installing chain-spec-builder standalone, to use the chain-spec-builder subcommand.

I would also change the parachain/minimal templates READMEs to rely on polkadot-omni-node chain-spec-builder instead of the standalone chain-spec-builder binary.

seemantaggarwal and others added 3 commits March 2, 2025 16:22
Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
Co-authored-by: Iulian Barbu <14218860+iulianbarbu@users.noreply.github.com>
/// pages:
/// - https://crates.io/crates/staging-chain-spec-builder
/// - https://docs.rs/staging-chain-spec-builder/latest/staging_chain_spec_builder/
/// ---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three dashes are leftover?

/// configurations, `chain-spec-builder` provides a more interactive and customizable approach
/// to defining a chain spec. It allows users to create specifications with additional
/// parameters and validation steps before finalizing the output.
/// `chain-spec-builder` subcommand corresponds to the existing `chain-spec-builder` tool
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// `chain-spec-builder` subcommand corresponds to the existing `chain-spec-builder` tool
///
/// A `chain-spec-builder` subcommand corresponds to the existing `chain-spec-builder` tool

@@ -72,6 +72,16 @@ pub enum Subcommand {
Key(sc_cli::KeySubcommand),

/// Build a chain specification.
/// The `build-spec` command relies on the chain specification built (hard-coded) into the node
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// The `build-spec` command relies on the chain specification built (hard-coded) into the node
///
/// The `build-spec` command relies on the chain specification built (hard-coded) into the node

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 0d97dbe

@seemantaggarwal
Copy link
Contributor Author

/cmd fmt

@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/13662471058
Failed job name: cargo-clippy

@seemantaggarwal seemantaggarwal added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 5, 2025
@seemantaggarwal seemantaggarwal added this pull request to the merge queue Mar 5, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T9-cumulus This PR/Issue is related to cumulus. T11-documentation This PR/Issue is related to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants