Skip to content

Commit

Permalink
Introduce chain-spec-generator and document Weight Generation proce…
Browse files Browse the repository at this point in the history
…ss (#127)

Closes #50

- Adds the `chain-spec-generator` from
#78 and
#81, updated to work
with `master`.
- Adds detailed instructions to the `README.md` for generating weights
for fellowship runtimes

I am currently generating weights and will add them in a seperate PR
when they are ready.

TODO
- [x] Add step for checking weight outputs using
https://github.com/ggwpez/substrate-weight-compare in readme
- [ ] Fix encointer chain spec defaults, or open new issue for it

### Why not use the `polkadot-sdk` generic chain-spec-builder?

The genesis state configs generated by this CLI are unusable for
benchmarking, due to poor defaults. We need better defaults for our
pallet genesis state before we can use this CLI. See also
paritytech/polkadot-sdk#2713.

---------

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Co-authored-by: NachoPal <[email protected]>
Co-authored-by: Svyatoslav Nikolsky <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
8 people authored Jan 17, 2024
1 parent 6334588 commit 7515fc0
Show file tree
Hide file tree
Showing 10 changed files with 1,814 additions and 95 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]

### Added

- Introduce chain spec generator ([polkadot-fellows/runtimes#127](https://github.com/polkadot-fellows/runtimes/pull/127))
- Add [Encointer](https://encointer.org) system parachain runtime, completing [RFC22](https://github.com/polkadot-fellows/RFCs/blob/main/text/0022-adopt-encointer-runtime.md) ([polkadot-fellows/runtimes#80](https://github.com/polkadot-fellows/runtimes/pull/80))

## [1.1.0] 10.01.2024
Expand Down
Loading

0 comments on commit 7515fc0

Please sign in to comment.