Rococo & Westend People Chain (#2281)

Rococo and Westend runtimes for the "People Chain". This chain contains
the Identity pallet with plans to migrate all related data from the
Relay Chain.

Changes `IdentityInfo` to:

- Remove `additional_fields`.
- Add `github` and `discord` as first class fields. From scraping chain
data, these were the only two additional fields used (for the Fellowship
and Ambassador Program, respectively).
- Rename `riot` to `matrix`.

Note: This will use the script in
https://github.com/paritytech/polkadot-sdk/pull/2025 to generate the
genesis state.

TODO:

- [x] https://github.com/paritytech/polkadot-sdk/pull/1814 and
integration of the Identity Migrator pallet for migration.
- [x] Tests: https://github.com/paritytech/polkadot-sdk/pull/2373

---------

Co-authored-by: Muharem <ismailov.m.h@gmail.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Co-authored-by: Dónal Murray <donal.murray@parity.io>
Co-authored-by: Richard Melkonian <35300528+0xmovses@users.noreply.github.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
This commit is contained in:
joe petrowski
2023-12-22 21:28:09 +01:00
committed by GitHub
parent 4c0e0e0713
commit ecbbb5a736
111 changed files with 12730 additions and 258 deletions
Generated
+222
View File
@@ -11353,6 +11353,7 @@ dependencies = [
"pallet-balances",
"pallet-collator-selection",
"pallet-message-queue",
"pallet-xcm",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-primitives",
@@ -11367,6 +11368,7 @@ dependencies = [
"staging-parachain-info",
"staging-xcm",
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"westend-runtime-constants",
]
@@ -11676,6 +11678,222 @@ dependencies = [
"substrate-wasm-builder",
]
[[package]]
name = "people-rococo-emulated-chain"
version = "0.1.0"
dependencies = [
"cumulus-primitives-core",
"emulated-integration-tests-common",
"frame-support",
"parachains-common",
"people-rococo-runtime",
"rococo-emulated-chain",
"serde_json",
"sp-core",
"sp-runtime",
]
[[package]]
name = "people-rococo-integration-tests"
version = "0.1.0"
dependencies = [
"assert_matches",
"asset-test-utils",
"emulated-integration-tests-common",
"frame-support",
"pallet-asset-conversion",
"pallet-assets",
"pallet-balances",
"pallet-identity",
"pallet-message-queue",
"pallet-xcm",
"parachains-common",
"parity-scale-codec",
"penpal-runtime",
"people-rococo-runtime",
"polkadot-primitives",
"polkadot-runtime-common",
"rococo-runtime",
"rococo-runtime-constants",
"rococo-system-emulated-network",
"sp-runtime",
"staging-xcm",
"staging-xcm-executor",
]
[[package]]
name = "people-rococo-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"enumflags2",
"frame-benchmarking",
"frame-executive",
"frame-support",
"frame-system",
"frame-system-benchmarking",
"frame-system-rpc-runtime-api",
"frame-try-runtime",
"hex-literal",
"log",
"pallet-aura",
"pallet-authorship",
"pallet-balances",
"pallet-collator-selection",
"pallet-identity",
"pallet-message-queue",
"pallet-multisig",
"pallet-session",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-utility",
"pallet-xcm",
"pallet-xcm-benchmarks",
"parachains-common",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain-primitives",
"polkadot-runtime-common",
"rococo-runtime-constants",
"scale-info",
"serde",
"smallvec",
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
"sp-genesis-builder",
"sp-inherents",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std 8.0.0",
"sp-storage 13.0.0",
"sp-transaction-pool",
"sp-version",
"staging-parachain-info",
"staging-xcm",
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
]
[[package]]
name = "people-westend-emulated-chain"
version = "0.1.0"
dependencies = [
"cumulus-primitives-core",
"emulated-integration-tests-common",
"frame-support",
"parachains-common",
"people-westend-runtime",
"serde_json",
"sp-core",
"sp-runtime",
"westend-emulated-chain",
]
[[package]]
name = "people-westend-integration-tests"
version = "0.1.0"
dependencies = [
"assert_matches",
"asset-test-utils",
"emulated-integration-tests-common",
"frame-support",
"pallet-asset-conversion",
"pallet-assets",
"pallet-balances",
"pallet-identity",
"pallet-message-queue",
"pallet-xcm",
"parachains-common",
"parity-scale-codec",
"penpal-runtime",
"people-westend-runtime",
"polkadot-primitives",
"polkadot-runtime-common",
"sp-runtime",
"staging-xcm",
"staging-xcm-executor",
"westend-runtime",
"westend-runtime-constants",
"westend-system-emulated-network",
]
[[package]]
name = "people-westend-runtime"
version = "0.1.0"
dependencies = [
"cumulus-pallet-aura-ext",
"cumulus-pallet-dmp-queue",
"cumulus-pallet-parachain-system",
"cumulus-pallet-session-benchmarking",
"cumulus-pallet-xcm",
"cumulus-pallet-xcmp-queue",
"cumulus-primitives-core",
"cumulus-primitives-utility",
"enumflags2",
"frame-benchmarking",
"frame-executive",
"frame-support",
"frame-system",
"frame-system-benchmarking",
"frame-system-rpc-runtime-api",
"frame-try-runtime",
"hex-literal",
"log",
"pallet-aura",
"pallet-authorship",
"pallet-balances",
"pallet-collator-selection",
"pallet-identity",
"pallet-message-queue",
"pallet-multisig",
"pallet-session",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-transaction-payment-rpc-runtime-api",
"pallet-utility",
"pallet-xcm",
"pallet-xcm-benchmarks",
"parachains-common",
"parity-scale-codec",
"polkadot-core-primitives",
"polkadot-parachain-primitives",
"polkadot-runtime-common",
"scale-info",
"serde",
"smallvec",
"sp-api",
"sp-block-builder",
"sp-consensus-aura",
"sp-core",
"sp-genesis-builder",
"sp-inherents",
"sp-offchain",
"sp-runtime",
"sp-session",
"sp-std 8.0.0",
"sp-storage 13.0.0",
"sp-transaction-pool",
"sp-version",
"staging-parachain-info",
"staging-xcm",
"staging-xcm-builder",
"staging-xcm-executor",
"substrate-wasm-builder",
"westend-runtime-constants",
]
[[package]]
name = "percent-encoding"
version = "2.3.0"
@@ -12841,6 +13059,8 @@ dependencies = [
"parachains-common",
"parity-scale-codec",
"penpal-runtime",
"people-rococo-runtime",
"people-westend-runtime",
"polkadot-cli",
"polkadot-primitives",
"polkadot-service",
@@ -14700,6 +14920,7 @@ dependencies = [
"bridge-hub-rococo-emulated-chain",
"emulated-integration-tests-common",
"penpal-emulated-chain",
"people-rococo-emulated-chain",
"rococo-emulated-chain",
]
@@ -21304,6 +21525,7 @@ dependencies = [
"collectives-westend-emulated-chain",
"emulated-integration-tests-common",
"penpal-emulated-chain",
"people-westend-emulated-chain",
"westend-emulated-chain",
]