From 959037ccb5e5c17eddf2566c5140822b017d3aad Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Tue, 22 Apr 2025 16:52:05 -0600 Subject: [PATCH 01/16] feat: add bridging targets to Makefile for cargo check and build --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 92796c3811..71a85b0c33 100644 --- a/Makefile +++ b/Makefile @@ -239,7 +239,7 @@ docs: docker-prune: ./scripts/prune_all.sh -.PHONY: check check-no-relay check-local check-testnet check-mainnet +.PHONY: check check-no-relay check-local check-testnet check-mainnet check-bridging check: SKIP_WASM_BUILD= cargo check --features runtime-benchmarks,frequency-lint-check @@ -255,11 +255,14 @@ check-testnet: check-mainnet: SKIP_WASM_BUILD= cargo check --features frequency +check-bridging: + SKIP_WASM_BUILD= cargo check --features frequency,frequency-bridging + .PHONY: js js: ./scripts/generate_js_definitions.sh -.PHONY: build build-benchmarks build-no-relay build-local build-testnet build-mainnet build-testnet-release build-mainnet-release +.PHONY: build build-benchmarks build-no-relay build-local build-testnet build-mainnet build-testnet-release build-mainnet-release build-bridging build: cargo build --features frequency-no-relay @@ -284,6 +287,9 @@ build-testnet-release: build-mainnet-release: cargo build --locked --features frequency --release +build-bridging: + cargo build --features frequency-no-relay,frequency-bridging + .PHONY: test e2e-tests e2e-tests-serial e2e-tests-only e2e-tests-load e2e-tests-load-only e2e-tests-testnet-paseo e2e-tests-paseo-local test: cargo test --workspace --features runtime-benchmarks,frequency-lint-check From 5701123e73afe608982dabae64cd5c125c149c05 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Tue, 22 Apr 2025 16:53:04 -0600 Subject: [PATCH 02/16] wip: add bridging pallets to Cargo.toml for enhanced asset management --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index f3f521a7f5..ea90812bf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -78,6 +78,10 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/parityt pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +# Bridging Pallets +pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } +assets-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } + # polkadot polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503" } polkadot-parachain-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } From f6533f2f7fed61a22123d8d8399ca861cf442137 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Tue, 22 Apr 2025 17:42:21 -0600 Subject: [PATCH 03/16] wip: add check-all target to Makefile and update Cargo.toml for bridging support --- Makefile | 9 +++++++++ runtime/common/Cargo.toml | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/Makefile b/Makefile index 71a85b0c33..400ed8750a 100644 --- a/Makefile +++ b/Makefile @@ -240,6 +240,15 @@ docker-prune: ./scripts/prune_all.sh .PHONY: check check-no-relay check-local check-testnet check-mainnet check-bridging +# Add a target to run all checks +check-all: + SKIP_WASM_BUILD= cargo check --features runtime-benchmarks,frequency-lint-check + SKIP_WASM_BUILD= cargo check --features frequency-no-relay + SKIP_WASM_BUILD= cargo check --features frequency-local + SKIP_WASM_BUILD= cargo check --features frequency-testnet + SKIP_WASM_BUILD= cargo check --features frequency + SKIP_WASM_BUILD= cargo check --features frequency,frequency-bridging + check: SKIP_WASM_BUILD= cargo check --features runtime-benchmarks,frequency-lint-check diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 3fbd9c3a06..d71b9e0dcb 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -36,6 +36,11 @@ pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-utility = { workspace = true } pallet-proxy = { workspace = true } + +# Bridging +# pallet-assets = { workspace = true, optional = true } +# assets-common = { workspace = true , optional = true } + # cumulus cumulus-pallet-weight-reclaim = { workspace = true } cumulus-primitives-core = { workspace = true } @@ -50,6 +55,7 @@ frequency-testnet = [] frequency-local = [] frequency-no-relay = [] runtime-benchmarks = ["pallet-collective/runtime-benchmarks"] +frequency-bridging = [] std = [ "frame-support/std", "frame-system/std", From 0f5e55e27a6206070747cd4c51dd5d12d4157811 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Wed, 23 Apr 2025 08:34:25 -0600 Subject: [PATCH 04/16] feat: integrate assets pallet for bridging functionality - Added `pallet-assets` and `assets-common` as optional dependencies in Cargo.toml. - Introduced types and parameters for foreign assets in lib.rs, enabled with the `frequency-bridging` feature. - Configured the assets pallet within the runtime, allowing for asset creation and management. - Updated various comments for clarity and corrected minor typos. --- Cargo.lock | 651 ++++++++++++++++++++--------------- runtime/frequency/Cargo.toml | 7 + runtime/frequency/src/lib.rs | 84 ++++- 3 files changed, 463 insertions(+), 279 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb753eef59..1d2ca5bcea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -630,6 +630,28 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "assets-common" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "impl-trait-for-tuples", + "pallet-asset-conversion", + "pallet-assets", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "tracing", +] + [[package]] name = "async-channel" version = "1.9.0" @@ -979,7 +1001,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "hash-db", "log", @@ -2044,7 +2066,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "clap", "parity-scale-codec", @@ -2061,7 +2083,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2084,7 +2106,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2131,7 +2153,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2161,7 +2183,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "anyhow", "async-trait", @@ -2176,7 +2198,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2202,7 +2224,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2222,7 +2244,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2248,7 +2270,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.23.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2285,7 +2307,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2302,7 +2324,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2337,7 +2359,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -2348,7 +2370,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -2361,7 +2383,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -2380,7 +2402,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-api", "sp-consensus-aura", @@ -2389,7 +2411,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2405,7 +2427,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.18.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2419,7 +2441,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.12.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2429,7 +2451,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -2446,17 +2468,34 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-primitives-core", "sp-inherents", "sp-timestamp", ] +[[package]] +name = "cumulus-primitives-utility" +version = "0.20.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "log", + "pallet-asset-conversion", + "parity-scale-codec", + "polkadot-runtime-common", + "sp-runtime", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", +] + [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.23.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2480,7 +2519,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2499,7 +2538,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.23.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "async-trait", @@ -2533,7 +2572,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.22.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2573,7 +2612,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3492,7 +3531,7 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", ] @@ -3525,7 +3564,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-support-procedural", @@ -3549,7 +3588,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "47.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "Inflector", "array-bytes", @@ -3623,7 +3662,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -3634,7 +3673,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3650,7 +3689,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "aquamarine", "frame-support", @@ -3692,7 +3731,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "const-hex", @@ -3708,7 +3747,7 @@ dependencies = [ [[package]] name = "frame-support" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "aquamarine", "array-bytes", @@ -3749,7 +3788,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "33.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "Inflector", "cfg-expr", @@ -3769,7 +3808,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -3781,7 +3820,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro2", "quote", @@ -3791,7 +3830,7 @@ dependencies = [ [[package]] name = "frame-system" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cfg-if", "docify", @@ -3810,7 +3849,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -3824,7 +3863,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "parity-scale-codec", @@ -3834,7 +3873,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "parity-scale-codec", @@ -3908,6 +3947,7 @@ dependencies = [ name = "frequency-runtime" version = "0.0.0" dependencies = [ + "assets-common", "common-primitives", "common-runtime", "cumulus-pallet-aura-ext", @@ -3928,6 +3968,7 @@ dependencies = [ "hex", "hex-literal", "log", + "pallet-assets", "pallet-aura", "pallet-authorship", "pallet-balances", @@ -6530,7 +6571,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "log", @@ -6549,7 +6590,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -7127,7 +7168,7 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7145,11 +7186,42 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-runtime", +] + +[[package]] +name = "pallet-asset-tx-payment" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "frame-support", + "frame-system", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", +] + +[[package]] +name = "pallet-assets" +version = "42.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -7159,7 +7231,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7175,7 +7247,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7190,7 +7262,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7203,7 +7275,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7226,7 +7298,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "aquamarine", "docify", @@ -7247,7 +7319,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -7263,7 +7335,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7282,7 +7354,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7307,7 +7379,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7324,7 +7396,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.19.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "frame-benchmarking", @@ -7371,7 +7443,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7389,7 +7461,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7408,7 +7480,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -7425,7 +7497,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7441,7 +7513,7 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7456,7 +7528,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7473,7 +7545,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7495,7 +7567,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7508,7 +7580,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7526,7 +7598,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -7597,7 +7669,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7667,7 +7739,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "enumflags2", "frame-benchmarking", @@ -7683,7 +7755,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7702,7 +7774,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7717,7 +7789,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -7733,7 +7805,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "43.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "environmental", "frame-benchmarking", @@ -7800,7 +7872,7 @@ dependencies = [ [[package]] name = "pallet-meta-tx" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -7818,7 +7890,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "10.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -7837,7 +7909,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "parity-scale-codec", @@ -7907,7 +7979,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "parity-scale-codec", @@ -7918,7 +7990,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -7928,7 +8000,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7946,7 +8018,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7966,7 +8038,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7976,7 +8048,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -7991,7 +8063,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8014,7 +8086,7 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -8055,7 +8127,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8071,7 +8143,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -8081,7 +8153,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8099,7 +8171,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8113,7 +8185,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8131,7 +8203,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -8145,7 +8217,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -8215,7 +8287,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "frame-system", @@ -8236,7 +8308,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8252,7 +8324,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8269,7 +8341,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8291,7 +8363,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "sp-arithmetic", @@ -8300,7 +8372,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "sp-api", @@ -8310,7 +8382,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "44.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8376,7 +8448,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -8412,7 +8484,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -8431,7 +8503,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8449,7 +8521,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8465,7 +8537,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -8481,7 +8553,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8514,7 +8586,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -8533,7 +8605,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8548,7 +8620,7 @@ dependencies = [ [[package]] name = "pallet-verify-signature" version = "0.3.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8564,7 +8636,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8578,7 +8650,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -8588,7 +8660,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "19.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -8611,7 +8683,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-benchmarking", "frame-support", @@ -8625,6 +8697,35 @@ dependencies = [ "staging-xcm-executor", ] +[[package]] +name = "parachains-common" +version = "21.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "cumulus-primitives-core", + "cumulus-primitives-utility", + "frame-support", + "frame-system", + "log", + "pallet-asset-tx-payment", + "pallet-assets", + "pallet-authorship", + "pallet-balances", + "pallet-collator-selection", + "pallet-message-queue", + "pallet-xcm", + "parity-scale-codec", + "polkadot-primitives", + "scale-info", + "sp-consensus-aura", + "sp-core", + "sp-io", + "sp-runtime", + "staging-parachain-info", + "staging-xcm", + "staging-xcm-executor", +] + [[package]] name = "parity-bip39" version = "2.0.1" @@ -8982,7 +9083,7 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "futures-timer", @@ -9000,7 +9101,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "futures-timer", @@ -9015,7 +9116,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fatality", "futures", @@ -9038,7 +9139,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "fatality", @@ -9071,7 +9172,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "clap", "frame-benchmarking-cli", @@ -9095,7 +9196,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "fatality", @@ -9118,7 +9219,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -9129,7 +9230,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fatality", "futures", @@ -9151,7 +9252,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -9165,7 +9266,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "futures-timer", @@ -9186,7 +9287,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "always-assert", "async-trait", @@ -9209,7 +9310,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "parity-scale-codec", @@ -9227,7 +9328,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "bitvec", @@ -9259,7 +9360,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting-parallel" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -9283,7 +9384,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "futures", @@ -9302,7 +9403,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "fatality", @@ -9323,7 +9424,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9338,7 +9439,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -9360,7 +9461,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "polkadot-node-metrics", @@ -9374,7 +9475,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "futures-timer", @@ -9390,7 +9491,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fatality", "futures", @@ -9408,7 +9509,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -9425,7 +9526,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fatality", "futures", @@ -9439,7 +9540,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "fatality", @@ -9456,7 +9557,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "always-assert", "array-bytes", @@ -9484,7 +9585,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "polkadot-node-subsystem", @@ -9497,7 +9598,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cpu-time", "futures", @@ -9523,7 +9624,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "polkadot-node-metrics", @@ -9538,7 +9639,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bs58", "futures", @@ -9555,7 +9656,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -9580,7 +9681,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "bounded-vec", @@ -9604,7 +9705,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", @@ -9613,7 +9714,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "derive_more 0.99.19", @@ -9641,7 +9742,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fatality", "futures", @@ -9672,7 +9773,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -9692,7 +9793,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bounded-collections", "derive_more 0.99.19", @@ -9708,7 +9809,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "18.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "hex-literal", @@ -9736,7 +9837,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -9769,7 +9870,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "19.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitvec", "frame-benchmarking", @@ -9819,7 +9920,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bs58", "frame-benchmarking", @@ -9831,7 +9932,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "19.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -9887,7 +9988,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.9.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-benchmarking", @@ -9922,7 +10023,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "frame-benchmarking", @@ -10030,7 +10131,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -10053,7 +10154,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11014,7 +11115,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "22.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "binary-merkle-tree", "bitvec", @@ -11112,7 +11213,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "polkadot-primitives", @@ -11435,7 +11536,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "sp-core", @@ -11446,7 +11547,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -11474,7 +11575,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "log", @@ -11495,7 +11596,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.44.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "sp-api", @@ -11510,7 +11611,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "docify", @@ -11536,7 +11637,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -11547,7 +11648,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "chrono", @@ -11589,7 +11690,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fnv", "futures", @@ -11615,7 +11716,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "hash-db", "kvdb", @@ -11641,7 +11742,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -11664,7 +11765,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -11693,7 +11794,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "fork-tree", @@ -11729,7 +11830,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "jsonrpsee", @@ -11751,7 +11852,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -11785,7 +11886,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "jsonrpsee", @@ -11805,7 +11906,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "fork-tree", "parity-scale-codec", @@ -11818,7 +11919,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "ahash", "array-bytes", @@ -11862,7 +11963,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "finality-grandpa", "futures", @@ -11882,7 +11983,7 @@ dependencies = [ [[package]] name = "sc-consensus-manual-seal" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "assert_matches", "async-trait", @@ -11917,7 +12018,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -11940,7 +12041,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -11963,7 +12064,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "polkavm", "sc-allocator", @@ -11976,7 +12077,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "polkavm", @@ -11987,7 +12088,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "anyhow", "log", @@ -12003,7 +12104,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "console", "futures", @@ -12019,7 +12120,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "parking_lot 0.12.3", @@ -12033,7 +12134,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "arrayvec 0.7.6", @@ -12061,7 +12162,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12111,7 +12212,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -12121,7 +12222,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "ahash", "futures", @@ -12140,7 +12241,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12161,7 +12262,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -12196,7 +12297,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "futures", @@ -12215,7 +12316,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.15.3" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bs58", "bytes", @@ -12234,7 +12335,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bytes", "fnv", @@ -12268,7 +12369,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -12277,7 +12378,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "jsonrpsee", @@ -12309,7 +12410,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.48.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12329,7 +12430,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -12353,7 +12454,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "futures", @@ -12385,7 +12486,7 @@ dependencies = [ [[package]] name = "sc-runtime-utilities" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "sc-executor", @@ -12400,7 +12501,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "directories", @@ -12464,7 +12565,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "parity-scale-codec", @@ -12475,7 +12576,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.24.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "clap", "fs4", @@ -12488,7 +12589,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -12507,7 +12608,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "derive_more 0.99.19", "futures", @@ -12527,7 +12628,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "28.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "chrono", "futures", @@ -12546,7 +12647,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "chrono", "console", @@ -12574,7 +12675,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -12585,7 +12686,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -12617,7 +12718,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -12634,7 +12735,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "18.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-channel 1.9.0", "futures", @@ -13261,7 +13362,7 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "enumn", "parity-scale-codec", @@ -13575,7 +13676,7 @@ dependencies = [ [[package]] name = "sp-api" version = "36.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "hash-db", @@ -13597,7 +13698,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "Inflector", "blake2 0.10.6", @@ -13611,7 +13712,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13623,7 +13724,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "integer-sqrt", @@ -13637,7 +13738,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13649,7 +13750,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-api", "sp-inherents", @@ -13659,7 +13760,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "futures", "parity-scale-codec", @@ -13678,7 +13779,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "futures", @@ -13692,7 +13793,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "parity-scale-codec", @@ -13708,7 +13809,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.42.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "parity-scale-codec", @@ -13726,7 +13827,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "24.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13746,7 +13847,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "23.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "finality-grandpa", "log", @@ -13763,7 +13864,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.42.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13774,7 +13875,7 @@ dependencies = [ [[package]] name = "sp-core" version = "36.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "ark-vrf", "array-bytes", @@ -13835,7 +13936,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "blake2b_simd", "byteorder", @@ -13848,7 +13949,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "quote", "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=stable2503)", @@ -13858,7 +13959,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -13867,7 +13968,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "proc-macro2", "quote", @@ -13877,7 +13978,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "environmental", "parity-scale-codec", @@ -13887,7 +13988,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13899,7 +14000,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -13912,7 +14013,7 @@ dependencies = [ [[package]] name = "sp-io" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bytes", "docify", @@ -13938,7 +14039,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-core", "sp-runtime", @@ -13948,7 +14049,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.42.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -13959,7 +14060,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -13968,7 +14069,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-metadata 20.0.0", "parity-scale-codec", @@ -13978,7 +14079,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.14.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -13989,7 +14090,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "36.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "log", "parity-scale-codec", @@ -14006,7 +14107,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "36.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -14019,7 +14120,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-api", "sp-core", @@ -14029,7 +14130,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "backtrace", "regex", @@ -14038,7 +14139,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -14048,7 +14149,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "41.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "binary-merkle-tree", "docify", @@ -14077,7 +14178,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "29.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -14096,7 +14197,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "Inflector", "expander", @@ -14109,7 +14210,7 @@ dependencies = [ [[package]] name = "sp-session" version = "38.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "scale-info", @@ -14123,7 +14224,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "38.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -14136,7 +14237,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "hash-db", "log", @@ -14156,7 +14257,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "20.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -14180,12 +14281,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "impl-serde 0.5.0", "parity-scale-codec", @@ -14197,7 +14298,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "parity-scale-codec", @@ -14209,7 +14310,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "tracing", @@ -14220,7 +14321,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "sp-api", "sp-runtime", @@ -14229,7 +14330,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "36.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "async-trait", "parity-scale-codec", @@ -14243,7 +14344,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "39.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "ahash", "hash-db", @@ -14265,7 +14366,7 @@ dependencies = [ [[package]] name = "sp-version" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "impl-serde 0.5.0", "parity-scale-codec", @@ -14282,7 +14383,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -14294,7 +14395,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "21.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -14306,7 +14407,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "31.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -14372,7 +14473,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -14385,7 +14486,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "16.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "bounded-collections", @@ -14406,7 +14507,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "environmental", "frame-support", @@ -14430,7 +14531,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "19.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "environmental", "frame-benchmarking", @@ -14541,7 +14642,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "hmac 0.12.1", "pbkdf2", @@ -14553,12 +14654,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" [[package]] name = "substrate-frame-rpc-system" version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "docify", "frame-system-rpc-runtime-api", @@ -14578,7 +14679,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -14592,7 +14693,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -14609,7 +14710,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "array-bytes", "build-helper", @@ -15335,7 +15436,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "coarsetime", "polkadot-primitives", @@ -15346,7 +15447,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -16249,7 +16350,7 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime" version = "22.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16358,7 +16459,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "polkadot-primitives", @@ -16818,7 +16919,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "11.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "Inflector", "proc-macro2", @@ -16829,7 +16930,7 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#5f2e7ab879375ada43c31fd7f84a6ea72201199e" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/runtime/frequency/Cargo.toml b/runtime/frequency/Cargo.toml index e9c92ae631..4ca47d4265 100644 --- a/runtime/frequency/Cargo.toml +++ b/runtime/frequency/Cargo.toml @@ -51,6 +51,10 @@ pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-utility = { workspace = true } pallet-proxy = { workspace = true } +# Bridging +pallet-assets = { workspace = true, optional = true } +assets-common = { workspace = true, optional = true } + sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } @@ -174,6 +178,7 @@ std = [ "system-runtime-api/std", "substrate-wasm-builder", "frame-metadata-hash-extension/std", + "pallet-assets/std", ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", @@ -208,6 +213,7 @@ runtime-benchmarks = [ "polkadot-runtime-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "common-runtime/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", @@ -249,6 +255,7 @@ frequency = ["common-runtime/frequency"] frequency-testnet = ["common-runtime/frequency-testnet"] frequency-local = ["common-runtime/frequency-local"] frequency-no-relay = ["common-runtime/frequency-no-relay"] +frequency-bridging = [ "common-runtime/frequency-bridging", "pallet-assets"] # Following features are used in generating lean wasms no-metadata-docs = ["frame-support/no-metadata-docs"] on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"] diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 951f732711..eab7a91bbf 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -190,7 +190,7 @@ impl UtilityProvider for CapacityBatchProvider { } } -/// Basefilter to only allow calls to specified transactions to be executed +/// Base filter to only allow calls to specified transactions to be executed pub struct BaseCallFilter; impl Contains for BaseCallFilter { @@ -367,6 +367,13 @@ pub type BlockId = generic::BlockId; /// Block type as expected by this runtime. pub type Block = generic::Block; +// ---------- Foreign Assets Types (enabled with `frequency-bridging`) ---------- +#[cfg(feature = "frequency-bridging")] +pub type AssetId = u32; + +#[cfg(feature = "frequency-bridging")] +pub type AssetBalance = Balance; + /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; @@ -493,6 +500,33 @@ parameter_types! { .build_or_panic(); } +// ---------- Assets pallet parameters ---------- +#[cfg(feature = "frequency-bridging")] +parameter_types! { + pub const AssetDeposit: Balance = 0; + pub const AssetAccountDeposit: Balance = 0; + pub const MetadataDepositBase: Balance = 0; + pub const MetadataDepositPerByte: Balance = 0; + pub const ApprovalDeposit: Balance = 0; + pub const AssetsStringLimit: u32 = 50; + // pub const RemoveItemsLimit: u32 = 1000; +} +#[cfg(feature = "frequency-bridging")] +parameter_types! { + // we just reuse the same deposits + pub const ForeignAssetsAssetDeposit: Balance = AssetDeposit::get(); + pub const ForeignAssetsAssetAccountDeposit: Balance = AssetAccountDeposit::get(); + pub const ForeignAssetsApprovalDeposit: Balance = ApprovalDeposit::get(); + pub const ForeignAssetsAssetsStringLimit: u32 = AssetsStringLimit::get(); + pub const ForeignAssetsMetadataDepositBase: Balance = MetadataDepositBase::get(); + pub const ForeignAssetsMetadataDepositPerByte: Balance = MetadataDepositPerByte::get(); +} + +// Define a placeholder AccountId - replace with the actual desired creator account +parameter_types! { + pub const AssetCreatorAccount: AccountId = AccountId::new([0u8; 32]); // TODO: Replace with actual AccountId +} + // Configure FRAME pallets to include in runtime. impl frame_system::Config for Runtime { @@ -572,7 +606,7 @@ impl pallet_msa::Config for Runtime { type MaxProviderNameSize = MsaMaxProviderNameSize; // The type that provides schema related info type SchemaValidator = Schemas; - // The type that provides `Handle` related info for a given `MesssageSourceAccount` + // The type that provides `Handle` related info for a given `MessageSourceAccount` type HandleProvider = Handles; // The number of blocks per virtual bucket type MortalityWindowSize = MSAMortalityWindowSize; @@ -627,7 +661,7 @@ impl pallet_capacity::Config for Runtime { impl pallet_schemas::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = pallet_schemas::weights::SubstrateWeight; - // The mininum size (in bytes) for a schema model + // The minimum size (in bytes) for a schema model type MinSchemaModelSizeBytes = SchemasMinModelSizeBytes; // The maximum number of schemas that can be registered type MaxSchemaRegistrations = SchemasMaxRegistrations; @@ -1305,6 +1339,45 @@ impl pallet_handles::Config for Runtime { type MsaBenchmarkHelper = Msa; } +// ---------- Assets pallet configuration ---------- +#[cfg(feature = "frequency-bridging")] +// use xcm_config::{ForeignAssetsAssetId, RelayLocation, XcmOriginToTransactDispatchOrigin}; +impl pallet_assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = AssetId; + type AssetIdParameter = AssetId; + type Currency = Balances; + + // This is to allow any other remote location to create foreign assets. Used in tests, not + // recommended on real chains. + // type CreateOrigin = + // ForeignCreators; + // Use EnsureSignedBy to specify a single account allowed to create assets. + // The Success type of EnsureSignedBy is AccountId, matching the trait bound. + type CreateOrigin = EnsureSigned; + type ForceOrigin = EnsureRoot; + + type AssetDeposit = ForeignAssetsAssetDeposit; + // type AssetAccountDeposit = AssetAccountDeposit; + type MetadataDepositBase = ForeignAssetsMetadataDepositBase; + type MetadataDepositPerByte = ForeignAssetsMetadataDepositPerByte; + type ApprovalDeposit = ForeignAssetsApprovalDeposit; + type StringLimit = AssetsStringLimit; + + type Freezer = (); + type Extra = (); + type WeightInfo = pallet_assets::weights::SubstrateWeight; + type CallbackHandle = (); + type AssetAccountDeposit = ForeignAssetsAssetAccountDeposit; + type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + + #[cfg(feature = "runtime-benchmarks")] + // type BenchmarkHelper = xcm_config::XcmBenchmarkHelper; + type BenchmarkHelper = (); + type Holder = (); +} + // See https://paritytech.github.io/substrate/master/pallet_sudo/index.html for // the descriptions of these configs. #[cfg(any(not(feature = "frequency"), feature = "frequency-lint-check"))] @@ -1365,7 +1438,7 @@ construct_runtime!( // Signatures Multisig: pallet_multisig::{Pallet, Call, Storage, Event} = 30, - // FRQC Update + // FRQCY Update TimeRelease: pallet_time_release::{Pallet, Call, Storage, Event, Config, Origin, FreezeReason, HoldReason} = 40, // Allowing accounts to give permission to other accounts to dispatch types of calls from their signed origin @@ -1383,6 +1456,8 @@ construct_runtime!( FrequencyTxPayment: pallet_frequency_tx_payment::{Pallet, Call, Event} = 65, Handles: pallet_handles::{Pallet, Call, Storage, Event} = 66, Passkey: pallet_passkey::{Pallet, Call, Storage, Event, ValidateUnsigned} = 67, + #[cfg(feature = "frequency-bridging")] + Assets: pallet_assets::{Pallet, Call, Storage, Event} = 68, } ); @@ -1422,6 +1497,7 @@ mod benches { [pallet_capacity, Capacity] [pallet_frequency_tx_payment, FrequencyTxPayment] [pallet_passkey, Passkey] + [pallet_assets, Assets] ); } From 3051df2cfd103c24a155b20e7a94ee694eea33b0 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Wed, 23 Apr 2025 09:43:04 -0600 Subject: [PATCH 05/16] Add frequency-lint-check dependency and include pallet_assets in benchmark script - Updated Cargo.toml to add "frequency-bridging" to the frequency-lint-check dependencies. - Modified run_benchmarks.sh to include pallet_assets in the list of ALL_EXTERNAL_PALLETS. --- runtime/common/src/weights/pallet_assets.rs | 912 ++++++++++++++++++++ runtime/frequency/Cargo.toml | 2 +- scripts/run_benchmarks.sh | 1 + 3 files changed, 914 insertions(+), 1 deletion(-) create mode 100644 runtime/common/src/weights/pallet_assets.rs diff --git a/runtime/common/src/weights/pallet_assets.rs b/runtime/common/src/weights/pallet_assets.rs new file mode 100644 index 0000000000..5b17e5e79b --- /dev/null +++ b/runtime/common/src/weights/pallet_assets.rs @@ -0,0 +1,912 @@ +//! Autogenerated weights for pallet_assets +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 47.0.0 +//! DATE: 2025-04-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `Work-M2-Pro.local`, CPU: `` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// ./scripts/../target/bench-dev/frequency +// benchmark +// pallet +// --pallet=pallet_assets +// --extrinsic +// * +// --heap-pages=4096 +// --steps=50 +// --repeat=20 +// --output=./scripts/../runtime/common/src/weights +// --template=./scripts/../.maintain/runtime-weight-template.hbs +// --additional-trie-layers=3 +// --runtime=./scripts/../target/bench-dev/wbuild/frequency-runtime/frequency_runtime.wasm +// --genesis-builder=runtime + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weights for `pallet_assets` using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl pallet_assets::WeightInfo for SubstrateWeight { + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::NextAssetId` (r:1 w:0) + /// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn create() -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `4170` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(11_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::NextAssetId` (r:1 w:0) + /// Proof: `Assets::NextAssetId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn force_create() -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `4170` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn start_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `277` + // Estimated: `4170` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1001 w:1000) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1000 w:1000) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 1000]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `117 + c * (208 ±0)` + // Estimated: `4170 + c * (2609 ±0)` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_000_000, 4170) + // Standard Error: 10_311 + .saturating_add(Weight::from_parts(12_493_803, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2609).saturating_mul(c.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1001 w:1000) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 1000]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `414 + a * (86 ±0)` + // Estimated: `4170 + a * (2623 ±0)` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + // Standard Error: 3_821 + .saturating_add(Weight::from_parts(4_760_186, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 2623).saturating_mul(a.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn finish_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn mint() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `4170` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `6703` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(41_000_000, 6703) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `6703` + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(36_000_000, 6703) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `6703` + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(41_000_000, 6703) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn freeze() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `4170` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(13_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn thaw() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `4170` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn freeze_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `277` + // Estimated: `4170` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(11_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn thaw_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `277` + // Estimated: `4170` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn transfer_ownership() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn set_team() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_810_305, 4170) + // Standard Error: 478 + .saturating_add(Weight::from_parts(2_017, 0).saturating_mul(n.into())) + // Standard Error: 478 + .saturating_add(Weight::from_parts(3_019, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `407` + // Estimated: `4170` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `82` + // Estimated: `4170` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_247_054, 4170) + // Standard Error: 1_219 + .saturating_add(Weight::from_parts(2_976, 0).saturating_mul(n.into())) + // Standard Error: 1_219 + .saturating_add(Weight::from_parts(3_463, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) + fn force_clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `407` + // Estimated: `4170` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn force_asset_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(10_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn approve_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `277` + // Estimated: `4170` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(15_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `560` + // Estimated: `6703` + // Minimum execution time: 48_000_000 picoseconds. + Weight::from_parts(49_000_000, 6703) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `4170` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(148), added: 2623, mode: `MaxEncodedLen`) + fn force_cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `4170` + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(18_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn set_min_balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 10_000_000 picoseconds. + Weight::from_parts(10_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn touch() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 15_000_000 picoseconds. + Weight::from_parts(16_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn touch_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4170` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn refund() -> Weight { + // Proof Size summary in bytes: + // Measured: `369` + // Estimated: `4170` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + fn refund_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `402` + // Estimated: `4170` + // Minimum execution time: 14_000_000 picoseconds. + Weight::from_parts(15_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + fn block() -> Weight { + // Proof Size summary in bytes: + // Measured: `351` + // Estimated: `4170` + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 4170) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `390` + // Estimated: `6703` + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(50_000_000, 6703) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } +} + + +#[cfg(test)] +mod tests { + use frame_support::{traits::Get, weights::Weight, dispatch::DispatchClass}; + use crate::constants::{MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO}; + use crate::weights::extrinsic_weights::ExtrinsicBaseWeight; + + #[allow(dead_code)] + struct BlockWeights; + impl Get for BlockWeights { + fn get() -> frame_system::limits::BlockWeights { + frame_system::limits::BlockWeights::builder() + .base_block(Weight::zero()) + .for_class(DispatchClass::all(), |weights| { + weights.base_extrinsic = ExtrinsicBaseWeight::get(); + }) + .for_class(DispatchClass::non_mandatory(), |weights| { + weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT); + }) + .build_or_panic() + } + } + + #[test] + fn test_create() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_force_create() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_start_destroy() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_destroy_accounts() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_destroy_approvals() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_finish_destroy() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_mint() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_burn() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_transfer() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 6703 + ); + } + #[test] + fn test_transfer_keep_alive() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 6703 + ); + } + #[test] + fn test_force_transfer() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 6703 + ); + } + #[test] + fn test_freeze() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_thaw() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_freeze_asset() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_thaw_asset() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_transfer_ownership() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_set_team() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_set_metadata() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_clear_metadata() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_force_set_metadata() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_force_clear_metadata() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_force_asset_status() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_approve_transfer() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_transfer_approved() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 6703 + ); + } + #[test] + fn test_cancel_approval() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_force_cancel_approval() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_set_min_balance() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_touch() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_touch_other() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_refund() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_refund_other() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_block() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 4170 + ); + } + #[test] + fn test_transfer_all() { + assert!( + BlockWeights::get() + .per_class + .get(frame_support::dispatch::DispatchClass::Normal) + .max_extrinsic + .unwrap_or_else(::max_value) + .proof_size() + > 6703 + ); + } +} diff --git a/runtime/frequency/Cargo.toml b/runtime/frequency/Cargo.toml index 4ca47d4265..ad10f40318 100644 --- a/runtime/frequency/Cargo.toml +++ b/runtime/frequency/Cargo.toml @@ -268,7 +268,7 @@ on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"] # `RUNTIME_METADATA_HASH` environment variable set for the `CheckMetadataHash` # extension. metadata-hash = ["substrate-wasm-builder/metadata-hash"] -frequency-lint-check = [] +frequency-lint-check = ["frequency-bridging"] test = [] parameterized-consensus-hook = [] force-debug=[ diff --git a/scripts/run_benchmarks.sh b/scripts/run_benchmarks.sh index 0a7ebcd6f6..fd04f06a1f 100755 --- a/scripts/run_benchmarks.sh +++ b/scripts/run_benchmarks.sh @@ -21,6 +21,7 @@ ALL_EXTERNAL_PALLETS=( \ pallet_transaction_payment \ pallet_utility \ pallet_proxy \ + pallet_assets \ ) ALL_CUSTOM_PALLETS=( \ messages \ From f8aa5fb8bb3217ea025e5af0e66abf83371dc4ca Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Thu, 24 Apr 2025 09:40:30 -0600 Subject: [PATCH 06/16] feat: add start-bridging target to Makefile for bridging initialization --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 400ed8750a..2079cff13e 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,13 @@ all: build clean: cargo clean -.PHONY: start start-frequency start-frequency-docker start-manual start-interval start-interval-short start-with-offchain start-frequency-with-offchain start-manual-with-offchain start-interval-with-offchain +.PHONY: start start-bridging start-frequency start-frequency-docker start-manual start-interval start-interval-short start-with-offchain start-frequency-with-offchain start-manual-with-offchain start-interval-with-offchain start: ./scripts/init.sh start-frequency-instant +start-bridging: + ./scripts/init.sh start-frequency-instant-bridging + start-paseo-relay: ./scripts/init.sh start-paseo-relay-chain From c8e38646f927cb40291ad9d801b06e8ec3f124d0 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Thu, 24 Apr 2025 09:44:31 -0600 Subject: [PATCH 07/16] feat: add instant bridging command to init script and update Cargo.toml features --- runtime/frequency/Cargo.toml | 8 +++++++- scripts/init.sh | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/runtime/frequency/Cargo.toml b/runtime/frequency/Cargo.toml index ad10f40318..4f07ee8c61 100644 --- a/runtime/frequency/Cargo.toml +++ b/runtime/frequency/Cargo.toml @@ -109,6 +109,7 @@ sp-debug-derive = { workspace = true, optional = true } [features] default = ["std"] std = [ + "assets-common/std", "common-primitives/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-parachain-system/std", @@ -121,6 +122,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "log/std", + "pallet-assets/std", "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", @@ -255,7 +257,11 @@ frequency = ["common-runtime/frequency"] frequency-testnet = ["common-runtime/frequency-testnet"] frequency-local = ["common-runtime/frequency-local"] frequency-no-relay = ["common-runtime/frequency-no-relay"] -frequency-bridging = [ "common-runtime/frequency-bridging", "pallet-assets"] +frequency-bridging = [ + "common-runtime/frequency-bridging", + "pallet-assets", + "assets-common", +] # Following features are used in generating lean wasms no-metadata-docs = ["frame-support/no-metadata-docs"] on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"] diff --git a/scripts/init.sh b/scripts/init.sh index fc968a0cf8..f2f35b3ce7 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -134,6 +134,38 @@ start-frequency-instant) --tmp ;; +start-frequency-instant-bridging) + printf "\nBuilding Frequency without relay and with Bridging. Running with instant sealing ...\n" + # Uncomment/swap below if you want to see debug logs in the Frequency node + # cargo build --features frequency-no-relay,force-debug + cargo build --features frequency-no-relay,frequency-bridging + + parachain_dir=$base_dir/parachain/${para_id} + mkdir -p $parachain_dir; + + if [ "$2" == "purge" ]; then + echo "purging parachain..." + rm -rf $parachain_dir + fi + + ./target/debug/frequency \ + --dev \ + --state-pruning archive \ + -lbasic-authorship=debug \ + -ltxpool=debug \ + -lruntime=debug \ + --sealing=instant \ + --no-telemetry \ + --no-prometheus \ + --port $((30333)) \ + --rpc-port $((9944)) \ + --rpc-external \ + --rpc-cors all \ + --rpc-methods=Unsafe \ + $offchain_params \ + --tmp + ;; + start-frequency-interval) defaultInterval=6 interval=${3-$defaultInterval} From ef5ef82ba76fb4ce6e390fa7261bda0779fd0edd Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Thu, 24 Apr 2025 10:00:21 -0600 Subject: [PATCH 08/16] refactor: update references to assets pallet as foreign assets in lib.rs and Cargo.lock --- Cargo.lock | 2 ++ runtime/frequency/src/lib.rs | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d2ca5bcea..250eaaf3a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7202,11 +7202,13 @@ name = "pallet-asset-tx-payment" version = "40.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", + "serde", "sp-core", "sp-io", "sp-runtime", diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index eab7a91bbf..76739cfa9f 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -500,7 +500,7 @@ parameter_types! { .build_or_panic(); } -// ---------- Assets pallet parameters ---------- +// ---------- Foreign Assets pallet parameters ---------- #[cfg(feature = "frequency-bridging")] parameter_types! { pub const AssetDeposit: Balance = 0; @@ -1339,7 +1339,7 @@ impl pallet_handles::Config for Runtime { type MsaBenchmarkHelper = Msa; } -// ---------- Assets pallet configuration ---------- +// ---------- Foreign Assets pallet configuration ---------- #[cfg(feature = "frequency-bridging")] // use xcm_config::{ForeignAssetsAssetId, RelayLocation, XcmOriginToTransactDispatchOrigin}; impl pallet_assets::Config for Runtime { @@ -1457,7 +1457,7 @@ construct_runtime!( Handles: pallet_handles::{Pallet, Call, Storage, Event} = 66, Passkey: pallet_passkey::{Pallet, Call, Storage, Event, ValidateUnsigned} = 67, #[cfg(feature = "frequency-bridging")] - Assets: pallet_assets::{Pallet, Call, Storage, Event} = 68, + ForeignAssets: pallet_assets::{Pallet, Call, Storage, Event} = 68, } ); @@ -1497,7 +1497,7 @@ mod benches { [pallet_capacity, Capacity] [pallet_frequency_tx_payment, FrequencyTxPayment] [pallet_passkey, Passkey] - [pallet_assets, Assets] + [pallet_assets, ForeignAssets] ); } From aa555f47dd25c0e5e3cd2dd0892a61b3446040b3 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Thu, 24 Apr 2025 16:10:25 -0600 Subject: [PATCH 09/16] refactor: remove unused assets-common dependency from Cargo.toml and Cargo.lock bump spec_version to 154 in runtime frequency --- Cargo.lock | 86 ------------------------------------ Cargo.toml | 1 - runtime/frequency/Cargo.toml | 10 +---- runtime/frequency/src/lib.rs | 5 +-- 4 files changed, 4 insertions(+), 98 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 250eaaf3a8..c5fcfc9532 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -630,28 +630,6 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" -[[package]] -name = "assets-common" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "impl-trait-for-tuples", - "pallet-asset-conversion", - "pallet-assets", - "pallet-xcm", - "parachains-common", - "parity-scale-codec", - "scale-info", - "sp-api", - "sp-runtime", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", - "tracing", -] - [[package]] name = "async-channel" version = "1.9.0" @@ -2475,23 +2453,6 @@ dependencies = [ "sp-timestamp", ] -[[package]] -name = "cumulus-primitives-utility" -version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" -dependencies = [ - "cumulus-primitives-core", - "frame-support", - "log", - "pallet-asset-conversion", - "parity-scale-codec", - "polkadot-runtime-common", - "sp-runtime", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.23.0" @@ -3947,7 +3908,6 @@ dependencies = [ name = "frequency-runtime" version = "0.0.0" dependencies = [ - "assets-common", "common-primitives", "common-runtime", "cumulus-pallet-aura-ext", @@ -7197,23 +7157,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "pallet-asset-tx-payment" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "pallet-transaction-payment", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", -] - [[package]] name = "pallet-assets" version = "42.0.0" @@ -8699,35 +8642,6 @@ dependencies = [ "staging-xcm-executor", ] -[[package]] -name = "parachains-common" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" -dependencies = [ - "cumulus-primitives-core", - "cumulus-primitives-utility", - "frame-support", - "frame-system", - "log", - "pallet-asset-tx-payment", - "pallet-assets", - "pallet-authorship", - "pallet-balances", - "pallet-collator-selection", - "pallet-message-queue", - "pallet-xcm", - "parity-scale-codec", - "polkadot-primitives", - "scale-info", - "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "staging-parachain-info", - "staging-xcm", - "staging-xcm-executor", -] - [[package]] name = "parity-bip39" version = "2.0.1" diff --git a/Cargo.toml b/Cargo.toml index ea90812bf3..66b2b56662 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -80,7 +80,6 @@ pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "s # Bridging Pallets pallet-assets = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } -assets-common = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503", default-features = false } # polkadot polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2503" } diff --git a/runtime/frequency/Cargo.toml b/runtime/frequency/Cargo.toml index 4f07ee8c61..041d3fb9d6 100644 --- a/runtime/frequency/Cargo.toml +++ b/runtime/frequency/Cargo.toml @@ -53,7 +53,6 @@ pallet-proxy = { workspace = true } # Bridging pallet-assets = { workspace = true, optional = true } -assets-common = { workspace = true, optional = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } @@ -109,7 +108,6 @@ sp-debug-derive = { workspace = true, optional = true } [features] default = ["std"] std = [ - "assets-common/std", "common-primitives/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-parachain-system/std", @@ -257,11 +255,7 @@ frequency = ["common-runtime/frequency"] frequency-testnet = ["common-runtime/frequency-testnet"] frequency-local = ["common-runtime/frequency-local"] frequency-no-relay = ["common-runtime/frequency-no-relay"] -frequency-bridging = [ - "common-runtime/frequency-bridging", - "pallet-assets", - "assets-common", -] +frequency-bridging = ["common-runtime/frequency-bridging"] # Following features are used in generating lean wasms no-metadata-docs = ["frame-support/no-metadata-docs"] on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"] @@ -274,7 +268,7 @@ on-chain-release-build = ["metadata-hash", "sp-api/disable-logging"] # `RUNTIME_METADATA_HASH` environment variable set for the `CheckMetadataHash` # extension. metadata-hash = ["substrate-wasm-builder/metadata-hash"] -frequency-lint-check = ["frequency-bridging"] +frequency-lint-check = ["frequency-bridging", "pallet-assets"] test = [] parameterized-consensus-hook = [] force-debug=[ diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 85bbaa00c9..7bf2414dc0 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -442,7 +442,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: Cow::Borrowed("frequency"), impl_name: Cow::Borrowed("frequency"), authoring_version: 1, - spec_version: 152, + spec_version: 154, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -456,7 +456,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: Cow::Borrowed("frequency-testnet"), impl_name: Cow::Borrowed("frequency"), authoring_version: 1, - spec_version: 152, + spec_version: 154, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -1359,7 +1359,6 @@ impl pallet_assets::Config for Runtime { type ForceOrigin = EnsureRoot; type AssetDeposit = ForeignAssetsAssetDeposit; - // type AssetAccountDeposit = AssetAccountDeposit; type MetadataDepositBase = ForeignAssetsMetadataDepositBase; type MetadataDepositPerByte = ForeignAssetsMetadataDepositPerByte; type ApprovalDeposit = ForeignAssetsApprovalDeposit; From 7322a4378ded54c046146b433de1e9bbf2126771 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 08:24:40 -0600 Subject: [PATCH 10/16] refactor: remove commented-out dependencies and unused constants in Cargo.toml and lib.rs --- runtime/common/Cargo.toml | 5 ----- runtime/frequency/src/lib.rs | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index d71b9e0dcb..c33ea613a3 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -36,11 +36,6 @@ pallet-timestamp = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-utility = { workspace = true } pallet-proxy = { workspace = true } - -# Bridging -# pallet-assets = { workspace = true, optional = true } -# assets-common = { workspace = true , optional = true } - # cumulus cumulus-pallet-weight-reclaim = { workspace = true } cumulus-primitives-core = { workspace = true } diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 7bf2414dc0..64a2012d8d 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -509,7 +509,6 @@ parameter_types! { pub const MetadataDepositPerByte: Balance = 0; pub const ApprovalDeposit: Balance = 0; pub const AssetsStringLimit: u32 = 50; - // pub const RemoveItemsLimit: u32 = 1000; } #[cfg(feature = "frequency-bridging")] parameter_types! { @@ -1341,7 +1340,6 @@ impl pallet_handles::Config for Runtime { // ---------- Foreign Assets pallet configuration ---------- #[cfg(feature = "frequency-bridging")] -// use xcm_config::{ForeignAssetsAssetId, RelayLocation, XcmOriginToTransactDispatchOrigin}; impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; @@ -1362,7 +1360,7 @@ impl pallet_assets::Config for Runtime { type MetadataDepositBase = ForeignAssetsMetadataDepositBase; type MetadataDepositPerByte = ForeignAssetsMetadataDepositPerByte; type ApprovalDeposit = ForeignAssetsApprovalDeposit; - type StringLimit = AssetsStringLimit; + type StringLimit = ForeignAssetsAssetsStringLimit; type Freezer = (); type Extra = (); From 02efb2ae85373da8d00bdc72503d5c0447d94312 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 08:49:11 -0600 Subject: [PATCH 11/16] refactor: update Makefile and Cargo.toml to enhance check-all target and include pallet-assets in runtime benchmarks --- Makefile | 12 ++++-------- runtime/frequency/Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 4d6441e298..0070f8cdff 100644 --- a/Makefile +++ b/Makefile @@ -248,14 +248,9 @@ docker-prune: ./scripts/prune_all.sh .PHONY: check check-no-relay check-local check-testnet check-mainnet check-bridging -# Add a target to run all checks -check-all: - SKIP_WASM_BUILD= cargo check --features runtime-benchmarks,frequency-lint-check - SKIP_WASM_BUILD= cargo check --features frequency-no-relay - SKIP_WASM_BUILD= cargo check --features frequency-local - SKIP_WASM_BUILD= cargo check --features frequency-testnet - SKIP_WASM_BUILD= cargo check --features frequency - SKIP_WASM_BUILD= cargo check --features frequency,frequency-bridging +# Add a target to run all checks to check that all existing features work with the addition of 'frequency-bridging' +# which is an add-on feature and not mutually exclusive with the other features. +check-all: check check-no-relay check-local check-testnet check-mainnet check-bridging check: SKIP_WASM_BUILD= cargo check --features runtime-benchmarks,frequency-lint-check @@ -274,6 +269,7 @@ check-mainnet: check-bridging: SKIP_WASM_BUILD= cargo check --features frequency,frequency-bridging + SKIP_WASM_BUILD= cargo check --features frequency-testnet,frequency-bridging .PHONY: js js: diff --git a/runtime/frequency/Cargo.toml b/runtime/frequency/Cargo.toml index 041d3fb9d6..400bae9266 100644 --- a/runtime/frequency/Cargo.toml +++ b/runtime/frequency/Cargo.toml @@ -178,7 +178,6 @@ std = [ "system-runtime-api/std", "substrate-wasm-builder", "frame-metadata-hash-extension/std", - "pallet-assets/std", ] runtime-benchmarks = [ "cumulus-pallet-parachain-system/runtime-benchmarks", @@ -189,6 +188,7 @@ runtime-benchmarks = [ "frame-system-benchmarking", "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", "pallet-balances/runtime-benchmarks", "pallet-capacity/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", @@ -213,7 +213,6 @@ runtime-benchmarks = [ "polkadot-runtime-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", "common-runtime/runtime-benchmarks", - "pallet-assets/runtime-benchmarks", ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", @@ -222,6 +221,7 @@ try-runtime = [ "frame-executive/try-runtime", "frame-system/try-runtime", "frame-try-runtime", + "pallet-assets/try-runtime", "pallet-aura/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", From e1a9146645b4e94e135b5be43000767a0499dc51 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 10:51:46 -0600 Subject: [PATCH 12/16] feat: add support for westend bridging and new asset transaction payment pallet --- Cargo.lock | 17 ++++++++++++++++ Makefile | 10 +++++++++- runtime/frequency/src/lib.rs | 4 ++++ runtime/frequency/src/xcm_config.rs | 4 +++- runtime/frequency/src/xcm_queue.rs | 1 + scripts/init.sh | 30 +++++++++++++++++++++++++++++ 6 files changed, 64 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3617b4215e..00379d6cf7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7235,6 +7235,23 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-asset-tx-payment" +version = "40.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2503#b7c7686ec66c9fe6dcfcd89d79f7e3607cd2e193" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", +] + [[package]] name = "pallet-assets" version = "42.0.0" diff --git a/Makefile b/Makefile index 0070f8cdff..248da3c0cd 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ start: start-bridging: ./scripts/init.sh start-frequency-instant-bridging +start-westend-bridging: + ./scripts/init.sh start-frequency-westend-bridging + start-paseo-relay: ./scripts/init.sh start-paseo-relay-chain @@ -93,7 +96,7 @@ register: onboard: ./scripts/init.sh onboard-frequency-paseo-local -.PHONY: onboard-res-local +.PHONY: onboard-debug onboard-debug: ./scripts/init.sh onboard-res-local @@ -270,6 +273,8 @@ check-mainnet: check-bridging: SKIP_WASM_BUILD= cargo check --features frequency,frequency-bridging SKIP_WASM_BUILD= cargo check --features frequency-testnet,frequency-bridging + SKIP_WASM_BUILD= cargo check --features frequency-local,frequency-bridging + .PHONY: js js: @@ -303,6 +308,9 @@ build-mainnet-release: build-bridging: cargo build --features frequency-no-relay,frequency-bridging +build-westend-bridging: + cargo build --features frequency-local,frequency-bridging + .PHONY: test e2e-tests e2e-tests-serial e2e-tests-only e2e-tests-load e2e-tests-load-only e2e-tests-testnet-paseo e2e-tests-paseo-local test: cargo test --workspace --features runtime-benchmarks,frequency-lint-check diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 1e82b7e28d..d92c7904c6 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -1461,9 +1461,13 @@ construct_runtime!( #[cfg(feature = "frequency-bridging")] ForeignAssets: pallet_assets::{Pallet, Call, Storage, Event} = 68, + #[cfg(feature = "frequency-bridging")] XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 71, + #[cfg(feature = "frequency-bridging")] MessageQueue: pallet_message_queue::{Pallet, Call, Storage, Event} = 72, + #[cfg(feature = "frequency-bridging")] PolkadotXcm: pallet_xcm::{Pallet, Call, Storage, Event, Origin} = 73, + #[cfg(feature = "frequency-bridging")] CumulusXcm: cumulus_pallet_xcm::{Pallet, Event, Origin} = 74 } ); diff --git a/runtime/frequency/src/xcm_config.rs b/runtime/frequency/src/xcm_config.rs index de14ac0ab7..2f339fba47 100644 --- a/runtime/frequency/src/xcm_config.rs +++ b/runtime/frequency/src/xcm_config.rs @@ -1,3 +1,5 @@ +#![cfg(feature = "frequency-bridging")] + use crate::{ AccountId, AllPalletsWithSystem, Balances, CumulusXcm, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, XcmpQueue, @@ -75,7 +77,7 @@ impl Contains for ParentOrParentsExecutivePlurality { /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. /// Conversions between Multilocation to an accountid -/// Parachain origin is converted to corresponding souverin account +/// Parachain origin is converted to corresponding sovereign account pub type LocationToAccountId = ( // The parent (Relay-chain) origin converts to the parent `AccountId`. ParentIsPreset, diff --git a/runtime/frequency/src/xcm_queue.rs b/runtime/frequency/src/xcm_queue.rs index 7eae84b36c..7707d2e0b6 100644 --- a/runtime/frequency/src/xcm_queue.rs +++ b/runtime/frequency/src/xcm_queue.rs @@ -1,3 +1,4 @@ +#![cfg(feature = "frequency-bridging")] // use crate::{MessageQueue, ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent}; // use crate::{ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, AccountId, RuntimeOrigin, Runtime}; use crate::{ diff --git a/scripts/init.sh b/scripts/init.sh index 172974763b..e285ebb5b4 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -173,6 +173,36 @@ start-frequency-instant-bridging) --tmp ;; +# TODO: This is a work in progress. +start-frequency-westend-bridging) + printf "\nBuilding Frequency for westend-local with Bridging. Running with local relay ...\n" + cargo build --features frequency-local,frequency-bridging + + parachain_dir=$base_dir/parachain/${para_id} + mkdir -p $parachain_dir; + + if [ "$2" == "purge" ]; then + echo "purging parachain..." + rm -rf $parachain_dir + fi + + ./target/debug/frequency \ + --dev \ + --state-pruning archive \ + -lbasic-authorship=debug \ + -ltxpool=debug \ + -lruntime=debug \ + --no-telemetry \ + --no-prometheus \ + --port $((30333)) \ + --rpc-port $((9944)) \ + --rpc-external \ + --rpc-cors all \ + --rpc-methods=Unsafe \ + $offchain_params \ + --tmp + ;; + start-frequency-interval) defaultInterval=6 interval=${3-$defaultInterval} From bc67eab34d4c187a612d579ef97a4605f97da926 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 15:10:41 -0600 Subject: [PATCH 13/16] refactor: update Makefile and runtime files to improve bridging support and clean up feature flags --- Makefile | 4 ++-- runtime/frequency/src/lib.rs | 9 ++++++--- runtime/frequency/src/xcm_config.rs | 5 ++++- runtime/frequency/src/xcm_queue.rs | 5 ++++- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 248da3c0cd..c9550c8063 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,14 @@ all: build clean: cargo clean -.PHONY: start start-bridging start-frequency start-frequency-docker start-manual start-interval start-interval-short start-with-offchain start-frequency-with-offchain start-manual-with-offchain start-interval-with-offchain +.PHONY: start start-bridging start-bridging-westend start-frequency start-frequency-docker start-manual start-interval start-interval-short start-with-offchain start-frequency-with-offchain start-manual-with-offchain start-interval-with-offchain start: ./scripts/init.sh start-frequency-instant start-bridging: ./scripts/init.sh start-frequency-instant-bridging -start-westend-bridging: +start-bridging-westend: ./scripts/init.sh start-frequency-westend-bridging start-paseo-relay: diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index d92c7904c6..e9ec6d3226 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -18,9 +18,10 @@ pub fn wasm_binary_unwrap() -> &'static [u8] { } mod xcm_config; +// TODO: Do we need to add 'frequency-bridging' to the cfg? +// #[cfg(feature = "frequency-bridging")] #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] mod xcm_queue; -// use xcm_config; use alloc::borrow::Cow; use common_runtime::constants::currency::UNITS; @@ -1404,9 +1405,10 @@ construct_runtime!( pub enum Runtime { // System support stuff. System: frame_system::{Pallet, Call, Config, Storage, Event} = 0, + // TODO: Do we need to add 'frequency-bridging' feature to this? + // #[cfg(feature = "frequency-bridging")] #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] - ParachainSystem: cumulus_pallet_parachain_system::{ - Pallet, Call, Config, Storage, Inherent, Event } = 1, + ParachainSystem: cumulus_pallet_parachain_system::{ Pallet, Call, Config, Storage, Inherent, Event } = 1, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2, ParachainInfo: parachain_info::{Pallet, Storage, Config} = 3, @@ -1704,6 +1706,7 @@ sp_api::impl_runtime_apis! { } } + // TODO: Do we need to add 'frequency-bridging' to the feature list? #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] impl cumulus_primitives_core::CollectCollationInfo for Runtime { fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { diff --git a/runtime/frequency/src/xcm_config.rs b/runtime/frequency/src/xcm_config.rs index 2f339fba47..eb8c71e8a5 100644 --- a/runtime/frequency/src/xcm_config.rs +++ b/runtime/frequency/src/xcm_config.rs @@ -90,6 +90,9 @@ pub type LocationToAccountId = ( /////// Transactors /////// // pub type ForeignAssetsAdapter = FungiblesAdapter< // // Use this fungibles implementation: +// // TODO: Where is the correct implementation for Fungibles? +// // I see several cases of 'type Fungibles = Assets;' in polkadot-sdk. +// // No references to ForeignAssetsAdapter. // Fungibles, // // Use this currency when it is a fungible asset matching the given location or name: // MatchedConvertedConcreteId>, xcm_executor::traits::JustTry, xcm_executor::traits::JustTry>, @@ -144,7 +147,7 @@ pub type Barrier = TrailingSetTopicAsId< pub struct AssetFrom(core::marker::PhantomData); impl> ContainsPair for AssetFrom { - fn contains(asset: &Asset, location: &Location) -> bool { + fn contains(_asset: &Asset, location: &Location) -> bool { let prefix = T::get(); location == &prefix } diff --git a/runtime/frequency/src/xcm_queue.rs b/runtime/frequency/src/xcm_queue.rs index 7707d2e0b6..a1a0b4207a 100644 --- a/runtime/frequency/src/xcm_queue.rs +++ b/runtime/frequency/src/xcm_queue.rs @@ -1,4 +1,7 @@ -#![cfg(feature = "frequency-bridging")] +// TODO: Do we need to add 'frequency-bridging' feature here? +// #![cfg(feature = "frequency-bridging")] +// Added this cfg to make sure it matches the cfg in lib.rs where this file is included +#![cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] // use crate::{MessageQueue, ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent}; // use crate::{ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, AccountId, RuntimeOrigin, Runtime}; use crate::{ From e965153c8e9a94a6fc4e7a50664c757527724747 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 15:19:52 -0600 Subject: [PATCH 14/16] chore: trigger CI From 7126524062ef2c89d8b3f11cde78d627c16e9a95 Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Fri, 25 Apr 2025 16:57:46 -0600 Subject: [PATCH 15/16] refactor: align frequency-bridging feature configuration across modules --- runtime/frequency/src/lib.rs | 10 +++------- runtime/frequency/src/xcm_config.rs | 1 - runtime/frequency/src/xcm_queue.rs | 4 ---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index e9ec6d3226..01788486a7 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -17,10 +17,9 @@ pub fn wasm_binary_unwrap() -> &'static [u8] { ) } +#[cfg(feature = "frequency-bridging")] mod xcm_config; -// TODO: Do we need to add 'frequency-bridging' to the cfg? -// #[cfg(feature = "frequency-bridging")] -#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] +#[cfg(feature = "frequency-bridging")] mod xcm_queue; use alloc::borrow::Cow; @@ -1405,9 +1404,7 @@ construct_runtime!( pub enum Runtime { // System support stuff. System: frame_system::{Pallet, Call, Config, Storage, Event} = 0, - // TODO: Do we need to add 'frequency-bridging' feature to this? - // #[cfg(feature = "frequency-bridging")] - #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] + #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", feature = "frequency-bridging"))] ParachainSystem: cumulus_pallet_parachain_system::{ Pallet, Call, Config, Storage, Inherent, Event } = 1, Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 2, ParachainInfo: parachain_info::{Pallet, Storage, Config} = 3, @@ -1706,7 +1703,6 @@ sp_api::impl_runtime_apis! { } } - // TODO: Do we need to add 'frequency-bridging' to the feature list? #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] impl cumulus_primitives_core::CollectCollationInfo for Runtime { fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { diff --git a/runtime/frequency/src/xcm_config.rs b/runtime/frequency/src/xcm_config.rs index eb8c71e8a5..640f6d9025 100644 --- a/runtime/frequency/src/xcm_config.rs +++ b/runtime/frequency/src/xcm_config.rs @@ -1,4 +1,3 @@ -#![cfg(feature = "frequency-bridging")] use crate::{ AccountId, AllPalletsWithSystem, Balances, CumulusXcm, ParachainInfo, ParachainSystem, diff --git a/runtime/frequency/src/xcm_queue.rs b/runtime/frequency/src/xcm_queue.rs index a1a0b4207a..7eae84b36c 100644 --- a/runtime/frequency/src/xcm_queue.rs +++ b/runtime/frequency/src/xcm_queue.rs @@ -1,7 +1,3 @@ -// TODO: Do we need to add 'frequency-bridging' feature here? -// #![cfg(feature = "frequency-bridging")] -// Added this cfg to make sure it matches the cfg in lib.rs where this file is included -#![cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] // use crate::{MessageQueue, ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent}; // use crate::{ParachainSystem, RuntimeBlockWeights, RuntimeCall, RuntimeEvent, AccountId, RuntimeOrigin, Runtime}; use crate::{ From 1e9c1b2a0cc2e65425eaf512a40196b21fb8b9ce Mon Sep 17 00:00:00 2001 From: Matthew Orris <1466844+mattheworris@users.noreply.github.com> Date: Mon, 28 Apr 2025 07:41:37 -0600 Subject: [PATCH 16/16] bug: fix features flags for frequency-bridging --- Makefile | 11 +++++++---- runtime/frequency/src/lib.rs | 8 ++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c9550c8063..88add36b2f 100644 --- a/Makefile +++ b/Makefile @@ -280,7 +280,10 @@ check-bridging: js: ./scripts/generate_js_definitions.sh -.PHONY: build build-benchmarks build-no-relay build-local build-testnet build-mainnet build-testnet-release build-mainnet-release build-bridging +.PHONY: build build-benchmarks build-no-relay build-local build-testnet build-mainnet build-testnet-release build-mainnet-release build-bridging-mainnet build-bridging-westend build-all + +build-all: build build-benchmarks build-no-relay build-local build-testnet build-mainnet build-testnet-release build-mainnet-release build-bridging-mainnet build-bridging-westend + build: cargo build --features frequency-no-relay @@ -305,10 +308,10 @@ build-testnet-release: build-mainnet-release: cargo build --locked --features frequency --release -build-bridging: - cargo build --features frequency-no-relay,frequency-bridging +build-bridging-mainnet: + cargo build --features frequency,frequency-bridging -build-westend-bridging: +build-bridging-westend: cargo build --features frequency-local,frequency-bridging .PHONY: test e2e-tests e2e-tests-serial e2e-tests-only e2e-tests-load e2e-tests-load-only e2e-tests-testnet-paseo e2e-tests-paseo-local diff --git a/runtime/frequency/src/lib.rs b/runtime/frequency/src/lib.rs index 01788486a7..31e2c2225e 100644 --- a/runtime/frequency/src/lib.rs +++ b/runtime/frequency/src/lib.rs @@ -24,7 +24,7 @@ mod xcm_queue; use alloc::borrow::Cow; use common_runtime::constants::currency::UNITS; -#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] +#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", feature = "frequency-bridging"))] use cumulus_pallet_parachain_system::{ DefaultCoreSelector, RelayNumberMonotonicallyIncreases, RelaychainDataProvider, }; @@ -579,7 +579,7 @@ impl frame_system::Config for Runtime { /// This is used as an identifier of the chain. 42 is the generic substrate prefix. type SS58Prefix = Ss58Prefix; /// The action to take on a Runtime Upgrade - #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] + #[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", feature = "frequency-bridging"))] type OnSetCode = cumulus_pallet_parachain_system::ParachainSetCode; #[cfg(feature = "frequency-no-relay")] type OnSetCode = (); @@ -1149,7 +1149,7 @@ const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6_000; // See https://paritytech.github.io/substrate/master/pallet_parachain_system/index.html for // the descriptions of these configs. -#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] +#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", feature = "frequency-bridging"))] impl cumulus_pallet_parachain_system::Config for Runtime { type RuntimeEvent = RuntimeEvent; type OnSystemEvent = (); @@ -1511,7 +1511,7 @@ mod benches { ); } -#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check"))] +#[cfg(any(not(feature = "frequency-no-relay"), feature = "frequency-lint-check", feature = "frequency-bridging"))] cumulus_pallet_parachain_system::register_validate_block! { Runtime = Runtime, BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::,