`chain-spec`/presets reference docs added (#4678)
Added reference doc about: - the pallet genesis config and genesis build, - runtime `genesis-builder` API, - presets, - interacting with the `chain-spec-builder` tool I've added [minimal runtime](https://github.com/paritytech/polkadot-sdk/tree/mku-chain-spec-guide/docs/sdk/src/reference_docs/chain_spec_runtime) to demonstrate above topics. I also sneaked in some little improvement to `chain-spec-builder` which allows to parse output of the `list-presets` command. --------- Co-authored-by:Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by:
Sebastian Kunert <skunert49@gmail.com>
parent
9b764923
Showing
- Cargo.lock 30 additions, 1 deletionCargo.lock
- Cargo.toml 1 addition, 0 deletionsCargo.toml
- docs/sdk/Cargo.toml 5 additions, 0 deletionsdocs/sdk/Cargo.toml
- docs/sdk/src/reference_docs/chain_spec_genesis.rs 184 additions, 3 deletionsdocs/sdk/src/reference_docs/chain_spec_genesis.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml 71 additions, 0 deletionsdocs/sdk/src/reference_docs/chain_spec_runtime/Cargo.toml
- docs/sdk/src/reference_docs/chain_spec_runtime/build.rs 23 additions, 0 deletionsdocs/sdk/src/reference_docs/chain_spec_runtime/build.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/src/lib.rs 27 additions, 0 deletionsdocs/sdk/src/reference_docs/chain_spec_runtime/src/lib.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs 137 additions, 0 deletions.../sdk/src/reference_docs/chain_spec_runtime/src/pallets.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/src/presets.rs 166 additions, 0 deletions.../sdk/src/reference_docs/chain_spec_runtime/src/presets.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs 122 additions, 0 deletions.../sdk/src/reference_docs/chain_spec_runtime/src/runtime.rs
- docs/sdk/src/reference_docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs 129 additions, 0 deletions...docs/chain_spec_runtime/tests/chain_spec_builder_tests.rs
- docs/sdk/src/reference_docs/mod.rs 0 additions, 1 deletiondocs/sdk/src/reference_docs/mod.rs
- substrate/bin/utils/chain-spec-builder/Cargo.toml 1 addition, 1 deletionsubstrate/bin/utils/chain-spec-builder/Cargo.toml
- substrate/bin/utils/chain-spec-builder/bin/main.rs 1 addition, 1 deletionsubstrate/bin/utils/chain-spec-builder/bin/main.rs
- substrate/client/chain-spec/src/lib.rs 8 additions, 4 deletionssubstrate/client/chain-spec/src/lib.rs
Please register or sign in to comment