From fd81e1ed4e963280fbc111756f312d38fd3a0a3a Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Fri, 26 Sep 2025 13:53:16 +0200 Subject: [PATCH 1/4] Remove RuntimeEvent from dancekit macro TODO: is it not tested in this repo? --- primitives/impl-tanssi-pallets-config/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/primitives/impl-tanssi-pallets-config/src/lib.rs b/primitives/impl-tanssi-pallets-config/src/lib.rs index 43c48e6..a544a5a 100644 --- a/primitives/impl-tanssi-pallets-config/src/lib.rs +++ b/primitives/impl-tanssi-pallets-config/src/lib.rs @@ -65,7 +65,6 @@ macro_rules! impl_tanssi_pallets_config { } impl pallet_cc_authorities_noting::Config for $runtime { - type RuntimeEvent = RuntimeEvent; type SelfParaId = parachain_info::Pallet<$runtime>; type RelayChainStateProvider = cumulus_pallet_parachain_system::RelaychainDataProvider; From 371575dbff23753990df522f43fab050563f4c1a Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Mon, 24 Nov 2025 18:03:00 +0100 Subject: [PATCH 2/4] Add test for impl_tanssi_pallets_config macro --- Cargo.lock | 379 ++++++++++-------- Cargo.toml | 8 +- .../Cargo.toml | 63 +++ .../src/lib.rs | 157 ++++++++ 4 files changed, 444 insertions(+), 163 deletions(-) create mode 100644 primitives/impl-tanssi-pallets-config-test/Cargo.toml create mode 100644 primitives/impl-tanssi-pallets-config-test/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 18d6a25..995f00e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -736,7 +736,7 @@ checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "binary-merkle-tree" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hash-db", "log", @@ -1590,9 +1590,10 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "0.21.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ + "array-bytes 6.2.3", "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -1628,7 +1629,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -1639,7 +1640,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -1656,7 +1657,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1670,7 +1671,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.13.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -1680,7 +1681,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.24.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2209,6 +2210,29 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "dp-impl-tanssi-pallets-config-test" +version = "0.1.0" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-primitives-core", + "dp-consensus", + "dp-impl-tanssi-pallets-config", + "frame-support", + "frame-system", + "nimbus-primitives", + "pallet-async-backing", + "pallet-author-inherent", + "pallet-cc-authorities-noting", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-consensus-slots", + "sp-core", + "sp-runtime", + "staging-parachain-info", +] + [[package]] name = "dp-slot-duration-runtime-api" version = "0.1.0" @@ -2418,7 +2442,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2627,7 +2651,7 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", ] @@ -2660,7 +2684,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-support-procedural", @@ -2684,7 +2708,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "16.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -2695,7 +2719,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2711,8 +2735,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aquamarine", "frame-support", @@ -2742,7 +2766,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -2758,7 +2782,7 @@ dependencies = [ [[package]] name = "frame-support" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -2799,7 +2823,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "cfg-expr", @@ -2819,7 +2843,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -2831,7 +2855,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro2", "quote", @@ -2840,8 +2864,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "cfg-if", "docify", @@ -2860,7 +2884,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2874,7 +2898,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "parity-scale-codec", @@ -2884,7 +2908,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "parity-scale-codec", @@ -3921,7 +3945,7 @@ checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ "hermit-abi 0.5.1", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -5295,7 +5319,7 @@ dependencies = [ [[package]] name = "nimbus-primitives" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#54a1b635fa396725b93a195857ead8e183609cdc" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#0779a158b4468835d04fdfc431989461e9dd83c2" dependencies = [ "async-trait", "frame-benchmarking", @@ -5574,7 +5598,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-conversion" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5589,10 +5613,30 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "pallet-async-backing" +version = "0.9.0" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#0779a158b4468835d04fdfc431989461e9dd83c2" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-primitives-core", + "frame-support", + "frame-system", + "log", + "nimbus-primitives", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-consensus-slots", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-author-inherent" version = "0.9.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#54a1b635fa396725b93a195857ead8e183609cdc" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#0779a158b4468835d04fdfc431989461e9dd83c2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5611,7 +5655,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5626,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5639,7 +5683,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5662,7 +5706,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -5678,7 +5722,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "frame-benchmarking", @@ -5730,7 +5774,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-benchmarking", @@ -5749,7 +5793,7 @@ dependencies = [ [[package]] name = "pallet-migrations" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#54a1b635fa396725b93a195857ead8e183609cdc" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#0779a158b4468835d04fdfc431989461e9dd83c2" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -5769,7 +5813,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -5781,7 +5825,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5802,7 +5846,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5824,7 +5868,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -5842,7 +5886,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5857,7 +5901,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6140,7 +6184,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -6151,7 +6195,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "futures", @@ -6168,7 +6212,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-channel", "async-trait", @@ -6192,8 +6236,8 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "20.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "bounded-vec", @@ -6217,7 +6261,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "derive_more 0.99.20", @@ -6245,7 +6289,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -6265,7 +6309,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -6281,7 +6325,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "bounded-collections", @@ -6310,7 +6354,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "frame-benchmarking", @@ -6321,8 +6365,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "20.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "20.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -6370,7 +6414,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -6405,7 +6449,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -6921,7 +6965,7 @@ dependencies = [ "once_cell", "socket2", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -7353,7 +7397,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.4.15", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -7366,7 +7410,7 @@ dependencies = [ "errno", "libc", "linux-raw-sys 0.9.4", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -7470,7 +7514,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "sp-core", @@ -7481,7 +7525,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -7512,7 +7556,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "sp-api", @@ -7527,7 +7571,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "docify", @@ -7553,7 +7597,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7564,7 +7608,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.53.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "chrono", @@ -7606,7 +7650,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "fnv", "futures", @@ -7632,7 +7676,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hash-db", "kvdb", @@ -7659,7 +7703,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -7682,7 +7726,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -7705,7 +7749,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "polkavm", "sc-allocator", @@ -7718,7 +7762,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "polkavm", @@ -7729,7 +7773,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "anyhow", "log", @@ -7745,7 +7789,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "console", "futures", @@ -7761,7 +7805,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.3", @@ -7775,7 +7819,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "arrayvec", @@ -7803,7 +7847,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.51.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7853,7 +7897,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -7863,7 +7907,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7884,7 +7928,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7919,7 +7963,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "futures", @@ -7938,7 +7982,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "bytes", @@ -7959,7 +8003,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "jsonrpsee", @@ -7991,7 +8035,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8011,7 +8055,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -8035,7 +8079,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "futures", @@ -8068,7 +8112,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "directories", @@ -8132,7 +8176,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -8143,7 +8187,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "derive_more 0.99.20", "futures", @@ -8163,7 +8207,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "chrono", "futures", @@ -8181,11 +8225,12 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "chrono", "console", + "frame-metadata", "is-terminal", "libc", "log", @@ -8201,6 +8246,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-tracing", + "sp-trie", "thiserror 1.0.69", "tracing", "tracing-log", @@ -8210,7 +8256,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -8221,7 +8267,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8252,7 +8298,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8269,7 +8315,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-channel", "futures", @@ -8755,7 +8801,7 @@ dependencies = [ [[package]] name = "sp-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "hash-db", @@ -8777,7 +8823,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "blake2 0.10.6", @@ -8791,7 +8837,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8803,7 +8849,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "integer-sqrt", @@ -8817,7 +8863,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8829,7 +8875,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-inherents", @@ -8839,7 +8885,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "parity-scale-codec", @@ -8858,7 +8904,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8872,7 +8918,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -8888,7 +8934,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -8906,7 +8952,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "finality-grandpa", "log", @@ -8923,7 +8969,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8934,7 +8980,7 @@ dependencies = [ [[package]] name = "sp-core" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "ark-vrf", "array-bytes 6.2.3", @@ -8982,7 +9028,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "blake2b_simd", "byteorder", @@ -8995,7 +9041,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "quote", "sp-crypto-hashing", @@ -9005,7 +9051,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9014,7 +9060,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro2", "quote", @@ -9024,7 +9070,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "parity-scale-codec", @@ -9034,7 +9080,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9046,7 +9092,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9059,7 +9105,7 @@ dependencies = [ [[package]] name = "sp-io" version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bytes", "docify", @@ -9085,7 +9131,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-core", "sp-runtime", @@ -9095,7 +9141,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -9106,7 +9152,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -9115,7 +9161,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -9125,7 +9171,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9136,7 +9182,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -9153,7 +9199,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9166,7 +9212,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-core", @@ -9176,7 +9222,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "backtrace", "regex", @@ -9185,7 +9231,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -9195,7 +9241,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "binary-merkle-tree", "docify", @@ -9224,7 +9270,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9243,7 +9289,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "expander", @@ -9256,7 +9302,7 @@ dependencies = [ [[package]] name = "sp-session" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9270,7 +9316,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9283,7 +9329,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hash-db", "log", @@ -9302,8 +9348,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +version = "21.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -9327,12 +9373,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" [[package]] name = "sp-storage" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9344,7 +9390,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9356,7 +9402,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "tracing", @@ -9367,7 +9413,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-runtime", @@ -9376,7 +9422,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9390,7 +9436,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "ahash", "foldhash", @@ -9415,7 +9461,7 @@ dependencies = [ [[package]] name = "sp-version" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9432,7 +9478,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -9444,7 +9490,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9456,7 +9502,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9513,10 +9559,23 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "staging-parachain-info" +version = "0.21.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-runtime", +] + [[package]] name = "staging-xcm" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -9537,7 +9596,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-support", @@ -9561,7 +9620,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "20.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-benchmarking", @@ -9662,7 +9721,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hmac", "pbkdf2", @@ -9674,7 +9733,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.6" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -9688,7 +9747,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -9713,7 +9772,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "frame-executive", @@ -9759,7 +9818,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "sc-block-builder", @@ -9777,7 +9836,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -9925,7 +9984,7 @@ dependencies = [ "getrandom 0.3.3", "once_cell", "rustix 1.0.7", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -10323,7 +10382,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "coarsetime", "polkadot-primitives", @@ -10334,7 +10393,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -11125,7 +11184,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -11599,7 +11658,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.1.0" -source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#54a1b635fa396725b93a195857ead8e183609cdc" +source = "git+https://github.com/Moonsong-Labs/moonkit?branch=main#0779a158b4468835d04fdfc431989461e9dd83c2" dependencies = [ "frame-support", "impl-trait-for-tuples", @@ -11615,7 +11674,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "11.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#c44169209310e476c10de92c7ee7db38af5d0124" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 6cdc9f8..086a9e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,19 +42,19 @@ unsafe-code = { level = "deny", priority = 1 } ccp-authorities-noting-inherent = { path = "container-chain-primitives/authorities-noting-inherent", default-features = false } ccp-xcm = { path = "container-chain-primitives/xcm", default-features = false } -pallet-cc-authorities-noting = { path = "container-chain-pallets/authorities-noting", default-features = false } - dc-orchestrator-chain-interface = { path = "client/orchestrator-chain-interface" } dp-chain-state-snapshot = { path = "primitives/chain-state-snapshot", default-features = false } dp-collator-assignment = { path = "primitives/collator-assignment", default-features = false } dp-consensus = { path = "primitives/consensus", default-features = false } dp-container-chain-genesis-data = { path = "primitives/container-chain-genesis-data", default-features = false } dp-core = { path = "primitives/core", default-features = false } -dp-impl-tanssi-pallets-config = { path = "primitives/core", default-features = false } +dp-impl-tanssi-pallets-config = { path = "primitives/impl-tanssi-pallets-config", default-features = false } +pallet-cc-authorities-noting = { path = "container-chain-pallets/authorities-noting", default-features = false } test-relay-sproof-builder = { path = "test-sproof-builder", default-features = false } # Moonkit (wasm) nimbus-primitives = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "main", default-features = false } +pallet-async-backing = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "main", default-features = false } pallet-author-inherent = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "main", default-features = false } pallet-migrations = { git = "https://github.com/Moonsong-Labs/moonkit", branch = "main", default-features = false } @@ -63,10 +63,12 @@ frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", branc frame-support = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } frame-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } parity-scale-codec = { version = "3.7.5", default-features = false, features = [ "derive", "max-encoded-len" ] } scale-info = { version = "2.11.2", default-features = false } sp-api = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } sp-consensus-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } +sp-consensus-slots = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } sp-core = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } sp-inherents = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } sp-io = { git = "https://github.com/paritytech/polkadot-sdk", branch = "stable2506", default-features = false } diff --git a/primitives/impl-tanssi-pallets-config-test/Cargo.toml b/primitives/impl-tanssi-pallets-config-test/Cargo.toml new file mode 100644 index 0000000..f81d289 --- /dev/null +++ b/primitives/impl-tanssi-pallets-config-test/Cargo.toml @@ -0,0 +1,63 @@ +[package] +name = "dp-impl-tanssi-pallets-config-test" +authors = { workspace = true } +description = "Test that code generated by dp-impl-tanssi-pallets-config macro compiles" +edition = "2021" +license = "GPL-3.0-only" +version = "0.1.0" + +[lints] +workspace = true + +[dependencies] +cumulus-pallet-parachain-system = { workspace = true } +cumulus-primitives-core = { workspace = true } +dp-consensus = { workspace = true } +dp-impl-tanssi-pallets-config = { workspace = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +nimbus-primitives = { workspace = true } +pallet-async-backing = { workspace = true } +pallet-author-inherent = { workspace = true } +pallet-cc-authorities-noting = { workspace = true } +pallet-timestamp = { workspace = true } +parachain-info = { workspace = true } +parity-scale-codec = { workspace = true } +scale-info = { workspace = true } +sp-consensus-slots = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } + +[features] +default = [ "std" ] +std = [ + "cumulus-pallet-parachain-system/std", + "cumulus-primitives-core/std", + "dp-consensus/std", + "dp-impl-tanssi-pallets-config/std", + "frame-support/std", + "frame-system/std", + "nimbus-primitives/std", + "pallet-async-backing/std", + "pallet-author-inherent/std", + "pallet-cc-authorities-noting/std", + "pallet-timestamp/std", + "parachain-info/std", + "parity-scale-codec/std", + "scale-info/std", + "sp-consensus-slots/std", + "sp-core/std", + "sp-runtime/std", +] +runtime-benchmarks = [ + "cumulus-pallet-parachain-system/runtime-benchmarks", + "cumulus-primitives-core/runtime-benchmarks", + "dp-consensus/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "nimbus-primitives/runtime-benchmarks", + "pallet-author-inherent/runtime-benchmarks", + "pallet-cc-authorities-noting/runtime-benchmarks", + "pallet-timestamp/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] diff --git a/primitives/impl-tanssi-pallets-config-test/src/lib.rs b/primitives/impl-tanssi-pallets-config-test/src/lib.rs new file mode 100644 index 0000000..c1dc64f --- /dev/null +++ b/primitives/impl-tanssi-pallets-config-test/src/lib.rs @@ -0,0 +1,157 @@ +// Copyright (C) Moondance Labs Ltd. +// This file is part of Tanssi. + +// Tanssi is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Tanssi is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Tanssi. If not, see + +#![cfg_attr(not(feature = "std"), no_std)] + +//! Test that code generated by dp-impl-tanssi-pallets-config macro compiles. +//! +//! We never execute this runtime so the config values can be wrong, we just want to verify that it +//! compiles. This helps detect when the macro breaks because new config types are added. + +use cumulus_pallet_parachain_system::{ParachainSetCode, RelayNumberMonotonicallyIncreases}; +use frame_support::{construct_runtime, parameter_types}; +use frame_support::traits::{ConstU16, ConstU64, EnqueueWithOrigin}; +use frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND; +use sp_core::{ConstBool, ConstU32, H256}; +use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; +use nimbus_primitives::{NimbusId, SlotBeacon}; +use dp_impl_tanssi_pallets_config::impl_tanssi_pallets_config; +use sp_consensus_slots::{Slot, SlotDuration}; +use sp_runtime::Weight; +use cumulus_primitives_core::AggregateMessageOrigin; + +type Block = frame_system::mocking::MockBlock; + +// Configure a mock runtime to test the pallet. +construct_runtime!( + pub enum Runtime + { + System: frame_system = 0, + ParachainSystem: cumulus_pallet_parachain_system = 1, + Timestamp: pallet_timestamp = 2, + ParachainInfo: parachain_info = 3, + // ContainerChain Author Verification + AuthoritiesNoting: pallet_cc_authorities_noting = 50, + AuthorInherent: pallet_author_inherent = 51, + } +); + +impl frame_system::Config for Runtime { + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Block = Block; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = u64; + type Lookup = IdentityLookup; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = ConstU64<250>; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = (); + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = ConstU16<42>; + type OnSetCode = ParachainSetCode; + type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); + type ExtensionsWeightInfo = (); +} + +pub struct ParaSlotProvider; +impl sp_core::Get<(Slot, SlotDuration)> for ParaSlotProvider { + fn get() -> (Slot, SlotDuration) { + let slot = u64::from(::SlotBeacon::slot()); + (Slot::from(slot), SlotDuration::from_millis(SLOT_DURATION)) + } +} + +parameter_types! { + pub const ExpectedBlockTime: u64 = MILLISECS_PER_BLOCK; +} + +impl pallet_async_backing::Config for Runtime { + type AllowMultipleBlocksPerSlot = ConstBool; + type GetAndVerifySlot = + pallet_async_backing::ParaSlot; + type SlotDuration = ConstU64; + type ExpectedBlockTime = ExpectedBlockTime; +} + +/// We allow for 2 seconds of compute with a 6 second average block time +const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( + WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), + cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64, +); + +parameter_types! { + pub ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4; + pub ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 4; + pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent; +} + +pub const RELAY_CHAIN_SLOT_DURATION_MILLIS: u32 = 6000; +pub const UNINCLUDED_SEGMENT_CAPACITY: u32 = 3; +pub const BLOCK_PROCESSING_VELOCITY: u32 = 1; + +type ConsensusHook = pallet_async_backing::consensus_hook::FixedVelocityConsensusHook< + Runtime, + RELAY_CHAIN_SLOT_DURATION_MILLIS, + BLOCK_PROCESSING_VELOCITY, + UNINCLUDED_SEGMENT_CAPACITY, +>; + +impl cumulus_pallet_parachain_system::Config for Runtime { + type WeightInfo = (); + type RuntimeEvent = RuntimeEvent; + type OnSystemEvent = (); + type OutboundXcmpMessageSource = (); + type SelfParaId = parachain_info::Pallet; + type DmpQueue = EnqueueWithOrigin<(), RelayOrigin>; + type ReservedDmpWeight = (); + type XcmpMessageHandler = (); + type ReservedXcmpWeight = (); + type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; + type ConsensusHook = ConsensusHook; + type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; + type RelayParentOffset = ConstU32<0>; +} + +impl parachain_info::Config for Runtime {} + +pub const MILLISECS_PER_BLOCK: u64 = 6000; +pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; + + +impl dp_impl_tanssi_pallets_config::Config for Runtime { + const SLOT_DURATION: u64 = SLOT_DURATION; + type TimestampWeights = (); + type AuthorInherentWeights = (); + type AuthoritiesNotingWeights = (); +} + +impl_tanssi_pallets_config!(Runtime); \ No newline at end of file From a98989a724fbdca37eef1983715e27f3fcea55af Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Mon, 24 Nov 2025 18:24:40 +0100 Subject: [PATCH 3/4] fmt --- .../impl-tanssi-pallets-config-test/src/lib.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/primitives/impl-tanssi-pallets-config-test/src/lib.rs b/primitives/impl-tanssi-pallets-config-test/src/lib.rs index c1dc64f..233a586 100644 --- a/primitives/impl-tanssi-pallets-config-test/src/lib.rs +++ b/primitives/impl-tanssi-pallets-config-test/src/lib.rs @@ -22,16 +22,16 @@ //! compiles. This helps detect when the macro breaks because new config types are added. use cumulus_pallet_parachain_system::{ParachainSetCode, RelayNumberMonotonicallyIncreases}; -use frame_support::{construct_runtime, parameter_types}; +use cumulus_primitives_core::AggregateMessageOrigin; +use dp_impl_tanssi_pallets_config::impl_tanssi_pallets_config; use frame_support::traits::{ConstU16, ConstU64, EnqueueWithOrigin}; use frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND; -use sp_core::{ConstBool, ConstU32, H256}; -use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; +use frame_support::{construct_runtime, parameter_types}; use nimbus_primitives::{NimbusId, SlotBeacon}; -use dp_impl_tanssi_pallets_config::impl_tanssi_pallets_config; use sp_consensus_slots::{Slot, SlotDuration}; +use sp_core::{ConstBool, ConstU32, H256}; +use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; use sp_runtime::Weight; -use cumulus_primitives_core::AggregateMessageOrigin; type Block = frame_system::mocking::MockBlock; @@ -97,7 +97,7 @@ parameter_types! { impl pallet_async_backing::Config for Runtime { type AllowMultipleBlocksPerSlot = ConstBool; type GetAndVerifySlot = - pallet_async_backing::ParaSlot; + pallet_async_backing::ParaSlot; type SlotDuration = ConstU64; type ExpectedBlockTime = ExpectedBlockTime; } @@ -146,7 +146,6 @@ impl parachain_info::Config for Runtime {} pub const MILLISECS_PER_BLOCK: u64 = 6000; pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; - impl dp_impl_tanssi_pallets_config::Config for Runtime { const SLOT_DURATION: u64 = SLOT_DURATION; type TimestampWeights = (); @@ -154,4 +153,4 @@ impl dp_impl_tanssi_pallets_config::Config for Runtime { type AuthoritiesNotingWeights = (); } -impl_tanssi_pallets_config!(Runtime); \ No newline at end of file +impl_tanssi_pallets_config!(Runtime); From d1392bde46f6deb5b6a8b025afd870cc48c08ea3 Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Mon, 1 Dec 2025 09:19:57 +0100 Subject: [PATCH 4/4] toml-maid --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 063bb1d..7c047c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,8 +49,8 @@ dp-consensus = { path = "primitives/consensus", default-features = false } dp-container-chain-genesis-data = { path = "primitives/container-chain-genesis-data", default-features = false } dp-core = { path = "primitives/core", default-features = false } dp-impl-tanssi-pallets-config = { path = "primitives/impl-tanssi-pallets-config", default-features = false } -pallet-cc-authorities-noting = { path = "container-chain-pallets/authorities-noting", default-features = false } dp-xcm-reserve = { path = "primitives/xcm-reserve", default-features = false } +pallet-cc-authorities-noting = { path = "container-chain-pallets/authorities-noting", default-features = false } test-relay-sproof-builder = { path = "test-sproof-builder", default-features = false } # Moonkit (wasm)