diff --git a/Cargo.lock b/Cargo.lock index e05d3ed..a888cf9 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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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" @@ -2636,7 +2660,7 @@ checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" [[package]] name = "fork-tree" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", ] @@ -2669,7 +2693,7 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-support-procedural", @@ -2693,7 +2717,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "16.1.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -2704,7 +2728,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2720,8 +2744,8 @@ dependencies = [ [[package]] name = "frame-executive" -version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aquamarine", "frame-support", @@ -2751,7 +2775,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.9.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -2767,7 +2791,7 @@ dependencies = [ [[package]] name = "frame-support" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -2808,7 +2832,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "34.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "cfg-expr", @@ -2828,7 +2852,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "13.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.3.0", @@ -2840,7 +2864,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro2", "quote", @@ -2849,8 +2873,8 @@ dependencies = [ [[package]] name = "frame-system" -version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +version = "41.0.2" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "cfg-if", "docify", @@ -2869,7 +2893,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2883,7 +2907,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "parity-scale-codec", @@ -2893,7 +2917,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "parity-scale-codec", @@ -5304,7 +5328,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", @@ -5583,7 +5607,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-conversion" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5598,10 +5622,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", @@ -5620,7 +5664,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5635,7 +5679,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5648,7 +5692,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5671,7 +5715,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -5687,7 +5731,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.20.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "frame-benchmarking", @@ -5739,7 +5783,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-benchmarking", @@ -5758,7 +5802,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", @@ -5778,7 +5822,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -5790,7 +5834,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-support", "frame-system", @@ -5811,7 +5855,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5833,7 +5877,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -5851,7 +5895,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5866,7 +5910,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6150,7 +6194,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "18.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -6161,7 +6205,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "futures", @@ -6178,7 +6222,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-channel", "async-trait", @@ -6203,7 +6247,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "20.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "bounded-vec", @@ -6227,7 +6271,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "derive_more 0.99.20", @@ -6255,7 +6299,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -6275,7 +6319,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bounded-collections", "derive_more 0.99.20", @@ -6291,7 +6335,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitvec", "bounded-collections", @@ -6320,7 +6364,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "21.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "frame-benchmarking", @@ -6331,8 +6375,8 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "20.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +version = "20.0.3" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -6380,7 +6424,7 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "frame-benchmarking", @@ -6415,7 +6459,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7480,7 +7524,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "sp-core", @@ -7491,7 +7535,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -7522,7 +7566,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.45.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "sp-api", @@ -7537,7 +7581,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "44.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "docify", @@ -7563,7 +7607,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -7574,7 +7618,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.53.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "chrono", @@ -7616,7 +7660,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "fnv", "futures", @@ -7642,7 +7686,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.47.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hash-db", "kvdb", @@ -7669,7 +7713,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -7692,7 +7736,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -7715,7 +7759,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "polkavm", "sc-allocator", @@ -7728,7 +7772,7 @@ dependencies = [ [[package]] name = "sc-executor-polkavm" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "polkavm", @@ -7739,7 +7783,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "anyhow", "log", @@ -7755,7 +7799,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "console", "futures", @@ -7771,7 +7815,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "36.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.3", @@ -7785,7 +7829,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.21.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "arrayvec", @@ -7813,7 +7857,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.51.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7863,7 +7907,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.49.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", @@ -7873,7 +7917,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7894,7 +7938,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-channel", @@ -7929,7 +7973,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "futures", @@ -7948,7 +7992,7 @@ dependencies = [ [[package]] name = "sc-network-types" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bs58", "bytes", @@ -7969,7 +8013,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "46.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "jsonrpsee", @@ -8001,7 +8045,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.50.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8021,7 +8065,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "dyn-clone", "forwarded-header-value", @@ -8045,7 +8089,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.51.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "futures", @@ -8078,7 +8122,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.52.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "directories", @@ -8142,7 +8186,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.39.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -8153,7 +8197,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "43.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "derive_more 0.99.20", "futures", @@ -8173,7 +8217,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "chrono", "futures", @@ -8191,11 +8235,12 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +version = "40.0.1" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "chrono", "console", + "frame-metadata", "is-terminal", "libc", "log", @@ -8211,6 +8256,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-tracing", + "sp-trie", "thiserror 1.0.69", "tracing", "tracing-log", @@ -8220,7 +8266,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro-crate 3.3.0", "proc-macro2", @@ -8231,7 +8277,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "40.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8262,7 +8308,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8279,7 +8325,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-channel", "futures", @@ -8765,7 +8811,7 @@ dependencies = [ [[package]] name = "sp-api" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "hash-db", @@ -8787,7 +8833,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "blake2 0.10.6", @@ -8801,7 +8847,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "41.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8813,7 +8859,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "docify", "integer-sqrt", @@ -8827,7 +8873,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8839,7 +8885,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-inherents", @@ -8849,7 +8895,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "parity-scale-codec", @@ -8868,7 +8914,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "futures", @@ -8882,7 +8928,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -8898,7 +8944,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -8916,7 +8962,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "finality-grandpa", "log", @@ -8933,7 +8979,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -8944,7 +8990,7 @@ dependencies = [ [[package]] name = "sp-core" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "ark-vrf", "array-bytes 6.2.3", @@ -8992,7 +9038,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "blake2b_simd", "byteorder", @@ -9005,7 +9051,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "quote", "sp-crypto-hashing", @@ -9015,7 +9061,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "kvdb", "parking_lot 0.12.3", @@ -9024,7 +9070,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "proc-macro2", "quote", @@ -9034,7 +9080,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "parity-scale-codec", @@ -9044,7 +9090,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.18.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9056,7 +9102,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9069,7 +9115,7 @@ dependencies = [ [[package]] name = "sp-io" version = "41.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bytes", "docify", @@ -9095,7 +9141,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-core", "sp-runtime", @@ -9105,7 +9151,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.43.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", @@ -9116,7 +9162,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -9125,7 +9171,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.11.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -9135,7 +9181,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.15.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9146,7 +9192,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "log", "parity-scale-codec", @@ -9163,7 +9209,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9176,7 +9222,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-core", @@ -9186,7 +9232,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "backtrace", "regex", @@ -9195,7 +9241,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "35.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "rustc-hash 1.1.0", "serde", @@ -9205,7 +9251,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "42.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "binary-merkle-tree", "docify", @@ -9234,7 +9280,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -9253,7 +9299,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "expander", @@ -9266,7 +9312,7 @@ dependencies = [ [[package]] name = "sp-session" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9280,7 +9326,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "39.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9293,7 +9339,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.46.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hash-db", "log", @@ -9312,8 +9358,8 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +version = "21.2.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "aes-gcm", "curve25519-dalek", @@ -9337,12 +9383,12 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9354,7 +9400,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9366,7 +9412,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "17.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "tracing", @@ -9377,7 +9423,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "sp-api", "sp-runtime", @@ -9386,7 +9432,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "37.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9400,7 +9446,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "ahash", "foldhash", @@ -9425,7 +9471,7 @@ dependencies = [ [[package]] name = "sp-version" version = "40.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9442,7 +9488,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "parity-scale-codec", "proc-macro-warning", @@ -9454,7 +9500,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "22.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -9466,7 +9512,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9523,10 +9569,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#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -9547,7 +9606,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "21.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-support", @@ -9571,7 +9630,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "20.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "environmental", "frame-benchmarking", @@ -9672,7 +9731,7 @@ dependencies = [ [[package]] name = "substrate-bip39" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "hmac", "pbkdf2", @@ -9684,7 +9743,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.6" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "http-body-util", "hyper 1.6.0", @@ -9698,7 +9757,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -9723,7 +9782,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "frame-executive", @@ -9769,7 +9828,7 @@ dependencies = [ [[package]] name = "substrate-test-runtime-client" version = "2.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "futures", "sc-block-builder", @@ -9787,7 +9846,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -10333,7 +10392,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "coarsetime", "polkadot-primitives", @@ -10344,7 +10403,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "expander", "proc-macro-crate 3.3.0", @@ -11609,7 +11668,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", @@ -11625,7 +11684,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "11.0.2" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#3c88ea39bda4cd2bf68b7225394efbeccffbc00a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=stable2506#5857f0969536aa4aafde33fc36c9ef93b8d9378f" dependencies = [ "Inflector", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index a58657b..7c047c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,20 +42,20 @@ 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 } 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) 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 } @@ -64,10 +64,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..233a586 --- /dev/null +++ b/primitives/impl-tanssi-pallets-config-test/src/lib.rs @@ -0,0 +1,156 @@ +// 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 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 frame_support::{construct_runtime, parameter_types}; +use nimbus_primitives::{NimbusId, SlotBeacon}; +use sp_consensus_slots::{Slot, SlotDuration}; +use sp_core::{ConstBool, ConstU32, H256}; +use sp_runtime::traits::{BlakeTwo256, IdentityLookup}; +use sp_runtime::Weight; + +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); 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;