Skip to content

Commit

Permalink
Add people-polkadot base chainspec
Browse files Browse the repository at this point in the history
  • Loading branch information
seadanda committed Jun 28, 2024
1 parent ccb76e3 commit e601aef
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 2 deletions.
90 changes: 90 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 @@ -62,8 +62,9 @@ impl PeopleRuntimeType {
match self {
PeopleRuntimeType::Kusama =>
todo!("Update chain-spec: ../../chain-specs/people-kusama.json - https://github.com/paritytech/polkadot-sdk/pull/3961#issuecomment-2037438431"),
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

0 comments on commit e601aef

Please sign in to comment.