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

Extend chain spec generator for System Parachains #81

Conversation

NachoPal
Copy link
Contributor

@NachoPal NachoPal commented Nov 1, 2023

@bkchr Extend chain spec generator #78 for System Parachains

@NachoPal NachoPal changed the title Extend chain spec generator for System parachains Extend chain spec generator for System Parachains Nov 1, 2023
Copy link
Contributor

@bkchr bkchr left a comment

Choose a reason for hiding this comment

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

Some nitpicks, otherwise it should be fine

chain-spec-generator/src/system_parachains_specs.rs Outdated Show resolved Hide resolved
@NachoPal
Copy link
Contributor Author

NachoPal commented Nov 9, 2023

@bkchr Comments addressed

@bkontur
Copy link
Contributor

bkontur commented Nov 16, 2023

@NachoPal
at least for running benchmarks, we should enable runtime-benchmarks feature for system parachains like here: #91

I just tried benchmarks for kusama on Basti's PR and also @svyatonik maybe has other fixes for system paras?

@svyatonik
Copy link
Contributor

@NachoPal at least for running benchmarks, we should enable runtime-benchmarks feature for system parachains like here: #91

I just tried benchmarks for kusama on Basti's PR and also @svyatonik maybe has other fixes for system paras?

I have this: NachoPal#1 :)

@bkchr
Copy link
Contributor

bkchr commented Dec 8, 2023

Ty! But we also don't need this anymore with the GenesisBuilder runtime api.

@bkchr bkchr closed this Dec 8, 2023
bkchr added a commit that referenced this pull request Jan 17, 2024
…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 <info@kchr.de>
Co-authored-by: Javier Viola <javier@parity.io>
Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants