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

Add coretime chainspecs for kusama and polkadot and presets for live chains #4

Merged
merged 17 commits into from
Aug 14, 2024

Conversation

seadanda
Copy link
Owner

@seadanda seadanda commented Aug 6, 2024

Add the invulnerables set directly to the preset and generate chain-specs for the "live" (production) networks directly from the chain-spec-builder instead of using a bash script to post-process these from generated local chain-specs.

Kusama is added here for completeness and a sanity check with the original genesis chain-specs.

Note that the SS58 prefix is ignored when generating the chainspecs, as noted in paritytech/polkadot-sdk#5271

This can be used as a merge target for community boot nodes for the Polkadot Coretime chain to be added before genesis by adding your server to the array in the coretime_polkadot_config:

@seadanda seadanda marked this pull request as ready for review August 13, 2024 16:51
seadanda and others added 2 commits August 13, 2024 18:40
Add the Polkadot Coretime chain in advance of the 1.3.0 release.

This uses the new Price adapter which has been running on Kusama now for
two sales cycles, and includes the mechanism to burn revenue.

TODO:
- [x] Add Transact tests for hardcoded weights after
polkadot-fellows#401 is merged
- [ ] Rerun benchmarks and check hardcoded weights after merge

The genesis chain-spec is developing on
#4. This can be used as a merge
target for any community boot nodes who would like to be included at
genesis and will be separately merged to `main`.

---------

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
fellowship-merge-bot bot added a commit to polkadot-fellows/runtimes that referenced this pull request Aug 14, 2024
…chains (#432)

Add the invulnerables set directly to the preset and generate
chain-specs for the "live" (production) networks directly from the
`chain-spec-builder` instead of using a bash script to post-process
these from generated local chain-specs.

The Kusama Coretime Chain is added here for completeness and a sanity
check with the original genesis chain-specs.

Note that the SS58 prefix is ignored when generating the chain-specs, as
noted in paritytech/polkadot-sdk#5271

Supersedes seadanda#4 since it seems
you can't change the target branch of a PR across forks.

Note that this branch was made from the tip of another, so the commit
history includes changes from that branch.

---------

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: Tom <[email protected]>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
@seadanda seadanda merged commit 128d0a5 into donal-coretime-polkadot Aug 14, 2024
46 checks passed
@seadanda seadanda deleted the donal-coretime-chain-specs branch August 14, 2024 18:16
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.

4 participants