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 people polkadot genesis chainspec #5124

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,961 changes: 2,961 additions & 0 deletions cumulus/parachains/chain-specs/people-polkadot.json

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions cumulus/polkadot-parachain/src/chain_spec/people.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ impl PeopleRuntimeType {
PeopleRuntimeType::Kusama => Ok(Box::new(GenericChainSpec::from_json_bytes(
&include_bytes!("../../chain-specs/people-kusama.json")[..],
)?)),
PeopleRuntimeType::Polkadot =>
todo!("Generate chain-spec: ../../chain-specs/people-polkadot.json"),
PeopleRuntimeType::Polkadot => Ok(Box::new(GenericChainSpec::from_json_bytes(
&include_bytes!("../../chain-specs/people-polkadot.json")[..],
)?)),
PeopleRuntimeType::Rococo => Ok(Box::new(GenericChainSpec::from_json_bytes(
&include_bytes!("../../chain-specs/people-rococo.json")[..],
)?)),
Expand Down
20 changes: 20 additions & 0 deletions prdoc/pr_5124.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json

title: Add Polkadot Chain genesis chainspec

doc:
- audience: Node Operator
description: |
The Polkadot People Chain can now be run as all other system parachains without specifying a
chainspec. However this will soon be deprecated and `--chain ./chainspec.json` should continue
to be used instead.

- audience: Runtime User
description: |
The Polkadot People Chain chainspecs have been added to the polkadot-sdk repo and can now be
pulled from there along with all other system chains.

crates:
- name: polkadot-parachain-bin
bump: minor
Loading