Repot all templates into a single directory (#3460)
The first step towards https://github.com/paritytech/polkadot-sdk/issues/3155 Brings all templates under the following structure ``` templates | parachain | | polkadot-launch | | runtime --> parachain-template-runtime | | pallets --> pallet-parachain-template | | node --> parachain-template-node | minimal | | runtime --> minimal-template-runtime | | pallets --> pallet-minimal-template | | node --> minimal-template-node | solochain | | runtime --> solochain-template-runtime | | pallets --> pallet-template (the naming is not consistent here) | | node --> solochain-template-node ``` The only note-worthy changes in this PR are: - More `Cargo.toml` fields are forwarded to use the one from the workspace. - parachain template now has weights and benchmarks - adds a shell pallet to the minimal template - remove a few unused deps A list of possible follow-ups: - [ ] Unify READMEs, create a parent README for all - [ ] remove references to `docs.substrate.io` in templates - [ ] make all templates use `#[derive_impl]` - [ ] update and unify all licenses - [ ] Remove polkadot launch, use https://github.com/paritytech/polkadot-sdk/blob/35349df9/cumulus/zombienet/examples/small_network.toml instead.
parent
a71f018c
Pipeline
#452201
passed
with stages
in
44 minutes and 26 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- .github/scripts/check-workspace.py 11 additions, 11 deletions.github/scripts/check-workspace.py
- .github/workflows/check-licenses.yml 0 additions, 1 deletion.github/workflows/check-licenses.yml
- .gitlab/pipeline/build.yml 1 addition, 1 deletion.gitlab/pipeline/build.yml
- Cargo.lock 100 additions, 95 deletionsCargo.lock
- Cargo.toml 13 additions, 8 deletionsCargo.toml
- cumulus/parachain-template/pallets/template/README.md 0 additions, 1 deletioncumulus/parachain-template/pallets/template/README.md
- cumulus/parachain-template/pallets/template/src/benchmarking.rs 0 additions, 20 deletions...s/parachain-template/pallets/template/src/benchmarking.rs
- prdoc/pr_3460.prdoc 26 additions, 0 deletionsprdoc/pr_3460.prdoc
- substrate/bin/minimal/node/Cargo.toml 0 additions, 60 deletionssubstrate/bin/minimal/node/Cargo.toml
- substrate/bin/node-template/.editorconfig 0 additions, 16 deletionssubstrate/bin/node-template/.editorconfig
- substrate/bin/node-template/env-setup/.envrc 0 additions, 1 deletionsubstrate/bin/node-template/env-setup/.envrc
- substrate/bin/node-template/node/Cargo.toml 0 additions, 93 deletionssubstrate/bin/node-template/node/Cargo.toml
- substrate/frame/Cargo.toml 9 additions, 4 deletionssubstrate/frame/Cargo.toml
- substrate/frame/examples/default-config/src/lib.rs 1 addition, 1 deletionsubstrate/frame/examples/default-config/src/lib.rs
- substrate/frame/system/src/lib.rs 1 addition, 1 deletionsubstrate/frame/system/src/lib.rs
- templates/minimal/README.md 0 additions, 0 deletionstemplates/minimal/README.md
- templates/minimal/node/Cargo.toml 62 additions, 0 deletionstemplates/minimal/node/Cargo.toml
- templates/minimal/node/build.rs 0 additions, 0 deletionstemplates/minimal/node/build.rs
- templates/minimal/node/src/chain_spec.rs 0 additions, 0 deletionstemplates/minimal/node/src/chain_spec.rs
- templates/minimal/node/src/cli.rs 0 additions, 0 deletionstemplates/minimal/node/src/cli.rs
Please register or sign in to comment