mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
400864c352
* Add ProcessXcmMessage struct * Migrate away from weights in host config * New well-known key to report UMPQ capacity * Add missing file * Fixes * Remove original UMP files * Docs * Update runtime/parachains/src/inclusion/mod.rs Co-authored-by: asynchronous rob <rphmeier@gmail.com> * Add benchmarking * Benchmarks * Mock example of using the QueueChangeHandler to update the WKK * Use master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Merge remote-tracking branch 'origin/master' into gav-message-queue * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update remove-weight migration The migration got touched on master; just resolving conflicts here. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add message- to dispatch-origin conversion for XCM processing Just using the `impl Into<MultiLocation>` was a bit inflexible. Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * DNM: Temporarily comment code since XCMv3 is not merged yet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use u64 for queue-wide limits on UmpAcceptanceCheckErr Using u32 here was one audit finding for the queue pallet. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Define one sub-queue per *MP queue Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Harden check_upward_messages Using safe math and casts. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add type-safe well_known_keys Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add message-queue weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Deploy MessageQueue to Polkadot Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.toml Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Migrate to parachain config V5 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update UMP tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert messed up merge 🤦 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update remove-weight migration The migration got touched on master; just resolving conflicts here. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add message- to dispatch-origin conversion for XCM processing Just using the `impl Into<MultiLocation>` was a bit inflexible. Like this, the Relaychain can convert `UMP(para)` to a MultiLocation `para`. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * DNM: Temporarily comment code since XCMv3 is not merged yet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use u64 for queue-wide limits on UmpAcceptanceCheckErr Using u32 here was one audit finding for the queue pallet. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Define one sub-queue per *MP queue Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Harden check_upward_messages Using safe math and casts. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add type-safe well_known_keys Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add message-queue weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Deploy MessageQueue to Polkadot Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.toml Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Migrate to parachain config V5 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update UMP tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Make stuff compile Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Move DMP and HRMP messages to the MessageQueue It currently does not compile in the CIbecause of some local tweaks to Substrate. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Diener for CI Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * diener update cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert wrong changes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "DNM: Temporarily comment code since XCMv3 is not merged yet" This reverts commit 820aa235cb21dd1d2621843607f7682bf035434e. * Make compile Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixup runtimes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Define benchmarks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Lockfile Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add AggregateMessageOrigin This enum currently only holds one value, but having it will make it easier in the future to extend. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Forbid UMP for off-boarding paras - Reject candidates with UMP messages for off-boarding paras - Forbid scheduling off-boarding when a para has unprocess UMPs Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Delete stupid test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use BoundedVec for upward messages Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add weights and fix MessageProcessor Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bound receive_upward_messages and check bound in configuration pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bound Debug impl Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test runtime Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix xcm-simulator Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Properly fix xcm-simulator and fuzzer Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Adapt to upstream Substrate changes Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix ProcesseMessage impls Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Some tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use new MQ API Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add UMP while Para offboarding tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use Mocked message processor for benchmarking Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use variables for constants Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add MQ pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use MQ pallet weights Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Configure QueueChangeHandler Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add config test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix MQ serive weight Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Cleanup outgoing UMP dispatch queues Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use Master Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update Cargo.lock Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Weight mul is not const Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove merge marker Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update runtime/parachains/src/inclusion/mod.rs Co-authored-by: Gavin Wood <gavin@parity.io> * Update runtime/kusama/src/lib.rs Co-authored-by: Gavin Wood <gavin@parity.io> * Use lowercase UMP Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Clarify comment Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use Weight::from_parts Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix test Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix doc Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Emit event after the fact Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add defensive_proof to receive_upward_messages Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Reapply "Remove original UMP files" Looks like they came back from the dead. Re-apply commit cf6d316f0 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove old files Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Rename MaxUmpMessageLen -> MaxUmpMessageLenOf Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test defensive message dropping of receive_upward_messages Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixup imports Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Update implementors guide Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove FAIL-CI mark Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Delete unused code Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add another test for MQ change hook Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Imports Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Keep Kusama runtime formatting Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Delete unused code" This reverts commit dd76bca5025b7e1ef846a9539c3607eed185f16a. * Feature gate mock functions Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Review: Use saturating_add Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Test RelayDispatchQueueSize storage key Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Move migration to own file to avoid merge conflicts Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Migration in own file Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixup migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Rococo: configure MQ pallet Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixup tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Rococo: configure MQ pallet" Going to do this as follow up, since it needs Substrate changes and i dont want to stall this MR any longer. This reverts commit b9c15e8a8339c4e877d654ee3f09903af4210736. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Fixup tests" This reverts commit 88f1cbe20774d20e5e1e554e798960ae39437af1. * Fixup migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix CI Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix other migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump MAX_CODE_SIZE to 10MiB Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add ForceUpdateUmpLimits migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * clippy Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * imports Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use defensive instead of defensive_proof 'defensive_proof' also prints the 'self', which spams the console too much when running the tests. Just the length is enough. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Rename to ScheduleConfigUpdate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixup migration checks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add MAX_CODE_SIZE to ScheduleConfigUpdate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Set MAX_CODE_SIZE to 4MiB Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix benchmark Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix formatting Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Add MAX_CODE_SIZE to ScheduleConfigUpdate" This reverts commit 7caffb09e83083b57affd548215e45b25c3d64dc. * Revert "Set MAX_CODE_SIZE to 4MiB" This reverts commit 103ffbaf686487d2fbe0082a16826af17cacc1a1. * Revert "Bump MAX_CODE_SIZE to 10MiB" This reverts commit 530734b7b0da5b7680054e0242348fcc79a666fe. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove consistency check from migration Re-addig these checks is blocked on https://github.com/paritytech/polkadot/issues/7108 Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix constants Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Bump MAX_UPWARD_MESSAGE_SIZE_BOUND for Westend Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix migrations Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Use old nightly for fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixes * cargo fmt * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tests Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fixes * Add MQ pallet to fuzzer Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix XMC simulator example Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove runtime-benchmarks from fuzzers Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Revert "Remove runtime-benchmarks from fuzzers" This reverts commit e1f2bb01b6dea2dd465539d3658719895b58b557. * Fix example simulator Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Add V6 migration and remove old ones Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Actually make old migrations reusable Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Dont delete old migrations Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Future proof AggregateMessageOrigin and review fixes There are indications that Loopback and Bridged will be needed soon. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * More cleanup Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fmt Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * fix benchmarks Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix fuzzer build Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Review Co-authored-by: muharem <ismailov.m.h@gmail.com> Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Remove old migration Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Set MQ service weight to 20% Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix tabs in Markdown Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: asynchronous rob <rphmeier@gmail.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
288 lines
16 KiB
TOML
288 lines
16 KiB
TOML
[package]
|
|
name = "westend-runtime"
|
|
build = "build.rs"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] }
|
|
parity-scale-codec = { version = "3.4.0", default-features = false, features = ["derive", "max-encoded-len"] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4.17", default-features = false }
|
|
rustc-hex = { version = "2.1.0", default-features = false }
|
|
serde = { version = "1.0.139", default-features = false }
|
|
serde_derive = { version = "1.0.117", optional = true }
|
|
smallvec = "1.8.0"
|
|
|
|
authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
beefy-primitives = { package = "sp-consensus-beefy", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
tx-pool-api = { package = "sp-transaction-pool", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
sp-npos-elections = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
westend-runtime-constants = { package = "westend-runtime-constants", path = "./constants", default-features = false }
|
|
pallet-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-authorship = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-bags-list = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-fast-unstake = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-message-queue = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-nomination-pools = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-staking-reward-curve = { package = "pallet-staking-reward-curve", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
pallet-staking-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-state-trie-migration = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-sudo = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false }
|
|
pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true }
|
|
|
|
frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
pallet-election-provider-support-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
pallet-nomination-pools-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
pallet-offences-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
pallet-session-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true }
|
|
hex-literal = { version = "0.4.1", optional = true }
|
|
|
|
runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false }
|
|
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
|
polkadot-parachain = { path = "../../parachain", default-features = false }
|
|
runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false }
|
|
|
|
xcm = { package = "xcm", path = "../../xcm", default-features = false }
|
|
xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", default-features = false }
|
|
xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.4.1"
|
|
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
|
|
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
serde_json = "1.0.96"
|
|
remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" }
|
|
tokio = { version = "1.24.2", features = ["macros"] }
|
|
sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
|
|
|
[build-dependencies]
|
|
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
no_std = []
|
|
only-staking = []
|
|
std = [
|
|
"authority-discovery-primitives/std",
|
|
"bitvec/std",
|
|
"primitives/std",
|
|
"rustc-hex/std",
|
|
"parity-scale-codec/std",
|
|
"scale-info/std",
|
|
"inherents/std",
|
|
"sp-core/std",
|
|
"polkadot-parachain/std",
|
|
"sp-api/std",
|
|
"tx-pool-api/std",
|
|
"block-builder-api/std",
|
|
"offchain-primitives/std",
|
|
"sp-std/std",
|
|
"sp-io/std",
|
|
"frame-support/std",
|
|
"pallet-authority-discovery/std",
|
|
"pallet-authorship/std",
|
|
"pallet-balances/std",
|
|
"pallet-transaction-payment/std",
|
|
"pallet-transaction-payment-rpc-runtime-api/std",
|
|
"pallet-collective/std",
|
|
"pallet-elections-phragmen/std",
|
|
"pallet-election-provider-multi-phase/std",
|
|
"pallet-fast-unstake/std",
|
|
"pallet-democracy/std",
|
|
"pallet-grandpa/std",
|
|
"pallet-identity/std",
|
|
"pallet-im-online/std",
|
|
"pallet-indices/std",
|
|
"pallet-membership/std",
|
|
"pallet-message-queue/std",
|
|
"beefy-primitives/std",
|
|
"pallet-multisig/std",
|
|
"pallet-nomination-pools/std",
|
|
"pallet-nomination-pools-runtime-api/std",
|
|
"pallet-offences/std",
|
|
"pallet-preimage/std",
|
|
"pallet-proxy/std",
|
|
"pallet-recovery/std",
|
|
"pallet-scheduler/std",
|
|
"pallet-session/std",
|
|
"pallet-society/std",
|
|
"pallet-staking/std",
|
|
"pallet-staking-runtime-api/std",
|
|
"pallet-state-trie-migration/std",
|
|
"pallet-sudo/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-treasury/std",
|
|
"pallet-utility/std",
|
|
"pallet-vesting/std",
|
|
"pallet-xcm/std",
|
|
"pallet-babe/std",
|
|
"pallet-bags-list/std",
|
|
"frame-executive/std",
|
|
"sp-mmr-primitives/std",
|
|
"sp-runtime/std",
|
|
"sp-staking/std",
|
|
"frame-system/std",
|
|
"frame-system-rpc-runtime-api/std",
|
|
"westend-runtime-constants/std",
|
|
"sp-version/std",
|
|
"serde_derive",
|
|
"serde/std",
|
|
"log/std",
|
|
"babe-primitives/std",
|
|
"sp-session/std",
|
|
"runtime-common/std",
|
|
"runtime-parachains/std",
|
|
"frame-try-runtime/std",
|
|
"sp-npos-elections/std",
|
|
"xcm/std",
|
|
"xcm-executor/std",
|
|
"xcm-builder/std",
|
|
"frame-election-provider-support/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"runtime-common/runtime-benchmarks",
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks",
|
|
"pallet-babe/runtime-benchmarks",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"pallet-collective/runtime-benchmarks",
|
|
"pallet-democracy/runtime-benchmarks",
|
|
"pallet-elections-phragmen/runtime-benchmarks",
|
|
"pallet-election-provider-multi-phase/runtime-benchmarks",
|
|
"pallet-election-provider-support-benchmarking/runtime-benchmarks",
|
|
"pallet-fast-unstake/runtime-benchmarks",
|
|
"pallet-grandpa/runtime-benchmarks",
|
|
"pallet-identity/runtime-benchmarks",
|
|
"pallet-im-online/runtime-benchmarks",
|
|
"pallet-indices/runtime-benchmarks",
|
|
"pallet-membership/runtime-benchmarks",
|
|
"pallet-message-queue/runtime-benchmarks",
|
|
"pallet-multisig/runtime-benchmarks",
|
|
"pallet-nomination-pools-benchmarking/runtime-benchmarks",
|
|
"pallet-preimage/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-recovery/runtime-benchmarks",
|
|
"pallet-scheduler/runtime-benchmarks",
|
|
"pallet-society/runtime-benchmarks",
|
|
"pallet-staking/runtime-benchmarks",
|
|
"pallet-sudo/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-treasury/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"pallet-vesting/runtime-benchmarks",
|
|
"pallet-offences-benchmarking/runtime-benchmarks",
|
|
"pallet-session-benchmarking/runtime-benchmarks",
|
|
"pallet-xcm/runtime-benchmarks",
|
|
"frame-system-benchmarking/runtime-benchmarks",
|
|
"hex-literal",
|
|
"xcm-builder/runtime-benchmarks",
|
|
"pallet-xcm-benchmarks/runtime-benchmarks",
|
|
"frame-election-provider-support/runtime-benchmarks",
|
|
"pallet-bags-list/runtime-benchmarks",
|
|
"runtime-parachains/runtime-benchmarks",
|
|
]
|
|
try-runtime = [
|
|
"frame-executive/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"frame-try-runtime",
|
|
"runtime-common/try-runtime",
|
|
"pallet-authority-discovery/try-runtime",
|
|
"pallet-authorship/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-transaction-payment/try-runtime",
|
|
"pallet-collective/try-runtime",
|
|
"pallet-elections-phragmen/try-runtime",
|
|
"pallet-election-provider-multi-phase/try-runtime",
|
|
"pallet-fast-unstake/try-runtime",
|
|
"pallet-democracy/try-runtime",
|
|
"pallet-grandpa/try-runtime",
|
|
"pallet-identity/try-runtime",
|
|
"pallet-im-online/try-runtime",
|
|
"pallet-indices/try-runtime",
|
|
"pallet-membership/try-runtime",
|
|
"pallet-message-queue/try-runtime",
|
|
"pallet-multisig/try-runtime",
|
|
"pallet-nomination-pools/try-runtime",
|
|
"pallet-offences/try-runtime",
|
|
"pallet-preimage/try-runtime",
|
|
"pallet-proxy/try-runtime",
|
|
"pallet-recovery/try-runtime",
|
|
"pallet-scheduler/try-runtime",
|
|
"pallet-session/try-runtime",
|
|
"pallet-society/try-runtime",
|
|
"pallet-staking/try-runtime",
|
|
"pallet-state-trie-migration/try-runtime",
|
|
"pallet-sudo/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-treasury/try-runtime",
|
|
"pallet-utility/try-runtime",
|
|
"pallet-vesting/try-runtime",
|
|
"pallet-xcm/try-runtime",
|
|
"pallet-babe/try-runtime",
|
|
"pallet-bags-list/try-runtime",
|
|
]
|
|
# When enabled, the runtime API will not be build.
|
|
#
|
|
# This is required by Cumulus to access certain types of the
|
|
# runtime without clashing with the runtime API exported functions
|
|
# in WASM.
|
|
disable-runtime-api = []
|
|
|
|
# Set timing constants (e.g. session period) to faster versions to speed up testing.
|
|
fast-runtime = []
|
|
|
|
runtime-metrics = ["runtime-parachains/runtime-metrics", "sp-io/with-tracing"]
|