-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rococo & Westend People Chain #2281
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
Merged
Merged
Changes from 21 commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
7c147e5
people node
joepetrowski da57ca2
fmt
joepetrowski 5f247a9
runtimes
joepetrowski 245b0bf
with trailing topic
joepetrowski 5379f08
add identity pallet
joepetrowski 5307a34
use fn deposit
joepetrowski 97e8da4
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 75f6f3d
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 329fc60
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski d48df8f
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 475d4f0
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 2904475
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 4c828df
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski d14c6a3
add chainspec generation scripts
joepetrowski c5bf431
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 195f209
remove polkadot and kusama
joepetrowski e2f1b1b
fix build after merge
joepetrowski ba6e778
add new identity info
joepetrowski 1a62aee
fix
joepetrowski c2f0728
merge master
joepetrowski 83d0d60
updates for Message Queue and charging for IdentityInfo bytes
joepetrowski 6ee265f
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski b5c9ca5
update for chain spec changes (1256)
joepetrowski ffe049e
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski eada8b3
add new config to westend
joepetrowski fa4e4e6
teleport slashed funds to relay treasury account
joepetrowski 316d16b
remove kusama and polkadot chainspecs
joepetrowski d1a50b1
apache 2 license in runtime
joepetrowski 7ad3273
zepter
joepetrowski fbefc83
add sp_std prelude
joepetrowski 3ad640f
Get for benchmarks
joepetrowski 5e9a6bf
Apply suggestions from code review
joepetrowski 91bf984
remove TypeInfo, block calls for migration, set trusted teleporters t…
joepetrowski 6af48da
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 939448d
add migrator
joepetrowski d609846
merge master
joepetrowski affa9cd
move ToParentTreasury
joepetrowski 7a29719
benchmark xcm updates
joepetrowski 5cd43d1
merge master
joepetrowski b6e7ec5
clippy
joepetrowski 1101a48
combine match arms
joepetrowski 24a952f
merge master again
joepetrowski 46c6939
add chain spec files
joepetrowski 3005ab3
fix build
joepetrowski 080c964
sp-genesis-builder implemented for runtimes
michalkucharczyk 7ee3270
use right GenericChainSpec
michalkucharczyk b663874
chain specs fields paths corrected in script
michalkucharczyk 805e238
chain specs fields paths corrected in script (westend)
michalkucharczyk 4652729
merge michal's fix
joepetrowski f0156d4
lock
joepetrowski a310f50
Update cumulus/scripts/create_people_rococo_spec.sh
joepetrowski 0ce870d
make chain specs
joepetrowski ecd18a1
Merge branch 'master' into joe-people-chain
joepetrowski 9be05ed
delete chainspecs that should have been symlinks
joepetrowski 1219feb
add symlinks
joepetrowski 2110e45
delete again
joepetrowski c070173
relative
joepetrowski 3bfd0bc
Merge branch 'master' into joe-people-chain
seadanda 406548b
Merge branch 'master' into joe-people-chain
joepetrowski 07e3d3e
donal's feedback
joepetrowski 456f2f3
merge master
joepetrowski 11de1c2
taplo
joepetrowski f46d8a0
make westend relay work with people
joepetrowski 38e6b97
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 2ae94b1
fix authority-discovery toml
joepetrowski 39e7e45
prdoc
joepetrowski d186f73
Create xcm emulator tests for People-Rococo (#2373)
0xmovses ec2be5b
add emulator tests for westend
joepetrowski d1baffd
Merge remote-tracking branch 'origin' into joe-people-chain (rust 1.74)
joepetrowski c32b5e3
new xcm weight
joepetrowski cfd3977
fix ah tests
joepetrowski bd06c79
merge master
joepetrowski 837ce6c
Merge remote-tracking branch 'origin' into joe-people-chain
joepetrowski 79397d3
update to master
joepetrowski c773a32
fix clippy
joepetrowski cd9624d
make clippy happy (i think)
joepetrowski 50ef8df
merge master
joepetrowski 16d233c
weights
joepetrowski 46e8aa6
check interior sibling is para
joepetrowski cf9ca22
add real FeeManager impl
joepetrowski 8ff8262
unpaid ToParentTreasury
joepetrowski ed93d11
merge master
joepetrowski 7adfb26
format
joepetrowski 15808f5
remove xcm-emulator-testing feature
muharem b641048
remove debug code
muharem 8c6a82e
merge master
joepetrowski 6508782
fix build
joepetrowski File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # People System Chain | ||
|
|
||
| The People Chain. | ||
185 changes: 185 additions & 0 deletions
185
cumulus/parachains/runtimes/people/people-rococo/Cargo.toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,185 @@ | ||
| [package] | ||
| name = "people-rococo-runtime" | ||
| version = "1.0.0" | ||
joepetrowski marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| authors.workspace = true | ||
| edition.workspace = true | ||
| description = "Rococo's People parachain runtime" | ||
|
|
||
joepetrowski marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| [build-dependencies] | ||
| substrate-wasm-builder = { path = "../../../../../substrate/utils/wasm-builder", optional = true } | ||
|
|
||
| [dependencies] | ||
| codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } | ||
| enumflags2 = { version = "0.7.7" } | ||
| hex-literal = { version = "0.4.1" } | ||
| log = { version = "0.4.20", default-features = false } | ||
| scale-info = { version = "2.9.0", default-features = false, features = ["derive"] } | ||
| serde = { version = "1.0.171", optional = true, features = ["derive"] } | ||
| smallvec = "1.11.0" | ||
|
|
||
| # Substrate | ||
| frame-benchmarking = { path = "../../../../../substrate/frame/benchmarking", default-features = false, optional = true} | ||
| frame-executive = { path = "../../../../../substrate/frame/executive", default-features = false} | ||
| frame-support = { path = "../../../../../substrate/frame/support", default-features = false} | ||
| frame-system = { path = "../../../../../substrate/frame/system", default-features = false} | ||
| frame-system-benchmarking = { path = "../../../../../substrate/frame/system/benchmarking", default-features = false, optional = true} | ||
| frame-system-rpc-runtime-api = { path = "../../../../../substrate/frame/system/rpc/runtime-api", default-features = false} | ||
| frame-try-runtime = { path = "../../../../../substrate/frame/try-runtime", default-features = false, optional = true} | ||
| pallet-aura = { path = "../../../../../substrate/frame/aura", default-features = false} | ||
| pallet-authorship = { path = "../../../../../substrate/frame/authorship", default-features = false} | ||
| pallet-balances = { path = "../../../../../substrate/frame/balances", default-features = false} | ||
| pallet-identity = { path = "../../../../../substrate/frame/identity", default-features = false} | ||
| pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false} | ||
| pallet-multisig = { path = "../../../../../substrate/frame/multisig", default-features = false} | ||
| pallet-session = { path = "../../../../../substrate/frame/session", default-features = false} | ||
| pallet-timestamp = { path = "../../../../../substrate/frame/timestamp", default-features = false} | ||
| pallet-transaction-payment = { path = "../../../../../substrate/frame/transaction-payment", default-features = false} | ||
| pallet-transaction-payment-rpc-runtime-api = { path = "../../../../../substrate/frame/transaction-payment/rpc/runtime-api", default-features = false} | ||
| pallet-utility = { path = "../../../../../substrate/frame/utility", default-features = false} | ||
| sp-api = { path = "../../../../../substrate/primitives/api", default-features = false} | ||
| sp-block-builder = { path = "../../../../../substrate/primitives/block-builder", default-features = false} | ||
| sp-consensus-aura = { path = "../../../../../substrate/primitives/consensus/aura", default-features = false} | ||
| sp-core = { path = "../../../../../substrate/primitives/core", default-features = false} | ||
| sp-inherents = { path = "../../../../../substrate/primitives/inherents", default-features = false} | ||
| sp-offchain = { path = "../../../../../substrate/primitives/offchain", default-features = false} | ||
| sp-runtime = { path = "../../../../../substrate/primitives/runtime", default-features = false} | ||
| sp-session = { path = "../../../../../substrate/primitives/session", default-features = false} | ||
| sp-std = { path = "../../../../../substrate/primitives/std", default-features = false} | ||
| sp-storage = { path = "../../../../../substrate/primitives/storage", default-features = false} | ||
| sp-transaction-pool = { path = "../../../../../substrate/primitives/transaction-pool", default-features = false} | ||
| sp-version = { path = "../../../../../substrate/primitives/version", default-features = false} | ||
|
|
||
| # Polkadot | ||
| pallet-xcm = { path = "../../../../../polkadot/xcm/pallet-xcm", default-features = false} | ||
| pallet-xcm-benchmarks = { path = "../../../../../polkadot/xcm/pallet-xcm-benchmarks", default-features = false, optional = true } | ||
| polkadot-core-primitives = { path = "../../../../../polkadot/core-primitives", default-features = false} | ||
| polkadot-parachain-primitives = { path = "../../../../../polkadot/parachain", default-features = false} | ||
| polkadot-runtime-common = { path = "../../../../../polkadot/runtime/common", default-features = false} | ||
| xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false} | ||
| xcm-builder = { package = "staging-xcm-builder", path = "../../../../../polkadot/xcm/xcm-builder", default-features = false} | ||
| xcm-executor = { package = "staging-xcm-executor", path = "../../../../../polkadot/xcm/xcm-executor", default-features = false} | ||
|
|
||
| # Cumulus | ||
| cumulus-pallet-aura-ext = { path = "../../../../pallets/aura-ext", default-features = false } | ||
| cumulus-pallet-dmp-queue = { path = "../../../../pallets/dmp-queue", default-features = false } | ||
| cumulus-pallet-parachain-system = { path = "../../../../pallets/parachain-system", default-features = false, features = ["parameterized-consensus-hook",] } | ||
| cumulus-pallet-session-benchmarking = { path = "../../../../pallets/session-benchmarking", default-features = false} | ||
| cumulus-pallet-xcm = { path = "../../../../pallets/xcm", default-features = false } | ||
| cumulus-pallet-xcmp-queue = { path = "../../../../pallets/xcmp-queue", default-features = false } | ||
| cumulus-primitives-core = { path = "../../../../primitives/core", default-features = false } | ||
| cumulus-primitives-utility = { path = "../../../../primitives/utility", default-features = false } | ||
| pallet-collator-selection = { path = "../../../../pallets/collator-selection", default-features = false } | ||
| parachain-info = { package = "staging-parachain-info", path = "../../../pallets/parachain-info", default-features = false } | ||
| parachains-common = { path = "../../../common", default-features = false } | ||
|
|
||
| [features] | ||
| default = [ "std" ] | ||
| std = [ | ||
| "codec/std", | ||
| "cumulus-pallet-aura-ext/std", | ||
| "cumulus-pallet-dmp-queue/std", | ||
| "cumulus-pallet-parachain-system/std", | ||
| "cumulus-pallet-session-benchmarking/std", | ||
| "cumulus-pallet-xcm/std", | ||
| "cumulus-pallet-xcmp-queue/std", | ||
| "cumulus-primitives-core/std", | ||
| "cumulus-primitives-utility/std", | ||
| "enumflags2/std", | ||
| "frame-benchmarking?/std", | ||
| "frame-executive/std", | ||
| "frame-support/std", | ||
| "frame-system-benchmarking?/std", | ||
| "frame-system-rpc-runtime-api/std", | ||
| "frame-system/std", | ||
| "frame-try-runtime?/std", | ||
| "log/std", | ||
| "pallet-aura/std", | ||
| "pallet-authorship/std", | ||
| "pallet-balances/std", | ||
| "pallet-collator-selection/std", | ||
| "pallet-identity/std", | ||
| "pallet-multisig/std", | ||
| "pallet-session/std", | ||
| "pallet-timestamp/std", | ||
| "pallet-transaction-payment-rpc-runtime-api/std", | ||
| "pallet-transaction-payment/std", | ||
| "pallet-utility/std", | ||
| "pallet-xcm-benchmarks?/std", | ||
| "pallet-xcm/std", | ||
| "parachain-info/std", | ||
| "parachains-common/std", | ||
| "polkadot-core-primitives/std", | ||
| "polkadot-parachain-primitives/std", | ||
| "polkadot-runtime-common/std", | ||
| "scale-info/std", | ||
| "serde", | ||
| "sp-api/std", | ||
| "sp-block-builder/std", | ||
| "sp-consensus-aura/std", | ||
| "sp-core/std", | ||
| "sp-inherents/std", | ||
| "sp-offchain/std", | ||
| "sp-runtime/std", | ||
| "sp-session/std", | ||
| "sp-std/std", | ||
| "sp-storage/std", | ||
| "sp-transaction-pool/std", | ||
| "sp-version/std", | ||
| "substrate-wasm-builder", | ||
| "xcm-builder/std", | ||
| "xcm-executor/std", | ||
| "xcm/std", | ||
| ] | ||
|
|
||
| runtime-benchmarks = [ | ||
| "cumulus-pallet-parachain-system/runtime-benchmarks", | ||
| "cumulus-pallet-session-benchmarking/runtime-benchmarks", | ||
| "cumulus-pallet-xcmp-queue/runtime-benchmarks", | ||
| "cumulus-primitives-utility/runtime-benchmarks", | ||
| "frame-benchmarking/runtime-benchmarks", | ||
| "frame-support/runtime-benchmarks", | ||
| "frame-system-benchmarking/runtime-benchmarks", | ||
| "frame-system/runtime-benchmarks", | ||
| "pallet-balances/runtime-benchmarks", | ||
| "pallet-collator-selection/runtime-benchmarks", | ||
| "pallet-identity/runtime-benchmarks", | ||
| "pallet-multisig/runtime-benchmarks", | ||
| "pallet-timestamp/runtime-benchmarks", | ||
| "pallet-utility/runtime-benchmarks", | ||
| "pallet-xcm-benchmarks/runtime-benchmarks", | ||
| "pallet-xcm/runtime-benchmarks", | ||
| "parachains-common/runtime-benchmarks", | ||
| "polkadot-parachain-primitives/runtime-benchmarks", | ||
| "polkadot-runtime-common/runtime-benchmarks", | ||
| "sp-runtime/runtime-benchmarks", | ||
| "xcm-builder/runtime-benchmarks", | ||
| "xcm-executor/runtime-benchmarks", | ||
| ] | ||
|
|
||
| try-runtime = [ | ||
| "cumulus-pallet-aura-ext/try-runtime", | ||
| "cumulus-pallet-dmp-queue/try-runtime", | ||
| "cumulus-pallet-parachain-system/try-runtime", | ||
| "cumulus-pallet-xcm/try-runtime", | ||
| "cumulus-pallet-xcmp-queue/try-runtime", | ||
| "frame-executive/try-runtime", | ||
| "frame-support/try-runtime", | ||
| "frame-system/try-runtime", | ||
| "frame-try-runtime/try-runtime", | ||
| "pallet-aura/try-runtime", | ||
| "pallet-authorship/try-runtime", | ||
| "pallet-balances/try-runtime", | ||
| "pallet-collator-selection/try-runtime", | ||
| "pallet-identity/try-runtime", | ||
| "pallet-multisig/try-runtime", | ||
| "pallet-session/try-runtime", | ||
| "pallet-timestamp/try-runtime", | ||
| "pallet-transaction-payment/try-runtime", | ||
| "pallet-utility/try-runtime", | ||
| "pallet-xcm/try-runtime", | ||
| "parachain-info/try-runtime", | ||
| "polkadot-runtime-common/try-runtime", | ||
| "sp-runtime/try-runtime", | ||
| ] | ||
|
|
||
| experimental = [ "pallet-aura/experimental" ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| // Copyright (C) Parity Technologies (UK) Ltd. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| #[cfg(feature = "std")] | ||
| fn main() { | ||
| substrate_wasm_builder::WasmBuilder::new() | ||
| .with_current_project() | ||
| .export_heap_base() | ||
| .import_memory() | ||
| .build() | ||
| } | ||
|
|
||
| #[cfg(not(feature = "std"))] | ||
| fn main() {} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.