Skip to content

Commit

Permalink
Repot all templates into a single directory (paritytech#3460)
Browse files Browse the repository at this point in the history
The first step towards
paritytech#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/35349df993ea2e7c4769914ef5d199e787b23d4c/cumulus/zombienet/examples/small_network.toml
instead.
  • Loading branch information
kianenigma authored Mar 5, 2024
1 parent f6cd78c commit d195199
Show file tree
Hide file tree
Showing 43 changed files with 11 additions and 3,788 deletions.
60 changes: 0 additions & 60 deletions substrate/bin/minimal/node/Cargo.toml

This file was deleted.

23 changes: 0 additions & 23 deletions substrate/bin/minimal/node/build.rs

This file was deleted.

55 changes: 0 additions & 55 deletions substrate/bin/minimal/node/src/chain_spec.rs

This file was deleted.

81 changes: 0 additions & 81 deletions substrate/bin/minimal/node/src/cli.rs

This file was deleted.

126 changes: 0 additions & 126 deletions substrate/bin/minimal/node/src/command.rs

This file was deleted.

21 changes: 0 additions & 21 deletions substrate/bin/minimal/node/src/lib.rs

This file was deleted.

Loading

0 comments on commit d195199

Please sign in to comment.