diff --git a/.github/workflows/runtimes-matrix.json b/.github/workflows/runtimes-matrix.json index bf17f2aa5a..e633f6deb9 100644 --- a/.github/workflows/runtimes-matrix.json +++ b/.github/workflows/runtimes-matrix.json @@ -84,6 +84,9 @@ "benchmarks_templates": { "pallet_xcm_benchmarks::generic": "templates/xcm-bench-template.hbs", "pallet_xcm_benchmarks::fungible": "templates/xcm-bench-template.hbs" + }, + "benchmarks_exclude_extrinsics": { + "pallet_staking_async": ["prune_era_total_stake"] } }, { @@ -109,6 +112,9 @@ "benchmarks_templates": { "pallet_xcm_benchmarks::generic": "templates/xcm-bench-template.hbs", "pallet_xcm_benchmarks::fungible": "templates/xcm-bench-template.hbs" + }, + "benchmarks_exclude_extrinsics": { + "pallet_staking_async": ["prune_era_total_stake"] } }, { diff --git a/CHANGELOG.md b/CHANGELOG.md index a414a73436..ea6c41d424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Changed - Update Kusama submission deposit to 3.333KSM as per [ref 588](https://kusama.subsquare.io/referenda/558) +- Re-add StakingOperator proxy type and allow Staking proxy to add/remove a StakingOperator [#1033](https://github.com/polkadot-fellows/runtimes/pull/1033) +- Fix check-migration(asset-hub-polkadot) CI job [#1057](https://github.com/polkadot-fellows/runtimes/pull/1057) +- Update to polkadot-sdk stable2512 (tag 2512-2), introduce DAP pallet, refine StakingOperator and add Session keys handling on AssetHub [#1065](https://github.com/polkadot-fellows/runtimes/pull/1065) ## [2.0.7] 16.02.2026 diff --git a/Cargo.lock b/Cargo.lock index 1fb28f4bb9..5889379526 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,20 +14,20 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.19.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.27.3", + "gimli 0.31.1", ] [[package]] name = "addr2line" -version = "0.24.2" +version = "0.25.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "1b5d307320b3181d6d7954e663bd7c774a838b8220fe0593c86d9fb09f498b4b" dependencies = [ - "gimli 0.31.1", + "gimli 0.32.3", ] [[package]] @@ -78,7 +78,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom 0.3.3", + "getrandom 0.3.4", "once_cell", "version_check", "zerocopy", @@ -86,9 +86,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -101,9 +101,9 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy-consensus" -version = "1.4.3" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c3a590d13de3944675987394715f37537b50b856e3b23a0e66e97d963edbf38" +checksum = "ed1958f0294ecc05ebe7b3c9a8662a3e221c2523b7f2bcd94c7a651efbd510bf" dependencies = [ "alloy-eips", "alloy-primitives", @@ -114,7 +114,7 @@ dependencies = [ "auto_impl", "borsh", "c-kzg", - "derive_more 2.0.1", + "derive_more 2.1.1", "either", "k256", "once_cell", @@ -123,14 +123,14 @@ dependencies = [ "serde", "serde_json", "serde_with", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "alloy-core" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d47400608fc869727ad81dba058d55f97b29ad8b5c5256d9598523df8f356ab6" +checksum = "dcfbc46fa201350bf859add798d818bbe68b84882a8af832e4433791d28a975d" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -141,9 +141,9 @@ dependencies = [ [[package]] name = "alloy-dyn-abi" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9e8a436f0aad7df8bb47f144095fba61202265d9f5f09a70b0e3227881a668e" +checksum = "14ff5ee5f27aa305bda825c735f686ad71bb65508158f059f513895abe69b8c3" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -165,7 +165,7 @@ dependencies = [ "alloy-rlp", "crc", "serde", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -191,37 +191,50 @@ dependencies = [ "borsh", "k256", "serde", - "thiserror 2.0.12", + "thiserror 2.0.18", +] + +[[package]] +name = "alloy-eip7928" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3231de68d5d6e75332b7489cfcc7f4dfabeba94d990a10e4b923af0e6623540" +dependencies = [ + "alloy-primitives", + "alloy-rlp", + "borsh", + "serde", ] [[package]] name = "alloy-eips" -version = "1.4.3" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09535cbc646b0e0c6fcc12b7597eaed12cf86dff4c4fba9507a61e71b94f30eb" +checksum = "813a67f87e56b38554d18b182616ee5006e8e2bf9df96a0df8bf29dff1d52e3f" dependencies = [ "alloy-eip2124", "alloy-eip2930", "alloy-eip7702", + "alloy-eip7928", "alloy-primitives", "alloy-rlp", "alloy-serde", "auto_impl", "borsh", "c-kzg", - "derive_more 2.0.1", + "derive_more 2.1.1", "either", "serde", "serde_with", "sha2 0.10.9", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "alloy-json-abi" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "459f98c6843f208856f338bfb25e65325467f7aff35dfeb0484d0a76e059134b" +checksum = "8708475665cc00e081c085886e68eada2f64cfa08fc668213a9231655093d4de" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -231,18 +244,18 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "1.5.2" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6a0fb18dd5fb43ec5f0f6a20be1ce0287c79825827de5744afaa6c957737c33" +checksum = "3b88cf92ed20685979ed1d8472422f0c6c2d010cec77caf63aaa7669cc1a7bc2" dependencies = [ "alloy-rlp", "bytes", "cfg-if", "const-hex", - "derive_more 2.0.1", + "derive_more 2.1.1", "foldhash 0.2.0", "hashbrown 0.16.1", - "indexmap 2.10.0", + "indexmap 2.13.0", "itoa", "k256", "keccak-asm", @@ -254,14 +267,13 @@ dependencies = [ "rustc-hash 2.1.1", "serde", "sha3", - "tiny-keccak", ] [[package]] name = "alloy-rlp" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f70d83b765fdc080dbcd4f4db70d8d23fe4761f2f02ebfa9146b833900634b4" +checksum = "e93e50f64a77ad9c5470bf2ad0ca02f228da70c792a8f06634801e202579f35e" dependencies = [ "alloy-rlp-derive", "arrayvec 0.7.6", @@ -270,20 +282,20 @@ dependencies = [ [[package]] name = "alloy-rlp-derive" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b728d511962dda67c1bc7ea7c03736ec275ed2cf4c35d9585298ac9ccf3b73" +checksum = "ce8849c74c9ca0f5a03da1c865e3eb6f768df816e67dd3721a398a8a7e398011" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "alloy-serde" -version = "1.4.3" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed8531cae8d21ee1c6571d0995f8c9f0652a6ef6452fde369283edea6ab7138" +checksum = "946a0d413dbb5cd9adba0de5f8a1a34d5b77deda9b69c1d7feed8fc875a1aa26" dependencies = [ "alloy-primitives", "serde", @@ -292,41 +304,41 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aedac07a10d4c2027817a43cc1f038313fc53c7ac866f7363239971fd01f9f18" +checksum = "f5fa1ca7e617c634d2bd9fa71f9ec8e47c07106e248b9fcbd3eaddc13cabd625" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "alloy-sol-macro-expander" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24f9a598f010f048d8b8226492b6401104f5a5c1273c2869b72af29b48bb4ba9" +checksum = "27c00c0c3a75150a9dc7c8c679ca21853a137888b4e1c5569f92d7e2b15b5102" dependencies = [ "alloy-sol-macro-input", "const-hex", "heck 0.5.0", - "indexmap 2.10.0", + "indexmap 2.13.0", "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.104", + "sha3", + "syn 2.0.114", "syn-solidity", - "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f494adf9d60e49aa6ce26dfd42c7417aa6d4343cf2ae621f20e4d92a5ad07d85" +checksum = "297db260eb4d67c105f68d6ba11b8874eec681caec5505eab8fbebee97f790bc" dependencies = [ "const-hex", "dunce", @@ -334,15 +346,15 @@ dependencies = [ "macro-string", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52db32fbd35a9c0c0e538b58b81ebbae08a51be029e7ad60e08b60481c2ec6c3" +checksum = "94b91b13181d3bcd23680fd29d7bc861d1f33fbe90fdd0af67162434aeba902d" dependencies = [ "serde", "winnow", @@ -350,9 +362,9 @@ dependencies = [ [[package]] name = "alloy-sol-types" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a285b46e3e0c177887028278f04cc8262b76fd3b8e0e20e93cea0a58c35f5ac5" +checksum = "fc442cc2a75207b708d481314098a0f8b6f7b58e3148dd8d8cc7407b0d6f9385" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -369,7 +381,7 @@ dependencies = [ "alloy-primitives", "alloy-rlp", "arrayvec 0.7.6", - "derive_more 2.0.1", + "derive_more 2.1.1", "nybbles", "serde", "smallvec", @@ -378,22 +390,16 @@ dependencies = [ [[package]] name = "alloy-tx-macros" -version = "1.4.3" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2289a842d02fe63f8c466db964168bb2c7a9fdfb7b24816dbb17d45520575fb" +checksum = "45ceac797eb8a56bdf5ab1fab353072c17d472eab87645ca847afe720db3246d" dependencies = [ "darling 0.21.3", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -405,9 +411,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.19" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -420,9 +426,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.11" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ed96ca487e809f1c8e5a8447f6ee2cf102f846893800b20cebdf541fc6bbd" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" @@ -435,29 +441,29 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.9" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "approx" @@ -479,7 +485,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -565,7 +571,7 @@ dependencies = [ "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "itertools 0.13.0", "num-bigint", "num-integer", @@ -670,7 +676,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "62945a2f7e6de02a31fe400aa489f0e0f5b2502e69f95f853adb82a96c7a6b60" dependencies = [ "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -708,7 +714,7 @@ dependencies = [ "num-traits", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -736,7 +742,7 @@ dependencies = [ "ark-std 0.5.0", "educe", "fnv", - "hashbrown 0.15.4", + "hashbrown 0.15.5", ] [[package]] @@ -822,7 +828,7 @@ checksum = "213888f660fddcca0d257e88e54ac05bca01885f258ccdf695bafd77031bb69d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -871,9 +877,9 @@ dependencies = [ [[package]] name = "ark-vrf" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9501da18569b2afe0eb934fb7afd5a247d238b94116155af4dd068f319adfe6d" +checksum = "0d63e9780640021b74d02b32895d8cec1b4abe8e5547b560a6bda6b14b78c6da" dependencies = [ "ark-bls12-381 0.5.0", "ark-ec 0.5.0", @@ -901,7 +907,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27d55334c98d756b32dcceb60248647ab34f027690f87f9a362fd292676ee927" dependencies = [ "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -956,7 +962,7 @@ dependencies = [ "nom 7.1.3", "num-traits", "rusticata-macros", - "thiserror 2.0.12", + "thiserror 2.0.18", "time", ] @@ -968,7 +974,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", "synstructure 0.13.2", ] @@ -980,7 +986,7 @@ checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", "synstructure 0.13.2", ] @@ -992,7 +998,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -1006,6 +1012,7 @@ name = "asset-hub-kusama-emulated-chain" version = "1.0.0" dependencies = [ "asset-hub-kusama-runtime", + "assets-common", "cumulus-primitives-core", "emulated-integration-tests-common", "frame-support", @@ -1014,7 +1021,7 @@ dependencies = [ "parachains-common", "penpal-emulated-chain", "polkadot-parachain-primitives", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", "staging-xcm-builder", @@ -1044,7 +1051,7 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -1143,29 +1150,35 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", + "polkadot-primitives", "polkadot-runtime-common", "primitive-types 0.13.1", "scale-info", "serde_json", "snowbridge-inbound-queue-primitives", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", + "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-npos-elections", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "sp-storage", - "sp-tracing 18.0.0", + "sp-tracing", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "sp-weights", + "staging-kusama-runtime", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -1181,6 +1194,7 @@ name = "asset-hub-polkadot-emulated-chain" version = "1.0.0" dependencies = [ "asset-hub-polkadot-runtime", + "assets-common", "cumulus-primitives-core", "emulated-integration-tests-common", "frame-support", @@ -1190,7 +1204,7 @@ dependencies = [ "polkadot-emulated-chain", "polkadot-parachain-primitives", "snowbridge-inbound-queue-primitives", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", ] @@ -1220,7 +1234,7 @@ dependencies = [ "polkadot-runtime", "polkadot-runtime-common", "polkadot-system-emulated-network", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -1277,6 +1291,7 @@ dependencies = [ "pallet-child-bounties", "pallet-collator-selection", "pallet-conviction-voting", + "pallet-dap", "pallet-delegated-staking", "pallet-election-provider-multi-block", "pallet-indices", @@ -1317,6 +1332,8 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime", "polkadot-runtime-common", "polkadot-runtime-constants", "primitive-types 0.13.1", @@ -1326,23 +1343,27 @@ dependencies = [ "snowbridge-outbound-queue-primitives", "snowbridge-pallet-system-frontend", "snowbridge-runtime-common", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", + "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-npos-elections", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "sp-storage", - "sp-tracing 18.0.0", + "sp-tracing", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "sp-weights", "staging-parachain-info", "staging-xcm", @@ -1357,10 +1378,11 @@ dependencies = [ [[package]] name = "asset-test-utils" -version = "28.0.0" +version = "29.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2480dea7bee5775df12a629fc787fe8b29b38a692c589ad0e2e96f59a068eb3d" +checksum = "ee2b7d9b9eb37a038ce25592086d3843468227a503da05d32184bda678d2591b" dependencies = [ + "assets-common", "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", "cumulus-primitives-core", @@ -1377,8 +1399,8 @@ dependencies = [ "parachains-common", "parachains-runtimes-test-utils", "parity-scale-codec", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -1388,9 +1410,9 @@ dependencies = [ [[package]] name = "assets-common" -version = "0.26.0" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfa7ebc64fd2f84ec13bce921d1fca33f58de2cc58da8ded879358444fc7ea97" +checksum = "7669aa4fc76e66f59e5dde1187b90dad60a8fd9de072f48e0d2949b139f366c2" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -1405,9 +1427,10 @@ dependencies = [ "parachains-common", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", - "sp-core", - "sp-runtime 43.0.0", + "serde", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -1439,9 +1462,9 @@ dependencies = [ [[package]] name = "async-executor" -version = "1.13.2" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" +checksum = "497c00e0fd83a72a79a39fcbd8e3e2f055d6f6c7e025f3b3d91f4f8e76527fb8" dependencies = [ "async-task", "concurrent-queue", @@ -1453,9 +1476,9 @@ dependencies = [ [[package]] name = "async-fs" -version = "2.1.3" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f7e37c0ed80b2a977691c47dae8625cfb21e205827106c64f7c588766b2e50" +checksum = "8034a681df4aed8b8edbd7fbe472401ecf009251c8b40556b304567052e294c5" dependencies = [ "async-lock", "blocking", @@ -1464,29 +1487,29 @@ dependencies = [ [[package]] name = "async-io" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19634d6336019ef220f09fd31168ce5c184b295cbf80345437cc36094ef223ca" +checksum = "456b8a8feb6f42d237746d4b3e9a178494627745c3c56c6ea55d92ba50d026fc" dependencies = [ - "async-lock", + "autocfg", "cfg-if", "concurrent-queue", "futures-io", "futures-lite", "parking", "polling", - "rustix 1.0.8", + "rustix", "slab", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] name = "async-lock" -version = "3.4.0" +version = "3.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" +checksum = "290f7f2596bd5b78a9fec8088ccd89180d7f9f55b94b0576823bbbdc72ee8311" dependencies = [ - "event-listener 5.4.0", + "event-listener 5.4.1", "event-listener-strategy", "pin-project-lite", ] @@ -1504,9 +1527,9 @@ dependencies = [ [[package]] name = "async-process" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65daa13722ad51e6ab1a1b9c01299142bc75135b337923cfa10e79bbbd669f00" +checksum = "fc50921ec0055cdd8a16de48773bfeec5c972598674347252c0399676be7da75" dependencies = [ "async-channel 2.5.0", "async-io", @@ -1515,16 +1538,16 @@ dependencies = [ "async-task", "blocking", "cfg-if", - "event-listener 5.4.0", + "event-listener 5.4.1", "futures-lite", - "rustix 1.0.8", + "rustix", ] [[package]] name = "async-signal" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f567af260ef69e1d52c2b560ce0ea230763e6fbb9214a85d768760a920e3e3c1" +checksum = "43c070bbf59cd3570b6b2dd54cd772527c7c3620fce8be898406dd3ed6adc64c" dependencies = [ "async-io", "async-lock", @@ -1532,10 +1555,10 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 1.0.8", + "rustix", "signal-hook-registry", "slab", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -1546,13 +1569,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.88" +version = "0.1.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -1622,7 +1645,7 @@ checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -1633,9 +1656,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "az" -version = "1.2.1" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" +checksum = "be5eb007b7cacc6c660343e96f650fedf4b5a77512399eb952ca6642cf8d13f7" [[package]] name = "backoff" @@ -1643,24 +1666,24 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.17", "instant", "rand 0.8.5", ] [[package]] name = "backtrace" -version = "0.3.75" +version = "0.3.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" +checksum = "bb531853791a215d7c62a30daf0dde835f381ab5de4589cfe7c649d2cbe92bd6" dependencies = [ - "addr2line 0.24.2", + "addr2line 0.25.1", "cfg-if", "libc", "miniz_oxide", - "object 0.36.7", + "object 0.37.3", "rustc-demangle", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1675,6 +1698,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base256emoji" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e9430d9a245a77c92176e649af6e275f20839a48389859d1661e9a128d077c" +dependencies = [ + "const-str", + "match-lookup", +] + [[package]] name = "base58" version = "0.2.0" @@ -1695,9 +1728,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" -version = "1.8.0" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba" +checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" [[package]] name = "binary-merkle-tree" @@ -1710,15 +1743,6 @@ dependencies = [ "parity-scale-codec", ] -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - [[package]] name = "bip32" version = "0.5.3" @@ -1738,11 +1762,13 @@ dependencies = [ [[package]] name = "bip39" -version = "2.2.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43d193de1f7487df1914d3a568b772458861d33f9c54249612cc2893d6915054" +checksum = "90dbd31c98227229239363921e60fcf5e558e43ec69094d46fc4996f08d1d5bc" dependencies = [ - "bitcoin_hashes 0.13.0", + "bitcoin_hashes 0.14.1", + "rand 0.8.5", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -1770,9 +1796,9 @@ checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" [[package]] name = "bitcoin-io" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf" +checksum = "2dee39a0ee5b4095224a0cfc6bf4cc1baf0f9624b96b367e53b66d974e51d953" [[package]] name = "bitcoin_hashes" @@ -1786,12 +1812,12 @@ dependencies = [ [[package]] name = "bitcoin_hashes" -version = "0.14.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16" +checksum = "26ec84b80c482df901772e931a9a681e26a1b9ee2302edeff23cb30328745c8b" dependencies = [ "bitcoin-io", - "hex-conservative 0.2.1", + "hex-conservative 0.2.2", ] [[package]] @@ -1802,9 +1828,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.1" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" [[package]] name = "bitvec" @@ -1852,37 +1878,38 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e903a20b159e944f91ec8499fe1e55651480c541ea0a584f5d967c49ad9d99" +checksum = "b79834656f71332577234b50bfc009996f7449e0c056884e6a02492ded0ca2f3" dependencies = [ "arrayref", "arrayvec 0.7.6", - "constant_time_eq 0.3.1", + "constant_time_eq 0.4.2", ] [[package]] name = "blake2s_simd" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90f7deecfac93095eb874a40febd69427776e24e1bd7f87f33ac62d6f0174df" +checksum = "ee29928bad1e3f94c9d1528da29e07a1d3d04817ae8332de1e8b846c8439f4b3" dependencies = [ "arrayref", "arrayvec 0.7.6", - "constant_time_eq 0.3.1", + "constant_time_eq 0.4.2", ] [[package]] name = "blake3" -version = "1.8.2" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" +checksum = "2468ef7d57b3fb7e16b576e8377cdbde2320c60e1491e961d11da40fc4f02a2d" dependencies = [ "arrayref", "arrayvec 0.7.6", "cc", "cfg-if", - "constant_time_eq 0.3.1", + "constant_time_eq 0.4.2", + "cpufeatures", ] [[package]] @@ -1945,10 +1972,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0686c856aa6aac0c4498f936d7d6a02df690f614c03e4d906d1018062b5c5e2c" dependencies = [ "once_cell", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -1972,7 +1999,7 @@ dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 39.0.0", "staging-xcm", "system-parachains-constants", ] @@ -1985,16 +2012,16 @@ dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 39.0.0", "staging-xcm", "system-parachains-constants", ] [[package]] name = "bp-bridge-hub-cumulus" -version = "0.26.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc49466cbc16a83dd55b4fb8d79def472b2e0f1753eb2a84e138c8242503a5c5" +checksum = "d563f70bc907c981e5f16222bf75783af18d8994fbcfacf5a3bd311efa3043e8" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -2003,7 +2030,7 @@ dependencies = [ "frame-system", "parachains-common", "polkadot-primitives", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] @@ -2019,8 +2046,8 @@ dependencies = [ "frame-support", "kusama-runtime-constants", "polkadot-runtime-constants", - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-runtime 45.0.0", "sp-std", "system-parachains-constants", ] @@ -2038,8 +2065,8 @@ dependencies = [ "kusama-runtime-constants", "polkadot-runtime-constants", "snowbridge-core", - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "system-parachains-constants", @@ -2047,9 +2074,9 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0e157ea5af5341b637b58aac5308abe58ea00dfc05a9a6da139f77184f31c94" +checksum = "c49aa0892b9a3286e22ff52c9025d8e62576fa4c91f91364738db791f05088f0" dependencies = [ "bp-runtime", "finality-grandpa", @@ -2058,16 +2085,16 @@ dependencies = [ "scale-info", "serde", "sp-consensus-grandpa", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "bp-messages" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3b026ba4bf232f74a5eec02270d871d9042848b9f20622527b3b33ed3f768c6" +checksum = "ad35c105fa3ef50f451bff0bdddda39d2fcb4c02d75f0e71b06e6538c98f89d3" dependencies = [ "bp-header-chain", "bp-runtime", @@ -2075,16 +2102,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-std", ] [[package]] name = "bp-parachains" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e6f637a374ac49415442931a1dfe2afbc6a60f07edca577ddff5d3a6ebf6c76" +checksum = "c60b4c35b8ebf4175666c47ff6e9fe4586903091c47d73677529c59578937aeb" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -2093,16 +2120,16 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "bp-polkadot-core" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c95b805de5b7641d209b6f353917ea7658312ff2c2391e2b3e5e5c4b6ca51308" +checksum = "2c52d6962152e0aa5a20e020c4502bb47b8fd850a84a2955f523d10af68b26c8" dependencies = [ "bp-messages", "bp-runtime", @@ -2111,16 +2138,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "bp-relayers" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7db8aa96a526ec739b0d84c4ee9108d12da1ba166ac831269d1d1984cc0198" +checksum = "7137c42b06e131fbf995b3b462c454b3c3b7a51b0779f70869915445d9f3e60a" dependencies = [ "bp-header-chain", "bp-messages", @@ -2131,39 +2158,39 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "bp-runtime" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97db5360e68ecd6b0fdaba1a0d44abbf1670e2fa82058a8a06d8a581af0bcf5c" +checksum = "6bae52c333df27220b4b0a7603ec77f7daed48d28f8ce5146f9d2072440d739c" dependencies = [ "frame-support", "frame-system", "hash-db", "impl-trait-for-tuples", - "log", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "sp-std", - "sp-trie", + "sp-trie 42.0.0", + "tracing", "trie-db", ] [[package]] name = "bp-test-utils" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c32f66f61ed382c6519720d3578e596a7811819c280650dd54643f7e05ec0184" +checksum = "44445f2ec2fd945fc0552c386f30872d7de967920c4cc05704e8a4f26d239f9e" dependencies = [ "bp-header-chain", "bp-parachains", @@ -2172,19 +2199,19 @@ dependencies = [ "ed25519-dalek", "finality-grandpa", "parity-scale-codec", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-grandpa", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", - "sp-trie", + "sp-trie 42.0.0", ] [[package]] name = "bp-xcm-bridge-hub" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1658655c430393db48f95f8e673b0083f97dec39460d5444e778b801524aa8" +checksum = "dd169ad82bff4c0eba6ae050d78bea8d04e50bff5698981ddb865dff1cc7d0a3" dependencies = [ "bp-messages", "bp-runtime", @@ -2192,30 +2219,30 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-std", "staging-xcm", ] [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89f63e3f87187b83e7fe84b16109a6072743447bc74612cd6204076072215515" +checksum = "5115500f8cc5c5bee2ba3ffe87072e812f31c7fda26ead9cb7e691a20068668b" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "staging-xcm", ] [[package]] name = "bridge-hub-common" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e249648e0b7244f7928c2003f55aaa6c79c9f59494f47554efe19d69d0607be" +checksum = "30232767c00587e32715032a72002b60cf55d1ef7dc3461c17e3190571a70fc7" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2223,8 +2250,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "snowbridge-core", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -2241,7 +2268,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "parachains-common", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", ] @@ -2275,8 +2302,8 @@ dependencies = [ "snowbridge-pallet-inbound-queue-fixtures", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-system", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -2287,6 +2314,7 @@ dependencies = [ name = "bridge-hub-kusama-runtime" version = "1.0.0" dependencies = [ + "assets-common", "bp-asset-hub-kusama", "bp-asset-hub-polkadot", "bp-bridge-hub-kusama", @@ -2351,20 +2379,20 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -2385,7 +2413,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "parachains-common", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", ] @@ -2431,9 +2459,9 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-pallet-system-frontend", "snowbridge-pallet-system-v2", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2445,6 +2473,7 @@ dependencies = [ name = "bridge-hub-polkadot-runtime" version = "1.0.0" dependencies = [ + "assets-common", "bp-asset-hub-kusama", "bp-asset-hub-polkadot", "bp-bridge-hub-kusama", @@ -2519,7 +2548,9 @@ dependencies = [ "snowbridge-pallet-ethereum-client", "snowbridge-pallet-ethereum-client-fixtures", "snowbridge-pallet-inbound-queue", + "snowbridge-pallet-inbound-queue-fixtures", "snowbridge-pallet-inbound-queue-v2", + "snowbridge-pallet-inbound-queue-v2-fixtures", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-outbound-queue-v2", "snowbridge-pallet-system", @@ -2528,20 +2559,20 @@ dependencies = [ "snowbridge-runtime-test-common", "snowbridge-system-runtime-api", "snowbridge-system-v2-runtime-api", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -2554,9 +2585,9 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49300605f99d5c280411fa290a4c1bb8f29c7858ee9dfbcfee768f7824204d80" +checksum = "5df05fe49bb38e0c96980e00514eeeb551159b0da692e2b15c069da5bf63005e" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -2571,7 +2602,6 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log", "pallet-balances", "pallet-bridge-grandpa", "pallet-bridge-messages", @@ -2584,22 +2614,23 @@ dependencies = [ "parachains-common", "parachains-runtimes-test-utils", "parity-scale-codec", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-keyring", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", - "sp-tracing 18.0.0", + "sp-tracing", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "bridge-runtime-common" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bed9e7c0783e54641f69ff9115b43950e49e7dbcaf44892baa88bea26d5d057e" +checksum = "b4c2dab44704a1ec6045ceb3376b827a06c4a946f8d5ffc50b907258774fad36" dependencies = [ "bp-header-chain", "bp-messages", @@ -2609,7 +2640,6 @@ dependencies = [ "bp-runtime", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "pallet-bridge-messages", "pallet-bridge-parachains", @@ -2618,13 +2648,14 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", - "sp-trie", + "sp-trie 42.0.0", "sp-weights", "staging-xcm", "static_assertions", + "tracing", "tuplex", ] @@ -2649,9 +2680,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.19.0" +version = "3.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" +checksum = "5dd9dc738b7a8311c7ade152424974d8115f2cdad61e8dab8dac9f2362298510" dependencies = [ "allocator-api2", ] @@ -2670,9 +2701,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.23.1" +version = "1.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c76a5792e44e4abe34d3abf15636779261d45a7450612059293d1d2cfc63422" +checksum = "c8efb64bd706a16a1bdde310ae86b351e4d21550d98d056f22f8a7f7a2183fec" [[package]] name = "byteorder" @@ -2682,9 +2713,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" dependencies = [ "serde", ] @@ -2716,11 +2747,11 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.10" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0da45bc31171d8d6960122e222a67740df867c1dd53b4d51caa297084c185cab" +checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" dependencies = [ - "serde", + "serde_core", ] [[package]] @@ -2740,7 +2771,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.26", + "semver 1.0.27", "serde", "serde_json", "thiserror 1.0.69", @@ -2748,10 +2779,11 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.30" +version = "1.2.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7" +checksum = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29" dependencies = [ + "find-msvc-tools", "jobserver", "libc", "shlex", @@ -2774,9 +2806,9 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -2835,8 +2867,8 @@ dependencies = [ "people-kusama-runtime", "people-polkadot-runtime", "polkadot-runtime", - "sc-chain-spec 47.0.0", - "sc-network 0.54.0", + "sc-chain-spec 48.0.0", + "sc-network 0.55.1", "serde", "serde_json", "staging-kusama-runtime", @@ -2844,11 +2876,10 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.41" +version = "0.4.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +checksum = "fac4744fb15ae8337dc853fee7fb3f4e48c0fbaa23d0afe49c447b4fab126118" dependencies = [ - "android-tzdata", "iana-time-zone", "js-sys", "num-traits", @@ -2904,9 +2935,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.42" +version = "4.5.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed87a9d530bb41a67537289bafcac159cb3ee28460e0a4571123d2a778a6a882" +checksum = "a75ca66430e33a14957acc24c5077b503e7d374151b2b4b3a10c83b4ceb4be0e" dependencies = [ "clap_builder", "clap_derive", @@ -2914,9 +2945,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.42" +version = "4.5.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64f4f3f3c77c94aff3c7e9aac9a2ca1974a5adf392a8bb751e827d6d127ab966" +checksum = "793207c7fa6300a0608d1080b858e5fdbe713cdc1c8db9fb17777d8a13e63df0" dependencies = [ "anstream", "anstyle", @@ -2926,21 +2957,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.41" +version = "4.5.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef4f52386a59ca4c860f7393bcf8abd8dfd91ecccc0f774635ff68e92eeef491" +checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "clap_lex" -version = "0.7.5" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b94f61472cee1439c0b966b47e3aca9ae07e45d070759512cd390ea2bebc6675" +checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32" [[package]] name = "cobs" @@ -2948,14 +2979,14 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1" dependencies = [ - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "codespan-reporting" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" +checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" dependencies = [ "serde", "termcolor", @@ -2971,7 +3002,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "parachains-common", - "sp-core", + "sp-core 39.0.0", ] [[package]] @@ -3002,8 +3033,8 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-constants", "polkadot-system-emulated-network", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -3067,20 +3098,20 @@ dependencies = [ "polkadot-runtime-constants", "scale-info", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -3150,15 +3181,14 @@ dependencies = [ [[package]] name = "const-hex" -version = "1.14.1" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e22e0ed40b96a48d3db274f72fd365bd78f67af39b6bbd47e8a15e1c6207ff" +checksum = "3bb320cac8a0750d7f25280aa97b09c26edfe161164238ecbbb31092b079e735" dependencies = [ "cfg-if", "cpufeatures", - "hex", "proptest", - "serde", + "serde_core", ] [[package]] @@ -3182,16 +3212,22 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.17", "once_cell", "tiny-keccak", ] +[[package]] +name = "const-str" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f421161cb492475f1661ddc9815a745a1c894592070661180fdec3d4872e9c3" + [[package]] name = "const_format" -version = "0.2.34" +version = "0.2.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +checksum = "7faa7469a93a566e9ccc1c73fe783b4a65c274c5ace346038dca9c39fe0030ad" dependencies = [ "const_format_proc_macros", ] @@ -3215,9 +3251,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.3.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" +checksum = "3d52eff69cd5e647efe296129160853a42795992097e8af39800e1060caeea9b" [[package]] name = "convert_case" @@ -3227,9 +3263,18 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "convert_case" -version = "0.7.1" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca" +dependencies = [ + "unicode-segmentation", +] + +[[package]] +name = "convert_case" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" dependencies = [ "unicode-segmentation", ] @@ -3278,7 +3323,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "parachains-common", - "sp-core", + "sp-core 39.0.0", ] [[package]] @@ -3302,7 +3347,7 @@ dependencies = [ "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -3357,18 +3402,18 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -3387,7 +3432,7 @@ dependencies = [ "emulated-integration-tests-common", "frame-support", "parachains-common", - "sp-core", + "sp-core 39.0.0", ] [[package]] @@ -3411,7 +3456,7 @@ dependencies = [ "polkadot-runtime-constants", "polkadot-runtime-parachains", "polkadot-system-emulated-network", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -3465,19 +3510,19 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -3487,15 +3532,6 @@ dependencies = [ "xcm-runtime-apis", ] -[[package]] -name = "cpp_demangle" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f" -dependencies = [ - "cfg-if", -] - [[package]] name = "cpp_demangle" version = "0.4.5" @@ -3532,22 +3568,13 @@ dependencies = [ "cranelift-srcgen", ] -[[package]] -name = "cranelift-bforest" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" -dependencies = [ - "cranelift-entity 0.95.1", -] - [[package]] name = "cranelift-bforest" version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f7086a645aa58bae979312f64e3029ac760ac1b577f5cd2417844842a2ca07f" dependencies = [ - "cranelift-entity 0.122.0", + "cranelift-entity", ] [[package]] @@ -3560,26 +3587,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "cranelift-codegen" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" -dependencies = [ - "bumpalo", - "cranelift-bforest 0.95.1", - "cranelift-codegen-meta 0.95.1", - "cranelift-codegen-shared 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-isle 0.95.1", - "gimli 0.27.3", - "hashbrown 0.13.2", - "log", - "regalloc2 0.6.1", - "smallvec", - "target-lexicon 0.12.16", -] - [[package]] name = "cranelift-codegen" version = "0.122.0" @@ -3588,34 +3595,25 @@ checksum = "858fb3331e53492a95979378d6df5208dd1d0d315f19c052be8115f4efc888e0" dependencies = [ "bumpalo", "cranelift-assembler-x64", - "cranelift-bforest 0.122.0", + "cranelift-bforest", "cranelift-bitset", - "cranelift-codegen-meta 0.122.0", - "cranelift-codegen-shared 0.122.0", + "cranelift-codegen-meta", + "cranelift-codegen-shared", "cranelift-control", - "cranelift-entity 0.122.0", - "cranelift-isle 0.122.0", + "cranelift-entity", + "cranelift-isle", "gimli 0.31.1", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "log", "pulley-interpreter", "regalloc2 0.12.2", "rustc-hash 2.1.1", "serde", "smallvec", - "target-lexicon 0.13.4", + "target-lexicon", "wasmtime-internal-math", ] -[[package]] -name = "cranelift-codegen-meta" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" -dependencies = [ - "cranelift-codegen-shared 0.95.1", -] - [[package]] name = "cranelift-codegen-meta" version = "0.122.0" @@ -3623,17 +3621,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "456715b9d5f12398f156d5081096e7b5d039f01b9ecc49790a011c8e43e65b5f" dependencies = [ "cranelift-assembler-x64-meta", - "cranelift-codegen-shared 0.122.0", + "cranelift-codegen-shared", "cranelift-srcgen", "pulley-interpreter", ] -[[package]] -name = "cranelift-codegen-shared" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" - [[package]] name = "cranelift-codegen-shared" version = "0.122.0" @@ -3649,15 +3641,6 @@ dependencies = [ "arbitrary", ] -[[package]] -name = "cranelift-entity" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" -dependencies = [ - "serde", -] - [[package]] name = "cranelift-entity" version = "0.122.0" @@ -3669,62 +3652,33 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "cranelift-frontend" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" -dependencies = [ - "cranelift-codegen 0.95.1", - "log", - "smallvec", - "target-lexicon 0.12.16", -] - [[package]] name = "cranelift-frontend" version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "781f9905f8139b8de22987b66b522b416fe63eb76d823f0b3a8c02c8fd9500c7" dependencies = [ - "cranelift-codegen 0.122.0", + "cranelift-codegen", "log", "smallvec", - "target-lexicon 0.13.4", + "target-lexicon", ] -[[package]] -name = "cranelift-isle" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" - [[package]] name = "cranelift-isle" version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a05337a2b02c3df00b4dd9a263a027a07b3dff49f61f7da3b5d195c21eaa633d" -[[package]] -name = "cranelift-native" -version = "0.95.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" -dependencies = [ - "cranelift-codegen 0.95.1", - "libc", - "target-lexicon 0.12.16", -] - [[package]] name = "cranelift-native" version = "0.122.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eee7a496dd66380082c9c5b6f2d5fa149cec0ec383feec5caf079ca2b3671c2" dependencies = [ - "cranelift-codegen 0.122.0", + "cranelift-codegen", "libc", - "target-lexicon 0.13.4", + "target-lexicon", ] [[package]] @@ -3734,28 +3688,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b530783809a55cb68d070e0de60cfbb3db0dc94c8850dd5725411422bedcf6bb" [[package]] -name = "cranelift-wasm" -version = "0.95.1" +name = "crc" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" +checksum = "5eb8a2a1cd12ab0d987a5d5e825195d372001a4094a0376319d5a0ad71c1ba0d" dependencies = [ - "cranelift-codegen 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-frontend 0.95.1", - "itertools 0.10.5", - "log", - "smallvec", - "wasmparser 0.102.0", - "wasmtime-types", -] - -[[package]] -name = "crc" -version = "3.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" -dependencies = [ - "crc-catalog", + "crc-catalog", ] [[package]] @@ -3842,9 +3780,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", @@ -3897,9 +3835,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dfa0519017a4ffb05838c3e7b7e47f26c86928c965ed730a91d4d1272be4996" +checksum = "82cb90cd9debf9f763c65f9e5cd5bd3592103592ed962da03635dcaa70346e25" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -3908,17 +3846,18 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-aura", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "cumulus-pallet-parachain-system" -version = "0.24.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb02cf667494e2987f88dc904b80bf27e132222cf924b7e0c50e5bfbb893d04" +checksum = "25d8efadc9b4ad035b7fb55c768ce3d68941c1d7ef38840fa61624d34878e5e3" dependencies = [ + "array-bytes 6.2.3", "bytes", "cumulus-pallet-parachain-system-proc-macro", "cumulus-primitives-core", @@ -3928,7 +3867,7 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "impl-trait-for-tuples", "log", "pallet-message-queue", @@ -3937,15 +3876,15 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "sp-consensus-babe", - "sp-core", - "sp-externalities", - "sp-inherents 38.0.0", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-core 39.0.0", + "sp-externalities 0.31.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "sp-std", - "sp-trie", - "sp-version 41.0.0", + "sp-trie 42.0.0", + "sp-version 43.0.0", "staging-xcm", "staging-xcm-builder", "trie-db", @@ -3953,35 +3892,35 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "befbaf3a1ce23ac8476481484fef5f4d500cbd15b4dad6380ce1d28134b0c1f7" +checksum = "8734f642ff194055ba9905135a16fbfc16d143c4bebf3a9593d90caf75d10083" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "cumulus-pallet-session-benchmarking" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa428af04de512c8f57d63efad312cc93981678cb7fc0400b7bf4baaaa1bf172" +checksum = "ca4ab47b9d17cc968f5ee89469a851bb2a2ba06a0b65398bf50c34ca0afb4eb0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "cumulus-pallet-weight-reclaim" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c3bc97a8192354d85bf847904eaa9eb5577bf6fee955476d839806a75d5d2f0" +checksum = "0259d53fe511c79be65f50cdb31b22837ebf804331c643ae2a155d91d8efd466" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -3992,32 +3931,32 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-trie", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-trie 42.0.0", ] [[package]] name = "cumulus-pallet-xcm" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d70f2a1a7b14662388314514734e20fb46664568c97dc51a4b463abd59e78625" +checksum = "ade68dc08dc31f1708b9d46ed1993c3b439cef8a30c56c05b6adf19e585020cc" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ea144e9d393fa90419dbd64aa6315f3cb462faf53c3d3c29652993ae33c3475" +checksum = "e94b2def9b1b6628c7af78291e80d189b7d77adc0a72bf0e47096333e79f7789" dependencies = [ "approx", "bounded-collections", @@ -4026,79 +3965,79 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "cumulus-primitives-aura" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f4094f51bfc2154d36f2ccb982d394899c21de40f0b6876b04aea3a24bbacff" +checksum = "eadc09e2bd83a313202cc493bf6ed9f8328275fb688a7d9bbca0fd79514e8343" dependencies = [ - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-consensus-aura", ] [[package]] name = "cumulus-primitives-core" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2af6e7e5788ddc27c5d5d28f8c1363f77432e22a534ea11bce8d7e1d714cef81" +checksum = "ef73b695cc30fc5dd146fd32636f08fbfc725458f00cc776cb326c8846f5157a" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api 38.0.0", - "sp-runtime 43.0.0", - "sp-trie", + "sp-api 40.0.0", + "sp-runtime 45.0.0", + "sp-trie 42.0.0", "staging-xcm", "tracing", ] [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3aaf79465940a8c0ff0410f286849f2b5000768906111f32da4251274548165c" +checksum = "1dfc00f908f13d8a44d48086515f89c7f883454b18192d33bdae5808c25c85d1" dependencies = [ "async-trait", "cumulus-primitives-core", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents 38.0.0", - "sp-trie", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-trie 42.0.0", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2c902e7e33f9510b5354b54a68261694da6f37e70c20b3f115f7319da4644a2" +checksum = "173cea3648f289194e2ed3a9501e7224f8bea4c4d38cce247ef681c3016ac3c1" dependencies = [ - "sp-externalities", - "sp-runtime-interface 31.0.0", - "sp-trie", + "sp-externalities 0.31.0", + "sp-runtime-interface 33.0.0", + "sp-trie 42.0.0", ] [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "15.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d40a87084fe60ee80f84128f257db1b5afc546302a32210f5cddde318000d02c" +checksum = "7c6c35f19b372c4c00d7a22a23ebabfadeb8504126fe289d9c48659c51de5032" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -4109,14 +4048,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "cumulus-primitives-utility" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "025a108acb1115dee0cfd35e8aca938c6b63f8afea70f40becc1fb66621ee543" +checksum = "d789447d17b81063f3c2277c70d009a5c2d54dd505c090485500dfa23d5e1895" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -4124,7 +4063,7 @@ dependencies = [ "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4132,18 +4071,18 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.23.1" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f4dfff163c88093b298b83ff63453be5eb56854fc9ea9dff65f4c309de609b4" +checksum = "0ffc9d6ab662abed407a0f2737333daa653b647d3aa13c6693ccab7adcd0fc0f" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", "sp-consensus-babe", - "sp-core", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", - "sp-trie", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", + "sp-trie 42.0.0", ] [[package]] @@ -4170,69 +4109,69 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "cxx" -version = "1.0.161" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3523cc02ad831111491dd64b27ad999f1ae189986728e477604e61b81f828df" +checksum = "747d8437319e3a2f43d93b341c137927ca70c0f5dabeea7a005a73665e247c7e" dependencies = [ "cc", + "cxx-build", "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", - "foldhash 0.1.5", + "foldhash 0.2.0", "link-cplusplus", ] [[package]] name = "cxx-build" -version = "1.0.161" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212b754247a6f07b10fa626628c157593f0abf640a3dd04cce2760eca970f909" +checksum = "b0f4697d190a142477b16aef7da8a99bfdc41e7e8b1687583c0d23a79c7afc1e" dependencies = [ "cc", "codespan-reporting", - "indexmap 2.10.0", + "indexmap 2.13.0", "proc-macro2", "quote", "scratch", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "cxxbridge-cmd" -version = "1.0.161" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f426a20413ec2e742520ba6837c9324b55ffac24ead47491a6e29f933c5b135a" +checksum = "d0956799fa8678d4c50eed028f2de1c0552ae183c76e976cf7ca8c4e36a7c328" dependencies = [ "clap", "codespan-reporting", - "indexmap 2.10.0", + "indexmap 2.13.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "cxxbridge-flags" -version = "1.0.161" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258b6069020b4e5da6415df94a50ee4f586a6c38b037a180e940a43d06a070d" +checksum = "23384a836ab4f0ad98ace7e3955ad2de39de42378ab487dc28d3990392cb283a" [[package]] name = "cxxbridge-macro" -version = "1.0.161" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8dec184b52be5008d6eaf7e62fc1802caf1ad1227d11b3b7df2c409c7ffc3f4" +checksum = "e6acc6b5822b9526adfb4fc377b67128fdd60aac757cc4a741a6278603f763cf" dependencies = [ - "indexmap 2.10.0", + "indexmap 2.13.0", "proc-macro2", "quote", - "rustversion", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4266,7 +4205,7 @@ dependencies = [ "proc-macro2", "quote", "strsim", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4281,7 +4220,7 @@ dependencies = [ "quote", "serde", "strsim", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4292,7 +4231,7 @@ checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" dependencies = [ "darling_core 0.20.11", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4303,20 +4242,20 @@ checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" dependencies = [ "darling_core 0.21.3", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "data-encoding" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" +checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea" [[package]] name = "data-encoding-macro" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47ce6c96ea0102f01122a185683611bd5ac8d99e62bc59dd12e6bda344ee673d" +checksum = "8142a83c17aa9461d637e649271eae18bf2edd00e91f2e105df36c3c16355bdb" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -4324,12 +4263,21 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.16" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" +checksum = "7ab67060fc6b8ef687992d439ca0fa36e7ed17e9a0b16b25b601e8757df720de" dependencies = [ "data-encoding", - "syn 2.0.104", + "syn 2.0.114", +] + +[[package]] +name = "debugid" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d" +dependencies = [ + "uuid", ] [[package]] @@ -4339,6 +4287,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", + "pem-rfc7468", "zeroize", ] @@ -4372,12 +4321,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.4.0" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] @@ -4399,18 +4348,18 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "derive-where" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "510c292c8cf384b1a340b816a9a6cf2599eb8f566a44949024af88418000c50b" +checksum = "ef941ded77d15ca19b40374869ac6000af1c9f2a4c0f3d4c70926287e6364a8f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4423,7 +4372,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version 0.4.1", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4437,11 +4386,11 @@ dependencies = [ [[package]] name = "derive_more" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" dependencies = [ - "derive_more-impl 2.0.1", + "derive_more-impl 2.1.1", ] [[package]] @@ -4452,19 +4401,20 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "derive_more-impl" -version = "2.0.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" dependencies = [ - "convert_case 0.7.1", + "convert_case 0.10.0", "proc-macro2", "quote", - "syn 2.0.104", + "rustc_version 0.4.1", + "syn 2.0.114", "unicode-xid", ] @@ -4548,7 +4498,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4572,7 +4522,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.104", + "syn 2.0.114", "termcolor", "toml 0.8.23", "walkdir", @@ -4592,9 +4542,9 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" +checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590" [[package]] name = "dunce" @@ -4650,16 +4600,17 @@ dependencies = [ [[package]] name = "ed25519-zebra" -version = "4.0.3" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +checksum = "0017d969298eec91e3db7a2985a8cab4df6341d86e6f3a6f5878b13fb7846bc9" dependencies = [ "curve25519-dalek", "ed25519", - "hashbrown 0.14.5", - "hex", + "hashbrown 0.15.5", + "pkcs8", "rand_core 0.6.4", "sha2 0.10.9", + "subtle 2.6.1", "zeroize", ] @@ -4672,7 +4623,7 @@ dependencies = [ "enum-ordinalize", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -4718,9 +4669,9 @@ checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" [[package]] name = "emulated-integration-tests-common" -version = "26.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304687265a0ac33272bd3309e99c4ba28f950cff136274991e83ac9b00f8af5" +checksum = "aea312b5aad3da2049a43afe0952262cc19b45e0d34bdd9ef9b9bd2d409103b5" dependencies = [ "asset-test-utils", "bp-messages", @@ -4736,7 +4687,6 @@ dependencies = [ "pallet-balances", "pallet-bridge-messages", "pallet-message-queue", - "pallet-preimage", "pallet-whitelist", "pallet-xcm", "pallet-xcm-bridge-hub", @@ -4750,9 +4700,9 @@ dependencies = [ "sp-authority-discovery", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", + "sp-core 39.0.0", "sp-keyring", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4778,9 +4728,9 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978f0f10eb880aed6bd7ba5ab8459dff6b850bd7121f69db7f9c86a8c435292f" +checksum = "e53308613972a1558c2a0957aa567ae8b2bcc1552878dcb73c42c4714a42e52e" dependencies = [ "encointer-primitives", "frame-support", @@ -4790,31 +4740,31 @@ dependencies = [ "pallet-encointer-balances", "pallet-encointer-ceremonies", "pallet-transaction-payment", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "encointer-balances-tx-payment-rpc-runtime-api" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c00554a556793f0125d0e1f82ac46c7dbfa038009995043c29b8b73ec57f09d2" +checksum = "a96d3391f88cd5302faa4358c6a7b7a206cfa9d270eee1f1ccf25c612753be0c" dependencies = [ "encointer-primitives", "frame-support", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "encointer-ceremonies-assignment" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfe7dea049c6c5de63b44852a2b590d16de1a45d260dec5f941887365dcd3c8" +checksum = "d6bc13dd8ad24344af61546aeab7c5dcb1f6300e7fc540361d74e5de12e8fdc9" dependencies = [ "encointer-primitives", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] @@ -4830,7 +4780,7 @@ dependencies = [ "kusama-emulated-chain", "parachains-common", "polkadot-parachain-primitives", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", "staging-xcm-builder", @@ -4857,8 +4807,8 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 43.0.0", - "sp-tracing 18.0.0", + "sp-runtime 45.0.0", + "sp-tracing", "staging-kusama-runtime", "staging-xcm", "staging-xcm-builder", @@ -4935,19 +4885,19 @@ dependencies = [ "scale-info", "serde_json", "smallvec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", - "sp-tracing 18.0.0", + "sp-tracing", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -4959,23 +4909,23 @@ dependencies = [ [[package]] name = "encointer-meetup-validation" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcf015011a8dc820c2f5a799688fce7e1fd4412ac46a359b0649f190f4996c76" +checksum = "5a549aa7ef9e10aa917f647eb6af719a12277810ffde4a6b790c8b177937af01" dependencies = [ "encointer-primitives", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "encointer-primitives" -version = "20.5.3" +version = "21.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecef5e9a503263b4a357dc12590e0a2544e0e4c7609ac4282b1ad08d34a32dc3" +checksum = "2298cb818363eb35abc7d0b8cad7ebe3cb8d00f8ee44b0595bb8544b7fa75578" dependencies = [ "bs58", "crc", @@ -4985,9 +4935,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "substrate-geohash", ] @@ -5001,27 +4951,47 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", +] + +[[package]] +name = "enum-display" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02058bb25d8d0605829af88230427dd5cd50661590bd2b09d1baf7c64c417f24" +dependencies = [ + "enum-display-macro", +] + +[[package]] +name = "enum-display-macro" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4be2cf2fe7b971b1865febbacd4d8df544aa6bd377cca011a6d69dcf4c60d94" +dependencies = [ + "convert_case 0.6.0", + "quote", + "syn 1.0.109", ] [[package]] name = "enum-ordinalize" -version = "4.3.0" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea0dcfa4e54eeb516fe454635a95753ddd39acda650ce703031c6973e315dd5" +checksum = "4a1091a7bb1f8f2c4b28f1fe2cef4980ca2d410a3d727d67ecc3178c9b0800f0" dependencies = [ "enum-ordinalize-derive", ] [[package]] name = "enum-ordinalize-derive" -version = "4.3.1" +version = "4.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d28318a75d4aead5c4db25382e8ef717932d0346600cacae6357eb5941bc5ff" +checksum = "8ca9601fb2d62598ee17836250842873a413586e5d7ed88b356e38ddbb0ec631" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -5041,7 +5011,7 @@ checksum = "67c78a4d8fdf9953a5c9d458f9efe940fd97a0cab0941c075a813ac594733827" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -5052,20 +5022,7 @@ checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "env_logger" -version = "0.10.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", + "syn 2.0.114", ] [[package]] @@ -5076,9 +5033,9 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "ep-core" -version = "20.0.2" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f0953a41c4faece27663cdee9c555c5e4e782ea7fbe67dc79d8dc174130c00e" +checksum = "55f5b032fcc64c663904e78e5fceda806f2bd1dc01f036c23d6153ee12e75f46" dependencies = [ "array-bytes 6.2.3", "impl-serde", @@ -5086,8 +5043,8 @@ dependencies = [ "scale-info", "serde", "sp-arithmetic", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", "substrate-fixed", ] @@ -5111,12 +5068,12 @@ dependencies = [ [[package]] name = "errno" -version = "0.3.13" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -5177,9 +5134,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "5.4.0" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" +checksum = "e13b66accf52311f30a0db42147dadea9850cb48cd070028831ae5f5d4b856ab" dependencies = [ "concurrent-queue", "parking", @@ -5192,7 +5149,7 @@ version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "event-listener 5.4.0", + "event-listener 5.4.1", "pin-project-lite", ] @@ -5208,15 +5165,9 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - [[package]] name = "fallible-iterator" version = "0.3.0" @@ -5230,8 +5181,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e24cb5a94bcae1e5408b0effca5cd7172ea3c5755049c5f3af4cd283a165298" dependencies = [ "bit-set", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", + "regex-automata", + "regex-syntax", ] [[package]] @@ -5288,26 +5239,15 @@ dependencies = [ "winapi", ] -[[package]] -name = "file-per-thread-logger" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2e425d9790201ba4af4630191feac6dcc98765b118d4d18e91d23c2353866" -dependencies = [ - "env_logger", - "log", -] - [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "f98844151eee8917efc50bd9e8318cb963ae8b297431495d3f758616ea5c57db" dependencies = [ "cfg-if", "libc", "libredox", - "windows-sys 0.59.0", ] [[package]] @@ -5322,10 +5262,16 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "scale-info", ] +[[package]] +name = "find-msvc-tools" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" + [[package]] name = "fixed-hash" version = "0.8.0" @@ -5346,9 +5292,9 @@ checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" [[package]] name = "flate2" -version = "1.1.2" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" +checksum = "b375d6465b98090a5f25b1c7703f3859783755aa9a80433b36e0379a3ec2f369" dependencies = [ "crc32fast", "miniz_oxide", @@ -5398,9 +5344,9 @@ dependencies = [ [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] @@ -5413,9 +5359,9 @@ checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" -version = "44.0.0" +version = "45.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "789d118afc57bc6112dca0212ff5f184862cf87ae67b511fdc7a4a8b7e41ce50" +checksum = "2f3226faf3dbf5311c1ab352850d680f487f4f675c4590b1c905572b0de611df" dependencies = [ "frame-support", "frame-support-procedural", @@ -5426,12 +5372,12 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-runtime-interface 31.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-runtime-interface 33.0.0", "sp-storage", "static_assertions", ] @@ -5463,7 +5409,7 @@ dependencies = [ "scale-info", "scale-type-resolver", "sp-crypto-hashing", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -5472,17 +5418,17 @@ version = "16.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b0b525f462fa8121c3d143ad0d876660584f160ad5baa68c57bfeeb293c6b8fb" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "frame-election-provider-support" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e832f1a2e535d3291d3b7fa2bdec5498969db5a8f79ddbb752aff62b1d1da3da" +checksum = "f6c5549782e1b6e601405795d9207119ff22f9117e1aef20b93fd4a43c6516fb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -5490,17 +5436,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", + "sp-core 39.0.0", "sp-npos-elections", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "frame-executive" -version = "44.0.0" +version = "45.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a60b16eb7a59f51d26af3466da694d94411cf2b4a032b76f989bcff3c6958ebc" +checksum = "7110e75b540e49ebf54e368e8117c8bf25109a1eb619890c55715093f1a1e04f" dependencies = [ "aquamarine", "frame-support", @@ -5509,10 +5455,10 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-tracing 18.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-tracing", ] [[package]] @@ -5529,9 +5475,9 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "148789f0d863352a918762bbf06565b9acb9d73cc86585f85f9929d59b18720e" +checksum = "70b849ff6fbe4e7e238293bf42bacbdcd9aaed4b2d98aec204de6fc221f74638" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -5541,14 +5487,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "frame-remote-externalities" -version = "0.55.0" +version = "0.56.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0f149605112f7f77cb936ff6394d4e4332d9bcf176f2b55173f70e25ed21709" +checksum = "cf4f255661e5c192322b4425dcbae944f17fa007180109804b63e944472dc41a" dependencies = [ "futures", "indicatif", @@ -5556,11 +5502,11 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "spinners", "substrate-rpc-client", "tokio", @@ -5569,9 +5515,9 @@ dependencies = [ [[package]] name = "frame-support" -version = "44.0.0" +version = "45.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b853a8724d2ac1096e480a1fa6d1279697b774d098251817a964f3dfd8ba0036" +checksum = "f3ac9c3d0a7e3669bfcd1d549bcbeae941fd0181aea9edc71447f8d785b567de" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -5590,30 +5536,30 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", - "sp-core", + "sp-core 39.0.0", "sp-crypto-hashing-proc-macro", "sp-debug-derive", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-metadata-ir", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-staking", - "sp-state-machine 0.47.0", + "sp-state-machine 0.49.0", "sp-std", - "sp-tracing 18.0.0", - "sp-trie", + "sp-tracing", + "sp-trie 42.0.0", "sp-weights", "tt-call", ] [[package]] name = "frame-support-procedural" -version = "35.0.0" +version = "36.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c481996abeb9027d9a4d62d0c2cb4115c0ee6ef3120ad234fa2776b6313a4ed4" +checksum = "916d7474058f97fe1d6fc66c43c9891eeaed47e694cdd1aba8ec0f551cabca27" dependencies = [ "Inflector", "cfg-expr", @@ -5627,7 +5573,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -5637,10 +5583,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81a088fd6fda5f53ff0c17fc7551ce8bd0ead14ba742228443c8196296a7369b" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -5651,14 +5597,14 @@ checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "frame-system" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198d131ab22ecad578902c725d364cd3c02437da589451bf5a9744a4ac17af6e" +checksum = "6c883a6b18af7be0fc756f8221927e9a58bbe3d3f950de1f5d377af9fbdcdcac" dependencies = [ "cfg-if", "docify", @@ -5667,49 +5613,49 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-version 41.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-version 43.0.0", "sp-weights", ] [[package]] name = "frame-system-benchmarking" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ccf490c31cfd4f8438caaa118764ba5792f21b3805f38b2709fa5f0aae37f1" +checksum = "64ef073183476960babf0c7e5a169375c9698709b407c7beedb6c2dc8690d73f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "frame-system-rpc-runtime-api" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b776e081559afa5cba5ff6843d743a28a19af561bca26cafaedc98e2f11b6646" +checksum = "8405cc4c9564cd87521065b7607a85a2a56bfab2c6f12afdf3df32c4da66f804" dependencies = [ "docify", "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", ] [[package]] name = "frame-try-runtime" -version = "0.50.0" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54acc7a4369bfeef0e8b3df129ff0a7b392d67d7e9f45ce3361e9edac289c591" +checksum = "af1745c6b30778a7c5aa682b87e59d6c0f6f1b00087cb4861f7ecd22fcda17f0" dependencies = [ "frame-support", "parity-scale-codec", - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -5788,9 +5734,9 @@ checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" -version = "2.6.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" +checksum = "f78e10609fe0e0b3f4157ffab1876319b5b0db102a2c60dc4626306dc46b44ad" dependencies = [ "fastrand", "futures-core", @@ -5807,7 +5753,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -5817,7 +5763,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb" dependencies = [ "futures-io", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-pki-types", ] @@ -5867,17 +5813,16 @@ dependencies = [ ] [[package]] -name = "generator" -version = "0.8.5" +name = "fxprof-processed-profile" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d18470a76cb7f8ff746cf1f7470914f900252ec36bbc40b569d74b1258446827" +checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" dependencies = [ - "cc", - "cfg-if", - "libc", - "log", - "rustversion", - "windows 0.61.3", + "bitflags 2.10.0", + "debugid", + "fxhash", + "serde", + "serde_json", ] [[package]] @@ -5902,28 +5847,28 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" dependencies = [ "cfg-if", "js-sys", "libc", - "wasi 0.11.1+wasi-snapshot-preview1", + "wasi", "wasm-bindgen", ] [[package]] name = "getrandom" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "js-sys", "libc", "r-efi", - "wasi 0.14.2+wasi-0.2.4", + "wasip2", "wasm-bindgen", ] @@ -5949,25 +5894,20 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" dependencies = [ - "fallible-iterator 0.2.0", - "indexmap 1.9.3", + "fallible-iterator", + "indexmap 2.13.0", "stable_deref_trait", ] [[package]] name = "gimli" -version = "0.31.1" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" -dependencies = [ - "fallible-iterator 0.3.0", - "indexmap 2.10.0", - "stable_deref_trait", -] +checksum = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" [[package]] name = "glob" @@ -6002,17 +5942,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -6046,7 +5986,7 @@ dependencies = [ "pallet-xcm", "parity-scale-codec", "people-kusama-runtime", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-kusama-runtime", "staging-xcm", ] @@ -6067,7 +6007,7 @@ dependencies = [ "parity-scale-codec", "polkadot-runtime", "polkadot-system-emulated-network", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", ] @@ -6094,7 +6034,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.12", - "indexmap 2.10.0", + "indexmap 2.13.0", "slab", "tokio", "tokio-util", @@ -6103,17 +6043,17 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.11" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785" +checksum = "2f44da3a8150a6703ed5d34e164b875fd14c2cdab9af1252a9a1020bde2bdc54" dependencies = [ "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "http 1.3.1", - "indexmap 2.10.0", + "http 1.4.0", + "indexmap 2.13.0", "slab", "tokio", "tokio-util", @@ -6162,9 +6102,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.4" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ "allocator-api2", "equivalent", @@ -6204,12 +6144,6 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -[[package]] -name = "hermit-abi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" - [[package]] name = "hermit-abi" version = "0.5.2" @@ -6221,9 +6155,6 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -dependencies = [ - "serde", -] [[package]] name = "hex-conservative" @@ -6233,9 +6164,9 @@ checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" [[package]] name = "hex-conservative" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5313b072ce3c597065a808dbf612c4c8e8590bdbf8b579508bf7a762c5eae6cd" +checksum = "fda06d18ac606267c40c04e41b9947729bf8b9efe74bd4e82b61a5f26a510b9f" dependencies = [ "arrayvec 0.7.6", ] @@ -6289,7 +6220,7 @@ dependencies = [ "once_cell", "rand 0.9.2", "ring 0.17.14", - "thiserror 2.0.12", + "thiserror 2.0.18", "tinyvec", "tokio", "tracing", @@ -6308,7 +6239,7 @@ dependencies = [ "ipconfig", "lru-cache", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "resolv-conf", "smallvec", @@ -6329,11 +6260,11 @@ dependencies = [ "ipconfig", "moka", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.9.2", "resolv-conf", "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tracing", ] @@ -6379,11 +6310,11 @@ dependencies = [ [[package]] name = "home" -version = "0.5.11" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -6399,12 +6330,11 @@ dependencies = [ [[package]] name = "http" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", - "fnv", "itoa", ] @@ -6426,7 +6356,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", - "http 1.3.1", + "http 1.4.0", ] [[package]] @@ -6437,7 +6367,7 @@ checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", "futures-core", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "pin-project-lite", ] @@ -6462,9 +6392,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" +checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424" [[package]] name = "humantime-serde" @@ -6502,20 +6432,22 @@ dependencies = [ [[package]] name = "hyper" -version = "1.6.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", - "h2 0.4.11", - "http 1.3.1", + "futures-core", + "h2 0.4.13", + "http 1.4.0", "http-body 1.0.1", "httparse", "httpdate", "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -6543,14 +6475,14 @@ version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "http 1.3.1", - "hyper 1.6.0", + "http 1.4.0", + "hyper 1.8.1", "hyper-util", "log", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls 0.26.4", "tower-service", ] @@ -6574,7 +6506,7 @@ checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" dependencies = [ "bytes", "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-util", "native-tls", "tokio", @@ -6584,24 +6516,23 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.16" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" +checksum = "96547c2556ec9d12fb1578c4eaf448b04993e7fb79cbaad930a656880a6bdfa0" dependencies = [ "base64 0.22.1", "bytes", "futures-channel", - "futures-core", "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", - "hyper 1.6.0", + "hyper 1.8.1", "ipnet", "libc", "percent-encoding", "pin-project-lite", - "socket2 0.6.0", - "system-configuration", + "socket2 0.6.2", + "system-configuration 0.7.0", "tokio", "tower-service", "tracing", @@ -6610,9 +6541,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.63" +version = "0.1.65" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +checksum = "e31bc9ad994ba00e440a8aa5c9ef0ec67d5cb5e5cb0cc7f8b744a35b389cc470" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -6620,7 +6551,7 @@ dependencies = [ "js-sys", "log", "wasm-bindgen", - "windows-core 0.61.2", + "windows-core 0.62.2", ] [[package]] @@ -6634,9 +6565,9 @@ dependencies = [ [[package]] name = "icu_collections" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", "potential_utf", @@ -6647,9 +6578,9 @@ dependencies = [ [[package]] name = "icu_locale_core" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -6660,11 +6591,10 @@ dependencies = [ [[package]] name = "icu_normalizer" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", @@ -6675,42 +6605,38 @@ dependencies = [ [[package]] name = "icu_normalizer_data" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "2.0.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b" +checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" dependencies = [ - "displaydoc", "icu_collections", "icu_locale_core", "icu_properties_data", "icu_provider", - "potential_utf", "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "2.0.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632" +checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" [[package]] name = "icu_provider" -version = "2.0.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", "icu_locale_core", - "stable_deref_trait", - "tinystr", "writeable", "yoke", "zerofrom", @@ -6726,9 +6652,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -6773,9 +6699,9 @@ dependencies = [ "netlink-proto", "netlink-sys", "rtnetlink", - "system-configuration", + "system-configuration 0.6.1", "tokio", - "windows 0.53.0", + "windows", ] [[package]] @@ -6852,7 +6778,7 @@ checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -6887,13 +6813,14 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.10.0" +version = "2.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" +checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" dependencies = [ "equivalent", - "hashbrown 0.15.4", + "hashbrown 0.16.1", "serde", + "serde_core", ] [[package]] @@ -6949,28 +6876,7 @@ dependencies = [ "paste", "staging-xcm", "xcm-emulator", -] - -[[package]] -name = "io-lifetimes" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" -dependencies = [ - "hermit-abi 0.3.9", - "libc", - "windows-sys 0.48.0", -] - -[[package]] -name = "io-uring" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" -dependencies = [ - "bitflags 2.9.1", - "cfg-if", - "libc", + "xcm-runtime-apis", ] [[package]] @@ -6999,30 +6905,19 @@ checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "iri-string" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbc5ebe9c3a1a7a5127f920a418f7585e9e758e911d0466ed004f393b0e380b2" +checksum = "c91338f0783edbd6195decb37bae672fd3b165faffb89bf7b9e6942f8b1a731a" dependencies = [ "memchr", "serde", ] -[[package]] -name = "is-terminal" -version = "0.4.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" -dependencies = [ - "hermit-abi 0.5.2", - "libc", - "windows-sys 0.59.0", -] - [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itertools" @@ -7071,15 +6966,35 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" + +[[package]] +name = "ittapi" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b996fe614c41395cdaedf3cf408a9534851090959d90d54a535f675550b64b1" +dependencies = [ + "anyhow", + "ittapi-sys", + "log", +] + +[[package]] +name = "ittapi-sys" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "52f5385394064fa2c886205dba02598013ce83d3e92d33dbdc0c52fe0e7bf4fc" +dependencies = [ + "cc", +] [[package]] name = "jam-codec" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d72f2fb8cfd27f6c52ea7d0528df594f7f2ed006feac153e9393ec567aafea98" +checksum = "cb948eace373d99de60501a02fb17125d30ac632570de20dccc74370cdd611b9" dependencies = [ "arrayvec 0.7.6", "bitvec", @@ -7093,14 +7008,14 @@ dependencies = [ [[package]] name = "jam-codec-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09985146f40378e13af626964ac9c206d9d9b67c40c70805898d9954f709bcf5" +checksum = "319af585c4c8a6b5552a52b7787a1ab3e4d59df7614190b1f85b9b842488789d" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -7127,19 +7042,19 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "jobserver" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" +checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" dependencies = [ - "getrandom 0.3.3", + "getrandom 0.3.4", "libc", ] [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "8c942ebf8e95485ca0d52d97da7c5a2c387d0e7f0ba4c35e93bfcaee045955b3" dependencies = [ "once_cell", "wasm-bindgen", @@ -7171,9 +7086,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37b26c20e2178756451cfeb0661fb74c47dd5988cb7e3939de7e9241fd604d42" +checksum = "e281ae70cc3b98dac15fced3366a880949e65fc66e345ce857a5682d152f3e62" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -7186,22 +7101,22 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bacb85abf4117092455e1573625e21b8f8ef4dec8aff13361140b2dc266cdff2" +checksum = "cc4280b709ac3bb5e16cf3bad5056a0ec8df55fa89edfe996361219aadc2c7ea" dependencies = [ "base64 0.22.1", "futures-util", - "http 1.3.1", + "http 1.4.0", "jsonrpsee-core", "pin-project", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-pki-types", "rustls-platform-verifier", "soketto", "thiserror 1.0.69", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls 0.26.4", "tokio-util", "tracing", "url", @@ -7209,19 +7124,19 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456196007ca3a14db478346f58c7238028d55ee15c1df15115596e411ff27925" +checksum = "348ee569eaed52926b5e740aae20863762b16596476e943c9e415a6479021622" dependencies = [ "async-trait", "bytes", "futures-timer", "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "http-body-util", "jsonrpsee-types", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rustc-hash 2.1.1", @@ -7235,19 +7150,19 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c872b6c9961a4ccc543e321bb5b89f6b2d2c7fe8b61906918273a3333c95400c" +checksum = "f50c389d6e6a52eb7c3548a6600c90cf74d9b71cb5912209833f00a5479e9a01" dependencies = [ "async-trait", "base64 0.22.1", "http-body 1.0.1", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-rustls 0.27.7", "hyper-util", "jsonrpsee-core", "jsonrpsee-types", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-platform-verifier", "serde", "serde_json", @@ -7260,24 +7175,24 @@ dependencies = [ [[package]] name = "jsonrpsee-proc-macros" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e65763c942dfc9358146571911b0cd1c361c2d63e2d2305622d40d36376ca80" +checksum = "7398cddf5013cca4702862a2692b66c48a3bd6cf6ec681a47453c93d63cf8de5" dependencies = [ "heck 0.5.0", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "jsonrpsee-types" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a8e70baf945b6b5752fc8eb38c918a48f1234daf11355e07106d963f860089" +checksum = "b0f05e0028e55b15dbd2107163b3c744cd3bb4474f193f95d9708acbf5677e44" dependencies = [ - "http 1.3.1", + "http 1.4.0", "serde", "serde_json", "thiserror 1.0.69", @@ -7285,11 +7200,11 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.24.9" +version = "0.24.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b3323d890aa384f12148e8d2a1fd18eb66e9e7e825f9de4fa53bcc19b93eef" +checksum = "78fc744f17e7926d57f478cf9ca6e1ee5d8332bf0514860b1a3cdf1742e614cc" dependencies = [ - "http 1.3.1", + "http 1.4.0", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", @@ -7335,9 +7250,9 @@ dependencies = [ [[package]] name = "keccak-asm" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "505d1856a39b200489082f90d897c3f07c455563880bc5952e38eabf731c83b6" +checksum = "b646a74e746cd25045aa0fd42f4f7f78aa6d119380182c7e63a5593c4ab8df6f" dependencies = [ "digest 0.10.7", "sha3-asm", @@ -7447,7 +7362,7 @@ dependencies = [ "json-patch", "k8s-openapi", "kube-client", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "serde", "serde_json", @@ -7470,7 +7385,7 @@ dependencies = [ "sp-authority-discovery", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", + "sp-core 39.0.0", "staging-kusama-runtime", ] @@ -7499,9 +7414,9 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-core", - "sp-runtime 43.0.0", - "sp-trie", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "sp-trie 42.0.0", "sp-weights", "staging-xcm-builder", ] @@ -7546,15 +7461,15 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libc" -version = "0.2.174" +version = "0.2.180" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776" +checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" [[package]] name = "libm" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" +checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "libp2p" @@ -7566,7 +7481,7 @@ dependencies = [ "either", "futures", "futures-timer", - "getrandom 0.2.16", + "getrandom 0.2.17", "libp2p-allow-block-list", "libp2p-connection-limits", "libp2p-core", @@ -7630,7 +7545,7 @@ dependencies = [ "multihash 0.19.3", "multistream-select", "once_cell", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "quick-protobuf", "rand 0.8.5", @@ -7654,7 +7569,7 @@ dependencies = [ "hickory-resolver 0.24.4", "libp2p-core", "libp2p-identity", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "smallvec", "tracing", ] @@ -7684,9 +7599,9 @@ dependencies = [ [[package]] name = "libp2p-identity" -version = "0.2.12" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3104e13b51e4711ff5738caa1fb54467c8604c2e94d607e27745bcf709068774" +checksum = "f0c7892c221730ba55f7196e98b0b8ba5e04b4155651736036628e9f73ed6fc3" dependencies = [ "bs58", "ed25519-dalek", @@ -7695,7 +7610,7 @@ dependencies = [ "quick-protobuf", "rand 0.8.5", "sha2 0.10.9", - "thiserror 2.0.12", + "thiserror 2.0.18", "tracing", "zeroize", ] @@ -7825,11 +7740,11 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-tls", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "quinn", "rand 0.8.5", "ring 0.17.14", - "rustls 0.23.31", + "rustls 0.23.36", "socket2 0.5.10", "thiserror 1.0.69", "tokio", @@ -7889,7 +7804,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -7921,7 +7836,7 @@ dependencies = [ "libp2p-identity", "rcgen", "ring 0.17.14", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-webpki 0.101.7", "thiserror 1.0.69", "x509-parser 0.16.0", @@ -7955,7 +7870,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "libp2p-identity", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project-lite", "rw-stream-sink", "soketto", @@ -7977,18 +7892,18 @@ dependencies = [ "thiserror 1.0.69", "tracing", "yamux 0.12.1", - "yamux 0.13.6", + "yamux 0.13.8", ] [[package]] name = "libredox" -version = "0.1.9" +version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" +checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.7.0", ] [[package]] @@ -8041,9 +7956,9 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6f6da007f968f9def0d65a05b187e2960183de70c160204ecfccf0ee330212" +checksum = "7f78c730aaa7d0b9336a299029ea49f9ee53b0ed06e9202e8cb7db9bae7b8c82" dependencies = [ "cc", ] @@ -8056,9 +7971,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linked_hash_set" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae85b5be22d9843c80e5fc80e9b64c8a3b1f98f867c709956eca3efff4e92e2" +checksum = "984fb35d06508d1e69fc91050cceba9c0b748f983e6739fa2c7a9237154c52c8" dependencies = [ "linked-hash-map", ] @@ -8074,21 +7989,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" - -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - -[[package]] -name = "linux-raw-sys" -version = "0.9.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "lioness" @@ -8104,15 +8007,15 @@ dependencies = [ [[package]] name = "litemap" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" [[package]] name = "litep2p" -version = "0.9.5" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14fb10e63363204b89d91e1292df83322fd9de5d7fa76c3d5c78ddc2f8f3efa9" +checksum = "c666ef772d123a7643323ad4979c30dd825e9c68ec1aa5b387a6c9a9871c11ea" dependencies = [ "async-trait", "bs58", @@ -8122,27 +8025,27 @@ dependencies = [ "futures", "futures-timer", "hickory-resolver 0.25.2", - "indexmap 2.10.0", + "indexmap 2.13.0", "libc", "mockall", "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "prost 0.13.5", - "prost-build", + "prost-build 0.13.5", "rand 0.8.5", "serde", "sha2 0.10.9", - "simple-dns", + "simple-dns 0.9.3", "smallvec", "snow", "socket2 0.5.10", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-stream", - "tokio-tungstenite 0.26.2", + "tokio-tungstenite 0.27.0", "tokio-util", "tracing", "uint 0.10.0", @@ -8150,43 +8053,45 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.6", + "yamux 0.13.8", "yasna", "zeroize", ] [[package]] name = "litep2p" -version = "0.10.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c666ef772d123a7643323ad4979c30dd825e9c68ec1aa5b387a6c9a9871c11ea" +checksum = "c68ba359d7f1a80d18821b46575d5ddb9a9a6672fe0669f5fc9e83cab9abd760" dependencies = [ "async-trait", "bs58", "bytes", "cid 0.11.1", "ed25519-dalek", + "enum-display", "futures", "futures-timer", "hickory-resolver 0.25.2", - "indexmap 2.10.0", + "indexmap 2.13.0", "libc", "mockall", "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "prost 0.13.5", - "prost-build", + "prost-build 0.14.3", "rand 0.8.5", + "ring 0.17.14", "serde", "sha2 0.10.9", - "simple-dns", + "simple-dns 0.11.2", "smallvec", "snow", "socket2 0.5.10", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-stream", "tokio-tungstenite 0.27.0", @@ -8197,39 +8102,25 @@ dependencies = [ "url", "x25519-dalek", "x509-parser 0.17.0", - "yamux 0.13.6", + "yamux 0.13.8", "yasna", "zeroize", ] [[package]] name = "lock_api" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" - -[[package]] -name = "loom" -version = "0.7.2" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "419e0dc8046cb947daa77eb95ae174acfbddb7673b4151f56d1eed8e93fbfaca" -dependencies = [ - "cfg-if", - "generator", - "scoped-tls", - "tracing", - "tracing-subscriber 0.3.19", -] +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "lru" @@ -8237,7 +8128,7 @@ version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" dependencies = [ - "hashbrown 0.15.4", + "hashbrown 0.15.5", ] [[package]] @@ -8255,15 +8146,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154" -[[package]] -name = "mach" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" -dependencies = [ - "libc", -] - [[package]] name = "mach2" version = "0.4.3" @@ -8281,7 +8163,7 @@ checksum = "1b27834086c65ec3f9387b096d66e99f221cf081c2b738042aa252bcd41204e3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8293,7 +8175,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8307,7 +8189,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8318,7 +8200,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8329,7 +8211,7 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8338,13 +8220,24 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" +[[package]] +name = "match-lookup" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "757aee279b8bdbb9f9e676796fd459e4207a1f986e87886700abf589f5abf771" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.114", +] + [[package]] name = "matchers" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +checksum = "d1525a2a28c7f4fa0fc98bb91ae755d1e2d1505079e05539e35bc876b5d65ae9" dependencies = [ - "regex-automata 0.1.10", + "regex-automata", ] [[package]] @@ -8359,37 +8252,28 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.5" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memfd" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" +checksum = "ad38eb12aea514a0466ea40a80fd8cc83637065948eb4a426e4aa46261175227" dependencies = [ - "rustix 0.38.44", + "rustix", ] [[package]] name = "memmap2" -version = "0.9.7" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "483758ad303d734cec05e5c12b41d7e93e6a6390c5e9dae6bdeb7c1259012d28" +checksum = "744133e4a0e0a658e1374cf3bf8e415c4052a15a111acd372764c55b4177d490" dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" -dependencies = [ - "autocfg", -] - [[package]] name = "memory-db" version = "0.34.0" @@ -8398,7 +8282,7 @@ checksum = "7e300c54e3239a86f9c61cc63ab0f03862eb40b1c6e065dc6fd6ceaeff6da93d" dependencies = [ "foldhash 0.1.5", "hash-db", - "hashbrown 0.15.4", + "hashbrown 0.15.5", ] [[package]] @@ -8446,17 +8330,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", + "simd-adler32", ] [[package]] name = "mio" -version = "1.0.4" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" +checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" dependencies = [ "libc", - "wasi 0.11.1+wasi-snapshot-preview1", - "windows-sys 0.59.0", + "wasi", + "windows-sys 0.61.2", ] [[package]] @@ -8475,7 +8360,7 @@ dependencies = [ "hashlink", "lioness", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "rand_chacha 0.3.1", "rand_distr", @@ -8507,25 +8392,23 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "moka" -version = "0.12.10" +version = "0.12.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9321642ca94a4282428e6ea4af8cc2ca4eac48ac7a6a4ea8f33f76d0ce70926" +checksum = "b4ac832c50ced444ef6be0767a008b02c106a909ba79d1d830501e94b96f6b7e" dependencies = [ "crossbeam-channel", "crossbeam-epoch", "crossbeam-utils", - "loom", - "parking_lot 0.12.4", + "equivalent", + "parking_lot 0.12.5", "portable-atomic", - "rustc_version 0.4.1", "smallvec", "tagptr", - "thiserror 1.0.69", "uuid", ] @@ -8575,11 +8458,12 @@ dependencies = [ [[package]] name = "multibase" -version = "0.9.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3539ec3c1f04ac9748a260728e855f261b4977f5c3406612c884564f329404" +checksum = "8694bb4835f452b0e3bb06dbebb1d6fc5385b6ca1caf2e55fd165c042390ec77" dependencies = [ "base-x", + "base256emoji", "data-encoding", "data-encoding-macro", ] @@ -8669,7 +8553,7 @@ dependencies = [ "libc", "log", "openssl", - "openssl-probe", + "openssl-probe 0.1.6", "openssl-sys", "schannel", "security-framework 2.11.1", @@ -8725,17 +8609,17 @@ dependencies = [ "log", "netlink-packet-core", "netlink-sys", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "netlink-sys" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16c903aa70590cb93691bf97a767c8d1d6122d2cc9070433deb3bbf36ce8bd23" +checksum = "cd6c30ed10fa69cc491d491b85cc971f6bdeb8e7367b7cde2ee6cc878d583fae" dependencies = [ "bytes", - "futures", + "futures-util", "libc", "log", "tokio", @@ -8743,13 +8627,13 @@ dependencies = [ [[package]] name = "network-interface" -version = "2.0.2" +version = "2.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862f41f1276e7148fb597fc55ed8666423bebe045199a1298c3515a73ec5cdd9" +checksum = "4ddcb8865ad3d9950f22f42ffa0ef0aecbfbf191867b3122413602b0a360b2a6" dependencies = [ "cc", "libc", - "thiserror 2.0.12", + "thiserror 2.0.18", "winapi", ] @@ -8770,7 +8654,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "cfg-if", "cfg_aliases", "libc", @@ -8809,12 +8693,11 @@ dependencies = [ [[package]] name = "nu-ansi-term" -version = "0.46.0" +version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84" +checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "overload", - "winapi", + "windows-sys 0.61.2", ] [[package]] @@ -8852,9 +8735,9 @@ dependencies = [ [[package]] name = "num-conv" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" +checksum = "cf97ec579c3c42f953ef76dbf8d55ac91fb219dde70e49aa4a6b7d74e9919050" [[package]] name = "num-format" @@ -8913,7 +8796,7 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91df4bbde75afed763b708b7eee1e8e7651e02d97f6d5dd763e89367e957b23b" dependencies = [ - "hermit-abi 0.5.2", + "hermit-abi", "libc", ] @@ -8933,10 +8816,10 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -8961,25 +8844,22 @@ dependencies = [ [[package]] name = "object" -version = "0.30.4" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ "crc32fast", - "hashbrown 0.13.2", - "indexmap 1.9.3", + "hashbrown 0.15.5", + "indexmap 2.13.0", "memchr", ] [[package]] name = "object" -version = "0.36.7" +version = "0.37.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe" dependencies = [ - "crc32fast", - "hashbrown 0.15.4", - "indexmap 2.10.0", "memchr", ] @@ -9013,9 +8893,9 @@ dependencies = [ [[package]] name = "once_cell_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "opaque-debug" @@ -9031,11 +8911,11 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.73" +version = "0.10.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" +checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "cfg-if", "foreign-types", "libc", @@ -9052,7 +8932,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -9061,11 +8941,17 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +[[package]] +name = "openssl-probe" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" + [[package]] name = "openssl-sys" -version = "0.9.109" +version = "0.9.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" +checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321" dependencies = [ "cc", "libc", @@ -9088,12 +8974,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "overload" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" - [[package]] name = "p256" version = "0.13.2" @@ -9153,10 +9033,10 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "serde", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", "sp-std", "staging-xcm", @@ -9182,19 +9062,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", "sp-std", ] [[package]] name = "pallet-alliance" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d7732651453c5b92ce32683759956a252ed13d168dd14732b4ebe96a0abefa" +checksum = "a2324da9a9e139327b11d6468c5b4d20ea2dbaea2b01e6d0c488d96f4323d713" dependencies = [ "array-bytes 6.2.3", "frame-benchmarking", @@ -9205,17 +9085,17 @@ dependencies = [ "pallet-identity", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-asset-conversion" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "043a8b0a931c5ed13335b3cdd24de968115116f92c467f192e3648ad18bdb2f1" +checksum = "39e513b0bc7ca5df600338c2f2972560bce1cce5996837ff33f4e86832681dd4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9223,18 +9103,18 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-asset-conversion-tx-payment" -version = "26.0.0" +version = "27.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724879f9ec9c2c0c2beb6093f7414a6651ce8f87e96ecc4b720f3033f34c2bc7" +checksum = "a718a6b19c51a5461897ee048b7d9ae4740c8c68ca0e8fbacf22f4e80fa86d6f" dependencies = [ "frame-benchmarking", "frame-support", @@ -9243,29 +9123,29 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-asset-rate" -version = "23.0.0" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45146afd5306d2451b862632b0cf7f7d328f74a4f079696ad318e484cace2a36" +checksum = "1c4c9324c5c5ca4b6409790e7b37e6f169050992ff89f33bd78284ed33cf8f4f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-asset-tx-payment" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a98c06fe54fc580da65a3a739db836715f3302b126079a532cdf51a2726f3caa" +checksum = "19cebd6f5415921af519d95b1fa18026d5b6b4935d6c70f1989958510e0c36df" dependencies = [ "frame-benchmarking", "frame-support", @@ -9274,17 +9154,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-assets" -version = "47.0.0" +version = "48.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93a72ff3722aa5e62068e986c011d1413b4cc69d5e155193378bc70dbb0b1489" +checksum = "fe32957ed431e041d4a5f6a964d2a385a4b7d27d22881c77d18fbd3971bf605c" dependencies = [ - "ethereum-standards", "frame-benchmarking", "frame-support", "frame-system", @@ -9292,15 +9171,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-assets-holder" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f65d207ea811cfd6dd63db52c258ab1575914863d8002c1fb1fddfb4527ceb19" +checksum = "0bc2b2b6b79d04434b827dc7ad9ee1bc984dff48a28644cdafa901579876782b" dependencies = [ "frame-benchmarking", "frame-support", @@ -9309,14 +9188,14 @@ dependencies = [ "pallet-assets", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-assets-precompiles" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396699d3b1b3463c2efb56f48f0f2e9c71733714545c7664e2c33b6f669e78ce" +checksum = "66e0d360a50b3b946c9fdd738ac2206954cfccfa763ed907968bde68ba295d31" dependencies = [ "ethereum-standards", "frame-support", @@ -9326,9 +9205,9 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ff414bc373c8e22299d57917bba2eee418f7f5d532cd9f5287802c2d4b4ecd6" +checksum = "cb444f29c9df8a1ea89b4c8b6a026a119b13e5f55fff8c6901103ec8de2a6ad8" dependencies = [ "frame-support", "frame-system", @@ -9336,46 +9215,46 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-aura", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-authority-discovery" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0948648949ce9129874b037af6f885f4145e3a403778dab633f54bcffdcf0335" +checksum = "0d565050d67bc7755e99e744d9b767fa648464f5610717834641eab2f5ee6d81" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-authority-discovery", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-authorship" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c04e0f97a1a8e422f5c0274d35c3edb2a71c44441d74730858d0e7c4c17edcf" +checksum = "b29d985ace541bb49bc34c955fa83103cfff6c661d4865fd7698521b0f596cb9" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-babe" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c6875165a5133b23561aefaadcd147876454815a351412cfea8244dca8459a" +checksum = "1f02265869cfa317bca14fb2511d3de4e910a55e7748454009273b79206e3e16" dependencies = [ "frame-benchmarking", "frame-support", @@ -9386,20 +9265,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-babe", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", ] [[package]] name = "pallet-bags-list" -version = "43.0.0" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36b0dcfd41394a78d89984649e72fd44f5bdd43a4b003a0bf5b8ce7a19f2b20e" +checksum = "fc37f29bec2f5542ee709b9eca37aaf85641c1473288ceb4e0b4a66eb80defe5" dependencies = [ "aquamarine", "docify", @@ -9411,17 +9290,17 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-tracing 18.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-tracing", ] [[package]] name = "pallet-balances" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab517d0cb589717c59f33e9326d47238c049296328e444d9d71f82e46e9bcce1" +checksum = "e1a8216eaf2a90707d761856ea3d7e31d9be8781ca44a5ec668e00be5e404698" dependencies = [ "docify", "frame-benchmarking", @@ -9430,15 +9309,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-beefy" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3373602111e80ae155df04183790fa5abb5a758aba236d2d301dfce5ad9cff8" +checksum = "e55697c95e26cc005080334f65efcd46f9a03bfce3e44512df7f0416b6c67bab" dependencies = [ "frame-support", "frame-system", @@ -9449,16 +9328,16 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", ] [[package]] name = "pallet-beefy-mmr" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a56242f921a8cce42a90f31479832d30b3f1d2795fe3971fed954a54d624c63" +checksum = "91f8b06357b7b5c2697afb8906f02a086932c69087c23702dbcb57699250da5f" dependencies = [ "array-bytes 6.2.3", "binary-merkle-tree", @@ -9472,19 +9351,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-consensus-beefy", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", ] [[package]] name = "pallet-bounties" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6a28d207ee3a2fbea9ca068a93db4fc330f3ca72b7f602cf24301bf2c398ca" +checksum = "1856b3515f12225165567a3635c69321a3b049faf7cbf71114fe39055152e3f9" dependencies = [ "frame-benchmarking", "frame-support", @@ -9493,16 +9372,16 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-bridge-grandpa" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49457bd92ebcfb896aad0b676477679d18d374f33afa90e26470e404901c803e" +checksum = "71d4ab67e13e0d425701d0128effaa032de9259276b8d7a82a723291cd633a52" dependencies = [ "bp-header-chain", "bp-runtime", @@ -9510,19 +9389,19 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "sp-consensus-grandpa", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-messages" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf302ccc5e77dc1cfd56f2015424cee8393aebb7b30d232964827ce9d19ff78a" +checksum = "94ead2c9807e86c22ce8786a0ddaa078aa33bfba91011aaac60e070b84d11904" dependencies = [ "bp-header-chain", "bp-messages", @@ -9530,19 +9409,19 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", - "sp-trie", + "sp-trie 42.0.0", + "tracing", ] [[package]] name = "pallet-bridge-parachains" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad4a2b0b143b0ff681dc8d7caf7cfb64d5b2850fe52826269bf00af680f0899d" +checksum = "1b7083c88782402587b8666ddf987c477cea1cf03bbd134b4b0054c7b471a9d2" dependencies = [ "bp-header-chain", "bp-parachains", @@ -9551,19 +9430,19 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", + "tracing", ] [[package]] name = "pallet-bridge-relayers" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fd71c82fa0fe5c6d0333aa0fd05e84448bfb09bbbc945534739900e6e3608ba" +checksum = "420b5f4d6e479d6454c1ac860aa2338b738844332f34ecc234afae4859ea8294" dependencies = [ "bp-header-chain", "bp-messages", @@ -9572,7 +9451,6 @@ dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-bridge-grandpa", "pallet-bridge-messages", "pallet-bridge-parachains", @@ -9580,14 +9458,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", + "tracing", ] [[package]] name = "pallet-broker" -version = "0.23.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15b232164b0469cd4f7d9bff57731943f1f0b3a9ad14d18fffc80c908f19a4d0" +checksum = "2b8fbceb96d0e45d055c5fab2f9e1746c63f2f7272e6428a7357ea2b57c1d475" dependencies = [ "bitvec", "frame-benchmarking", @@ -9596,17 +9475,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-child-bounties" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e308fa34e27b4a9810adb632092127ce9ec441355ae076089644baa5b5204a17" +checksum = "d679941857b5b9d56c4c3a3343f284bec16cc9bab9713046dfc5390390822f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -9616,16 +9495,16 @@ dependencies = [ "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-collator-selection" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a937f44d5c3ef0ba746f8783514d68754a248d4784e35552676545de9e1b816" +checksum = "4befae2c37f2acc10181504ffcf7d1c6ec8c285cc593789f14c1c0d4b6ac326b" dependencies = [ "frame-benchmarking", "frame-support", @@ -9637,15 +9516,15 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-collective" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdd3897e0ca5887b9c40ae51b1f47b385d4751718a1ffadc666f6ec154e18b86" +checksum = "7a6ab7b91882b9cceeda0efd67259ff18cac710272b21df801e014d15bbe0fe3" dependencies = [ "docify", "frame-benchmarking", @@ -9654,16 +9533,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-conviction-voting" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc9e771d1a9b27f3dac2bff48f893fdad6a95c0d0decb7e5a19ecad276244d87" +checksum = "36c21787730ec39818943b4572ea9cbff684e0e4de0ba1b4539798909bba6409" dependencies = [ "assert_matches", "frame-benchmarking", @@ -9672,15 +9551,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-core-fellowship" -version = "28.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88773d76613e8c95191dd6abfa33d053b9a4fb87cb57a710387bf11edbf253dc" +checksum = "d7ab014dcb58bf2b45f8fc9026705a5e29ba1ce7e3661ff3b8d150f454dff715" dependencies = [ "frame-benchmarking", "frame-support", @@ -9690,32 +9569,47 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", +] + +[[package]] +name = "pallet-dap" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66c49c6333a1b6a9dd43c8071a53ae699679b25a470806be2fbed8ce8752e686" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-delegated-staking" -version = "11.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3934ef8c9b893e45dc4bc3209c84dabe1454eb6a5d8262697ed3b3d05df1333" +checksum = "65f725f8a8bbfae5889ef2ba555bda8db328c0c09b2a4f74e97b2db7e7e2ef8e" dependencies = [ "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-election-provider-multi-block" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cefcd73362132f4869737fc88698e3a6e1a1a76ac7ff8c5744027e35d35f927e" +checksum = "20cfd324f58929c3ed865d7213e0a29bbb65a76fd926d7233312b70f6772ea55" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9726,18 +9620,18 @@ dependencies = [ "rand 0.8.5", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-npos-elections", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-election-provider-multi-phase" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20841b54b54f995caf0984805da673190deb77dd6100c8dec7bac9da717c67dc" +checksum = "2b841380ef768f88682f57c3c1aa999b9eb81003f85f6d543e5885d0b187d48d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9748,32 +9642,32 @@ dependencies = [ "rand 0.8.5", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-npos-elections", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9cd1fc126c98ea03656bbeb1ac9ea74a0620ec1c78d18e2eda81449b1ff0f15" +checksum = "faa0e6c661d48cc7fa8a6e3b6c85d4ac8a44aaf352d16b5305152ae3d872297b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-encointer-balances" -version = "20.2.2" +version = "21.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a04c376875fe70fc4f201f2a64fc87feecb27891131b35332d88db97381f920d" +checksum = "9d9df251c6df80a5f1af4e44ef5d2cb1205779ccc544c352906285b7092973eb" dependencies = [ "approx", "encointer-primitives", @@ -9785,15 +9679,15 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-bazaar" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8885b8e4083e2eb33d4c60854a8c926304cfbdb5f16c88714496a31df3510e96" +checksum = "6c525efebaa2c178dbeacf9bd22e7e95f855e71c583b62cbbfd9a01d9de372f7" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -9803,28 +9697,28 @@ dependencies = [ "pallet-encointer-communities", "parity-scale-codec", "scale-info", - "sp-core", + "sp-core 39.0.0", "sp-std", ] [[package]] name = "pallet-encointer-bazaar-rpc-runtime-api" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da9da6d6c79bc8f1abe7c9ed3bc9d94c72f2825503eb7d910f72fbe992a8654c" +checksum = "0aaca960a508fed3e055375f4ec8e16d693459ad816d766d6940defceb331361" dependencies = [ "encointer-primitives", "frame-support", "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "pallet-encointer-ceremonies" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fceaeabc74276780bf833d70b0105c912c3bc21a4121adc111566109f84b65a7" +checksum = "22d83aeeac0167570d09c11a970d0fd7948b82428c23afee2a1b01eb428b8764" dependencies = [ "encointer-ceremonies-assignment", "encointer-meetup-validation", @@ -9839,31 +9733,31 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-ceremonies-rpc-runtime-api" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8a3a04921cc33d916814ef651a827634822f7b8e8d20b933f51fa16754db98" +checksum = "1ca220e4e02551647a4677ff4d18006659796276a07379810cc00737bbe1bfd6" dependencies = [ "encointer-primitives", "frame-support", "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "pallet-encointer-communities" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5dcb0cc35dd1324f91b367b7570b71e908c03c234d662686b227bab6c5ff8ec" +checksum = "efe64ebd4dca549c81fefd51cf47e318b300f13147e9e3769446eda3617c1f5d" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -9874,28 +9768,28 @@ dependencies = [ "pallet-encointer-scheduler", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-communities-rpc-runtime-api" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d430f88bfe77c44035e731f5cf8ade4454252e401fb94423b09d1423bf4a7df" +checksum = "dc737d398d1fede8ff9c4adfa84b6271ad047b2de536ee9c1d42b2ff229da764" dependencies = [ "encointer-primitives", "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "pallet-encointer-democracy" -version = "20.6.3" +version = "21.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8ac4d3273607933819b5f83f56733b5dabc867a3c34627baeafc03674435104" +checksum = "fb5f25d8d7121f48301b9e38d0416ce9369528365b6638417315a80b18e3e141" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -9910,18 +9804,18 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-faucet" -version = "20.2.2" +version = "21.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a43a7f2dce013d101412fd587619c311c92f4aae167f182c9b571f63ce265727" +checksum = "8eaacb3d88b09b5ad1049564c316e9c7cae7ef641e5977f02a56d3514a921fb6" dependencies = [ "approx", "encointer-primitives", @@ -9933,16 +9827,16 @@ dependencies = [ "pallet-encointer-reputation-commitments", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-reputation-commitments" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77abd5dbcc931034542b87460c9c01817d9da4516de81050ca4b5917673cabac" +checksum = "8ffa6dfeb59283b7482f50727632695b933cbcfcc8940d00689f6070d2f2e329" dependencies = [ "approx", "encointer-primitives", @@ -9956,16 +9850,16 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-scheduler" -version = "20.1.2" +version = "21.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "856494cc59744a071b8b5c3453203fca15b720612377179a5c0271ece29faa72" +checksum = "effc264a63780fafca8d73435568cee162fa11e2976c83908343d992e37eef76" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -9976,15 +9870,15 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-treasuries" -version = "20.7.3" +version = "21.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9baa072051d20a1095d503ed52e8b4470e50300766e028eeb3733bc082887807" +checksum = "32351c0c6717dbebc16cdea10139ee2879c1b9e5a502fb017703441cb2734e27" dependencies = [ "approx", "encointer-primitives", @@ -9998,30 +9892,30 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "pallet-encointer-treasuries-rpc-runtime-api" -version = "20.3.2" +version = "21.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65be065618c8994dc40820591b788266af0420bd47b434094f27a9138c9ea74a" +checksum = "6dfb946aeca3cd3436e9633e2d300106119f1953c166cf914116aa8cb99faf25" dependencies = [ "encointer-primitives", "frame-support", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "pallet-fast-unstake" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f65ed9df0a1f5247779f01ddc23b4701623a20d21bf575b646e54d4453eb9b1" +checksum = "7d45d60eb50bc0c178b83882b7195ac471edd3b1824f2c0dede385d943711248" dependencies = [ "docify", "frame-benchmarking", @@ -10031,16 +9925,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-glutton" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aca15ad5852a06fcec29f932b04ad271b7ec725b95efbfcd2e9abb4f3bbc1d1b" +checksum = "6d886dca277f0a7e02d493cdae771378201f4965d6519ea16716e32338ebbbe2" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -10049,17 +9943,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents 38.0.0", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-grandpa" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20e48d31e2b785d395786b42420411190d5b46ed32d72bd429f6956b1b0a48f" +checksum = "fecc3218554b16baef5f794bd84e457f98bac1328f767571142228ab6e6ed4a4" dependencies = [ "frame-benchmarking", "frame-support", @@ -10069,20 +9963,20 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-grandpa", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", ] [[package]] name = "pallet-identity" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d47545405d1ee7491c39bf2d954e3d965445b04d3e78db7af1334906c5f69980" +checksum = "27cd00175e352b8db01de8d9264b95012cc0a649897e77858ba7a559faa09704" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10091,15 +9985,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-im-online" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "516e284965ed81d93bc9bb2524b9109c9408c9c0d49b4b7ada0fc4518ae11e65" +checksum = "7d9703332095a821815caae7085736a63fc217f0763c71ec4ee868c1b12264ad" dependencies = [ "frame-benchmarking", "frame-support", @@ -10108,34 +10002,34 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-indices" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b6fab5dc4f4b5da6c397ab51658dc5158e0b069589dffc0fae40b085ae60da" +checksum = "bd543689836e94eade78c20ac877b55899b13e1f5c8af6a3c99e39d42b9cb009" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-insecure-randomness-collective-flip" -version = "32.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf6930581c45bb9ed23861fa1a612b4937907ded284588fe005f1f3e18c2c913" +checksum = "a191f1a6c29b89d8683c9a0d07f3490b4489ebea3e63203dbe36872b725db5a7" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10145,9 +10039,9 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0341ec8165d4ab0e01b4aea8218560b7251248f0dca88c1c9f5cb2c17e12504" +checksum = "914e1b70cc37a302601d6157e75567b33ec917646e2ae5ed7d3bbe3403138aca" dependencies = [ "frame-benchmarking", "frame-support", @@ -10155,16 +10049,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-message-queue" -version = "47.0.0" +version = "48.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6da7d426e5abb52b55a898e6e092986f8706ebaefd78ef37d643e262e7a2168" +checksum = "8550d6fdb56dc584c65ea32a3e27bc9840f67b29cca80ce7e74ee60df9e069bc" dependencies = [ "environmental", "frame-benchmarking", @@ -10174,17 +10068,17 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-weights", ] [[package]] name = "pallet-migrations" -version = "14.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76dd740890664e9f41453a2a8b08ac71e8eefd78cc22e4a99db9cbb34b92261a" +checksum = "fd16cd1a9369cca0dc787abdf396328dd9128b51a9c58c970052cfc4da5adb89" dependencies = [ "docify", "frame-benchmarking", @@ -10195,16 +10089,16 @@ dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-mmr" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c170b97e86f660c5711db55b5288330165f3f380d3641e9eaec8569c7406d3" +checksum = "7523cb0a62f8b6515df84c215e0d161a8426fcda904a04349e757fe15f394805" dependencies = [ "log", "parity-scale-codec", @@ -10213,11 +10107,29 @@ dependencies = [ "sp-mmr-primitives", ] +[[package]] +name = "pallet-multi-asset-bounties" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec85c30618a85266b0f4e59e0d94c633421920e54e595d0bd25be39ea3d2a6bc" +dependencies = [ + "docify", + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", +] + [[package]] name = "pallet-multisig" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c0476f045bcdf3b61c6f44ff3b040244f542aa7606dfe2bf174ef42f450d43" +checksum = "bb5c61c65c78314405af4dd939e780f8ed107a2a3a6b660dc44efa5e1076f2cb" dependencies = [ "log", "parity-scale-codec", @@ -10227,9 +10139,9 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" -version = "28.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a68085161abd08c11ca7b2384d76f92176c7fad69d9d4a6c29913eb6e6e05d6" +checksum = "0b273ef43eaebfa201acbf838ec50edab2af47a3e287de48faf328a50b91bb8d" dependencies = [ "log", "pallet-assets", @@ -10241,9 +10153,9 @@ dependencies = [ [[package]] name = "pallet-nfts" -version = "38.0.0" +version = "39.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7862f5b589fca5fd91a3db222b504cc3e2d6508105a492afebb8c162102674fd" +checksum = "193b5079a454f3f3e4c878ae8ad2e90136c67364fe92ed1cda9a6ad156f7e304" dependencies = [ "enumflags2", "frame-benchmarking", @@ -10252,26 +10164,26 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-nfts-runtime-api" -version = "28.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ab34fa16e4d8132f0bdbfbf30cc4db79637ab05e26c874dc654ad05779c44f" +checksum = "fb0eeb454e3fcd1f5eb8db470834d309d2dc66550082a0803b17459c830da4f1" dependencies = [ "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", ] [[package]] name = "pallet-nis" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c72e0b9f73adb56cd8b2fe4fc41d1da18fb495a92f38ef708e64f8a0dcd0fda" +checksum = "d60103fb001193d1e73cd75213739aab33cc3208f676f0efa2bfc1df6b7dd56d" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10280,9 +10192,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "42.0.0" +version = "43.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9df564c59bce245a7fba24691fe878f0749124e5179e76a96d2c43994ee1c55" +checksum = "58cdf70b0ac3073ab3d439ebe051bbabb22c91113314bde8069b215afae0473e" dependencies = [ "frame-support", "frame-system", @@ -10290,18 +10202,18 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", - "sp-tracing 18.0.0", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d7cbcf01862217338ec2e8f3fcc3d0f39b5dddfee92ddbd2c0ccbcedb594032" +checksum = "dda24fadfc72bac3fe0942d5a3d7e1bd345c5787549598b58b6ca1bcb959a250" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10313,27 +10225,27 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", - "sp-runtime-interface 31.0.0", + "sp-runtime 45.0.0", + "sp-runtime-interface 33.0.0", "sp-staking", ] [[package]] name = "pallet-nomination-pools-runtime-api" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad199d48ed437f8c6468dc56502713eca861d72adb370e92a45ade8487bc754a" +checksum = "dc5e99265cecc6dec385dc7e0292ee994c12483708ebcffb05164037bb937c8c" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", ] [[package]] name = "pallet-offences" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdaea86ae403208cdd5e3a2f0eb2fe82a3dc65dc67a511b195fd1e68dd70ecb9" +checksum = "fb7029dda1eb76c25cad8323b217b24021fdd103bdb10d66bd2376008ac95a1f" dependencies = [ "frame-support", "frame-system", @@ -10341,15 +10253,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-offences-benchmarking" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e53989219fa7df739c5fbde333b14bc85083c148f3467eedc833dd4dee8f1dd" +checksum = "7ef85a73086dd5a4f5f845fcdf3c6170d247528e18ec5b7022b0b8cdda2a8f0b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10365,15 +10277,15 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-parameters" -version = "0.15.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1ceff20e070faa3df1e40fc7ab3ccaf7d741b0e403189b58fa564bfcea9479e" +checksum = "02d65e700108d3a80361fef0ce3feb6f916f2e7f5514bb9695ea96bac444f0a0" dependencies = [ "docify", "frame-benchmarking", @@ -10383,15 +10295,15 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-preimage" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f37b4c64908ed4f2a4fdd1dfca10102d605f32ad0d89e183904160cd1eb5acb" +checksum = "c2d614776ca7e0411dd2d1a6cba525d389b4d81c4595a82db3f9d697bedfd367" dependencies = [ "frame-benchmarking", "frame-support", @@ -10399,16 +10311,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-proxy" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fd8cd521da681cd95e506ad7d5eee131ac8b9da21449a886f8e41590ab94dff" +checksum = "c105e47d4eedf14e4df1748c9e565494f5ad13b325ca288207838c4f2fb4defc" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10417,9 +10329,9 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6347515b9d6772061ffb2ab4e3534653ea84b1fd2927440c34e9ad64cf2b96e" +checksum = "2ea0209ecadc9a8b93d5d9a93ad1fd9abd760542892d833e199b40144725406d" dependencies = [ "frame-benchmarking", "frame-support", @@ -10429,9 +10341,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -10477,9 +10389,9 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", "sp-std", "staging-xcm", @@ -10489,9 +10401,9 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741a372543c2843fd18c94b45c30d3493073c24c08450877902b0b15befe2a8c" +checksum = "ff0e74f1f04c59885cb421ec85225135c63ee793d60411fdb36adfe2518ee1e9" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -10500,9 +10412,9 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee0a64dd09181d4f580e3a1103f716a5c6dd204fdfa40dad9b324b5650dd6699" +checksum = "71ae4df35eb4e9f9183ad1a81842f0f74281d02cdd7fa512cbdb51bbbd9acca5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -10513,8 +10425,8 @@ dependencies = [ "scale-info", "serde", "sp-arithmetic", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -10531,18 +10443,18 @@ dependencies = [ "pallet-utility", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", - "sp-trie", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", + "sp-trie 42.0.0", ] [[package]] name = "pallet-revive" -version = "0.11.3" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "995f1338e2254b7fe1b8b90ca2e14d40d069619e72a72cee3e8cd6faf67d821a" +checksum = "d209de33787726aec35a90e9d793c85a170303f9b76aa94d758b869d8262d4fb" dependencies = [ "alloy-consensus", "alloy-core", @@ -10578,24 +10490,24 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", "sp-consensus-aura", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-version 41.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-version 43.0.0", "substrate-bn", "subxt-signer 0.43.0", ] [[package]] name = "pallet-revive-fixtures" -version = "0.8.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "426606804d83efc7f3e1e7a7e9c33561d2b2832b9de61d643f7c057a28ba3d08" +checksum = "1cbc006536339cbfc059bb35714f460c2d480276db2e37e7729d598d9739639a" dependencies = [ "alloy-core", "anyhow", @@ -10604,27 +10516,27 @@ dependencies = [ "pallet-revive-uapi", "polkavm-linker", "serde_json", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "toml 0.8.23", ] [[package]] name = "pallet-revive-proc-macro" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed97af646322cfc2d394c4737874bf6df507d25dd421a2939304eee02d89c742" +checksum = "5168bf2cfdd1307b832fedda9a48cab3ce56056e532e9407aba48657a7617c13" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "pallet-revive-uapi" -version = "0.9.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d0bf9c852c4426130520d546fe9ea0d932914c42ed7ae2970b5e428a3efe7e1" +checksum = "2000264018fdde239d46e9dbdcf881f633eeca2341c713b181380db59319aa3a" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -10638,9 +10550,9 @@ dependencies = [ [[package]] name = "pallet-salary" -version = "29.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f595afa216712b3b161425e273e93375333afba4bbadfaeaabd5ae5893cf067d" +checksum = "b656e0a06f7c64042a3ba261567e7df92885b860886f3a1b283e7246201c5a22" dependencies = [ "log", "pallet-ranked-collective", @@ -10651,9 +10563,9 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3f00cc1b62513dd34c6b3d769ac825cda1df39801e1e9cb4b0b2e09edcc7f5" +checksum = "be8ca0d512d335163b7d6d8d21534a849e9efe82ec1b0a6b7884cba56756135c" dependencies = [ "docify", "frame-benchmarking", @@ -10662,16 +10574,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-weights", ] [[package]] name = "pallet-session" -version = "44.0.0" +version = "45.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16a7d35580a71afa59812c14f0a39032904c79fb2578ab6e581ee066624ed9ca" +checksum = "28917666a918e39caf8d5bcc52150f4efdd4966243f6a02c5b70e6ae90bf3311" dependencies = [ "frame-support", "frame-system", @@ -10681,20 +10593,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", - "sp-state-machine 0.47.0", - "sp-trie", + "sp-state-machine 0.49.0", + "sp-trie 42.0.0", ] [[package]] name = "pallet-session-benchmarking" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73b75bcbc0ab4016c82fc970a65cedb541a85aeca66cda779da2cd8877b589b9" +checksum = "2e07f8b3161092a067a633a03f0cc2a6cb2387ac7c4306be7ff8c66b6edebbe1" dependencies = [ "frame-benchmarking", "frame-support", @@ -10703,15 +10615,15 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "rand 0.8.5", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", ] [[package]] name = "pallet-society" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "600ff6bd72f8f522993d98862861dd41f6bef76bba35bda177b76a5f6ff2aa04" +checksum = "f93ed4285c839ffc078cf355d50079d5eea771b8815f0a417dd65095499313fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -10721,15 +10633,15 @@ dependencies = [ "rand_chacha 0.3.1", "scale-info", "sp-arithmetic", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-staking" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c333d2df9869ffb7fce33a5d48fe6dab6bdcba71625f75bc6088b0c6ed89f109" +checksum = "c41b382a779e753eb29cf39e89d97c9cd920d181a9448f60e82754195ddbab48" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -10742,41 +10654,43 @@ dependencies = [ "rand_chacha 0.3.1", "scale-info", "serde", - "sp-application-crypto 42.0.0", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-staking-async" -version = "0.7.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e075a86fb995955dd5a2426ae283147bd87c805dcc55fe35f97f8a24f6c5a621" +checksum = "1a6acc3ed1455e721c53bf260ed23df6ac73d50f7f41542368036b62be8aed21" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", + "pallet-dap", "pallet-staking-async-rc-client", "parity-scale-codec", "rand 0.8.5", "rand_chacha 0.3.1", "scale-info", "serde", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-npos-elections", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-staking-async-ah-client" -version = "0.6.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6349eab21a97b6fce4506a6a279bb94bc8b0698dd970595918ff6644c1d3de9a" +checksum = "a1b5e2596875837e03ce0d911a8bd6011c29164523daafaa2bab81002bfc69d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -10788,28 +10702,30 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "pallet-staking-async-rc-client" -version = "0.6.1" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c864cf98b8ffcb7aa6dbebf1501ee082fa7ab11845ab69dd91d6acb08343720b" +checksum = "6c81cbbe428c95fc233acdc40425b22a38b2b977a31b17083995657dba4dbee7" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-staking", "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", ] [[package]] @@ -10818,10 +10734,10 @@ version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "db5e6b1d8ee9d3f6894c5abd8c3e17737ed738c9854f87bfd16239741b7f4d5d" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -10836,20 +10752,20 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "28.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "432d14fd9aefbafd379728cf73b2837cb44001afb101b5521183dcb2d4730f8f" +checksum = "e483f688476415cc1e716755cb88ddd628705ec66fed8087674d0b9306e452b4" dependencies = [ "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-staking", ] [[package]] name = "pallet-state-trie-migration" -version = "49.0.0" +version = "50.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65be86efc5d3490e4deda21b240fc637b9bd0545e4005793a85ed1edd8b7da9c" +checksum = "f3052d81fa0a8d4d562927a277446caae3c94d079ad57d9499a9db7f72ad903c" dependencies = [ "frame-benchmarking", "frame-support", @@ -10857,16 +10773,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-sudo" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b46a2bbdbbd608ceaae82136a7c400fcdc79d4cc66690e51afc1e40fe98b8c" +checksum = "ad134ab6aa0cd61a3af61ca9b8e82ce40a2020608f0a4b5b816043663fe576d9" dependencies = [ "docify", "frame-benchmarking", @@ -10874,15 +10790,15 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-timestamp" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7823f7a2c7589b2e76291b5270aa0be41684519f358fbd1c4107154b6e10795" +checksum = "7a27830482ee21f4edea07afe13ed14ea04b58a8b2bef0ed7535544b660198bb" dependencies = [ "docify", "frame-benchmarking", @@ -10891,17 +10807,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", "sp-storage", "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f607dd5778666d8440e75373db3c63a36bbfad63d2931a0eae8c051e515488" +checksum = "6be8a43637711ad0bd344e6c6fced72cfcd0e8644b777bda0e2b48a72bf5c66c" dependencies = [ "frame-benchmarking", "frame-support", @@ -10910,28 +10826,28 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24fd50191d1188a44f781b8b9b5977600e5fb2ecad6d2f93d6ab78e5fbaa1536" +checksum = "ba1748d7be740e04b69422053f45439b09d7842deb4522cbdb96431fd21aac52" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-runtime 45.0.0", "sp-weights", ] [[package]] name = "pallet-treasury" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcd1d8137759e1aae11220c72f72e09f9c222e392f1ec96f08e0634b00749c52" +checksum = "429eb24bd64fd9e15c726f767c78635c5f57ec0caae306bdb07144f86fe31698" dependencies = [ "docify", "frame-benchmarking", @@ -10943,15 +10859,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-uniques" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63531d0a3ba05b0ba19b279ddca64d918a6c2322cad5a07267768c6a9e0b2800" +checksum = "4b0abfb02f788add7a8fdd68d25e777d87ebe08a79c21768a7900c03aa994c91" dependencies = [ "frame-benchmarking", "frame-support", @@ -10959,30 +10875,30 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-utility" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ced7986e9a853bbd657a048897efeda8aa81f937d2a80f2c9ba77f8c55e0186" +checksum = "002e4eb4830616c2e8bfbedbd8dbd65876700ad7dac00289ec66447e4c0d41ce" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-vesting" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86a677a939f6aab13203bda2deb725382219ef66581e4a12f63817ca8d13efec" +checksum = "8423e521125b0e54275766a092d56cc1be15fc0a1e8990d1d32a72c5424fb4c9" dependencies = [ "frame-benchmarking", "frame-support", @@ -10990,14 +10906,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "pallet-whitelist" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712cb42c3024a04d2c8d4ce249d20edd93191e2f42684ca2ec156cf60a3c8a3d" +checksum = "174ef44f52d18e2edd69635dcd7ebd03fcbb0d9e75a7418cc44e53011ef9d791" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -11006,9 +10922,9 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049ef5b5c7175126910ffeff5d07399556784fe70e061f9430c5c3df24b12ab7" +checksum = "bcf774b5f3815ec75cb20e7e032c58d3a33bb33db2ca969a687c5533b51e8fc1" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -11019,9 +10935,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11031,17 +10947,17 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cd200891cbd5736a215a8452090e99a6c7a8cab46b1f074e2d45d06c2e261d" +checksum = "7242f9a9e91af5732bb3809e3111d783c1dd9bc5bddf36643e61376350661afd" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11049,53 +10965,53 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "215b213c8ab9bf9d2452f187ee1867ecd67ca06aaa2ff9b02ea06c146d680ac1" +checksum = "d4f34ae0327299223525f56d963b637ab8e0d14a5b3f607fe25db12b218a74f8" dependencies = [ "bp-messages", "bp-runtime", "bp-xcm-bridge-hub", "frame-support", "frame-system", - "log", "pallet-bridge-messages", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38838da14750bc59eb0847ed2f177c1d3041dcc71b16574bcc5ae15d1a5f7c80" +checksum = "b2f1b23da1de5f39524091b325ffc15b26b0bcd5a7043555634ae008261772ae" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "polkadot-runtime-parachains", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", + "tracing", ] [[package]] name = "pallet-xcm-precompiles" -version = "0.2.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cdbfb59d5eecaf5f68292d82a38cd1bb4c288cd5fa42d66cdcb8ba06ab674b4" +checksum = "3049f7fe616c5e3400e74ba62e887c03efbf7637730cf1bff1767984a2dab865" dependencies = [ "frame-support", "pallet-revive", @@ -11108,21 +11024,21 @@ dependencies = [ [[package]] name = "parachains-common" -version = "26.0.0" +version = "27.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7be16c1079e5caa7b9342be05562377e28596adcde95166a69f3c6a673555b6" +checksum = "7f8a0e76b4209e2244d5c9817e16d9faa3ac28c3fc570a38fee42671025d9184" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "frame-support", "frame-system", - "log", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", "pallet-balances", "pallet-collator-selection", "pallet-message-queue", + "pallet-multi-asset-bounties", "pallet-treasury", "pallet-xcm", "parity-scale-codec", @@ -11130,19 +11046,20 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "sp-consensus-aura", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "parachains-runtimes-test-utils" -version = "27.0.1" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1b479747a59d62704b32c0ae6d30d3da575b18c329ec8b33899027b7086c664" +checksum = "aedadff09acc539a0b0a9261ddfe64b2a582825590db277d7d3f67babd520268" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -11160,10 +11077,10 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "sp-consensus-aura", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-tracing 18.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-tracing", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -11212,10 +11129,10 @@ version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -11243,12 +11160,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70d58bf43669b5795d1576d0641cfb6fbb2057bf629506267a92807158584a13" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", - "parking_lot_core 0.9.11", + "parking_lot_core 0.9.12", ] [[package]] @@ -11267,15 +11184,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.11" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc838d2a56b5b1a6c25f55575dfc605fabb63bb2365f6c2353ef9159aa69e4a5" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.17", + "redox_syscall 0.5.18", "smallvec", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -11314,12 +11231,21 @@ dependencies = [ [[package]] name = "pem" -version = "3.0.5" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" dependencies = [ "base64 0.22.1", - "serde", + "serde_core", +] + +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", ] [[package]] @@ -11333,16 +11259,16 @@ dependencies = [ "parachains-common", "penpal-runtime", "polkadot-emulated-chain", - "sp-core", + "sp-core 39.0.0", "sp-keyring", "staging-xcm", ] [[package]] name = "penpal-runtime" -version = "0.34.1" +version = "0.35.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496e0c016eb01e64f6ffc5390b2248c38cecdb79d49a75acca8cebf51b8dede5" +checksum = "cc989d7ddc420550fc7ce1733535661ad7f0ad8dce17c156bc5549efe7d910df" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -11350,6 +11276,7 @@ dependencies = [ "cumulus-pallet-session-benchmarking", "cumulus-pallet-xcm", "cumulus-pallet-xcmp-queue", + "cumulus-primitives-aura", "cumulus-primitives-core", "cumulus-primitives-utility", "frame-benchmarking", @@ -11361,7 +11288,6 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal", - "log", "pallet-asset-conversion", "pallet-asset-tx-payment", "pallet-assets", @@ -11387,25 +11313,26 @@ dependencies = [ "scale-info", "serde_json", "smallvec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", "testnet-parachains-constants", + "tracing", "xcm-runtime-apis", ] @@ -11420,7 +11347,7 @@ dependencies = [ "kusama-runtime-constants", "parachains-common", "people-kusama-runtime", - "sp-core", + "sp-core 39.0.0", ] [[package]] @@ -11443,7 +11370,7 @@ dependencies = [ "parity-scale-codec", "people-kusama-runtime", "polkadot-runtime-common", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -11500,18 +11427,18 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -11532,7 +11459,7 @@ dependencies = [ "people-polkadot-runtime", "polkadot-emulated-chain", "polkadot-runtime-constants", - "sp-core", + "sp-core 39.0.0", ] [[package]] @@ -11557,8 +11484,8 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-constants", "polkadot-system-emulated-network", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -11618,18 +11545,18 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-builder", @@ -11641,26 +11568,25 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pest" -version = "2.8.1" +version = "2.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1db05f56d34358a8b1066f67cbb203ee3e7ed2ba674a6263a1d5ec6db2204323" +checksum = "2c9eb05c21a464ea704b53158d358a31e6425db2f63a1a7312268b05fe2b75f7" dependencies = [ "memchr", - "thiserror 2.0.12", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.8.1" +version = "2.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb056d9e8ea77922845ec74a1c4e8fb17e7c218cc4fc11a15c5d25e189aa40bc" +checksum = "68f9dbced329c441fa79d80472764b1a2c7e57123553b8519b36663a2fb234ed" dependencies = [ "pest", "pest_generator", @@ -11668,22 +11594,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.8.1" +version = "2.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87e404e638f781eb3202dc82db6760c8ae8a1eeef7fb3fa8264b2ef280504966" +checksum = "3bb96d5051a78f44f43c8f712d8e810adb0ebf923fc9ed2655a7f66f63ba8ee5" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "pest_meta" -version = "2.8.1" +version = "2.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edd1101f170f5903fde0914f899bb503d9ff5271d7ba76bbb70bea63690cc0d5" +checksum = "602113b5b5e8621770cfd490cfd90b9f84ab29bd2b0e49ad83eb6d186cef2365" dependencies = [ "pest", "sha2 0.10.9", @@ -11696,7 +11622,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3672b37090dbd86368a4145bc067582552b29c27377cad4e0a306c97f9bd7772" dependencies = [ "fixedbitset", - "indexmap 2.10.0", + "indexmap 2.13.0", +] + +[[package]] +name = "petgraph" +version = "0.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" +dependencies = [ + "fixedbitset", + "hashbrown 0.15.5", + "indexmap 2.13.0", ] [[package]] @@ -11729,7 +11666,7 @@ dependencies = [ "phf_shared", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -11743,9 +11680,9 @@ dependencies = [ [[package]] name = "picosimd" -version = "0.9.2" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af35c838647fef3d6d052e27006ef88ea162336eee33063c50a63f163c18cdeb" +checksum = "3f8cf1ae70818c6476eb2da0ac8f3f55ecdea41a7aa16824ea6efc4a31cccf41" [[package]] name = "pin-project" @@ -11764,7 +11701,7 @@ checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -11818,14 +11755,14 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "19.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4877ad0d359828f1e2aa6462a34b6424987d0c4bfde79ce9411144d80c8520c" +checksum = "dc3e1e843b3bab4df488ae15f14822527e8f5003a49efd50b8cdfb55c503a7ee" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -11842,32 +11779,33 @@ dependencies = [ "sp-authority-discovery", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "polkadot-parachain-primitives" -version = "18.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020fe431f0b594f4d6b22ecc62e86dfc03dc4cab727abcded1253dd44c27d952" +checksum = "e4944ed05ba89885a746af800b34fcf96455601d9d38350666418675d607baf9" dependencies = [ + "array-bytes 6.2.3", "bounded-collections", "derive_more 0.99.20", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-weights", ] [[package]] name = "polkadot-primitives" -version = "20.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e784fcdae5b2a8e889f4fb4ec9d2c993ec07a6a599247892d0efa3ce4a9e79f" +checksum = "6a27f1d503aa4da18fdd9c97988624f14be87c38bfa036638babf748edc326fe" dependencies = [ "bitvec", "bounded-collections", @@ -11878,16 +11816,16 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", - "sp-inherents 38.0.0", - "sp-io 42.0.0", - "sp-keystore", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", + "sp-keystore 0.45.0", + "sp-runtime 45.0.0", "sp-staking", "sp-std", "thiserror 1.0.69", @@ -11970,29 +11908,29 @@ dependencies = [ "scale-info", "separator", "serde_json", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", + "sp-core 39.0.0", "sp-debug-derive", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "sp-storage", - "sp-tracing 18.0.0", + "sp-tracing", "sp-transaction-pool", - "sp-trie", - "sp-version 41.0.0", + "sp-trie 42.0.0", + "sp-version 43.0.0", "ss58-registry", "staging-xcm", "staging-xcm-builder", @@ -12004,9 +11942,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "23.0.0" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac62c83e5c9e4c4331022337157e457f21ee67a25715118dd9091229a44b9aea" +checksum = "7e305084a36de957d83f3fb83601639e5f68b13501b3e334adf14fd37e90ef92" dependencies = [ "bitvec", "frame-benchmarking", @@ -12038,13 +11976,13 @@ dependencies = [ "scale-info", "serde", "slot-range-helper", - "sp-api 38.0.0", - "sp-core", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-npos-elections", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "staging-xcm", @@ -12064,31 +12002,31 @@ dependencies = [ "polkadot-runtime-common", "scale-info", "smallvec", - "sp-core", - "sp-runtime 43.0.0", - "sp-trie", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "sp-trie 42.0.0", "sp-weights", "staging-xcm-builder", ] [[package]] name = "polkadot-runtime-metrics" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25f48cf16cfc1f4a6beefb408b0ae0940b8de96267ab707769b96386ccf1c105" +checksum = "96e9b2ff8f63290c2695dd956fb4b482ce8831ac99b7dffc98e74214ed0336f5" dependencies = [ "bs58", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", - "sp-tracing 18.0.0", + "sp-tracing", ] [[package]] name = "polkadot-runtime-parachains" -version = "23.0.0" +version = "24.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dfb0dc13a6d6724ac37b7e30469467a3922eef550c351f53b05bedf356acfc7" +checksum = "66f7b455b9aef20589c96a8a325c6ff0b6645e6b0abc169c21477d7eadf01f3f" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -12117,18 +12055,18 @@ dependencies = [ "rand_chacha 0.3.1", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", - "sp-core", - "sp-inherents 38.0.0", - "sp-io 42.0.0", - "sp-keystore", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", + "sp-keystore 0.45.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "sp-std", - "sp-tracing 18.0.0", + "sp-tracing", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -12136,9 +12074,9 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d734010afa5b59066943b67e752654098d5546fb68577814661ee740c265a30" +checksum = "b43835ff8d1fd5cbe21b436b3a12771502a3916187927542726d388eac722967" dependencies = [ "docify", "frame-benchmarking", @@ -12152,22 +12090,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", "sp-consensus-grandpa", - "sp-core", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-storage", "sp-transaction-pool", - "sp-version 41.0.0", + "sp-version 43.0.0", ] [[package]] @@ -12278,7 +12216,7 @@ dependencies = [ "polkavm-common 0.26.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12290,7 +12228,7 @@ dependencies = [ "polkavm-common 0.30.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12300,7 +12238,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "581d34cafec741dc5ffafbb341933c205b6457f3d76257a9d99fb56687219c91" dependencies = [ "polkavm-derive-impl 0.26.0", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12310,7 +12248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0a4f5352e13c1ca5f0e4d7b4a804fbb85b0e02c45cae435d101fe71081bc8ed8" dependencies = [ "polkavm-derive-impl 0.30.0", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12343,16 +12281,16 @@ checksum = "604b23cdb201979304449f53d21bfd5fb1724c03e3ea889067c9a3bf7ae33862" [[package]] name = "polling" -version = "3.9.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee9b2fa7a4517d2c91ff5bc6c297a427a96749d15f98fcdbb22c05571a4d4b7" +checksum = "5d0e4f59085d47d8241c88ead0f274e8a0cb551f3625263c05eb8dd897c34218" dependencies = [ "cfg-if", "concurrent-queue", - "hermit-abi 0.5.2", + "hermit-abi", "pin-project-lite", - "rustix 1.0.8", - "windows-sys 0.60.2", + "rustix", + "windows-sys 0.61.2", ] [[package]] @@ -12380,9 +12318,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.11.1" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" [[package]] name = "postcard" @@ -12398,9 +12336,9 @@ dependencies = [ [[package]] name = "potential_utf" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" dependencies = [ "zerovec", ] @@ -12448,12 +12386,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.36" +version = "0.2.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff24dfcda44452b9816fff4cd4227e1bb73ff5a2f1bc1105aa92fb8565ce44d2" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" dependencies = [ "proc-macro2", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12503,11 +12441,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit", + "toml_edit 0.23.10+spec-1.0.0", ] [[package]] @@ -12553,7 +12491,7 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12564,14 +12502,14 @@ checksum = "75eea531cfcd120e0851a3f8aed42c4841f78c889eefafd96339c72677ae42c3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" dependencies = [ "unicode-ident", ] @@ -12586,7 +12524,7 @@ dependencies = [ "fnv", "lazy_static", "memchr", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "thiserror 1.0.69", ] @@ -12598,7 +12536,7 @@ checksum = "504ee9ff529add891127c4827eb481bd69dc0ebc72e9a682e187db4caa60c3ca" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "prometheus-client-derive-encode", ] @@ -12610,24 +12548,23 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "proptest" -version = "1.7.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fcdab19deb5195a31cf7726a210015ff1496ba1464fd42cb4f537b8b01b471f" +checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.9.1", - "lazy_static", + "bitflags 2.10.0", "num-traits", "rand 0.9.2", "rand_chacha 0.9.0", "rand_xorshift", - "regex-syntax 0.8.5", + "regex-syntax", "rusty-fork", "tempfile", "unarray", @@ -12653,6 +12590,16 @@ dependencies = [ "prost-derive 0.13.5", ] +[[package]] +name = "prost" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2ea70524a2f82d518bce41317d0fae74151505651af45faf1ffbd6fd33f0568" +dependencies = [ + "bytes", + "prost-derive 0.14.3", +] + [[package]] name = "prost-build" version = "0.13.5" @@ -12664,12 +12611,31 @@ dependencies = [ "log", "multimap", "once_cell", - "petgraph", + "petgraph 0.7.1", "prettyplease", "prost 0.13.5", - "prost-types", + "prost-types 0.13.5", + "regex", + "syn 2.0.114", + "tempfile", +] + +[[package]] +name = "prost-build" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "343d3bd7056eda839b03204e68deff7d1b13aba7af2b2fd16890697274262ee7" +dependencies = [ + "heck 0.5.0", + "itertools 0.14.0", + "log", + "multimap", + "petgraph 0.8.3", + "prettyplease", + "prost 0.14.3", + "prost-types 0.14.3", "regex", - "syn 2.0.104", + "syn 2.0.114", "tempfile", ] @@ -12683,7 +12649,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12696,7 +12662,20 @@ dependencies = [ "itertools 0.14.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", +] + +[[package]] +name = "prost-derive" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27c6023962132f4b30eb4c172c91ce92d933da334c59c23cddee82358ddafb0b" +dependencies = [ + "anyhow", + "itertools 0.14.0", + "proc-macro2", + "quote", + "syn 2.0.114", ] [[package]] @@ -12709,12 +12688,12 @@ dependencies = [ ] [[package]] -name = "psm" -version = "0.1.26" +name = "prost-types" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" +checksum = "8991c4cbdb8bc5b11f0b074ffe286c30e523de90fee5ba8132f1399f23cb3dd7" dependencies = [ - "cc", + "prost 0.14.3", ] [[package]] @@ -12737,7 +12716,7 @@ checksum = "938543690519c20c3a480d20a8efcc8e69abeb44093ab1df4e7c1f81f26c677a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -12770,9 +12749,9 @@ dependencies = [ [[package]] name = "quinn" -version = "0.11.8" +version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "626214629cda6781b6dc1d316ba307189c85ba657213ce642d9c77670f8202c8" +checksum = "b9e20a958963c291dc322d98411f541009df2ced7b5a4f2bd52337638cfccf20" dependencies = [ "bytes", "cfg_aliases", @@ -12781,9 +12760,9 @@ dependencies = [ "quinn-proto", "quinn-udp", "rustc-hash 2.1.1", - "rustls 0.23.31", - "socket2 0.5.10", - "thiserror 2.0.12", + "rustls 0.23.36", + "socket2 0.6.2", + "thiserror 2.0.18", "tokio", "tracing", "web-time", @@ -12791,20 +12770,20 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.11.12" +version = "0.11.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49df843a9161c85bb8aae55f101bc0bac8bcafd637a620d9122fd7e0b2f7422e" +checksum = "f1906b49b0c3bc04b5fe5d86a77925ae6524a19b816ae38ce1e426255f1d8a31" dependencies = [ "bytes", - "getrandom 0.3.3", + "getrandom 0.3.4", "lru-slab", "rand 0.9.2", "ring 0.17.14", "rustc-hash 2.1.1", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-pki-types", "slab", - "thiserror 2.0.12", + "thiserror 2.0.18", "tinyvec", "tracing", "web-time", @@ -12812,23 +12791,23 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.13" +version = "0.5.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcebb1209ee276352ef14ff8732e24cc2b02bbac986cd74a4c81bcb2f9881970" +checksum = "addec6a0dcad8a8d96a771f815f0eaf55f9d1805756410b39f5fa81332574cbd" dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.5.10", + "socket2 0.6.2", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.40" +version = "1.0.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" dependencies = [ "proc-macro2", ] @@ -12864,7 +12843,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" dependencies = [ "rand_chacha 0.9.0", - "rand_core 0.9.3", + "rand_core 0.9.5", "serde", ] @@ -12885,7 +12864,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" dependencies = [ "ppv-lite86", - "rand_core 0.9.3", + "rand_core 0.9.5", ] [[package]] @@ -12894,16 +12873,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.17", ] [[package]] name = "rand_core" -version = "0.9.3" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" dependencies = [ - "getrandom 0.3.3", + "getrandom 0.3.4", "serde", ] @@ -12932,7 +12911,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" dependencies = [ - "rand_core 0.9.3", + "rand_core 0.9.5", ] [[package]] @@ -12952,9 +12931,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ "either", "rayon-core", @@ -12962,9 +12941,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -12993,11 +12972,20 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.17" +version = "0.5.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" +dependencies = [ + "bitflags 2.10.0", +] + +[[package]] +name = "redox_syscall" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" +checksum = "49f3fe0889e69e2ae9e41f4d6c4c0181701d00e4697b356fb1f74173a5e0ee27" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", ] [[package]] @@ -13006,41 +12994,29 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.17", "libredox", "thiserror 1.0.69", ] [[package]] name = "ref-cast" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "regalloc2" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" -dependencies = [ - "fxhash", - "log", - "slice-group-by", - "smallvec", + "syn 2.0.114", ] [[package]] @@ -13064,7 +13040,7 @@ checksum = "5216b1837de2149f8bc8e6d5f88a9326b63b8c836ed58ce4a0a29ec736a59734" dependencies = [ "allocator-api2", "bumpalo", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "log", "rustc-hash 2.1.1", "smallvec", @@ -13072,47 +13048,32 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", + "regex-automata", + "regex-syntax", ] [[package]] name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" -dependencies = [ - "regex-syntax 0.6.29", -] - -[[package]] -name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.5", + "regex-syntax", ] [[package]] name = "regex-syntax" -version = "0.6.29" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" - -[[package]] -name = "regex-syntax" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "relay-common" @@ -13120,24 +13081,24 @@ version = "1.0.0" dependencies = [ "pallet-staking-reward-fn", "polkadot-primitives", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "reqwest" -version = "0.12.23" +version = "0.12.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d429f34c8092b2d42c7c93cec323bb4adeb7c67698f70839adec842ec10c7ceb" +checksum = "eddd3ca559203180a307f12d114c268abf583f59b03cb906fd0b3ff8646c1147" dependencies = [ "base64 0.22.1", "bytes", "encoding_rs", "futures-core", - "h2 0.4.11", - "http 1.3.1", + "h2 0.4.13", + "http 1.4.0", "http-body 1.0.1", "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-rustls 0.27.7", "hyper-tls", "hyper-util", @@ -13154,8 +13115,8 @@ dependencies = [ "sync_wrapper", "tokio", "tokio-native-tls", - "tower 0.5.2", - "tower-http 0.6.6", + "tower 0.5.3", + "tower-http 0.6.8", "tower-service", "url", "wasm-bindgen", @@ -13165,9 +13126,9 @@ dependencies = [ [[package]] name = "resolv-conf" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" +checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7" [[package]] name = "revm" @@ -13352,7 +13313,7 @@ version = "7.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f64fbacb86008394aaebd3454f9643b7d5a782bd251135e17c5b33da592d84d" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "revm-bytecode", "revm-primitives", "serde", @@ -13391,7 +13352,7 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.16", + "getrandom 0.2.17", "libc", "untrusted 0.9.0", "windows-sys 0.52.0", @@ -13428,16 +13389,16 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a9123096c1638b2dda374042a1b5228df542049b8717d2d3c5f320837887ed" +checksum = "a60176dd81d0f25aa4a5710a0a1ad27dd08dc85d8b12b07f7cd3294bc0abacb8" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-weights", "staging-xcm", "staging-xcm-builder", @@ -13463,9 +13424,9 @@ dependencies = [ [[package]] name = "rug" -version = "1.28.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ad2e973fe3c3214251a840a621812a4f40468da814b1a3d6947d433c2af11f" +checksum = "de190ec858987c79cad4da30e19e546139b3339331282832af004d0ea7829639" dependencies = [ "az", "gmp-mpfr-sys", @@ -13509,9 +13470,9 @@ checksum = "48fd7bd8a6377e15ad9d42a8ec25371b94ddc67abe7c8b9127bec79bebaaae18" [[package]] name = "rustc-demangle" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" +checksum = "b50b8869d9fc858ce7266cce0194bd74df58b9d0e3f6df3a9fc8eb470d95c09d" [[package]] name = "rustc-hash" @@ -13555,7 +13516,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.26", + "semver 1.0.27", ] [[package]] @@ -13569,42 +13530,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.1.4", - "windows-sys 0.45.0", -] - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" -dependencies = [ - "bitflags 2.9.1", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustix" -version = "1.0.8" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" +checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "errno", "libc", - "linux-raw-sys 0.9.4", - "windows-sys 0.60.2", + "linux-raw-sys", + "windows-sys 0.61.2", ] [[package]] @@ -13621,15 +13555,15 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.31" +version = "0.23.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ebcbd2f03de0fc1122ad9bb24b127a5a6cd51d72604a3f3c50ac459762b6cc" +checksum = "c665f33d38cea657d9614f766881e4d510e0eda4239891eea56b4cadcf01801b" dependencies = [ "log", "once_cell", "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.103.4", + "rustls-webpki 0.103.9", "subtle 2.6.1", "zeroize", ] @@ -13640,7 +13574,7 @@ version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ - "openssl-probe", + "openssl-probe 0.1.6", "rustls-pemfile", "schannel", "security-framework 2.11.1", @@ -13648,14 +13582,14 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.8.1" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcff2dd52b58a8d98a70243663a0d234c4e2b79235637849d15913394a247d3" +checksum = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" dependencies = [ - "openssl-probe", + "openssl-probe 0.2.1", "rustls-pki-types", "schannel", - "security-framework 3.2.0", + "security-framework 3.5.1", ] [[package]] @@ -13669,9 +13603,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.12.0" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" +checksum = "be040f8b0a225e40375822a563fa9524378b9d63112f53e19ffff34df5d33fdd" dependencies = [ "web-time", "zeroize", @@ -13688,11 +13622,11 @@ dependencies = [ "jni", "log", "once_cell", - "rustls 0.23.31", - "rustls-native-certs 0.8.1", + "rustls 0.23.36", + "rustls-native-certs 0.8.3", "rustls-platform-verifier-android", - "rustls-webpki 0.103.4", - "security-framework 3.2.0", + "rustls-webpki 0.103.9", + "security-framework 3.5.1", "security-framework-sys", "webpki-root-certs 0.26.11", "windows-sys 0.59.0", @@ -13716,9 +13650,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.4" +version = "0.103.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a17884ae0c1b773f1ccd2bd4a8c72f16da897310a98b0e84bf349ad5ead92fc" +checksum = "d7df23109aa6c1567d1c575b9952556388da57401e4ace1d15f79eedad0d8f53" dependencies = [ "ring 0.17.14", "rustls-pki-types", @@ -13727,15 +13661,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.21" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "rusty-fork" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" +checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" dependencies = [ "fnv", "quick-error", @@ -13745,9 +13679,9 @@ dependencies = [ [[package]] name = "ruzstd" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3640bec8aad418d7d03c72ea2de10d5c646a598f9883c7babc160d91e3c1b26c" +checksum = "e5ff0cc5e135c8870a775d3320910cd9b564ec036b4dc0b8741629020be63f01" [[package]] name = "rw-stream-sink" @@ -13762,9 +13696,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984" [[package]] name = "safe-mix" @@ -13804,42 +13738,42 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "33.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7329ce3b230fd59149df2743291a2e1f58ea769eb87e2678ea11e00d118b7cc0" +checksum = "01733879c581defda6f49ff4076033c675d7127bfab6fd0bd0e6cf10696d0564" dependencies = [ "log", - "sp-core", - "sp-wasm-interface 23.0.0", + "sp-core 38.1.0", + "sp-wasm-interface", "thiserror 1.0.69", ] [[package]] name = "sc-allocator" -version = "34.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01733879c581defda6f49ff4076033c675d7127bfab6fd0bd0e6cf10696d0564" +checksum = "6ada4a0e199d2554aacb11dc11e97e5a8fdd999b8ca7eb90afb0337febe9adc5" dependencies = [ "log", - "sp-core", - "sp-wasm-interface 24.0.0", + "sp-core 39.0.0", + "sp-wasm-interface", "thiserror 1.0.69", ] [[package]] name = "sc-block-builder" -version = "0.46.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43c73910b6c3d0520d26b13c91987b437a9e81692f70f6a4f48221db27828405" +checksum = "70b0d45264a476977dad2124703e01a284d9d4b9cd722973c100c836f6f17e80" dependencies = [ "parity-scale-codec", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-block-builder", - "sp-blockchain 41.0.0", - "sp-core", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", - "sp-trie", + "sp-blockchain 43.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", + "sp-trie 42.0.0", ] [[package]] @@ -13860,40 +13794,40 @@ dependencies = [ "serde", "serde_json", "sp-blockchain 42.0.0", - "sp-core", + "sp-core 38.1.0", "sp-crypto-hashing", "sp-genesis-builder 0.20.0", "sp-io 43.0.0", "sp-runtime 44.0.0", "sp-state-machine 0.48.0", - "sp-tracing 19.0.0", + "sp-tracing", ] [[package]] name = "sc-chain-spec" -version = "47.0.0" +version = "48.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dada457375324f0bde8fe286b5a27402eae6ddf6c0c3e05af79bbd7a16505af" +checksum = "6b52a39c5ae942a5db75eca82a7c0e50a4d469185651ef52677967860315bc63" dependencies = [ "array-bytes 6.2.3", "docify", "memmap2", "parity-scale-codec", "sc-chain-spec-derive", - "sc-client-api 43.0.0", - "sc-executor 0.46.0", - "sc-network 0.54.0", + "sc-client-api 44.0.0", + "sc-executor 0.47.0", + "sc-network 0.55.1", "sc-telemetry", "serde", "serde_json", - "sp-blockchain 41.0.0", - "sp-core", + "sp-blockchain 43.0.0", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-genesis-builder 0.19.0", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", - "sp-tracing 18.0.0", + "sp-genesis-builder 0.21.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", + "sp-tracing", ] [[package]] @@ -13902,10 +13836,10 @@ version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b18cef11d2c69703e0d7c3528202ef4ed1cd2b47a6f063e9e17cad8255b1fa94" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -13918,79 +13852,79 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-executor 0.45.0", "sc-transaction-pool-api 42.0.0", "sc-utils", "sp-api 39.0.0", "sp-blockchain 42.0.0", "sp-consensus 0.45.0", - "sp-core", + "sp-core 38.1.0", "sp-database", - "sp-externalities", + "sp-externalities 0.30.0", "sp-runtime 44.0.0", "sp-state-machine 0.48.0", "sp-storage", - "sp-trie", + "sp-trie 41.1.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-api" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b068619ce130f12b7120591a2d743684f80de69a8d8d13e3fa267888525e094" +checksum = "37040b88b3084ceaabe7e497dcb6fd26b1d8c73b7c236b12dfc4da5fe438eb18" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", - "parking_lot 0.12.4", - "sc-executor 0.46.0", - "sc-transaction-pool-api 41.0.0", + "parking_lot 0.12.5", + "sc-executor 0.47.0", + "sc-transaction-pool-api 43.0.0", "sc-utils", - "sp-api 38.0.0", - "sp-blockchain 41.0.0", - "sp-consensus 0.44.0", - "sp-core", + "sp-api 40.0.0", + "sp-blockchain 43.0.0", + "sp-consensus 0.46.0", + "sp-core 39.0.0", "sp-database", - "sp-externalities", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-externalities 0.31.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "sp-storage", - "sp-trie", + "sp-trie 42.0.0", "substrate-prometheus-endpoint", ] [[package]] name = "sc-consensus" -version = "0.53.0" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eacf905b3faf65f4209fe98ce1adc77dd956b33884592f32e2a34be3d755544" +checksum = "a474f1f6d5ef6feff9d8f106eae0fe1258048f8d3bd395b8a14d0d6499aacfd9" dependencies = [ "async-trait", "futures", "log", "mockall", - "parking_lot 0.12.4", - "sc-client-api 43.0.0", - "sc-network-types 0.18.0", + "parking_lot 0.12.5", + "sc-client-api 44.0.0", + "sc-network-types 0.20.1", "sc-utils", "serde", - "sp-blockchain 41.0.0", - "sp-consensus 0.44.0", - "sp-core", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-blockchain 43.0.0", + "sp-consensus 0.46.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] [[package]] name = "sc-consensus-grandpa" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6aa67ee43aa5d35de67749dc30ee6c6b557db963d1fea8a06f1e1ff875fdde4" +checksum = "65fd35b641dc98c0b5e154d1ce8ded71c2d5c1037bea2732f59698c05241d0d8" dependencies = [ "ahash", "array-bytes 6.2.3", @@ -14002,31 +13936,31 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "sc-block-builder", - "sc-chain-spec 47.0.0", - "sc-client-api 43.0.0", + "sc-chain-spec 48.0.0", + "sc-client-api 44.0.0", "sc-consensus", - "sc-network 0.54.0", - "sc-network-common 0.50.0", + "sc-network 0.55.1", + "sc-network-common 0.52.0", "sc-network-gossip", "sc-network-sync", - "sc-network-types 0.18.0", + "sc-network-types 0.20.1", "sc-telemetry", - "sc-transaction-pool-api 41.0.0", + "sc-transaction-pool-api 43.0.0", "sc-utils", "serde_json", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", - "sp-blockchain 41.0.0", - "sp-consensus 0.44.0", + "sp-blockchain 43.0.0", + "sp-consensus 0.46.0", "sp-consensus-grandpa", - "sp-core", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-keystore", - "sp-runtime 43.0.0", + "sp-keystore 0.45.0", + "sp-runtime 45.0.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", ] @@ -14038,44 +13972,44 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f90511c3ab41be12af1ce88753de8993e0b8a5fc0453c0f48069ace06eb4a99d" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "sc-executor-common 0.41.0", "sc-executor-polkavm 0.38.0", "sc-executor-wasmtime 0.41.0", "schnellru", "sp-api 39.0.0", - "sp-core", - "sp-externalities", + "sp-core 38.1.0", + "sp-externalities 0.30.0", "sp-io 43.0.0", "sp-panic-handler", "sp-runtime-interface 32.0.0", - "sp-trie", + "sp-trie 41.1.0", "sp-version 42.0.0", - "sp-wasm-interface 24.0.0", + "sp-wasm-interface", "tracing", ] [[package]] name = "sc-executor" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ccccc135aafa612089e5ad00879d6978ab46a80073cca2cd4f5359a85e00e61" +checksum = "54bfa8e053012dd4655b68142abadae0ffd396582fdb71ac933a0fe831dcabad" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.4", - "sc-executor-common 0.42.0", - "sc-executor-polkavm 0.39.0", - "sc-executor-wasmtime 0.42.0", + "parking_lot 0.12.5", + "sc-executor-common 0.43.0", + "sc-executor-polkavm 0.40.0", + "sc-executor-wasmtime 0.43.0", "schnellru", - "sp-api 38.0.0", - "sp-core", - "sp-externalities", - "sp-io 42.0.0", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-externalities 0.31.0", + "sp-io 44.0.0", "sp-panic-handler", - "sp-runtime-interface 31.0.0", - "sp-trie", - "sp-version 41.0.0", - "sp-wasm-interface 23.0.0", + "sp-runtime-interface 33.0.0", + "sp-trie 42.0.0", + "sp-version 43.0.0", + "sp-wasm-interface", "tracing", ] @@ -14088,21 +14022,21 @@ dependencies = [ "polkavm 0.26.0", "sc-allocator 34.0.0", "sp-maybe-compressed-blob", - "sp-wasm-interface 24.0.0", + "sp-wasm-interface", "thiserror 1.0.69", "wasm-instrument", ] [[package]] name = "sc-executor-common" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "871f1a283c4a6439235e8dcdfdbfcfa429d0dc14ed106072cd9d62887e50738d" +checksum = "b7ddd1d656dfac549057ee3adf889c7884848f8f52179c7654d4f8ff6c2f6e49" dependencies = [ - "polkavm 0.30.0", - "sc-allocator 33.0.0", + "polkavm 0.26.0", + "sc-allocator 35.0.0", "sp-maybe-compressed-blob", - "sp-wasm-interface 23.0.0", + "sp-wasm-interface", "thiserror 1.0.69", "wasm-instrument", ] @@ -14116,19 +14050,19 @@ dependencies = [ "log", "polkavm 0.26.0", "sc-executor-common 0.41.0", - "sp-wasm-interface 24.0.0", + "sp-wasm-interface", ] [[package]] name = "sc-executor-polkavm" -version = "0.39.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20634cadfbe2041739e6849d4b82ff599f21735faf003195b077b40ff978491c" +checksum = "d3946090e5e3ce64304564908bf1886c3ca0992791261a110c83842581833902" dependencies = [ "log", - "polkavm 0.30.0", - "sc-executor-common 0.42.0", - "sp-wasm-interface 23.0.0", + "polkavm 0.26.0", + "sc-executor-common 0.43.0", + "sp-wasm-interface", ] [[package]] @@ -14139,37 +14073,37 @@ checksum = "0f8f9b2a912f0cb435d2b8e33d67010e494b07f5c6e497d8756a8c21abad199e" dependencies = [ "anyhow", "log", - "parking_lot 0.12.4", - "rustix 1.0.8", + "parking_lot 0.12.5", + "rustix", "sc-allocator 34.0.0", "sc-executor-common 0.41.0", "sp-runtime-interface 32.0.0", - "sp-wasm-interface 24.0.0", - "wasmtime 35.0.0", + "sp-wasm-interface", + "wasmtime", ] [[package]] name = "sc-executor-wasmtime" -version = "0.42.0" +version = "0.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af2b04977d8a9ccd4ace81be0d17c12c176e08883970693072d67be15a4ce72f" +checksum = "825b33fc35931913d1308797321d65b4ef5eedd6b412af920c92d67d352dd388" dependencies = [ "anyhow", "log", - "parking_lot 0.12.4", - "rustix 0.36.17", - "sc-allocator 33.0.0", - "sc-executor-common 0.42.0", - "sp-runtime-interface 31.0.0", - "sp-wasm-interface 23.0.0", - "wasmtime 8.0.1", + "parking_lot 0.12.5", + "rustix", + "sc-allocator 35.0.0", + "sc-executor-common 0.43.0", + "sp-runtime-interface 33.0.0", + "sp-wasm-interface", + "wasmtime", ] [[package]] name = "sc-mixnet" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061501f0467a2a014475bf3f67c54ce7e58579701557244231b61d2c75005940" +checksum = "baeffff9122f6a2bc74c826994100e3c6e9cdc92d95d9dfcbb5177a3beee0ae0" dependencies = [ "array-bytes 6.2.3", "arrayvec 0.7.6", @@ -14180,17 +14114,17 @@ dependencies = [ "log", "mixnet", "parity-scale-codec", - "parking_lot 0.12.4", - "sc-client-api 43.0.0", - "sc-network 0.54.0", - "sc-network-types 0.18.0", - "sc-transaction-pool-api 41.0.0", - "sp-api 38.0.0", - "sp-consensus 0.44.0", - "sp-core", - "sp-keystore", + "parking_lot 0.12.5", + "sc-client-api 44.0.0", + "sc-network 0.55.1", + "sc-network-types 0.20.1", + "sc-transaction-pool-api 43.0.0", + "sp-api 40.0.0", + "sp-consensus 0.46.0", + "sp-core 39.0.0", + "sp-keystore 0.45.0", "sp-mixnet", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "thiserror 1.0.69", ] @@ -14217,11 +14151,11 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "partial_sort", "pin-project", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "rand 0.8.5", "sc-client-api 42.0.0", "sc-network-common 0.51.0", @@ -14233,7 +14167,7 @@ dependencies = [ "smallvec", "sp-arithmetic", "sp-blockchain 42.0.0", - "sp-core", + "sp-core 38.1.0", "sp-runtime 44.0.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", @@ -14247,16 +14181,15 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.54.0" +version = "0.55.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f39c95497b214a82d43f76bcef0542ad6d8eca0ae3e393a7339648d30972a12" +checksum = "643f4ebc4ed818c403b3605e15c72ec53ead1429071bff43f13fc9d8a8911d21" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "asynchronous-codec 0.6.2", "bytes", - "cid 0.9.0", "either", "fnv", "futures", @@ -14264,28 +14197,28 @@ dependencies = [ "ip_network", "libp2p", "linked_hash_set", - "litep2p 0.9.5", + "litep2p 0.13.0", "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "partial_sort", "pin-project", "prost 0.12.6", - "prost-build", + "prost-build 0.13.5", "rand 0.8.5", - "sc-client-api 43.0.0", - "sc-network-common 0.50.0", - "sc-network-types 0.18.0", + "sc-client-api 44.0.0", + "sc-network-common 0.52.0", + "sc-network-types 0.20.1", "sc-utils", "schnellru", "serde", "serde_json", "smallvec", "sp-arithmetic", - "sp-blockchain 41.0.0", - "sp-core", - "sp-runtime 43.0.0", + "sp-blockchain 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -14298,51 +14231,51 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.50.0" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f006ff1f1f5cd1b254323bb1eeedce27927f851a44028d1ecdaf9e8a1f672c90" +checksum = "7419cbc4a107ec4f430b263408db1527f2ce5fd6ed136c279f22057d3d202965" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", - "sp-runtime 43.0.0", + "sp-runtime 44.0.0", ] [[package]] name = "sc-network-common" -version = "0.51.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7419cbc4a107ec4f430b263408db1527f2ce5fd6ed136c279f22057d3d202965" +checksum = "cdac0bd4e0a1d77a7e610ab69eb41da04052005b860a83baeee3aba521c7e691" dependencies = [ "bitflags 1.3.2", "parity-scale-codec", - "sp-runtime 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "sc-network-gossip" -version = "0.54.0" +version = "0.55.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42fe01a17a0250b0e3c278f63a2b380459f6bdb18e8c958bda8a3879d6af3600" +checksum = "d9a70e26da9413999c7a1de63545b487805f2fa726cc3dd8b9a5021886679051" dependencies = [ "ahash", "futures", "futures-timer", "log", - "sc-network 0.54.0", - "sc-network-common 0.50.0", + "sc-network 0.55.1", + "sc-network-common 0.52.0", "sc-network-sync", - "sc-network-types 0.18.0", + "sc-network-types 0.20.1", "schnellru", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "sc-network-sync" -version = "0.53.0" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6faa4ac3e052defd8e8ead9ef27cecac7d5cbb9dfaf96782a8bc17065020e876" +checksum = "2ffefc6d3dceb20f417a6b4116324a6a3135efa81599eb8ff85831c165fa7440" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -14353,21 +14286,21 @@ dependencies = [ "mockall", "parity-scale-codec", "prost 0.12.6", - "prost-build", - "sc-client-api 43.0.0", + "prost-build 0.13.5", + "sc-client-api 44.0.0", "sc-consensus", - "sc-network 0.54.0", - "sc-network-common 0.50.0", - "sc-network-types 0.18.0", + "sc-network 0.55.1", + "sc-network-common 0.52.0", + "sc-network-types 0.20.1", "sc-utils", "schnellru", "smallvec", "sp-arithmetic", - "sp-blockchain 41.0.0", - "sp-consensus 0.44.0", + "sp-blockchain 43.0.0", + "sp-consensus 0.46.0", "sp-consensus-grandpa", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tokio", @@ -14376,16 +14309,16 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a8f883c5f12300eac2bbcf86f856316bafe4993284db3589e2b515bf279b22f" +checksum = "79011e96426caf5240631af9c4d0f841a752ee2be606d782406745e76b1123dd" dependencies = [ "bs58", "bytes", "ed25519-dalek", "libp2p-identity", "libp2p-kad", - "litep2p 0.9.5", + "litep2p 0.10.0", "log", "multiaddr 0.18.2", "multihash 0.19.3", @@ -14398,16 +14331,16 @@ dependencies = [ [[package]] name = "sc-network-types" -version = "0.19.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79011e96426caf5240631af9c4d0f841a752ee2be606d782406745e76b1123dd" +checksum = "11103f2e35999989326ed5be87f0a7d335269bef6d6a1c0ddd543a7d9aed7788" dependencies = [ "bs58", "bytes", "ed25519-dalek", "libp2p-identity", "libp2p-kad", - "litep2p 0.10.0", + "litep2p 0.13.0", "log", "multiaddr 0.18.2", "multihash 0.19.3", @@ -14420,22 +14353,22 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.53.0" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f06299cd0eb602a0818991b64d6a4bcde9d58707955e8065cf64b108a30e93c2" +checksum = "455d1000322ee5609c22dbe7879bc8892055a9e02ce731bd08590f6590f89964" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec 47.0.0", + "sc-chain-spec 48.0.0", "sc-mixnet", - "sc-transaction-pool-api 41.0.0", + "sc-transaction-pool-api 43.0.0", "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 39.0.0", "sp-rpc", - "sp-runtime 43.0.0", - "sp-version 41.0.0", + "sp-runtime 45.0.0", + "sp-version 43.0.0", "thiserror 1.0.69", ] @@ -14449,7 +14382,7 @@ dependencies = [ "futures", "libp2p", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "sc-utils", @@ -14461,37 +14394,38 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "41.0.0" +version = "42.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "576c5443c7ccaa907e03b2c167d4f9f64168d638261b6ac1a08dcd30c3811862" +checksum = "7a04c8e6a886fd4563be1cfe487af2f11280ea797298b8d831e1ee5a273cc17d" dependencies = [ "async-trait", "futures", - "indexmap 2.10.0", + "indexmap 2.13.0", "log", "parity-scale-codec", "serde", - "sp-blockchain 41.0.0", - "sp-core", - "sp-runtime 43.0.0", + "sp-blockchain 42.0.0", + "sp-core 38.1.0", + "sp-runtime 44.0.0", "thiserror 1.0.69", ] [[package]] name = "sc-transaction-pool-api" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a04c8e6a886fd4563be1cfe487af2f11280ea797298b8d831e1ee5a273cc17d" +checksum = "34aa1bf9a23dfc74491f95787ff1d57bf031ca94f2f656f79a8d47eeea0e2e1b" dependencies = [ "async-trait", "futures", - "indexmap 2.10.0", + "indexmap 2.13.0", "log", "parity-scale-codec", "serde", - "sp-blockchain 42.0.0", - "sp-core", - "sp-runtime 44.0.0", + "sp-blockchain 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "strum 0.26.3", "thiserror 1.0.69", ] @@ -14505,7 +14439,7 @@ dependencies = [ "futures", "futures-timer", "log", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "prometheus", "sp-arithmetic", ] @@ -14524,9 +14458,9 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.16.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d78196772d25b90a98046794ce0fe2588b39ebdfbdc1e45b4c6c85dd43bebad" +checksum = "8d6ed61699ad4d54101ab5a817169259b5b0efc08152f8632e61482d8a27ca3d" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -14534,26 +14468,26 @@ dependencies = [ "scale-decode-derive", "scale-type-resolver", "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "scale-decode-derive" -version = "0.16.0" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f4b54a1211260718b92832b661025d1f1a4b6930fbadd6908e00edd265fa5f7" +checksum = "65cb245f7fdb489e7ba43a616cbd34427fe3ba6fe0edc1d0d250085e6c84f3ec" dependencies = [ "darling 0.20.11", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "scale-encode" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64901733157f9d25ef86843bd783eda439fac7efb0ad5a615d12d2cf3a29464b" +checksum = "f2a976d73564a59e482b74fd5d95f7518b79ca8c8ca5865398a4d629dd15ee50" dependencies = [ "parity-scale-codec", "primitive-types 0.13.1", @@ -14561,20 +14495,20 @@ dependencies = [ "scale-encode-derive", "scale-type-resolver", "smallvec", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] name = "scale-encode-derive" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78a3993a13b4eafa89350604672c8757b7ea84c7c5947d4b3691e3169c96379b" +checksum = "17020f2d59baabf2ddcdc20a4e567f8210baf089b8a8d4785f5fd5e716f92038" dependencies = [ "darling 0.20.11", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -14597,10 +14531,10 @@ version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -14622,15 +14556,15 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.104", - "thiserror 2.0.12", + "syn 2.0.114", + "thiserror 2.0.18", ] [[package]] name = "scale-value" -version = "0.18.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ca8b26b451ecb7fd7b62b259fa28add63d12ec49bbcac0e01fcb4b5ae0c09aa" +checksum = "884aab179aba344c67ddcd1d7dd8e3f8fee202f2e570d97ec34ec8688442a5b3" dependencies = [ "base58", "blake2 0.10.6", @@ -14641,17 +14575,17 @@ dependencies = [ "scale-encode", "scale-type-resolver", "serde", - "thiserror 2.0.12", + "thiserror 2.0.18", "yap", ] [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -14668,9 +14602,9 @@ dependencies = [ [[package]] name = "schemars" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54e910108742c57a770f492731f99be216a52fadd361b06c8fb59d74ccc267d2" +checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc" dependencies = [ "dyn-clone", "ref-cast", @@ -14708,12 +14642,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "scoped-tls" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294" - [[package]] name = "scopeguard" version = "1.2.0" @@ -14722,9 +14650,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" +checksum = "d68f2ec51b097e4c1a75b681a8bec621909b5e91f15bb7b840c4f2f7b01148b2" [[package]] name = "scrypt" @@ -14787,7 +14715,7 @@ version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ - "bitcoin_hashes 0.14.0", + "bitcoin_hashes 0.14.1", "rand 0.8.5", "secp256k1-sys 0.10.1", "serde", @@ -14799,7 +14727,7 @@ version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c3c81b43dc2d8877c216a3fccf76677ee1ebccd429566d3e67447290d0c42b2" dependencies = [ - "bitcoin_hashes 0.14.0", + "bitcoin_hashes 0.14.1", "rand 0.9.2", "secp256k1-sys 0.11.0", ] @@ -14865,7 +14793,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "core-foundation 0.9.4", "core-foundation-sys", "libc", @@ -14874,11 +14802,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "3.2.0" +version = "3.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271720403f46ca04f7ba6f55d438f8bd878d6b8ca0a1046e8228c4145bcbb316" +checksum = "b3297343eaf830f66ede390ea39da1d462b6b0c1b000f420d0a83f898bbbe6ef" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "core-foundation 0.10.1", "core-foundation-sys", "libc", @@ -14887,9 +14815,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" dependencies = [ "core-foundation-sys", "libc", @@ -14924,11 +14852,12 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.26" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" dependencies = [ "serde", + "serde_core", ] [[package]] @@ -14983,11 +14912,12 @@ dependencies = [ [[package]] name = "serde_bytes" -version = "0.11.17" +version = "0.11.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" +checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8" dependencies = [ "serde", + "serde_core", ] [[package]] @@ -15007,20 +14937,21 @@ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "serde_json" -version = "1.0.142" +version = "1.0.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7" +checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" dependencies = [ - "indexmap 2.10.0", + "indexmap 2.13.0", "itoa", "memchr", - "ryu", "serde", + "serde_core", + "zmij", ] [[package]] @@ -15046,19 +14977,18 @@ dependencies = [ [[package]] name = "serde_with" -version = "3.14.0" +version = "3.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5" +checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" dependencies = [ "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.10.0", + "indexmap 2.13.0", "schemars 0.9.0", - "schemars 1.2.0", - "serde", - "serde_derive", + "schemars 1.2.1", + "serde_core", "serde_json", "serde_with_macros", "time", @@ -15066,14 +14996,14 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.14.0" +version = "3.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f" +checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" dependencies = [ - "darling 0.20.11", + "darling 0.21.3", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -15082,7 +15012,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.10.0", + "indexmap 2.13.0", "itoa", "ryu", "serde", @@ -15152,9 +15082,9 @@ dependencies = [ [[package]] name = "sha3-asm" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28efc5e327c837aa837c59eae585fc250715ef939ac32881bcc11677cd02d46" +checksum = "b31139435f327c93c6038ed350ae4588e2c70a13d50599509fee6349967ba35a" dependencies = [ "cc", "cfg-if", @@ -15177,10 +15107,11 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.6" +version = "1.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" +checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b" dependencies = [ + "errno", "libc", ] @@ -15196,9 +15127,9 @@ dependencies = [ [[package]] name = "simba" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" +checksum = "c99284beb21666094ba2b75bbceda012e610f5479dfcc2d6e2426f53197ffd95" dependencies = [ "approx", "num-complex", @@ -15207,13 +15138,28 @@ dependencies = [ "wide", ] +[[package]] +name = "simd-adler32" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2" + [[package]] name = "simple-dns" version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dee851d0e5e7af3721faea1843e8015e820a234f81fda3dea9247e15bac9a86a" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", +] + +[[package]] +name = "simple-dns" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df350943049174c4ae8ced56c604e28270258faec12a6a48637a7655287c9ce0" +dependencies = [ + "bitflags 2.10.0", ] [[package]] @@ -15224,15 +15170,15 @@ checksum = "620a1d43d70e142b1d46a929af51d44f383db9c7a2ec122de2cd992ccfcf3c18" [[package]] name = "siphasher" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" +checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e" [[package]] name = "slab" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "slice-group-by" @@ -15242,14 +15188,14 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "19.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b143ebffebf7b7cfbcaa72dcdbd7ff77d16a96f3a7531649273540cfaac647" +checksum = "e8438f5da8b5478363971a4d673bdfa6bc890517cda4b7c4507dfb809029bc17" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -15293,14 +15239,14 @@ dependencies = [ "bs58", "chacha20", "crossbeam-queue", - "derive_more 2.0.1", + "derive_more 2.1.1", "ed25519-zebra", "either", - "event-listener 5.4.0", + "event-listener 5.4.1", "fnv", "futures-lite", "futures-util", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "hex", "hmac 0.12.1", "itertools 0.14.0", @@ -15326,7 +15272,7 @@ dependencies = [ "slab", "smallvec", "soketto", - "twox-hash 2.1.1", + "twox-hash 2.1.2", "wasmi", "x25519-dalek", "zeroize", @@ -15343,19 +15289,19 @@ dependencies = [ "base64 0.22.1", "blake2-rfc", "bs58", - "derive_more 2.0.1", + "derive_more 2.1.1", "either", - "event-listener 5.4.0", + "event-listener 5.4.1", "fnv", "futures-channel", "futures-lite", "futures-util", - "hashbrown 0.15.4", + "hashbrown 0.15.5", "hex", "itertools 0.14.0", "log", "lru", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "rand_chacha 0.3.1", @@ -15397,9 +15343,9 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.17.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b85fc926fddfe68cbea50c48acee5db4110adfbd6aa3e9b1a98ae758da2f43df" +checksum = "cb028a97defaa9f17f81d802a9f3060fba79b7a5ee1cfd12b432c0d61d282530" dependencies = [ "byte-slice-cast", "frame-support", @@ -15410,9 +15356,9 @@ dependencies = [ "serde", "snowbridge-ethereum", "snowbridge-milagro-bls", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "ssz_rs", "ssz_rs_derive", @@ -15420,35 +15366,39 @@ dependencies = [ [[package]] name = "snowbridge-core" -version = "0.17.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe02ed4437a15294aeb461261c691d464ac5871c6530b127c1d2e04d45ffe33" +checksum = "2fb58cba2820e72d795e2d75e027e418e969002d085f363909a1934c8b7b4ea4" dependencies = [ "bp-relayers", "frame-support", "frame-system", "hex-literal", - "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", "serde", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-ethereum" -version = "0.14.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb10d39eb22a8ad079721c60ec74787480024ba1227337dbad9e2229ba97477d" +checksum = "2d0991a761b5d2e1edfb01ad74cf98bfad2c4a1dd176b7fc826170bac9ea60c1" dependencies = [ + "alloy-consensus", + "alloy-core", + "alloy-primitives", + "alloy-rlp", "ethabi-decode", "ethbloom", "ethereum-types", @@ -15459,46 +15409,47 @@ dependencies = [ "scale-info", "serde", "serde-big-array", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "snowbridge-inbound-queue-primitives" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0793fc3106d1163d630ec87a6342b63bd45c814a0d7d77ad4f9737faf6a43a8e" +checksum = "d383c8c7e2dc6348280235ef2151ab204da3ad5a099c0c7d1f5d472cb5d5ae57" dependencies = [ "alloy-core", + "assets-common", "frame-support", "frame-system", "hex-literal", - "log", "parity-scale-codec", "scale-info", "snowbridge-beacon-primitives", "snowbridge-core", "snowbridge-verification-primitives", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-merkle-tree" -version = "0.4.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45827ffba95c4ffb890574024db3824b48acb76bf6fb49b7cda52c6fe51235a9" +checksum = "0cd5895fd4f0eb8cc97af39310ec0eafcfa18dd54297361c6e60b5fb4fb5f3aa" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -15518,71 +15469,70 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-primitives" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd17d58f2ae7a691fda9af7c103ac9136db38fca305a8bf84b647e122319558d" +checksum = "20ba1371768bcf9d0e24a94bc64509226a1ea8d5d4cb413787eb6fd084a9ee3b" dependencies = [ "alloy-core", "ethabi-decode", "frame-support", "frame-system", "hex-literal", - "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", "snowbridge-core", "snowbridge-verification-primitives", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-outbound-queue-runtime-api" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733b035a169c8d15757504295dc177b9f7e0f1c26a7b8f5c2d4c057546bb75d8" +checksum = "93d633e2e1876faac89ab1a0bd6196cdfc3becfd947ee169dfc9f863c3cfbc54" dependencies = [ "frame-support", "parity-scale-codec", "snowbridge-core", "snowbridge-merkle-tree", "snowbridge-outbound-queue-primitives", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "snowbridge-outbound-queue-v2-runtime-api" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "457353b773fed1355c3753467b7fcae1c8b5f3dc4a75a901ec7835556a9758ad" +checksum = "aca743fb69380e2792f2092c72fd37a5f8dda575db7a299a733f8e86b20bd4f8" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "snowbridge-merkle-tree", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", ] [[package]] name = "snowbridge-pallet-ethereum-client" -version = "0.17.0" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bb201a0c09666042a7674c74b77dc6edf3de1ab6cabc268124c08b68c6c3d6b" +checksum = "893d6db15aeb440819bc1b1d869f5c50e9e96461ed62a672fe114fa97672a667" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "hex-literal", - "log", "pallet-timestamp", "parity-scale-codec", "scale-info", @@ -15592,37 +15542,37 @@ dependencies = [ "snowbridge-ethereum", "snowbridge-pallet-ethereum-client-fixtures", "snowbridge-verification-primitives", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "static_assertions", + "tracing", ] [[package]] name = "snowbridge-pallet-ethereum-client-fixtures" -version = "0.25.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d1d8496a174880bab0df3d4153d35bef3ec7458403ee27a7e06233e02ed989" +checksum = "9bc58118faf3a4451392958e1e29a641396689ee6b3e64f1fb19e3722bbf0737" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", "snowbridge-verification-primitives", - "sp-core", + "sp-core 39.0.0", "sp-std", ] [[package]] name = "snowbridge-pallet-inbound-queue" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c5cf09167bd0752a420151258402daa3e4db39de9ca10cc33ef8c5f5061d135" +checksum = "995eadd6fc62cb4195f25c4d3b850bd731277b3bd3f5bd89a37b76bb5c9f9818" dependencies = [ "alloy-core", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -15631,40 +15581,40 @@ dependencies = [ "snowbridge-core", "snowbridge-inbound-queue-primitives", "snowbridge-pallet-inbound-queue-fixtures", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" -version = "0.25.0" +version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aaad8c0ddf1ee55d5ab47cdfdf933a5f98b8377d871dbc9cf6bb15a33b6f8d7d" +checksum = "7fd3960168a244229f083ad468d7e761e49b3a4b899365b4efe54bbea54c8d01" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", "snowbridge-core", "snowbridge-inbound-queue-primitives", - "sp-core", + "sp-core 39.0.0", "sp-std", ] [[package]] name = "snowbridge-pallet-inbound-queue-v2" -version = "0.6.1" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f9883aca96a69ffe4a29c18a85e00969a053ac31ddc571f1fdd20963d675b73" +checksum = "6418b0ecf638f177dcc0d87e65339099d69e93be69eb1056c6d9ff900c54c7ec" dependencies = [ "alloy-core", "bp-relayers", "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-balances", "parity-scale-codec", "scale-info", @@ -15673,9 +15623,9 @@ dependencies = [ "snowbridge-core", "snowbridge-inbound-queue-primitives", "snowbridge-pallet-inbound-queue-v2-fixtures", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -15685,23 +15635,23 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-v2-fixtures" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc173145283a10b42bb9a51de194695bb9382006440e351d521274e3fff52328" +checksum = "dbc188780177df9fcf9079c206703aa006f9881062eb7351754ddc1d1bb7268c" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", "snowbridge-core", "snowbridge-inbound-queue-primitives", - "sp-core", + "sp-core 39.0.0", "sp-std", ] [[package]] name = "snowbridge-pallet-outbound-queue" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90f80dc7bb0d2819ee3fd0a516255f413304bf940ef718634173e156caebad8" +checksum = "bf7d1d2652ad8a2d2aece3575304b39d5dc49a461c830298a795a0489f5e1f6d" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -15715,21 +15665,20 @@ dependencies = [ "snowbridge-merkle-tree", "snowbridge-outbound-queue-primitives", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", ] [[package]] name = "snowbridge-pallet-outbound-queue-v2" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced9d4fde40c8472c8cd40cf2934ba1f6433c9b10b9f978e01597c76c5e8db98" +checksum = "d3746a1e30fd7a31ea5d6358a959c1aecb3b7c29845044ab1eb6d037528d35ef" dependencies = [ "alloy-core", "bp-relayers", - "bridge-hub-common", "ethabi-decode", "frame-benchmarking", "frame-support", @@ -15744,9 +15693,9 @@ dependencies = [ "snowbridge-outbound-queue-primitives", "snowbridge-verification-primitives", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -15755,43 +15704,42 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b0ae4798132928b665ecc4c82f95281feab6df3014534c74c2144ddfcd16a11" +checksum = "01a10b7211bd147fddb99b4b4a8ea53d652fd2e5922d39d80efe4ee9121f095e" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "snowbridge-core", "snowbridge-outbound-queue-primitives", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-pallet-system-frontend" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c71696c9bf2e9f7f90f30b7f4c830740b5d2a40b06a95575ed3a7568b30c173" +checksum = "e9ac1ddb2871ad24ce6e6c265b84c4293529cd6bec256d4dbb71dc3a0abe049f" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "pallet-asset-conversion", "parity-scale-codec", "scale-info", "snowbridge-core", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -15800,22 +15748,21 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system-v2" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42487f65b512b4256a0c892b44e12bd1e398a295dba574e3b0da47a8df7af45a" +checksum = "dbe5276f26717bb9f31f09ad2e88aa3ed6febabeb6381eaaa6321205d3138c9e" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", - "log", "parity-scale-codec", "scale-info", "snowbridge-core", "snowbridge-outbound-queue-primitives", "snowbridge-pallet-system", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -15824,29 +15771,27 @@ dependencies = [ [[package]] name = "snowbridge-runtime-common" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac60894ce9ded23505b4d6159639014fbd3b96c0b3b7a36b1d6790075b137f48" +checksum = "5154421ead4f2509ae6cd3514bdf59e0ecfcd53bdac7c671efcf5a44799fa05a" dependencies = [ "frame-support", "frame-system", - "log", "pallet-xcm", "parity-scale-codec", - "snowbridge-core", - "snowbridge-outbound-queue-primitives", "sp-arithmetic", "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", + "tracing", ] [[package]] name = "snowbridge-runtime-test-common" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1498c1d16b511742133df17fdc42151d4bd88b79c995b6d44d05ff624bfa64a1" +checksum = "019b50252653852f82dad89385b1a85240fa244ff083a6ab70e6c72982ce713e" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -15865,10 +15810,10 @@ dependencies = [ "snowbridge-pallet-ethereum-client-fixtures", "snowbridge-pallet-outbound-queue", "snowbridge-pallet-system", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-keyring", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -15876,41 +15821,41 @@ dependencies = [ [[package]] name = "snowbridge-system-runtime-api" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d234863dca4dbb92378b9d23b6863a0a33ad824d96f74ed8f3791d9458eb54b5" +checksum = "23bda2014835fc38a9d2ed2680e92f6d59fc968203b4f8c769c515ff7f97d7d1" dependencies = [ "parity-scale-codec", "snowbridge-core", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", "staging-xcm", ] [[package]] name = "snowbridge-system-v2-runtime-api" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d99c1ce166aba65960494349dc84461c8813ff236d05fec7cddbd36dd04d227" +checksum = "e8d11eb7711133830526ab105c94b49e30e639ae5f683b2bd23c3aa799197c29" dependencies = [ "parity-scale-codec", "snowbridge-core", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-std", "staging-xcm", ] [[package]] name = "snowbridge-verification-primitives" -version = "0.6.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a8299e762d107c60ee006012d6eb2555fc50e21ed5ddf183dab4f012fcc5552" +checksum = "693e47ce3655db940100caedb027e1069710ca62dd355d86bae50da3af111627" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", "snowbridge-beacon-primitives", - "sp-core", + "sp-core 39.0.0", "sp-std", ] @@ -15926,12 +15871,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.6.0" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +checksum = "86f4aa3ad99f2088c990dfa82d367e19cb29268ed67c574d10d0a4bfe71f07e0" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] @@ -15951,104 +15896,104 @@ dependencies = [ [[package]] name = "sp-api" -version = "38.0.0" +version = "39.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d91062b6183f20a6c5fb02d055eeacb4791c8ad32fa1d280c75c0b29aa74acf" +checksum = "2cc9635cc2a860eff0b2d8b05ba217085c8292f41793f9cadfd931dc54976c00" dependencies = [ "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 24.0.0", - "sp-core", - "sp-externalities", + "sp-api-proc-macro 25.0.0", + "sp-core 38.1.0", + "sp-externalities 0.30.0", "sp-metadata-ir", - "sp-runtime 43.0.0", - "sp-runtime-interface 31.0.0", - "sp-state-machine 0.47.0", - "sp-trie", - "sp-version 41.0.0", + "sp-runtime 44.0.0", + "sp-runtime-interface 32.0.0", + "sp-state-machine 0.48.0", + "sp-trie 41.1.0", + "sp-version 42.0.0", "thiserror 1.0.69", ] [[package]] name = "sp-api" -version = "39.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc9635cc2a860eff0b2d8b05ba217085c8292f41793f9cadfd931dc54976c00" +checksum = "de4eb4aada6284b59f42a8da445c729384a514963340af130b4eb01b4835da4d" dependencies = [ "docify", "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 25.0.0", - "sp-core", - "sp-externalities", + "sp-api-proc-macro 26.0.0", + "sp-core 39.0.0", + "sp-externalities 0.31.0", "sp-metadata-ir", - "sp-runtime 44.0.0", - "sp-runtime-interface 32.0.0", - "sp-state-machine 0.48.0", - "sp-trie", - "sp-version 42.0.0", + "sp-runtime 45.0.0", + "sp-runtime-interface 33.0.0", + "sp-state-machine 0.49.0", + "sp-trie 42.0.0", + "sp-version 43.0.0", "thiserror 1.0.69", ] [[package]] name = "sp-api-proc-macro" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8124c25cffbde85d2ef5978fa710bb900d89c368821e04d59040788a0ece3e25" +checksum = "7d832cd107113d389340dc80a632330fe7ed7d20f3db50aeeb6abe40e23b6f4e" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "sp-api-proc-macro" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d832cd107113d389340dc80a632330fe7ed7d20f3db50aeeb6abe40e23b6f4e" +checksum = "4f2ae0305276704ca35c4499162a709413e4bca4e47a3c909df50a110930121f" dependencies = [ "Inflector", "blake2 0.10.6", "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "sp-application-crypto" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb8f2382e7b06f3754d66d781bb57021e415715b48a3a65ea452f9ca7e13ec8" +checksum = "e6067f30cf3fb9270471cf24a65d73b33330f32573abab2d97196f83fc076de0" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 42.0.0", + "sp-core 38.1.0", + "sp-io 43.0.0", ] [[package]] name = "sp-application-crypto" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6067f30cf3fb9270471cf24a65d73b33330f32573abab2d97196f83fc076de0" +checksum = "c33baebe847fc50edccd36d0e0e86df21d4db93876b5d74aadae9d8e96ca35e2" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", ] [[package]] @@ -16068,178 +16013,178 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f00f125cb1ee42d105005efbf0d78191db96420b35393b19ed121151f2db3f26" +checksum = "fb086abf5450de480d9d815a393ec2c36295350bdb63ded1a9832dfb6757f0a2" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "sp-block-builder" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090c35a7ce8057aa1882cd096863533300ff3805e6fd31eb2c0d25298cec2896" +checksum = "2263a76570421410cc67e49d057700d2196d00e7c7e1c5b282cee5bd352de94f" dependencies = [ - "sp-api 38.0.0", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "sp-blockchain" -version = "41.0.0" +version = "42.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20bbc12a32427066f7c84621dc6e1a8017c5a2b73ca6fa549c0a79d106bc78e8" +checksum = "082c634447671551ea1cb8f1182d1b8a7109f7316a044b974ad9e663935f56c8" dependencies = [ "futures", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "schnellru", - "sp-api 38.0.0", - "sp-consensus 0.44.0", - "sp-core", + "sp-api 39.0.0", + "sp-consensus 0.45.0", + "sp-core 38.1.0", "sp-database", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-runtime 44.0.0", + "sp-state-machine 0.48.0", "thiserror 1.0.69", "tracing", ] [[package]] name = "sp-blockchain" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "082c634447671551ea1cb8f1182d1b8a7109f7316a044b974ad9e663935f56c8" +checksum = "25fe12508b0274ab1f250621feed7c99ead5d4928788b5b7e15cc372862e0832" dependencies = [ "futures", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "schnellru", - "sp-api 39.0.0", - "sp-consensus 0.45.0", - "sp-core", + "sp-api 40.0.0", + "sp-consensus 0.46.0", + "sp-core 39.0.0", "sp-database", - "sp-runtime 44.0.0", - "sp-state-machine 0.48.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "thiserror 1.0.69", "tracing", ] [[package]] name = "sp-consensus" -version = "0.44.0" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9a3f4a09ba62631a18bddea0aee8cc7f50f02aeb1b9ffbaa578b0345dbd2867" +checksum = "3cdbfa4f10a4c0aac84f9fa3327386988aea983c503b9ec7f0bd8aa8c34c3f01" dependencies = [ "async-trait", "futures", "log", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-inherents 39.0.0", + "sp-runtime 44.0.0", + "sp-state-machine 0.48.0", "thiserror 1.0.69", ] [[package]] name = "sp-consensus" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cdbfa4f10a4c0aac84f9fa3327386988aea983c503b9ec7f0bd8aa8c34c3f01" +checksum = "5c3515d414dc7dc7186b87cb2ad9b3070edbfa85754373e56c33b408fbaa3f4e" dependencies = [ "async-trait", "futures", "log", - "sp-inherents 39.0.0", - "sp-runtime 44.0.0", - "sp-state-machine 0.48.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "thiserror 1.0.69", ] [[package]] name = "sp-consensus-aura" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11ae4c25ce19f4b0527d26a2d4225c3ddc1fcf0b4dfc8d1f02f874ecfa64eb7d" +checksum = "edb79fc4bf40bf12755a62b3bd201bb2f8de974b7393d81bee70cccecf40321f" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-slots", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63e4b6de91c8151b91bd43f9291fbe8f543ca82cbdb19fff71bda6961c6b7802" +checksum = "5fb7b73c605282232d12a7c5932fd7118dca87b096e0c053a81d780b3de6ca10" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-consensus-slots", - "sp-core", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" -version = "26.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e818dbd8d5d6b38d97d2892467e40836e808ff53b593dc6098e6dc8f74631795" +checksum = "813b9f529dca0247d1fc184aebc493b704363e82f3e1d81a69f2f9569be965a0" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", - "sp-core", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-io 42.0.0", - "sp-keystore", + "sp-io 44.0.0", + "sp-keystore 0.45.0", "sp-mmr-primitives", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-weights", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" -version = "25.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fae471cdb1dd297031bdb674e1e99545dc6fc721afcfcf37ab388c60e835fc74" +checksum = "35e695150a413205139d93aea2112ff6d2bfdae77b6aae81fbd4aa8c9cee75a5" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", - "sp-core", - "sp-keystore", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", + "sp-core 39.0.0", + "sp-keystore 0.45.0", + "sp-runtime 45.0.0", ] [[package]] name = "sp-consensus-slots" -version = "0.44.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac5030ea234ed6b31c089df51f9029bd5f8ab9560b83a24133df4b2f966379a3" +checksum = "740ac0574f072dc388239f78c4d19ca5dea530b24a84bfd1124834ec7dc58aea" dependencies = [ "parity-scale-codec", "scale-info", @@ -16272,7 +16217,55 @@ dependencies = [ "merlin", "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", + "paste", + "primitive-types 0.13.1", + "rand 0.8.5", + "scale-info", + "schnorrkel", + "secp256k1 0.28.2", + "secrecy 0.8.0", + "serde", + "sha2 0.10.9", + "sp-crypto-hashing", + "sp-debug-derive", + "sp-externalities 0.30.0", + "sp-std", + "sp-storage", + "ss58-registry", + "substrate-bip39", + "thiserror 1.0.69", + "tracing", + "w3f-bls", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "39.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0f32d2a9af72fe90bec51076d0e109ef3c25aa1d2a1eef15cf3588acd4a23da" +dependencies = [ + "ark-vrf", + "array-bytes 6.2.3", + "bip39", + "bitflags 1.3.2", + "blake2 0.10.6", + "bounded-collections", + "bs58", + "dyn-clone", + "ed25519-zebra", + "futures", + "hash-db", + "hash256-std-hasher", + "impl-serde", + "itertools 0.11.0", + "k256", + "libsecp256k1", + "log", + "merlin", + "parity-scale-codec", + "parking_lot 0.12.5", "paste", "primitive-types 0.13.1", "rand 0.8.5", @@ -16284,7 +16277,7 @@ dependencies = [ "sha2 0.10.9", "sp-crypto-hashing", "sp-debug-derive", - "sp-externalities", + "sp-externalities 0.31.0", "sp-std", "sp-storage", "ss58-registry", @@ -16317,17 +16310,17 @@ checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "sp-database" -version = "10.0.0" +version = "10.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "722cbecdbf5b94578137dbd07feb51e95f7de221be0c1ff4dcfe0bb4cd986929" +checksum = "c702cc7679fbaf0469d40251917cd27bfc165c506a8cd96fb4a9dd3947f06d70" dependencies = [ "kvdb", - "parking_lot 0.12.4", + "parking_lot 0.12.5", ] [[package]] @@ -16338,7 +16331,7 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -16353,16 +16346,14 @@ dependencies = [ ] [[package]] -name = "sp-genesis-builder" -version = "0.19.0" +name = "sp-externalities" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e16e1046045e47124c09a9c9c03bfd1933926d67512aa1e66b778b81e51f4bb" +checksum = "76b67582d8eb400e730d4abaa9f8841898fa36782a2c6b7f61676e5dd6f8166c" dependencies = [ + "environmental", "parity-scale-codec", - "scale-info", - "serde_json", - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-storage", ] [[package]] @@ -16379,17 +16370,16 @@ dependencies = [ ] [[package]] -name = "sp-inherents" -version = "38.0.0" +name = "sp-genesis-builder" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d91ae44bf5232bff4e1a804b8eda9cecbf56921c0d67699f7b638db4ea1b776" +checksum = "6bd14bfa3d9980aab810acf6b0d326cddc72e37ab2ef9f0b17efb80d53c985a7" dependencies = [ - "async-trait", - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", - "thiserror 1.0.69", + "serde_json", + "sp-api 40.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -16407,37 +16397,51 @@ dependencies = [ ] [[package]] -name = "sp-io" -version = "42.0.0" +name = "sp-inherents" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d0f8eb3f6c8824549b9482d71516324cf6e2fd650fcc0845d7a4080233898da" +checksum = "5785f49653ece32f136b593a3a83cc0d81472d0eb94e6e8b84cc2635e907bb86" dependencies = [ - "bytes", - "docify", - "ed25519-dalek", - "libsecp256k1", - "log", + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 45.0.0", + "thiserror 1.0.69", +] + +[[package]] +name = "sp-io" +version = "43.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf2059e3b338c0174e8dc9e144cc7e612165ca4c960c3a23c6c99c29ef34768f" +dependencies = [ + "bytes", + "docify", + "ed25519-dalek", + "libsecp256k1", + "log", "parity-scale-codec", "polkavm-derive 0.26.0", "rustversion", "secp256k1 0.28.2", - "sp-core", + "sp-core 38.1.0", "sp-crypto-hashing", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface 31.0.0", - "sp-state-machine 0.47.0", - "sp-tracing 18.0.0", - "sp-trie", + "sp-externalities 0.30.0", + "sp-keystore 0.44.1", + "sp-runtime-interface 32.0.0", + "sp-state-machine 0.48.0", + "sp-tracing", + "sp-trie 41.1.0", "tracing", "tracing-core", ] [[package]] name = "sp-io" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf2059e3b338c0174e8dc9e144cc7e612165ca4c960c3a23c6c99c29ef34768f" +checksum = "84c3b7db2a4f180e3362e374754983e3ddc844b7a1cd2c2e5b71ab0bd3673dfe" dependencies = [ "bytes", "docify", @@ -16448,26 +16452,26 @@ dependencies = [ "polkavm-derive 0.26.0", "rustversion", "secp256k1 0.28.2", - "sp-core", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface 32.0.0", - "sp-state-machine 0.48.0", - "sp-tracing 19.0.0", - "sp-trie", + "sp-externalities 0.31.0", + "sp-keystore 0.45.0", + "sp-runtime-interface 33.0.0", + "sp-state-machine 0.49.0", + "sp-tracing", + "sp-trie 42.0.0", "tracing", "tracing-core", ] [[package]] name = "sp-keyring" -version = "43.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0152e8b42857f1764a2ce6abda725d8be008423cc054b747c33a69cbc2a3dd7c" +checksum = "4d3ac79313643baacce1ffebfd0ae78b86ddc9529ef85fa0495e37ef75f13e1d" dependencies = [ - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "strum 0.26.3", ] @@ -16478,16 +16482,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a5c0b829014afc22e992be2c198f2677592db43267fc218e9f3207dbbfb6fbb" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.4", - "sp-core", - "sp-externalities", + "parking_lot 0.12.5", + "sp-core 38.1.0", + "sp-externalities 0.30.0", +] + +[[package]] +name = "sp-keystore" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc62157d26f8c6847e2827168f71edea83f9f2c3cc12b8fb694dbe58aefe5972" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.5", + "sp-core 39.0.0", + "sp-externalities 0.31.0", ] [[package]] name = "sp-maybe-compressed-blob" -version = "11.0.1" +version = "11.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9d204064a17660455603ae152b02fc7ea4cfff2d14796f6483d7a35c4cca336" +checksum = "d96bd622e9c93d874f70f8df15ba1512fb95d8339aa5629157a826ec65a0c568" dependencies = [ "thiserror 1.0.69", "zstd 0.12.4", @@ -16506,57 +16522,57 @@ dependencies = [ [[package]] name = "sp-mixnet" -version = "0.16.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "867a80557d8156b9f52999eb5cde3cea8e3df02713d11fb045c4507a4dd92141" +checksum = "cbebcdd1e8055e1cecfec886f226a0339f9af7a2b78c7452a50dd1dfa2cb1287" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", ] [[package]] name = "sp-mmr-primitives" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a492ae11f4c220fea20eb5fbcdc788b02085ebd83c9e2e769708b2b58bf96e3" +checksum = "ec94fa772252d86932a5f01bff70df3e7f170f350dfabf14417b26eb5c9e10c9" dependencies = [ "log", "parity-scale-codec", "polkadot-ckb-merkle-mountain-range", "scale-info", "serde", - "sp-api 38.0.0", - "sp-core", + "sp-api 40.0.0", + "sp-core 39.0.0", "sp-debug-derive", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "thiserror 1.0.69", ] [[package]] name = "sp-npos-elections" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db55883feff59ac34d221f97030d1a0b0699ab259838cb28a5ed19d56de40519" +checksum = "9767c2808334b8a5932d314f4ffd16b2cb7b735a75f60231f4590fb50ffbd9bb" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "sp-offchain" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4ddad79b8992fe2cc2b285816ae3814a351139c742da924fcf17c23dd1c145" +checksum = "122459d7edab703f86d192fde32338301b998aff9ef81d7a87ffe2cd3a190741" dependencies = [ - "sp-api 38.0.0", - "sp-core", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -16571,20 +16587,20 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "36.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c0d87eb9ee8427d02db43da1a11bba9d65c7fc2f5bc7c13076c557f57692a1" +checksum = "08001f6b51a282cf83ec9386ddd8134d0a417a3ec51c8e641e0181de50d48b4e" dependencies = [ "rustc-hash 1.1.0", "serde", - "sp-core", + "sp-core 39.0.0", ] [[package]] name = "sp-runtime" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3992bd6026675946f12fc3c891c863f017a01449a5a15d07656ea1b6503f3ba2" +checksum = "ee57bb77e94c26306501426ac82aca401bb80ee2279ecdba148f68e76cf58247" dependencies = [ "binary-merkle-tree", "docify", @@ -16599,12 +16615,12 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 42.0.0", + "sp-application-crypto 43.0.0", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", + "sp-core 38.1.0", + "sp-io 43.0.0", "sp-std", - "sp-trie", + "sp-trie 41.1.0", "sp-weights", "tracing", "tuplex", @@ -16612,11 +16628,12 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee57bb77e94c26306501426ac82aca401bb80ee2279ecdba148f68e76cf58247" +checksum = "7f799c308ab442aa1c80b193db8c76f36dcc5a911408bf8861511987f4e4f2ee" dependencies = [ "binary-merkle-tree", + "bytes", "docify", "either", "hash256-std-hasher", @@ -16629,53 +16646,53 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 43.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", - "sp-core", - "sp-io 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-std", - "sp-trie", + "sp-trie 42.0.0", "sp-weights", + "strum 0.26.3", "tracing", "tuplex", ] [[package]] name = "sp-runtime-interface" -version = "31.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4820882d8e6e764b98efaeed3a431aa9a0d1738c4adf935fbb4c50113288073" +checksum = "efdc2bc2adbfb9b4396ae07c7d94db20414d2351608e29e1f44e4f643b387c70" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.26.0", - "primitive-types 0.13.1", - "sp-externalities", + "sp-externalities 0.30.0", "sp-runtime-interface-proc-macro", "sp-std", "sp-storage", - "sp-tracing 18.0.0", - "sp-wasm-interface 23.0.0", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] [[package]] name = "sp-runtime-interface" -version = "32.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efdc2bc2adbfb9b4396ae07c7d94db20414d2351608e29e1f44e4f643b387c70" +checksum = "22644a2fabb5c246911ecde30fdb7f0801c90f5e611b1147140055ad7b6dabab" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.26.0", - "sp-externalities", + "sp-externalities 0.31.0", "sp-runtime-interface-proc-macro", "sp-std", "sp-storage", - "sp-tracing 19.0.0", - "sp-wasm-interface 24.0.0", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] @@ -16687,57 +16704,57 @@ checksum = "04178084ae654b3924934a56943ee73e3562db4d277e948393561b08c3b5b5fe" dependencies = [ "Inflector", "expander", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "sp-session" -version = "40.0.0" +version = "42.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "860f9c9f4681c99341f8d12640788924f73b92118982638cae0ef2f483e79dd2" +checksum = "9a79f3383169cb7cf58a0b8f76492ba934aa73c3c41a206fe2b47be0ac5a2d11" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 38.0.0", - "sp-core", - "sp-keystore", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-keystore 0.45.0", + "sp-runtime 45.0.0", "sp-staking", ] [[package]] name = "sp-staking" -version = "40.0.0" +version = "42.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa9945ce70bbfb9b1c876f94a81017915bc932a576b8a9735b88aabfa01ea4e5" +checksum = "56facdf4a950590afa2aa45d2f4d8acac77dfa486f9124e4977c55f6b8ecac90" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "sp-state-machine" -version = "0.47.0" +version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaa59c3fdf73700dd3e9dcce503fb15c3ef59dfed3ed34f0eec78d8f5b5d1c45" +checksum = "042677239cca40eb6a0d70e0b220f5693516f59853c2d678de471a79652cd16e" dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", + "sp-core 38.1.0", + "sp-externalities 0.30.0", "sp-panic-handler", - "sp-trie", + "sp-trie 41.1.0", "thiserror 1.0.69", "tracing", "trie-db", @@ -16745,20 +16762,20 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.48.0" +version = "0.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "042677239cca40eb6a0d70e0b220f5693516f59853c2d678de471a79652cd16e" +checksum = "1b5bfda052a2fe9be497139e0c5d0a51946873f3cd7c2ff81bdbcb8b446caa37" dependencies = [ "hash-db", "log", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", + "sp-core 39.0.0", + "sp-externalities 0.31.0", "sp-panic-handler", - "sp-trie", + "sp-trie 42.0.0", "thiserror 1.0.69", "tracing", "trie-db", @@ -16785,30 +16802,17 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57897783f3ae2b0630196f767194d9f753759305a5266fc2e0522e920733df0a" +checksum = "81f5dcc250a9b105e732ae43969ae956d88ba8c8de9e3dd3e73155cbc7ab2ead" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 38.0.0", - "sp-runtime 43.0.0", + "sp-inherents 40.0.0", + "sp-runtime 45.0.0", "thiserror 1.0.69", ] -[[package]] -name = "sp-tracing" -version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7fa3a9161173fa99b4455afc52811eb8251e90ca37a2cbebb8be9c47dc55c00" -dependencies = [ - "parity-scale-codec", - "regex", - "tracing", - "tracing-core", - "tracing-subscriber 0.3.19", -] - [[package]] name = "sp-tracing" version = "19.0.0" @@ -16819,17 +16823,17 @@ dependencies = [ "regex", "tracing", "tracing-core", - "tracing-subscriber 0.3.19", + "tracing-subscriber 0.3.22", ] [[package]] name = "sp-transaction-pool" -version = "38.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ec2ce1712ceb1111418ebe3855f017c5d68e954d376d8bf97dcb720a950edc9" +checksum = "fb825fac0981a640d025b7bbc8f3e11147a961df502d399b563a5688ffde1b96" dependencies = [ - "sp-api 38.0.0", - "sp-runtime 43.0.0", + "sp-api 40.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -16841,16 +16845,42 @@ dependencies = [ "ahash", "foldhash 0.1.5", "hash-db", - "hashbrown 0.15.4", + "hashbrown 0.15.5", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.5", + "rand 0.8.5", + "scale-info", + "schnellru", + "sp-core 38.1.0", + "sp-externalities 0.30.0", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", + "tracing", + "trie-db", + "trie-root", +] + +[[package]] +name = "sp-trie" +version = "42.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8f438d420504e6315e2dc901bd952be09b0d6a77497dc755bb4488853b03282" +dependencies = [ + "ahash", + "foldhash 0.1.5", + "hash-db", + "hashbrown 0.15.5", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "rand 0.8.5", "scale-info", "schnellru", - "sp-core", - "sp-externalities", + "sp-core 39.0.0", + "sp-externalities 0.31.0", "substrate-prometheus-endpoint", "thiserror 1.0.69", "tracing", @@ -16860,9 +16890,9 @@ dependencies = [ [[package]] name = "sp-version" -version = "41.0.0" +version = "42.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d7b57b6577ddab5b363c2d6e9d49609749e041ee50e7232ecb413bc1cfa3f" +checksum = "633ea19da3ec057d449af667099072daa4e99900984f304b96f4c2ee15aeecc7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -16870,7 +16900,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 43.0.0", + "sp-runtime 44.0.0", "sp-std", "sp-version-proc-macro", "thiserror 1.0.69", @@ -16878,9 +16908,9 @@ dependencies = [ [[package]] name = "sp-version" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "633ea19da3ec057d449af667099072daa4e99900984f304b96f4c2ee15aeecc7" +checksum = "dd07f9e708698156d941b816582cb5298a3a406d230648fcc8840f118ac423a1" dependencies = [ "impl-serde", "parity-scale-codec", @@ -16888,7 +16918,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 44.0.0", + "sp-runtime 45.0.0", "sp-std", "sp-version-proc-macro", "thiserror 1.0.69", @@ -16904,20 +16934,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.104", -] - -[[package]] -name = "sp-wasm-interface" -version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "568979072b49384ef6bbaa5aa1306a91f0b983a4b22c8ef515b601748683b97c" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "wasmtime 8.0.1", + "syn 2.0.114", ] [[package]] @@ -16930,7 +16947,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "wasmtime 35.0.0", + "wasmtime", ] [[package]] @@ -17021,9 +17038,9 @@ dependencies = [ [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "staging-kusama-runtime" @@ -17102,29 +17119,29 @@ dependencies = [ "scale-info", "separator", "serde_json", - "sp-api 38.0.0", - "sp-application-crypto 42.0.0", + "sp-api 40.0.0", + "sp-application-crypto 44.0.0", "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", + "sp-core 39.0.0", "sp-debug-derive", - "sp-genesis-builder 0.19.0", - "sp-inherents 38.0.0", - "sp-io 42.0.0", + "sp-genesis-builder 0.21.0", + "sp-inherents 40.0.0", + "sp-io 44.0.0", "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-session", "sp-staking", "sp-storage", - "sp-tracing 18.0.0", + "sp-tracing", "sp-transaction-pool", - "sp-trie", - "sp-version 41.0.0", + "sp-trie 42.0.0", + "sp-version 43.0.0", "ss58-registry", "staging-xcm", "staging-xcm-builder", @@ -17136,23 +17153,23 @@ dependencies = [ [[package]] name = "staging-parachain-info" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae7ccae65fded98a5599089ec0de9d9a56cc8993820d793e511db6f936a0cd7e" +checksum = "2c878a6d9ad844a122ec17446b05a94c16a566e13250a52287f5eb8debf5d89c" dependencies = [ "cumulus-primitives-core", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] name = "staging-xcm" -version = "20.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "289bd536ba4f2ecede20ddb65312df821baa33828423223d926ad2b3d5caab52" +checksum = "5da5a04bfec3911a3b5f497b3e6e3e0d4655960d5b6a1f9c28ef22d38ad0af31" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -17161,20 +17178,20 @@ dependencies = [ "frame-support", "hex-literal", "impl-trait-for-tuples", - "log", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "sp-weights", + "tracing", "xcm-procedural", ] [[package]] name = "staging-xcm-builder" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf50224ee19aa772ff0708ca83bcc1d2d3d2428f3af2ea6a1e56e977fa84428a" +checksum = "736228eb2316473060b925a71bb626ec38bc88a106a1dc1fc3d012da16e89114" dependencies = [ "environmental", "frame-support", @@ -17186,9 +17203,9 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-weights", "staging-xcm", "staging-xcm-executor", @@ -17197,9 +17214,9 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "23.0.0" +version = "24.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa449c89ca664a961a15219ac4bdd237142d23e0f22b3c45af7badec39be8dd" +checksum = "e170ec1fc40070d7459aa3348a9e2dae9569aab99fd60986a61b76e3ff36470e" dependencies = [ "environmental", "frame-benchmarking", @@ -17208,9 +17225,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", - "sp-core", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "sp-weights", "staging-xcm", "tracing", @@ -17269,7 +17286,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -17328,7 +17345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d23e4bc8e910a312820d589047ab683928b761242dbe31dee081fbdb37cbe0be" dependencies = [ "http-body-util", - "hyper 1.6.0", + "hyper 1.8.1", "hyper-util", "log", "prometheus", @@ -17338,16 +17355,16 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.53.0" +version = "0.54.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f5b71b45562d7a90deba18c6eca51b94b3c47ac08205f0a657add570910714" +checksum = "b423f09edcf02bba07db91beadee78d1c8977a5461238d2304cd33972cc09564" dependencies = [ "async-trait", "jsonrpsee", "log", "sc-rpc-api", "serde", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", ] [[package]] @@ -17362,9 +17379,9 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "30.0.0" +version = "31.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18ce72580a7874d691946deb585f52b868d9271291963b8917a99f4c3232f2fe" +checksum = "c2e84e19e2e219e108876cdf2adef2523670886ec4471d1526930f27cf9de8db" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -17377,13 +17394,13 @@ dependencies = [ "parity-scale-codec", "parity-wasm", "polkavm-linker", - "sc-executor 0.46.0", + "sc-executor 0.47.0", "shlex", - "sp-core", - "sp-io 42.0.0", + "sp-core 39.0.0", + "sp-io 44.0.0", "sp-maybe-compressed-blob", - "sp-tracing 18.0.0", - "sp-version 41.0.0", + "sp-tracing", + "sp-version 43.0.0", "strum 0.26.3", "tempfile", "toml 0.8.23", @@ -17405,9 +17422,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt" -version = "0.43.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74791ddeaaa6de42e7cc8a715c83eb73303f513f90af701fd07eb2caad92ed84" +checksum = "f8c6dc0f90e23c521465b8f7e026af04a48cc6f00c51d88a8d313d33096149de" dependencies = [ "async-trait", "derive-where", @@ -17428,10 +17445,10 @@ dependencies = [ "sp-crypto-hashing", "subxt-core 0.43.0", "subxt-lightclient 0.43.0", - "subxt-macro 0.43.0", + "subxt-macro 0.43.1", "subxt-metadata 0.43.0", "subxt-rpcs 0.43.0", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-util", "tracing", @@ -17468,7 +17485,7 @@ dependencies = [ "subxt-macro 0.44.2", "subxt-metadata 0.44.2", "subxt-rpcs 0.44.2", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-util", "tracing", @@ -17490,8 +17507,8 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata 0.43.0", - "syn 2.0.104", - "thiserror 2.0.12", + "syn 2.0.114", + "thiserror 2.0.18", ] [[package]] @@ -17507,8 +17524,8 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata 0.44.2", - "syn 2.0.104", - "thiserror 2.0.12", + "syn 2.0.114", + "thiserror 2.0.18", ] [[package]] @@ -17537,7 +17554,7 @@ dependencies = [ "serde_json", "sp-crypto-hashing", "subxt-metadata 0.43.0", - "thiserror 2.0.12", + "thiserror 2.0.18", "tracing", ] @@ -17567,7 +17584,7 @@ dependencies = [ "serde_json", "sp-crypto-hashing", "subxt-metadata 0.44.2", - "thiserror 2.0.12", + "thiserror 2.0.18", "tracing", ] @@ -17582,7 +17599,7 @@ dependencies = [ "serde", "serde_json", "smoldot-light", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-stream", "tracing", @@ -17599,7 +17616,7 @@ dependencies = [ "serde", "serde_json", "smoldot-light", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio", "tokio-stream", "tracing", @@ -17607,9 +17624,9 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.43.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69516e8ff0e9340a0f21b8398da7f997571af4734ee81deada5150a2668c8443" +checksum = "c269228a2e5de4c0c61ed872b701967ee761df0f167d5b91ecec1185bca65793" dependencies = [ "darling 0.20.11", "parity-scale-codec", @@ -17619,7 +17636,7 @@ dependencies = [ "subxt-codegen 0.43.0", "subxt-metadata 0.43.0", "subxt-utils-fetchmetadata 0.43.0", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -17636,7 +17653,7 @@ dependencies = [ "subxt-codegen 0.44.2", "subxt-metadata 0.44.2", "subxt-utils-fetchmetadata 0.44.2", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -17651,7 +17668,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-crypto-hashing", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -17666,7 +17683,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-crypto-hashing", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -17687,7 +17704,7 @@ dependencies = [ "serde_json", "subxt-core 0.43.0", "subxt-lightclient 0.43.0", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio-util", "tracing", "url", @@ -17711,7 +17728,7 @@ dependencies = [ "serde_json", "subxt-core 0.44.2", "subxt-lightclient 0.44.2", - "thiserror 2.0.12", + "thiserror 2.0.18", "tokio-util", "tracing", "url", @@ -17743,7 +17760,7 @@ dependencies = [ "sha2 0.10.9", "sp-crypto-hashing", "subxt-core 0.43.0", - "thiserror 2.0.12", + "thiserror 2.0.18", "zeroize", ] @@ -17771,7 +17788,7 @@ dependencies = [ "sha2 0.10.9", "sp-crypto-hashing", "subxt-core 0.44.2", - "thiserror 2.0.12", + "thiserror 2.0.18", "zeroize", ] @@ -17783,7 +17800,7 @@ checksum = "8c4fb8fd6b16ecd3537a29d70699f329a68c1e47f70ed1a46d64f76719146563" dependencies = [ "hex", "parity-scale-codec", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -17794,7 +17811,7 @@ checksum = "a26ed947c63b4620429465c9f7e1f346433ddc21780c4bfcfade1e3a4dcdfab8" dependencies = [ "hex", "parity-scale-codec", - "thiserror 2.0.12", + "thiserror 2.0.18", ] [[package]] @@ -17810,9 +17827,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.104" +version = "2.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" +checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" dependencies = [ "proc-macro2", "quote", @@ -17821,14 +17838,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "1.3.0" +version = "1.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a985ff4ffd7373e10e0fb048110fb11a162e5a4c47f92ddb8787a6f766b769" +checksum = "2379beea9476b89d0237078be761cf8e012d92d5ae4ae0c9a329f974838870fc" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -17860,7 +17877,7 @@ checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -17869,7 +17886,18 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", + "core-foundation 0.9.4", + "system-configuration-sys", +] + +[[package]] +name = "system-configuration" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a13f3d0daba03132c0aa9767f98351b3488edc2c100cda2d2ec2b04f3d8d3c8b" +dependencies = [ + "bitflags 2.10.0", "core-foundation 0.9.4", "system-configuration-sys", ] @@ -17898,10 +17926,10 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "scale-info", - "sp-api 38.0.0", - "sp-core", - "sp-runtime 43.0.0", - "sp-state-machine 0.47.0", + "sp-api 40.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", + "sp-state-machine 0.49.0", "staging-xcm", "staging-xcm-executor", ] @@ -17919,8 +17947,8 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-constants", "smallvec", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "staging-xcm", ] @@ -17947,12 +17975,6 @@ dependencies = [ "xattr", ] -[[package]] -name = "target-lexicon" -version = "0.12.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" - [[package]] name = "target-lexicon" version = "0.13.4" @@ -17961,15 +17983,15 @@ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" [[package]] name = "tempfile" -version = "3.20.0" +version = "3.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" +checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c" dependencies = [ "fastrand", - "getrandom 0.3.3", + "getrandom 0.3.4", "once_cell", - "rustix 1.0.8", - "windows-sys 0.59.0", + "rustix", + "windows-sys 0.61.2", ] [[package]] @@ -17989,16 +18011,16 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" [[package]] name = "testnet-parachains-constants" -version = "17.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d3008409edfc82c826457043586baba2c17ca5105ad0acdc6f62f25e12e95a" +checksum = "cf046c8f3b848f9e394b046a945f323d1068eca9f3aa6132dd9147410c902fe8" dependencies = [ "cumulus-primitives-core", "frame-support", "polkadot-core-primitives", "rococo-runtime-constants", "smallvec", - "sp-runtime 43.0.0", + "sp-runtime 45.0.0", "staging-xcm", "westend-runtime-constants", ] @@ -18014,11 +18036,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.18", ] [[package]] @@ -18029,18 +18051,18 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -18063,30 +18085,30 @@ dependencies = [ [[package]] name = "time" -version = "0.3.41" +version = "0.3.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +checksum = "9da98b7d9b7dad93488a84b8248efc35352b0b2657397d4167e7ad67e5d535e5" dependencies = [ "deranged", "itoa", "num-conv", "powerfmt", - "serde", + "serde_core", "time-core", "time-macros", ] [[package]] name = "time-core" -version = "0.1.4" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +checksum = "7694e1cfe791f8d31026952abf09c69ca6f6fa4e1a1229e18988f06a04a12dca" [[package]] name = "time-macros" -version = "0.2.22" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +checksum = "78cc610bac2dcee56805c99642447d4c5dbde4d01f752ffea0199aee1f601dc4" dependencies = [ "num-conv", "time-core", @@ -18103,9 +18125,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", "zerovec", @@ -18113,9 +18135,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" +checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" dependencies = [ "tinyvec_macros", ] @@ -18128,22 +18150,19 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.47.0" +version = "1.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35" +checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" dependencies = [ - "backtrace", "bytes", - "io-uring", "libc", "mio", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", - "slab", - "socket2 0.6.0", + "socket2 0.6.2", "tokio-macros", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -18158,13 +18177,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -18200,19 +18219,19 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.2" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ - "rustls 0.23.31", + "rustls 0.23.36", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" +checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70" dependencies = [ "futures-core", "pin-project-lite", @@ -18231,22 +18250,6 @@ dependencies = [ "tungstenite 0.20.1", ] -[[package]] -name = "tokio-tungstenite" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" -dependencies = [ - "futures-util", - "log", - "rustls 0.23.31", - "rustls-native-certs 0.8.1", - "rustls-pki-types", - "tokio", - "tokio-rustls 0.26.2", - "tungstenite 0.26.2", -] - [[package]] name = "tokio-tungstenite" version = "0.27.0" @@ -18255,19 +18258,19 @@ checksum = "489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1" dependencies = [ "futures-util", "log", - "rustls 0.23.31", - "rustls-native-certs 0.8.1", + "rustls 0.23.36", + "rustls-native-certs 0.8.3", "rustls-pki-types", "tokio", - "tokio-rustls 0.26.2", + "tokio-rustls 0.26.4", "tungstenite 0.27.0", ] [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" dependencies = [ "bytes", "futures-core", @@ -18295,8 +18298,8 @@ checksum = "dc1beb996b9d83529a9e75c17a1686767d148d70663143c7854d8b4a09ced362" dependencies = [ "serde", "serde_spanned", - "toml_datetime", - "toml_edit", + "toml_datetime 0.6.11", + "toml_edit 0.22.27", ] [[package]] @@ -18308,20 +18311,50 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.7.5+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" version = "0.22.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "41fe8c660ae4257887cf66394862d21dbca4a6ddd26f04a3560410406a2f819a" dependencies = [ - "indexmap 2.10.0", + "indexmap 2.13.0", "serde", "serde_spanned", - "toml_datetime", + "toml_datetime 0.6.11", "toml_write", "winnow", ] +[[package]] +name = "toml_edit" +version = "0.23.10+spec-1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269" +dependencies = [ + "indexmap 2.13.0", + "toml_datetime 0.7.5+spec-1.1.0", + "toml_parser", + "winnow", +] + +[[package]] +name = "toml_parser" +version = "1.0.6+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44" +dependencies = [ + "winnow", +] + [[package]] name = "toml_write" version = "0.1.2" @@ -18347,9 +18380,9 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" +checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4" dependencies = [ "futures-core", "futures-util", @@ -18367,7 +18400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ "base64 0.21.7", - "bitflags 2.9.1", + "bitflags 2.10.0", "bytes", "futures-core", "futures-util", @@ -18383,18 +18416,18 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adc82fd73de2a9722ac5da747f12383d2bfdb93591ee6c58486e0097890f05f2" +checksum = "d4e6559d53cc268e5031cd8429d05415bc4cb4aefc4aa5d6cc35fbf5b924a1f8" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", "bytes", "futures-util", - "http 1.3.1", + "http 1.4.0", "http-body 1.0.1", "iri-string", "pin-project-lite", - "tower 0.5.2", + "tower 0.5.3", "tower-layer", "tower-service", ] @@ -18413,9 +18446,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100" dependencies = [ "log", "pin-project-lite", @@ -18425,20 +18458,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" +checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "tracing-core" -version = "0.1.34" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" +checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a" dependencies = [ "once_cell", "valuable", @@ -18466,14 +18499,14 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "2f30143827ddab0d256fd843b7a66d164e9f271cfa0dde49142c5ca0ca291f1e" dependencies = [ "matchers", "nu-ansi-term", "once_cell", - "regex", + "regex-automata", "sharded-slab", "smallvec", "thread_local", @@ -18535,26 +18568,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tungstenite" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" -dependencies = [ - "bytes", - "data-encoding", - "http 1.3.1", - "httparse", - "log", - "rand 0.9.2", - "rustls 0.23.31", - "rustls-pki-types", - "sha1", - "thiserror 2.0.12", - "url", - "utf-8", -] - [[package]] name = "tungstenite" version = "0.27.0" @@ -18563,14 +18576,14 @@ checksum = "eadc29d668c91fcc564941132e17b28a7ceb2f3ebf0b9dae3e03fd7a6748eb0d" dependencies = [ "bytes", "data-encoding", - "http 1.3.1", + "http 1.4.0", "httparse", "log", "rand 0.9.2", - "rustls 0.23.31", + "rustls 0.23.36", "rustls-pki-types", "sha1", - "thiserror 2.0.12", + "thiserror 2.0.18", "url", "utf-8", ] @@ -18595,9 +18608,9 @@ dependencies = [ [[package]] name = "twox-hash" -version = "2.1.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b907da542cbced5261bd3256de1b3a1bf340a3d37f93425a07362a1d687de56" +checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c" [[package]] name = "typeid" @@ -18607,9 +18620,9 @@ checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "ucd-trie" @@ -18649,9 +18662,9 @@ checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-normalization" @@ -18670,9 +18683,9 @@ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "unicode-xid" @@ -18732,14 +18745,15 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" dependencies = [ "form_urlencoded", "idna", "percent-encoding", "serde", + "serde_derive", ] [[package]] @@ -18762,11 +18776,11 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.17.0" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cf4199d1e5d15ddd86a694e4d0dffa9c323ce759fea589f00fef9d81cc1931d" +checksum = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f" dependencies = [ - "getrandom 0.3.3", + "getrandom 0.3.4", "js-sys", "wasm-bindgen", ] @@ -18898,47 +18912,35 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] -name = "wasi" -version = "0.14.2+wasi-0.2.4" +name = "wasip2" +version = "1.0.2+wasi-0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" dependencies = [ - "wit-bindgen-rt", + "wit-bindgen", ] [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "64024a30ec1e37399cf85a7ffefebdb72205ca1c972291c51512360d90bd8566" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.104", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "70a6e77fd0ae8029c9ea0063f87c46fde723e7d887703d74ad2616d792e51e6f" dependencies = [ "cfg-if", + "futures-util", "js-sys", "once_cell", "wasm-bindgen", @@ -18947,9 +18949,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "008b239d9c740232e71bd39e8ef6429d27097518b6b30bdf9086833bd5b6d608" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -18957,22 +18959,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "5256bae2d58f54820e6490f9839c49780dff84c65aeab9e772f15d5f0e913a55" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.104", - "wasm-bindgen-backend", + "syn 2.0.114", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "1f01b580c9ac74c8d8f0c0e4afb04eeef2acf145458e52c03845ee9cd23e3d12" dependencies = [ "unicode-ident", ] @@ -19092,23 +19094,13 @@ dependencies = [ "wasmi_core", ] -[[package]] -name = "wasmparser" -version = "0.102.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" -dependencies = [ - "indexmap 1.9.3", - "url", -] - [[package]] name = "wasmparser" version = "0.221.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d06bfa36ab3ac2be0dee563380147a5b81ba10dd8885d7fbbc9eb574be67d185" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.10.0", ] [[package]] @@ -19117,10 +19109,10 @@ version = "0.235.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "161296c618fa2d63f6ed5fffd1112937e803cb9ec71b32b01a76321555660917" dependencies = [ - "bitflags 2.9.1", - "hashbrown 0.15.4", - "indexmap 2.10.0", - "semver 1.0.26", + "bitflags 2.10.0", + "hashbrown 0.15.5", + "indexmap 2.13.0", + "semver 1.0.27", "serde", ] @@ -19135,34 +19127,6 @@ dependencies = [ "wasmparser 0.235.0", ] -[[package]] -name = "wasmtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" -dependencies = [ - "anyhow", - "bincode", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "object 0.30.4", - "once_cell", - "paste", - "psm", - "rayon", - "serde", - "target-lexicon 0.12.16", - "wasmparser 0.102.0", - "wasmtime-cache", - "wasmtime-cranelift", - "wasmtime-environ 8.0.1", - "wasmtime-jit", - "wasmtime-runtime", - "windows-sys 0.45.0", -] - [[package]] name = "wasmtime" version = "35.0.0" @@ -19171,13 +19135,15 @@ checksum = "b6fe976922a16af3b0d67172c473d1fd4f1aa5d0af9c8ba6538c741f3af686f4" dependencies = [ "addr2line 0.24.2", "anyhow", - "bitflags 2.9.1", + "bitflags 2.10.0", "bumpalo", "cc", "cfg-if", + "fxprof-processed-profile", "gimli 0.31.1", - "hashbrown 0.15.4", - "indexmap 2.10.0", + "hashbrown 0.15.5", + "indexmap 2.13.0", + "ittapi", "libc", "log", "mach2", @@ -19187,17 +19153,19 @@ dependencies = [ "postcard", "pulley-interpreter", "rayon", - "rustix 1.0.8", + "rustix", "serde", "serde_derive", + "serde_json", "smallvec", - "target-lexicon 0.13.4", + "target-lexicon", "wasmparser 0.235.0", - "wasmtime-environ 35.0.0", + "wasmtime-environ", "wasmtime-internal-asm-macros", "wasmtime-internal-cache", "wasmtime-internal-cranelift", "wasmtime-internal-fiber", + "wasmtime-internal-jit-debug", "wasmtime-internal-jit-icache-coherence", "wasmtime-internal-math", "wasmtime-internal-slab", @@ -19207,91 +19175,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "wasmtime-asm-macros" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" -dependencies = [ - "cfg-if", -] - -[[package]] -name = "wasmtime-cache" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" -dependencies = [ - "anyhow", - "base64 0.21.7", - "bincode", - "directories-next", - "file-per-thread-logger", - "log", - "rustix 0.36.17", - "serde", - "sha2 0.10.9", - "toml 0.5.11", - "windows-sys 0.45.0", - "zstd 0.11.2+zstd.1.5.2", -] - -[[package]] -name = "wasmtime-cranelift" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" -dependencies = [ - "anyhow", - "cranelift-codegen 0.95.1", - "cranelift-entity 0.95.1", - "cranelift-frontend 0.95.1", - "cranelift-native 0.95.1", - "cranelift-wasm", - "gimli 0.27.3", - "log", - "object 0.30.4", - "target-lexicon 0.12.16", - "thiserror 1.0.69", - "wasmparser 0.102.0", - "wasmtime-cranelift-shared", - "wasmtime-environ 8.0.1", -] - -[[package]] -name = "wasmtime-cranelift-shared" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" -dependencies = [ - "anyhow", - "cranelift-codegen 0.95.1", - "cranelift-native 0.95.1", - "gimli 0.27.3", - "object 0.30.4", - "target-lexicon 0.12.16", - "wasmtime-environ 8.0.1", -] - -[[package]] -name = "wasmtime-environ" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" -dependencies = [ - "anyhow", - "cranelift-entity 0.95.1", - "gimli 0.27.3", - "indexmap 1.9.3", - "log", - "object 0.30.4", - "serde", - "target-lexicon 0.12.16", - "thiserror 1.0.69", - "wasmparser 0.102.0", - "wasmtime-types", -] - [[package]] name = "wasmtime-environ" version = "35.0.0" @@ -19299,11 +19182,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44b6264a78d806924abbc76bbc75eac24976bc83bdfb938e5074ae551242436f" dependencies = [ "anyhow", - "cpp_demangle 0.4.5", + "cpp_demangle", "cranelift-bitset", - "cranelift-entity 0.122.0", + "cranelift-entity", "gimli 0.31.1", - "indexmap 2.10.0", + "indexmap 2.13.0", "log", "object 0.36.7", "postcard", @@ -19311,7 +19194,7 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "target-lexicon 0.13.4", + "target-lexicon", "wasm-encoder", "wasmparser 0.235.0", "wasmprinter", @@ -19337,7 +19220,7 @@ dependencies = [ "directories-next", "log", "postcard", - "rustix 1.0.8", + "rustix", "serde", "serde_derive", "sha2 0.10.9", @@ -19354,21 +19237,21 @@ checksum = "7ec9ad7565e6a8de7cb95484e230ff689db74a4a085219e0da0cbd637a29c01c" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen 0.122.0", + "cranelift-codegen", "cranelift-control", - "cranelift-entity 0.122.0", - "cranelift-frontend 0.122.0", - "cranelift-native 0.122.0", + "cranelift-entity", + "cranelift-frontend", + "cranelift-native", "gimli 0.31.1", "itertools 0.14.0", "log", "object 0.36.7", "pulley-interpreter", "smallvec", - "target-lexicon 0.13.4", - "thiserror 2.0.12", + "target-lexicon", + "thiserror 2.0.18", "wasmparser 0.235.0", - "wasmtime-environ 35.0.0", + "wasmtime-environ", "wasmtime-internal-math", "wasmtime-internal-versioned-export-macros", ] @@ -19383,12 +19266,24 @@ dependencies = [ "cc", "cfg-if", "libc", - "rustix 1.0.8", + "rustix", "wasmtime-internal-asm-macros", "wasmtime-internal-versioned-export-macros", "windows-sys 0.59.0", ] +[[package]] +name = "wasmtime-internal-jit-debug" +version = "35.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61d8693995ab3df48e88777b6ee3b2f441f2c4f895ab938996cdac3db26f256c" +dependencies = [ + "cc", + "object 0.36.7", + "rustix", + "wasmtime-internal-versioned-export-macros", +] + [[package]] name = "wasmtime-internal-jit-icache-coherence" version = "35.0.0" @@ -19424,7 +19319,7 @@ checksum = "307708f302f5dcf19c1bbbfb3d9f2cbc837dd18088a7988747b043a46ba38ecc" dependencies = [ "anyhow", "cfg-if", - "cranelift-codegen 0.122.0", + "cranelift-codegen", "log", "object 0.36.7", ] @@ -19437,7 +19332,7 @@ checksum = "342b0466f92b7217a4de9e114175fedee1907028567d2548bcd42f71a8b5b016" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -19447,103 +19342,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2012e7384c25b91aab2f1b6a1e1cbab9d0f199bbea06cc873597a3f047f05730" dependencies = [ "anyhow", - "cranelift-codegen 0.122.0", + "cranelift-codegen", "gimli 0.31.1", "object 0.36.7", - "target-lexicon 0.13.4", + "target-lexicon", "wasmparser 0.235.0", - "wasmtime-environ 35.0.0", + "wasmtime-environ", "wasmtime-internal-cranelift", "winch-codegen", ] -[[package]] -name = "wasmtime-jit" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" -dependencies = [ - "addr2line 0.19.0", - "anyhow", - "bincode", - "cfg-if", - "cpp_demangle 0.3.5", - "gimli 0.27.3", - "log", - "object 0.30.4", - "rustc-demangle", - "serde", - "target-lexicon 0.12.16", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug", - "wasmtime-jit-icache-coherence", - "wasmtime-runtime", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-jit-debug" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" -dependencies = [ - "object 0.30.4", - "once_cell", - "rustix 0.36.17", -] - -[[package]] -name = "wasmtime-jit-icache-coherence" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" -dependencies = [ - "cfg-if", - "libc", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-runtime" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" -dependencies = [ - "anyhow", - "cc", - "cfg-if", - "indexmap 1.9.3", - "libc", - "log", - "mach", - "memfd", - "memoffset", - "paste", - "rand 0.8.5", - "rustix 0.36.17", - "wasmtime-asm-macros", - "wasmtime-environ 8.0.1", - "wasmtime-jit-debug", - "windows-sys 0.45.0", -] - -[[package]] -name = "wasmtime-types" -version = "8.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" -dependencies = [ - "cranelift-entity 0.95.1", - "serde", - "thiserror 1.0.69", - "wasmparser 0.102.0", -] - [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "312e32e551d92129218ea9a2452120f4aabc03529ef03e4d0d82fb2780608598" dependencies = [ "js-sys", "wasm-bindgen", @@ -19565,14 +19378,14 @@ version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" dependencies = [ - "webpki-root-certs 1.0.2", + "webpki-root-certs 1.0.5", ] [[package]] name = "webpki-root-certs" -version = "1.0.2" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a" +checksum = "36a29fc0408b113f68cf32637857ab740edfafdf460c326cd2afaa2d84cc05dc" dependencies = [ "rustls-pki-types", ] @@ -19585,16 +19398,16 @@ checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" [[package]] name = "westend-runtime-constants" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "165eb3a439aa4b035703ea15f8752532e25643566a10c8faa12a3b181b915682" +checksum = "9f5c91a17bd066a495d3df9ed4098b3238c757361bc4c043101b6d2e0a3e3fe2" dependencies = [ "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime 43.0.0", + "sp-core 39.0.0", + "sp-runtime 45.0.0", "sp-weights", "staging-xcm", "staging-xcm-builder", @@ -19612,9 +19425,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" +checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471" [[package]] name = "winapi" @@ -19634,11 +19447,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -19655,14 +19468,14 @@ checksum = "839a334ef7c62d8368dbd427e767a6fbb1ba08cc12ecce19cbb666c10613b585" dependencies = [ "anyhow", "cranelift-assembler-x64", - "cranelift-codegen 0.122.0", + "cranelift-codegen", "gimli 0.31.1", "regalloc2 0.12.2", "smallvec", - "target-lexicon 0.13.4", - "thiserror 2.0.12", + "target-lexicon", + "thiserror 2.0.18", "wasmparser 0.235.0", - "wasmtime-environ 35.0.0", + "wasmtime-environ", "wasmtime-internal-cranelift", "wasmtime-internal-math", ] @@ -19677,28 +19490,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows" -version = "0.61.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" -dependencies = [ - "windows-collections", - "windows-core 0.61.2", - "windows-future", - "windows-link", - "windows-numerics", -] - -[[package]] -name = "windows-collections" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" -dependencies = [ - "windows-core 0.61.2", -] - [[package]] name = "windows-core" version = "0.53.0" @@ -19711,74 +19502,53 @@ dependencies = [ [[package]] name = "windows-core" -version = "0.61.2" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", "windows-link", - "windows-result 0.3.4", + "windows-result 0.4.1", "windows-strings", ] -[[package]] -name = "windows-future" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" -dependencies = [ - "windows-core 0.61.2", - "windows-link", - "windows-threading", -] - [[package]] name = "windows-implement" -version = "0.60.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "windows-interface" -version = "0.59.1" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "windows-link" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" - -[[package]] -name = "windows-numerics" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" -dependencies = [ - "windows-core 0.61.2", - "windows-link", -] +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" [[package]] name = "windows-registry" -version = "0.5.3" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a9ed28765efc97bbc954883f4e6796c33a06546ebafacbabee9696967499e" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" dependencies = [ "windows-link", - "windows-result 0.3.4", + "windows-result 0.4.1", "windows-strings", ] @@ -19793,18 +19563,18 @@ dependencies = [ [[package]] name = "windows-result" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" dependencies = [ "windows-link", ] [[package]] name = "windows-strings" -version = "0.4.2" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ "windows-link", ] @@ -19851,7 +19621,16 @@ version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" dependencies = [ - "windows-targets 0.53.3", + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", ] [[package]] @@ -19902,28 +19681,19 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" -dependencies = [ - "windows-link", - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", -] - -[[package]] -name = "windows-threading" -version = "0.1.0" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ "windows-link", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -19946,9 +19716,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" @@ -19970,9 +19740,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" @@ -19994,9 +19764,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" @@ -20006,9 +19776,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" @@ -20030,9 +19800,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_i686_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" @@ -20054,9 +19824,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" @@ -20078,9 +19848,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" @@ -20102,15 +19872,15 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" -version = "0.7.12" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3edebf492c8125044983378ecb5766203ad3b4c2f7a922bd7dd207f6d443e95" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" dependencies = [ "memchr", ] @@ -20126,19 +19896,16 @@ dependencies = [ ] [[package]] -name = "wit-bindgen-rt" -version = "0.39.0" +name = "wit-bindgen" +version = "0.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" -dependencies = [ - "bitflags 2.9.1", -] +checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" [[package]] name = "writeable" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "wyz" @@ -20191,25 +19958,25 @@ dependencies = [ "nom 7.1.3", "oid-registry 0.8.1", "rusticata-macros", - "thiserror 2.0.12", + "thiserror 2.0.18", "time", ] [[package]] name = "xattr" -version = "1.5.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af3a19837351dc82ba89f8a125e22a3c475f05aba604acc023d62b2739ae2909" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "rustix 1.0.8", + "rustix", ] [[package]] name = "xcm-emulator" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51dc3044122d10846d15aabc7b381a7591dd1a7a9841ad243f5c4256fe0e9386" +checksum = "787ad485a0c770c130d15d7421bcb35e2cd6873568397e2b1180cb1d0451b146" dependencies = [ "array-bytes 6.2.3", "cumulus-pallet-parachain-system", @@ -20219,7 +19986,7 @@ dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", - "log", + "pallet-aura", "pallet-balances", "pallet-message-queue", "pallet-timestamp", @@ -20230,13 +19997,15 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-parachains", "sp-arithmetic", - "sp-core", + "sp-consensus-aura", + "sp-core 39.0.0", "sp-crypto-hashing", - "sp-io 42.0.0", - "sp-runtime 43.0.0", - "sp-tracing 18.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", + "sp-tracing", "staging-xcm", "staging-xcm-executor", + "tracing", "xcm-simulator", ] @@ -20249,19 +20018,19 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "xcm-runtime-apis" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fdec3d7bed063bd760bb15afd7d1818ed070b3f70773ace165ddee392042755" +checksum = "fd4fdfa1a38598cb8f49012d2b1f5b0b07d46aaae7c2e19d96f0674c970c4eab" dependencies = [ "frame-support", "parity-scale-codec", "scale-info", - "sp-api 38.0.0", + "sp-api 40.0.0", "sp-weights", "staging-xcm", "staging-xcm-executor", @@ -20269,9 +20038,9 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bdc7fa003940ad9b233eb50784384f8c04fa2c8375c26e6702a930c67345127" +checksum = "a77cef52b3a7e1b4209988ba3a5cdbdc11949c312bd6ccc518bb8579bb61b6a7" dependencies = [ "frame-support", "frame-system", @@ -20282,8 +20051,8 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-parachains", "scale-info", - "sp-io 42.0.0", - "sp-runtime 43.0.0", + "sp-io 44.0.0", + "sp-runtime 45.0.0", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -20291,9 +20060,9 @@ dependencies = [ [[package]] name = "xml-rs" -version = "0.8.27" +version = "0.8.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7" +checksum = "3ae8337f8a065cfc972643663ea4279e04e7256de865aa66fe25cec5fb912d3f" [[package]] name = "xmltree" @@ -20313,7 +20082,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.8.5", "static_assertions", @@ -20321,14 +20090,14 @@ dependencies = [ [[package]] name = "yamux" -version = "0.13.6" +version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2dd50a6d6115feb3e5d7d0efd45e8ca364b6c83722c1e9c602f5764e0e9597" +checksum = "deab71f2e20691b4728b349c6cee8fc7223880fa67b6b4f92225ec32225447e5" dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.4", + "parking_lot 0.12.5", "pin-project", "rand 0.9.2", "static_assertions", @@ -20352,11 +20121,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -20364,34 +20132,34 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", "synstructure 0.13.2", ] [[package]] name = "zerocopy" -version = "0.8.26" +version = "0.8.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" +checksum = "7456cf00f0685ad319c5b1693f291a650eaf345e941d082fc4e03df8a03996ac" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.26" +version = "0.8.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" +checksum = "1328722bbf2115db7e19d69ebcc15e795719e2d66b60827c6a69a117365e37a0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] @@ -20411,35 +20179,35 @@ checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", "synstructure 0.13.2", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" dependencies = [ "zeroize_derive", ] [[package]] name = "zeroize_derive" -version = "1.4.2" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +checksum = "85a5b4158499876c763cb03bc4e49185d3cccbabb15b33c627f7884f43db852e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] [[package]] name = "zerotrie" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" dependencies = [ "displaydoc", "yoke", @@ -20448,9 +20216,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.2" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ "yoke", "zerofrom", @@ -20459,20 +20227,26 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.11.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.104", + "syn 2.0.114", ] +[[package]] +name = "zmij" +version = "1.0.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ff05f8caa9038894637571ae6b9e29466c1f4f829d26c9b28f869a29cbe3445" + [[package]] name = "zombienet-configuration" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56b3a34dbfbcfc9498ac71ba77f2e880748eb7431d20c9649258537da2527a78" +checksum = "60d255a21db0f4fd0447053d02d71d4346c11ad7d2c403dc15d60e6f8dc1e545" dependencies = [ "anyhow", "lazy_static", @@ -20491,9 +20265,9 @@ dependencies = [ [[package]] name = "zombienet-orchestrator" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28c16131a14f80b8af8907378bb159cdf7a775cb3e92456f2a374f63b9879b00" +checksum = "56b30135f9f983d90b0f201210acb6693a2a06a12dcb452fa5698f1a52c92028" dependencies = [ "anyhow", "async-trait", @@ -20512,7 +20286,7 @@ dependencies = [ "serde", "serde_json", "sha2 0.10.9", - "sp-core", + "sp-core 38.1.0", "subxt 0.44.2", "subxt-signer 0.44.2", "thiserror 1.0.69", @@ -20527,9 +20301,9 @@ dependencies = [ [[package]] name = "zombienet-prom-metrics-parser" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75db0dc678d917117a1644c08b8577f8190f974702ea7044a1e3267c6860d2cf" +checksum = "5c0fea78859330462e86e5c9d767aa2bd299c529b423240e6d5c019f92de295f" dependencies = [ "pest", "pest_derive", @@ -20538,9 +20312,9 @@ dependencies = [ [[package]] name = "zombienet-provider" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6804016142decafab37816cfa3377fed24a832ba23ec04c2953c8701ccc387" +checksum = "8313cfd06cd3e7b9991e799ab11edce54e32f5a627248444ba52492fcf3b03c4" dependencies = [ "anyhow", "async-trait", @@ -20570,9 +20344,9 @@ dependencies = [ [[package]] name = "zombienet-sdk" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19b2996bab49863d94343fd149a7027d6769a0d4825e644e660ae84dd538d91" +checksum = "41d921f6c33dfe1724a745469f1bcca1752482275332dff589fdd732a48bd0db" dependencies = [ "async-trait", "futures", @@ -20592,17 +20366,17 @@ version = "0.1.0" dependencies = [ "anyhow", "log", - "subxt 0.43.0", + "subxt 0.43.1", "tokio", - "tracing-subscriber 0.3.19", + "tracing-subscriber 0.3.22", "zombienet-sdk", ] [[package]] name = "zombienet-support" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ac706c2796d47a03a00ea896362f4ce92fce5e2670af31a8b8c559638c0c949" +checksum = "79b8ce21d656058123978e3d7590dd7f9dd253f9b2a581cd39dcb3998dd229e5" dependencies = [ "anyhow", "async-trait", @@ -20619,15 +20393,6 @@ dependencies = [ "uuid", ] -[[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" -dependencies = [ - "zstd-safe 5.0.2+zstd.1.5.2", -] - [[package]] name = "zstd" version = "0.12.4" @@ -20646,16 +20411,6 @@ dependencies = [ "zstd-safe 7.2.4", ] -[[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" -dependencies = [ - "libc", - "zstd-sys", -] - [[package]] name = "zstd-safe" version = "6.0.6" @@ -20677,9 +20432,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.15+zstd.1.5.7" +version = "2.0.16+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" +checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 2cb9687103..611e8432d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ license = "GPL-3.0-only" # TODO Vec<(AccountId, AssetHubPolkadotAuraId)> { vec![ - (Sr25519Keyring::Alice.to_account_id(), Ed25519Keyring::Alice.public().into()), - (Sr25519Keyring::Bob.to_account_id(), Ed25519Keyring::Bob.public().into()), + (Sr25519Keyring::Dave.to_account_id(), Ed25519Keyring::Dave.public().into()), + (Sr25519Keyring::Eve.to_account_id(), Ed25519Keyring::Eve.public().into()), ] } } diff --git a/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/lib.rs b/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/lib.rs index 2731fd352b..e8a82e9993 100644 --- a/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/lib.rs +++ b/integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot/src/lib.rs @@ -59,5 +59,9 @@ impl_accounts_helpers_for_parachain!(AssetHubPolkadot); impl_assert_events_helpers_for_parachain!(AssetHubPolkadot); impl_assets_helpers_for_system_parachain!(AssetHubPolkadot, Polkadot); impl_assets_helpers_for_parachain!(AssetHubPolkadot); -impl_foreign_assets_helpers_for_parachain!(AssetHubPolkadot, xcm::latest::Location); +impl_foreign_assets_helpers_for_parachain!( + AssetHubPolkadot, + xcm::latest::Location, + assets_common::local_and_foreign_assets::ForeignAssetReserveData +); impl_xcm_helpers_for_parachain!(AssetHubPolkadot); diff --git a/integration-tests/emulated/chains/parachains/testing/penpal/src/lib.rs b/integration-tests/emulated/chains/parachains/testing/penpal/src/lib.rs index bcb7bbb4b9..694dfbc96e 100644 --- a/integration-tests/emulated/chains/parachains/testing/penpal/src/lib.rs +++ b/integration-tests/emulated/chains/parachains/testing/penpal/src/lib.rs @@ -96,7 +96,15 @@ impl_assert_events_helpers_for_parachain!(PenpalA); impl_assert_events_helpers_for_parachain!(PenpalB); impl_assets_helpers_for_parachain!(PenpalA); impl_assets_helpers_for_parachain!(PenpalB); -impl_foreign_assets_helpers_for_parachain!(PenpalA, xcm::latest::Location); -impl_foreign_assets_helpers_for_parachain!(PenpalB, xcm::latest::Location); +impl_foreign_assets_helpers_for_parachain!( + PenpalA, + xcm::latest::Location, + penpal_runtime::ForeignAssetReserveData +); +impl_foreign_assets_helpers_for_parachain!( + PenpalB, + xcm::latest::Location, + penpal_runtime::ForeignAssetReserveData +); impl_xcm_helpers_for_parachain!(PenpalA); impl_xcm_helpers_for_parachain!(PenpalB); diff --git a/integration-tests/emulated/helpers/Cargo.toml b/integration-tests/emulated/helpers/Cargo.toml index e99d68cb69..05a302b622 100644 --- a/integration-tests/emulated/helpers/Cargo.toml +++ b/integration-tests/emulated/helpers/Cargo.toml @@ -17,6 +17,7 @@ pallet-message-queue = { workspace = true, default-features = true } # Polkadot xcm = { workspace = true, default-features = true } +xcm-runtime-apis = { workspace = true, default-features = true } pallet-xcm = { workspace = true, default-features = true } # Cumulus @@ -30,5 +31,6 @@ runtime-benchmarks = [ "pallet-balances/runtime-benchmarks", "pallet-message-queue/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "xcm-runtime-apis/runtime-benchmarks", "xcm/runtime-benchmarks", ] diff --git a/integration-tests/emulated/helpers/src/lib.rs b/integration-tests/emulated/helpers/src/lib.rs index 84718238e8..7777ecbce3 100644 --- a/integration-tests/emulated/helpers/src/lib.rs +++ b/integration-tests/emulated/helpers/src/lib.rs @@ -21,7 +21,8 @@ pub use pallet_message_queue; // Polkadot pub use pallet_xcm; -pub use xcm::prelude::{AccountId32, VersionedAssets, Weight, WeightLimit}; +pub use xcm::prelude::{AccountId32, VersionedAssetId, VersionedAssets, Weight, WeightLimit}; +pub use xcm_runtime_apis::fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2; // Cumulus pub use cumulus_pallet_xcmp_queue; @@ -87,8 +88,10 @@ macro_rules! test_relay_is_trusted_teleporter { .unwrap(); assert_eq!(messages_to_query.len(), 1); remote_message = messages_to_query[0].clone(); + // Native asset of the relay chain for delivery fees + let asset_id_for_delivery_fees = $crate::VersionedAssetId::from(Here); let delivery_fees = - Runtime::query_delivery_fees(destination_to_query.clone(), remote_message.clone()) + >::query_delivery_fees(destination_to_query.clone(), remote_message.clone(), asset_id_for_delivery_fees) .unwrap(); let latest_delivery_fees: Assets = delivery_fees.clone().try_into().unwrap(); let Fungible(inner_delivery_fees_amount) = latest_delivery_fees.inner()[0].fun else { @@ -232,8 +235,10 @@ macro_rules! test_parachain_is_trusted_teleporter_for_relay { .unwrap(); assert_eq!(messages_to_query.len(), 1); remote_message = messages_to_query[0].clone(); + // Native asset of the relay chain for delivery fees + let asset_id_for_delivery_fees = $crate::VersionedAssetId::from(Parent); let delivery_fees = - Runtime::query_delivery_fees(destination_to_query.clone(), remote_message.clone()) + >::query_delivery_fees(destination_to_query.clone(), remote_message.clone(), asset_id_for_delivery_fees) .unwrap(); let latest_delivery_fees: Assets = delivery_fees.clone().try_into().unwrap(); delivery_fees_amount = if let Some(first_asset) = latest_delivery_fees.inner().first() { @@ -375,8 +380,10 @@ macro_rules! test_parachain_is_trusted_teleporter { .unwrap(); assert_eq!(messages_to_query.len(), 1); remote_message = messages_to_query[0].clone(); + // Native asset of the relay chain for delivery fees + let asset_id_for_delivery_fees = $crate::VersionedAssetId::from(Parent); let delivery_fees = - Runtime::query_delivery_fees(destination_to_query.clone(), remote_message.clone()) + >::query_delivery_fees(destination_to_query.clone(), remote_message.clone(), asset_id_for_delivery_fees) .unwrap(); let latest_delivery_fees: Assets = delivery_fees.clone().try_into().unwrap(); let Fungible(inner_delivery_fees_amount) = latest_delivery_fees.inner()[0].fun else { diff --git a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs index e54e1ec9d7..5ca6ba8bc2 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/swap.rs @@ -114,7 +114,8 @@ fn swap_locally_on_chain_using_local_assets() { #[test] fn swap_locally_on_chain_using_foreign_assets() { let asset_native = Box::new(asset_hub_kusama_runtime::xcm_config::KsmLocation::get()); - let asset_location_on_penpal: Location = PenpalLocalTeleportableToAssetHub::get(); + let asset_location_on_penpal: Location = + PenpalA::execute_with(PenpalLocalTeleportableToAssetHub::get); let foreign_asset_at_asset_hub_kusama = Location::new(1, [Parachain(PenpalA::para_id().into())]) .appended_with(asset_location_on_penpal) diff --git a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs index a954765f1c..e010b59449 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/teleport.rs @@ -21,10 +21,7 @@ use frame_support::{ traits::fungible::Mutate, }; use kusama_system_emulated_network::penpal_emulated_chain::LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; fn relay_dest_assertions_fail(_t: SystemParaToRelayTest) { Kusama::assert_ump_queue_processed(false, Some(AssetHubKusama::para_id()), None); @@ -312,7 +309,7 @@ pub fn do_bidirectional_teleport_foreign_assets_between_para_and_asset_hub_using ) { // Init values for Parachain let fee_amount_to_send: Balance = ASSET_HUB_KUSAMA_ED * 10000; - let asset_location_on_penpal = PenpalLocalTeleportableToAssetHub::get(); + let asset_location_on_penpal = PenpalA::execute_with(PenpalLocalTeleportableToAssetHub::get); let asset_id_on_penpal = match asset_location_on_penpal.last() { Some(Junction::GeneralIndex(id)) => *id as u32, _ => unreachable!(), diff --git a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/xcm_fee_estimation.rs b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/xcm_fee_estimation.rs index bb76134bba..d104115994 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/xcm_fee_estimation.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-kusama/src/tests/xcm_fee_estimation.rs @@ -29,7 +29,7 @@ use frame_support::{ use xcm::prelude::*; use xcm_runtime_apis::{ dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, + fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, }; /// We are able to dry-run and estimate the fees for a multi-hop XCM journey. @@ -94,9 +94,13 @@ fn multi_hop_works() { .unwrap(); assert_eq!(messages_to_query.len(), 1); remote_message = messages_to_query[0].clone(); - let delivery_fees = - Runtime::query_delivery_fees(destination_to_query.clone(), remote_message.clone()) - .unwrap(); + let asset_id_for_delivery_fees = VersionedAssetId::from(Location::parent()); + let delivery_fees = Runtime::query_delivery_fees( + destination_to_query.clone(), + remote_message.clone(), + asset_id_for_delivery_fees, + ) + .unwrap(); delivery_fees_amount = get_amount_from_versioned_assets(delivery_fees); }); @@ -137,9 +141,11 @@ fn multi_hop_works() { // We could've gotten the message from the queue without having to dry-run, but // offchain applications would have to dry-run, so we do it here as well. intermediate_remote_message = messages_to_query[0].clone(); + let asset_id_for_delivery_fees = VersionedAssetId::from(Location::parent()); let delivery_fees = Runtime::query_delivery_fees( destination_to_query.clone(), intermediate_remote_message.clone(), + asset_id_for_delivery_fees, ) .unwrap(); intermediate_delivery_fees_amount = get_amount_from_versioned_assets(delivery_fees); diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs index 20e1cd9f20..705d6fa983 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/swap.rs @@ -121,7 +121,8 @@ fn swap_locally_on_chain_using_local_assets() { #[test] fn swap_locally_on_chain_using_foreign_assets() { let asset_native = Box::new(asset_hub_polkadot_runtime::xcm_config::DotLocation::get()); - let asset_location_on_penpal: Location = PenpalLocalTeleportableToAssetHub::get(); + let asset_location_on_penpal: Location = + PenpalA::execute_with(PenpalLocalTeleportableToAssetHub::get); let foreign_asset_at_asset_hub_polkadot = Location::new(1, [Parachain(PenpalA::para_id().into())]) .appended_with(asset_location_on_penpal) diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs index 11e15838fd..20462a74c6 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/teleport.rs @@ -22,10 +22,7 @@ use frame_support::{ traits::fungible::Mutate, }; use polkadot_system_emulated_network::penpal_emulated_chain::LocalTeleportableToAssetHub as PenpalLocalTeleportableToAssetHub; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; fn relay_dest_assertions_fail(_t: SystemParaToRelayTest) { Polkadot::assert_ump_queue_processed(false, Some(AssetHubPolkadot::para_id()), None); @@ -314,7 +311,7 @@ pub fn do_bidirectional_teleport_foreign_assets_between_para_and_asset_hub_using ) { // Init values for Parachain let fee_amount_to_send: Balance = ASSET_HUB_POLKADOT_ED * 10000; - let asset_location_on_penpal = PenpalLocalTeleportableToAssetHub::get(); + let asset_location_on_penpal = PenpalA::execute_with(PenpalLocalTeleportableToAssetHub::get); let asset_id_on_penpal = match asset_location_on_penpal.last() { Some(GeneralIndex(id)) => *id as u32, _ => unreachable!(), diff --git a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/xcm_fee_estimation.rs b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/xcm_fee_estimation.rs index be694aea5a..e0eac5204a 100644 --- a/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/xcm_fee_estimation.rs +++ b/integration-tests/emulated/tests/assets/asset-hub-polkadot/src/tests/xcm_fee_estimation.rs @@ -29,7 +29,7 @@ use frame_support::{ use xcm::prelude::*; use xcm_runtime_apis::{ dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, + fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2, }; /// We are able to dry-run and estimate the fees for a multi-hop XCM journey. @@ -95,9 +95,13 @@ fn multi_hop_works() { .unwrap(); assert_eq!(messages_to_query.len(), 1); remote_message = messages_to_query[0].clone(); - let delivery_fees = - Runtime::query_delivery_fees(destination_to_query.clone(), remote_message.clone()) - .unwrap(); + let asset_id_for_delivery_fees = VersionedAssetId::from(Location::parent()); + let delivery_fees = Runtime::query_delivery_fees( + destination_to_query.clone(), + remote_message.clone(), + asset_id_for_delivery_fees, + ) + .unwrap(); delivery_fees_amount = get_amount_from_versioned_assets(delivery_fees); }); @@ -138,9 +142,11 @@ fn multi_hop_works() { // We could've gotten the message from the queue without having to dry-run, but // offchain applications would have to dry-run, so we do it here as well. intermediate_remote_message = messages_to_query[0].clone(); + let asset_id_for_delivery_fees = VersionedAssetId::from(Location::parent()); let delivery_fees = Runtime::query_delivery_fees( destination_to_query.clone(), intermediate_remote_message.clone(), + asset_id_for_delivery_fees, ) .unwrap(); intermediate_delivery_fees_amount = get_amount_from_versioned_assets(delivery_fees); diff --git a/integration-tests/emulated/tests/bridges/bridge-hub-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/bridges/bridge-hub-kusama/src/tests/teleport.rs index 07990482f7..30967927ec 100644 --- a/integration-tests/emulated/tests/bridges/bridge-hub-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/bridges/bridge-hub-kusama/src/tests/teleport.rs @@ -23,10 +23,7 @@ use integration_tests_helpers::{ test_parachain_is_trusted_teleporter, test_parachain_is_trusted_teleporter_for_relay, test_relay_is_trusted_teleporter, }; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/snowbridge.rs b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/snowbridge.rs index 27619a4a98..c03b2cb086 100644 --- a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/snowbridge.rs +++ b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/snowbridge.rs @@ -566,30 +566,29 @@ fn ethereum_sovereign_account() -> AccountId { } fn make_register_token_message() -> EventFixture { - EventFixture{ + EventFixture { event: EventProof { - event_log: Log{ + event_log: Log { address: hex!("eda338e4dc46038493b885327842fd3e301cab39").into(), topics: vec![ hex!("7153f9357c8ea496bba60bf82e67143e27b64462b49041f8e689e1b05728f84f").into(), hex!("c173fac324158e77fb5840738a1a541f633cbec8884c6a601c567d2b376a0539").into(), hex!("5f7060e971b0dc81e63f0aa41831091847d97c1a4693ac450cc128c7214e65e0").into(), ], - data: hex!("00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002e0001000000000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7d00e40b54020000000000000000000000000000000000000000000000000000000000").into(), + data: hex!("00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002e00a736aa00000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7d00e40b54020000000000000000000000000000000000000000000000000000000000").into(), }, proof: Proof { - receipt_proof: (vec![ - hex!("4a98e45a319168b0fc6005ce6b744ee9bf54338e2c0784b976a8578d241ced0f").to_vec(), - ], vec![ - hex!("f9028c30b9028802f90284018301d205b9010000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000080000000000000000000000000000004000000000080000000000000000000000000000000000010100000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000040004000000000000002000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000200000000000010f90179f85894eda338e4dc46038493b885327842fd3e301cab39e1a0f78bb28d4b1d7da699e5c0bc2be29c2b04b5aab6aacf6298fe5304f9db9c6d7ea000000000000000000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7df9011c94eda338e4dc46038493b885327842fd3e301cab39f863a07153f9357c8ea496bba60bf82e67143e27b64462b49041f8e689e1b05728f84fa0c173fac324158e77fb5840738a1a541f633cbec8884c6a601c567d2b376a0539a05f7060e971b0dc81e63f0aa41831091847d97c1a4693ac450cc128c7214e65e0b8a000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002e0001000000000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7d00e40b54020000000000000000000000000000000000000000000000000000000000").to_vec(), - ]), + receipt_proof: vec![ + hex!("f851a09c01dd6d2d8de951c45af23d3ad00829ce021c04d6c8acbe1612d456ee320d4980808080808080a04a98e45a319168b0fc6005ce6b744ee9bf54338e2c0784b976a8578d241ced0f8080808080808080").to_vec(), + hex!("f9028c30b9028802f90284018301d205b9010000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000080000000000000000000000000000004000000000080000000000000000000000000000000000010100000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000040004000000000000002000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000200000000000010f90179f85894eda338e4dc46038493b885327842fd3e301cab39e1a0f78bb28d4b1d7da699e5c0bc2be29c2b04b5aab6aacf6298fe5304f9db9c6d7ea000000000000000000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7df9011c94eda338e4dc46038493b885327842fd3e301cab39f863a07153f9357c8ea496bba60bf82e67143e27b64462b49041f8e689e1b05728f84fa0c173fac324158e77fb5840738a1a541f633cbec8884c6a601c567d2b376a0539a05f7060e971b0dc81e63f0aa41831091847d97c1a4693ac450cc128c7214e65e0b8a000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000002e00a736aa00000000000087d1f7fdfee7f651fabc8bfcb6e086c278b77a7d00e40b54020000000000000000000000000000000000000000000000000000000000").to_vec(), + ], execution_proof: ExecutionProof { header: BeaconHeader { slot: 393, proposer_index: 4, parent_root: hex!("6545b47a614a1dd4cad042a0cdbbf5be347e8ffcdc02c6c64540d5153acebeef").into(), state_root: hex!("b62ac34a8cb82497be9542fe2114410c9f6021855b766015406101a1f3d86434").into(), - body_root: hex!("308e4c20194c0c77155c65a2d2c7dcd0ec6a7b20bdeb002c065932149fe0aa1b").into(), + body_root: hex!("04005fe231e11a5b7b1580cb73b177ae8b338bedd745497e6bb7122126a806db").into(), }, ancestry_proof: Some(AncestryProof { header_branch: vec![ @@ -613,7 +612,7 @@ fn make_register_token_message() -> EventFixture { parent_hash: hex!("8092290aa21b7751576440f77edd02a94058429ce50e63a92d620951fb25eda2").into(), fee_recipient: hex!("0000000000000000000000000000000000000000").into(), state_root: hex!("96a83e9ddf745346fafcb0b03d57314623df669ed543c110662b21302a0fae8b").into(), - receipts_root: hex!("62d13e9a073dc7cf609005b5531bb208c8686f18f7c8ae02d76232d83ae41a21").into(), + receipts_root: hex!("dccdfceea05036f7b61dcdabadc937945d31e68a8d3dfd4dc85684457988c284").into(), logs_bloom: hex!("00000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000080000000400000000000000000000004000000000080000000000000000000000000000000000010100000000000000000000000000000000020000000000000000000000000000000000080000000000000000000000000000040004000000000000002002002000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000080000000000000000000000000000000000100000000000000000200000200000010").into(), prev_randao: hex!("62e309d4f5119d1f5c783abc20fc1a549efbab546d8d0b25ff1cfd58be524e67").into(), block_number: 393, @@ -634,8 +633,8 @@ fn make_register_token_message() -> EventFixture { hex!("db56114e00fdd4c1f85c892bf35ac9a89289aaecb1ebd0a96cde606a748b5d71").into(), hex!("d3af7c05c516726be7505239e0b9c7cb53d24abce6b91cdb3b3995f0164a75da").into(), ], - } - } + }, + }, }, finalized_header: BeaconHeader { slot: 864, @@ -644,7 +643,7 @@ fn make_register_token_message() -> EventFixture { state_root: hex!("5fa8dfca3d760e4242ab46d529144627aa85348a19173b6e081172c701197a4a").into(), body_root: hex!("0f34c083b1803666bb1ac5e73fa71582731a2cf37d279ff0a3b0cad5a2ff371e").into(), }, - block_roots_root: hex!("3adb5c78afd49ef17160ca7fc38b47228cbb13a317709c86bb6f51d799ba9ab6").into(), + block_roots_root: hex!("b9aab9c388c4e4fcd899b71f62c498fc73406e38e8eb14aa440e9affa06f2a10").into(), } } diff --git a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/teleport.rs index 3459db4749..8b9190a397 100644 --- a/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/bridges/bridge-hub-polkadot/src/tests/teleport.rs @@ -23,10 +23,7 @@ use integration_tests_helpers::{ test_parachain_is_trusted_teleporter, test_parachain_is_trusted_teleporter_for_relay, test_relay_is_trusted_teleporter, }; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/collectives/collectives-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/collectives/collectives-polkadot/src/tests/teleport.rs index 6260ef27d6..8f282fd2d3 100644 --- a/integration-tests/emulated/tests/collectives/collectives-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/collectives/collectives-polkadot/src/tests/teleport.rs @@ -24,10 +24,7 @@ use integration_tests_helpers::{ test_parachain_is_trusted_teleporter, test_parachain_is_trusted_teleporter_for_relay, test_relay_is_trusted_teleporter, }; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/coretime_interface.rs b/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/coretime_interface.rs index 776720bed1..dc9e024a7d 100644 --- a/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/coretime_interface.rs +++ b/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/coretime_interface.rs @@ -65,7 +65,7 @@ fn transact_hardcoded_weights_are_sane() { // Configure broker and start sales. let config = ConfigRecord { - advance_notice: 1, + advance_notice: 2, interlude_length: 1, leadin_length: 2, region_length: 1, diff --git a/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/teleport.rs index f7078730d2..da0273bfdb 100644 --- a/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/coretime/coretime-kusama/src/tests/teleport.rs @@ -23,10 +23,7 @@ use integration_tests_helpers::{ test_parachain_is_trusted_teleporter, test_parachain_is_trusted_teleporter_for_relay, test_relay_is_trusted_teleporter, }; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/coretime_interface.rs b/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/coretime_interface.rs index d896c6951f..a92ba49252 100644 --- a/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/coretime_interface.rs +++ b/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/coretime_interface.rs @@ -65,7 +65,7 @@ fn transact_hardcoded_weights_are_sane() { // Configure broker and start sales. let config = ConfigRecord { - advance_notice: 1, + advance_notice: 2, interlude_length: 1, leadin_length: 2, region_length: 1, diff --git a/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/teleport.rs index d5dde84ba9..fe9dff10d9 100644 --- a/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/coretime/coretime-polkadot/src/tests/teleport.rs @@ -24,10 +24,7 @@ use integration_tests_helpers::{ test_parachain_is_trusted_teleporter, test_parachain_is_trusted_teleporter_for_relay, test_relay_is_trusted_teleporter, }; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/remote_treasury_payout.rs b/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/remote_treasury_payout.rs index f30385dba7..4db7f1e72f 100644 --- a/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/remote_treasury_payout.rs +++ b/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/remote_treasury_payout.rs @@ -27,7 +27,7 @@ use frame_support::{ use kusama_system_emulated_network::asset_hub_kusama_emulated_chain::AssetHubKusamaParaPallet; use polkadot_runtime_common::impls::VersionedLocatableAsset; use xcm::latest::Junctions::X2; -use xcm_runtime_apis::fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1; +use xcm_runtime_apis::fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV2; fn remote_fee() -> u128 { let fee_asset = ConstantKsmFee::get_remote_fee(Xcm::new(), None); diff --git a/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/teleport.rs index 9ed5d767f3..b9dd6bf667 100644 --- a/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/encointer/encointer-kusama/src/tests/teleport.rs @@ -20,10 +20,7 @@ use frame_support::{ traits::fungible::Mutate, }; use integration_tests_helpers::test_parachain_is_trusted_teleporter; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; fn relay_dest_assertions_fail(_t: EncointerParaToRelayTest) { Kusama::assert_ump_queue_processed(false, Some(EncointerKusama::para_id()), None); diff --git a/integration-tests/emulated/tests/people/people-kusama/src/tests/teleport.rs b/integration-tests/emulated/tests/people/people-kusama/src/tests/teleport.rs index 3aeeabf25c..dee2a75faf 100644 --- a/integration-tests/emulated/tests/people/people-kusama/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/people/people-kusama/src/tests/teleport.rs @@ -24,10 +24,7 @@ use integration_tests_helpers::{ test_relay_is_trusted_teleporter, }; use people_kusama_runtime::xcm_config::XcmConfig as PeopleKusamaXcmConfig; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/integration-tests/emulated/tests/people/people-polkadot/src/tests/reserve_transfers.rs b/integration-tests/emulated/tests/people/people-polkadot/src/tests/reserve_transfers.rs index cd52398410..51c6be7aed 100644 --- a/integration-tests/emulated/tests/people/people-polkadot/src/tests/reserve_transfers.rs +++ b/integration-tests/emulated/tests/people/people-polkadot/src/tests/reserve_transfers.rs @@ -14,7 +14,7 @@ // limitations under the License. use crate::*; -use emulated_integration_tests_common::macros::{AssetTransferFilter, XcmPaymentApiV1}; +use emulated_integration_tests_common::macros::{AssetTransferFilter, XcmPaymentApiV2}; use frame_support::traits::fungibles; use people_polkadot_runtime::xcm_config::XcmConfig; use polkadot_runtime_constants::currency::CENTS as DOT_CENTS; diff --git a/integration-tests/emulated/tests/people/people-polkadot/src/tests/teleport.rs b/integration-tests/emulated/tests/people/people-polkadot/src/tests/teleport.rs index 0991f2c831..adb9b391f5 100644 --- a/integration-tests/emulated/tests/people/people-polkadot/src/tests/teleport.rs +++ b/integration-tests/emulated/tests/people/people-polkadot/src/tests/teleport.rs @@ -24,10 +24,7 @@ use integration_tests_helpers::{ test_relay_is_trusted_teleporter, }; use people_polkadot_runtime::xcm_config::XcmConfig as PeoplePolkadotXcmConfig; -use xcm_runtime_apis::{ - dry_run::runtime_decl_for_dry_run_api::DryRunApiV2, - fees::runtime_decl_for_xcm_payment_api::XcmPaymentApiV1, -}; +use xcm_runtime_apis::dry_run::runtime_decl_for_dry_run_api::DryRunApiV2; #[test] fn teleport_via_transfer_assets_from_and_to_relay() { diff --git a/pallets/ah-ops/src/mock.rs b/pallets/ah-ops/src/mock.rs index d737f43d96..a409557a18 100644 --- a/pallets/ah-ops/src/mock.rs +++ b/pallets/ah-ops/src/mock.rs @@ -98,6 +98,7 @@ impl pallet_staking_async::Config for Runtime { type Reward = (); type SessionsPerEra = (); type BondingDuration = (); + type NominatorFastUnbondDuration = (); type SlashDeferDuration = (); type AdminOrigin = frame_system::EnsureNone; type EraPayout = (); diff --git a/pallets/rc-migrator/Cargo.toml b/pallets/rc-migrator/Cargo.toml index f462151215..515eb2f288 100644 --- a/pallets/rc-migrator/Cargo.toml +++ b/pallets/rc-migrator/Cargo.toml @@ -132,6 +132,7 @@ runtime-benchmarks = [ "pallet-recovery?/runtime-benchmarks", "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-society?/runtime-benchmarks", "pallet-staking-async-ah-client/runtime-benchmarks", "pallet-staking-async/runtime-benchmarks", diff --git a/pallets/remote-proxy/src/tests.rs b/pallets/remote-proxy/src/tests.rs index 3f2c381199..c9b52cb172 100644 --- a/pallets/remote-proxy/src/tests.rs +++ b/pallets/remote-proxy/src/tests.rs @@ -31,7 +31,7 @@ use pallet_utility::Call as UtilityCall; use sp_core::{ConstU32, ConstU64, H256}; use sp_io::TestExternalities; use sp_runtime::{ - traits::{BlakeTwo256, Dispatchable}, + traits::{BlakeTwo256, BlockNumberProvider, Dispatchable}, BoundedVec, BuildStorage, }; @@ -233,6 +233,8 @@ fn remote_proxy_works() { who: 1, proxy_type: ProxyType::Any, disambiguation_index: 0, + at: ::BlockNumberProvider::current_block_number(), + extrinsic_index: System::extrinsic_index().unwrap(), } .into(), ); @@ -314,6 +316,8 @@ fn remote_proxy_register_works() { who: 1, proxy_type: ProxyType::Any, disambiguation_index: 0, + at: ::BlockNumberProvider::current_block_number(), + extrinsic_index: System::extrinsic_index().unwrap(), } .into(), ); @@ -436,6 +440,8 @@ fn remote_proxy_multiple_register_works() { who: 1, proxy_type: ProxyType::Any, disambiguation_index: 0, + at: ::BlockNumberProvider::current_block_number(), + extrinsic_index: System::extrinsic_index().unwrap(), } .into(), ); @@ -449,6 +455,8 @@ fn remote_proxy_multiple_register_works() { who: 1, proxy_type: ProxyType::Any, disambiguation_index: 1, + at: ::BlockNumberProvider::current_block_number(), + extrinsic_index: System::extrinsic_index().unwrap(), } .into(), ); diff --git a/relay/kusama/Cargo.toml b/relay/kusama/Cargo.toml index 53506e05d4..5d909c960f 100644 --- a/relay/kusama/Cargo.toml +++ b/relay/kusama/Cargo.toml @@ -57,7 +57,7 @@ pallet-nomination-pools-runtime-api = { workspace = true } pallet-conviction-voting = { workspace = true } pallet-delegated-staking = { workspace = true } pallet-staking-async-ah-client = { workspace = true } -pallet-staking-async-rc-client = { workspace = true } +pallet-staking-async-rc-client = { workspace = true, features = ["xcm-sender"] } pallet-election-provider-multi-phase = { workspace = true } pallet-fast-unstake = { workspace = true } frame-executive = { workspace = true } @@ -268,6 +268,7 @@ runtime-benchmarks = [ "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-society/runtime-benchmarks", "pallet-staking-async-ah-client/runtime-benchmarks", "pallet-staking-async-rc-client/runtime-benchmarks", diff --git a/relay/kusama/constants/src/lib.rs b/relay/kusama/constants/src/lib.rs index e0ba466392..5f196cf319 100644 --- a/relay/kusama/constants/src/lib.rs +++ b/relay/kusama/constants/src/lib.rs @@ -186,10 +186,6 @@ pub mod proxy { Spokesperson, #[codec(index = 10)] ParaRegistration, - /// Operator proxy for validators. Can only manage session keys. - /// Cannot do staking operations (those are on Asset Hub). - #[codec(index = 11)] - StakingOperator, } /// Remote proxy interface that uses the relay chain as remote location. diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index f3a071ad40..3d575c5801 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -77,16 +77,12 @@ use pallet_transaction_payment::{FeeDetails, FungibleAdapter, RuntimeDispatchInf use pallet_treasury::TreasuryAccountId; use pallet_xcm::{EnsureXcm, IsVoiceOfBody}; use polkadot_primitives::{ - slashing, - vstaging::{ - async_backing::Constraints, CandidateEvent, CommittedCandidateReceiptV2, CoreState, - ScrapedOnChainVotes, - }, - AccountId, AccountIndex, ApprovalVotingParams, Balance, BlockNumber, CandidateHash, CoreIndex, + async_backing::Constraints, slashing, AccountId, AccountIndex, ApprovalVotingParams, Balance, + BlockNumber, CandidateEvent, CandidateHash, CommittedCandidateReceiptV2, CoreIndex, CoreState, DisputeState, ExecutorParams, GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, NodeFeatures, Nonce, OccupiedCoreAssumption, - PersistedValidationData, SessionInfo, Signature, ValidationCode, ValidationCodeHash, - ValidatorId, ValidatorIndex, LOWEST_PUBLIC_ID, PARACHAIN_KEY_TYPE_ID, + PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCode, + ValidationCodeHash, ValidatorId, ValidatorIndex, LOWEST_PUBLIC_ID, PARACHAIN_KEY_TYPE_ID, }; use polkadot_runtime_common::{ auctions, claims, crowdloan, impl_runtime_weights, @@ -109,9 +105,7 @@ use runtime_parachains::{ initializer as parachains_initializer, on_demand as parachains_on_demand, origin as parachains_origin, paras as parachains_paras, paras_inherent as parachains_paras_inherent, reward_points as parachains_reward_points, - runtime_api_impl::{ - v11 as parachains_runtime_api_impl, vstaging as parachains_runtime_api_impl_vstaging, - }, + runtime_api_impl::v13 as parachains_runtime_api_impl, scheduler as parachains_scheduler, session_info as parachains_session_info, shared as parachains_shared, }; @@ -685,7 +679,7 @@ impl pallet_bags_list::Config for Runtime { type BagThresholds = BagThresholds; type Score = sp_npos_elections::VoteWeight; #[cfg(feature = "runtime-benchmarks")] - type MaxAutoRebagPerBlock = ConstU32<5>; + type MaxAutoRebagPerBlock = ConstU32<10>; #[cfg(not(feature = "runtime-benchmarks"))] type MaxAutoRebagPerBlock = ConstU32<0>; } @@ -1371,20 +1365,7 @@ impl InstanceFilter for TransparentProxyType { RuntimeCall::Utility(..) | RuntimeCall::FastUnstake(..) | RuntimeCall::VoterList(..) | - RuntimeCall::NominationPools(..) | - RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - .. - }) | RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - .. - }) - ), - ProxyType::StakingOperator => matches!( - c, - RuntimeCall::Session(pallet_session::Call::set_keys { .. }) | - RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) | - RuntimeCall::Utility { .. } + RuntimeCall::NominationPools(..) ), ProxyType::NominationPools => { matches!(c, RuntimeCall::NominationPools(..) | RuntimeCall::Utility(..)) @@ -1426,7 +1407,6 @@ impl InstanceFilter for TransparentProxyType { (x, y) if x == y => true, (ProxyType::Any, _) => true, (_, ProxyType::Any) => false, - (ProxyType::Staking, ProxyType::StakingOperator) => true, (ProxyType::NonTransfer, _) => true, _ => false, } @@ -1776,7 +1756,7 @@ impl pallet_staking_async_ah_client::Config for Runtime { type AssetHubOrigin = frame_support::traits::EitherOfDiverse, EnsureAssetHub>; type AdminOrigin = EnsureRoot; - type SessionInterface = Self; + type SessionInterface = Session; type SendToAssetHub = StakingXcmToAssetHub; type MinimumValidatorSetSize = MinimumValidatorSetSize; type UnixTime = Timestamp; @@ -2454,7 +2434,7 @@ sp_api::impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block); } @@ -2491,7 +2471,7 @@ sp_api::impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2623,7 +2603,7 @@ sp_api::impl_runtime_apis! { } fn unapplied_slashes( - ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + ) -> Vec<(SessionIndex, CandidateHash, slashing::LegacyPendingSlashes)> { parachains_runtime_api_impl::unapplied_slashes::() } @@ -2651,7 +2631,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::minimum_backing_votes::() } - fn para_backing_state(para_id: ParaId) -> Option { + fn para_backing_state(para_id: ParaId) -> Option { #[allow(deprecated)] parachains_runtime_api_impl::backing_state::(para_id) } @@ -2682,15 +2662,15 @@ sp_api::impl_runtime_apis! { } fn validation_code_bomb_limit() -> u32 { - parachains_runtime_api_impl_vstaging::validation_code_bomb_limit::() + parachains_runtime_api_impl::validation_code_bomb_limit::() } fn backing_constraints(para_id: ParaId) -> Option { - parachains_runtime_api_impl_vstaging::backing_constraints::(para_id) + parachains_runtime_api_impl::backing_constraints::(para_id) } fn scheduling_lookahead() -> u32 { - parachains_runtime_api_impl_vstaging::scheduling_lookahead::() + parachains_runtime_api_impl::scheduling_lookahead::() } } @@ -2746,16 +2726,6 @@ sp_api::impl_runtime_apis! { .map(|p| p.encode()) .map(beefy_primitives::OpaqueKeyOwnershipProof::new) } - - fn generate_ancestry_proof( - prev_block_number: BlockNumber, - best_known_block_number: Option, - ) -> Option { - Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) - .map(|p| p.encode()) - .map(OpaqueKeyOwnershipProof::new) - .ok() - } } impl mmr::MmrApi for Runtime { @@ -2802,6 +2772,13 @@ sp_api::impl_runtime_apis! { let nodes = leaves.into_iter().map(|leaf|mmr::DataOrHash::Data(leaf.into_opaque_leaf())).collect(); pallet_mmr::verify_leaves_proof::(root, nodes, proof) } + + fn generate_ancestry_proof( + prev_block_number: BlockNumber, + best_known_block_number: Option, + ) -> Result, mmr::Error> { + Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) + } } impl pallet_beefy_mmr::BeefyMmrApi for RuntimeApi { @@ -2983,8 +2960,10 @@ sp_api::impl_runtime_apis! { XcmPallet::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - XcmPallet::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + use crate::xcm_config::XcmConfig; + type AssetExchanger = ::AssetExchanger; + XcmPallet::query_delivery_fees::(destination, message, asset_id) } } @@ -2994,7 +2973,7 @@ sp_api::impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - XcmPallet::dry_run_xcm::(origin_location, xcm) + XcmPallet::dry_run_xcm::(origin_location, xcm) } } @@ -3093,7 +3072,7 @@ sp_api::impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/relay/kusama/src/tests.rs b/relay/kusama/src/tests.rs index 666c4b5ebe..2e5e6b4e71 100644 --- a/relay/kusama/src/tests.rs +++ b/relay/kusama/src/tests.rs @@ -176,204 +176,3 @@ fn check_treasury_pallet_id() { kusama_runtime_constants::TREASURY_PALLET_ID ); } - -#[test] -fn staking_operator_proxy_filter_works() { - use frame_support::traits::InstanceFilter; - - let proxy = TransparentProxyType(ProxyType::StakingOperator); - - // StakingOperator ALLOWS these calls on relay chain: - // - Session::set_keys - let keys = SessionKeys { - grandpa: GrandpaId::from(sp_core::ed25519::Public::from_raw([0u8; 32])), - babe: pallet_babe::AuthorityId::from(sp_core::sr25519::Public::from_raw([0u8; 32])), - para_validator: ValidatorId::from(sp_core::sr25519::Public::from_raw([0u8; 32])), - para_assignment: polkadot_primitives::AssignmentId::from( - sp_core::sr25519::Public::from_raw([0u8; 32]), - ), - authority_discovery: AuthorityDiscoveryId::from(sp_core::sr25519::Public::from_raw( - [0u8; 32], - )), - beefy: BeefyId::from(sp_core::ecdsa::Public::from_raw([0u8; 33])), - }; - assert!( - proxy.filter(&RuntimeCall::Session(pallet_session::Call::set_keys { keys, proof: vec![] })) - ); - - // - Session::purge_keys - assert!(proxy.filter(&RuntimeCall::Session(pallet_session::Call::purge_keys {}))); - - // - Utility calls (for batching) - assert!(proxy.filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); - - // StakingOperator DISALLOWS staking operations (those are on Asset Hub after AHM): - // - Staking calls - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::bond { - value: 1000, - payee: pallet_staking::RewardDestination::Stash - }))); - assert!( - !proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::nominate { targets: vec![] })) - ); - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::validate { - prefs: pallet_staking::ValidatorPrefs::default() - }))); - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::chill {}))); - - // - NominationPools calls - assert!(!proxy.filter(&RuntimeCall::NominationPools(pallet_nomination_pools::Call::join { - amount: 1000, - pool_id: 1 - }))); - - // - VoterList calls - assert!(!proxy.filter(&RuntimeCall::VoterList(pallet_bags_list::Call::rebag { - dislocated: sp_runtime::MultiAddress::Id(AccountId::from([0u8; 32])), - }))); - - // Verify is_superset relationship - let staking_proxy = TransparentProxyType(ProxyType::Staking); - assert!(staking_proxy.is_superset(&proxy)); - assert!(TransparentProxyType(ProxyType::NonTransfer).is_superset(&proxy)); - - // Staking proxy can add/remove StakingOperator proxies - let delegate = sp_runtime::MultiAddress::Id(AccountId::from([1u8; 32])); - assert!(staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: delegate.clone(), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }))); - assert!(staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - delegate: delegate.clone(), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }))); - - // But Staking proxy cannot add/remove other proxy types - assert!(!staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate, - proxy_type: TransparentProxyType(ProxyType::Any), - delay: 0, - }))); -} - -/// A Staking proxy can add/remove a StakingOperator proxy for the account it is proxying. -#[test] -fn staking_proxy_can_manage_staking_operator() { - use frame_support::assert_ok; - use sp_runtime::traits::StaticLookup; - - // Given: Build storage with balances for test accounts - let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); - - let alice: AccountId = [1u8; 32].into(); - let bob: AccountId = [2u8; 32].into(); - let carol: AccountId = [3u8; 32].into(); - - pallet_balances::GenesisConfig:: { - balances: vec![ - (alice.clone(), 100 * UNITS), - (bob.clone(), 100 * UNITS), - (carol.clone(), 100 * UNITS), - ], - dev_accounts: None, - } - .assimilate_storage(&mut t) - .unwrap(); - - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| { - System::set_block_number(1); - - // Given: Alice has Bob as her Staking proxy - assert_ok!(Proxy::add_proxy( - RuntimeOrigin::signed(alice.clone()), - ::Lookup::unlookup(bob.clone()), - TransparentProxyType(ProxyType::Staking), - 0 - )); - - // When: Bob (via proxy) adds Carol as StakingOperator for Alice - let add_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }); - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(add_call) - )); - - // Then: Carol is Alice's StakingOperator proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - alice_proxies.0.iter().any(|p| p.delegate == carol && - p.proxy_type == TransparentProxyType(ProxyType::StakingOperator)), - "Carol should be Alice's StakingOperator proxy" - ); - - // When: Bob tries to add an Any proxy for Alice - let add_any_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType(ProxyType::Any), - delay: 0, - }); - // proxy() returns Ok(()) but inner call result is in ProxyExecuted event - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(add_any_call), - )); - - // Then: The ProxyExecuted event should contain CallFiltered error - let events = System::events(); - let proxy_executed = events.iter().rev().find_map(|record| { - if let RuntimeEvent::Proxy(pallet_proxy::Event::ProxyExecuted { result }) = - &record.event - { - Some(*result) - } else { - None - } - }); - assert_eq!( - proxy_executed, - Some(Err(frame_system::Error::::CallFiltered.into())), - "Inner call should fail with CallFiltered" - ); - - // And: Carol was NOT added as Any proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - !alice_proxies.0.iter().any( - |p| p.delegate == carol && p.proxy_type == TransparentProxyType(ProxyType::Any) - ), - "Carol should NOT be Alice's Any proxy - Staking proxy cannot add Any" - ); - - // When: Bob (via proxy) removes Carol as StakingOperator for Alice - let remove_call = RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }); - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(remove_call) - )); - - // Then: Carol is no longer Alice's StakingOperator proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - !alice_proxies.0.iter().any(|p| p.delegate == carol && - p.proxy_type == TransparentProxyType(ProxyType::StakingOperator)), - "Carol should no longer be Alice's StakingOperator proxy" - ); - }); -} diff --git a/relay/polkadot/Cargo.toml b/relay/polkadot/Cargo.toml index 7a9cb4b19f..6b9ad60d81 100644 --- a/relay/polkadot/Cargo.toml +++ b/relay/polkadot/Cargo.toml @@ -52,7 +52,7 @@ pallet-broker = { workspace = true } pallet-child-bounties = { workspace = true } pallet-delegated-staking = { workspace = true } pallet-staking-async-ah-client = { workspace = true } -pallet-staking-async-rc-client = { workspace = true } +pallet-staking-async-rc-client = { workspace = true, features = ["xcm-sender"] } pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-conviction-voting = { workspace = true } @@ -269,6 +269,7 @@ runtime-benchmarks = [ "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking-async-ah-client/runtime-benchmarks", "pallet-staking-async-rc-client/runtime-benchmarks", "pallet-staking/runtime-benchmarks", diff --git a/relay/polkadot/constants/src/lib.rs b/relay/polkadot/constants/src/lib.rs index 659eea9e4f..a6c09191d1 100644 --- a/relay/polkadot/constants/src/lib.rs +++ b/relay/polkadot/constants/src/lib.rs @@ -194,9 +194,6 @@ pub mod proxy { Auction = 7, NominationPools = 8, ParaRegistration = 9, - /// Operator proxy for validators. Can only manage session keys. - /// Cannot do staking operations (those are on Asset Hub). - StakingOperator = 10, } /// Remote proxy interface that uses the relay chain as remote location. diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index d492621764..ea5e08ec82 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -69,16 +69,13 @@ use pallet_transaction_payment::{FeeDetails, FungibleAdapter, RuntimeDispatchInf use pallet_treasury::TreasuryAccountId; use pallet_xcm::{EnsureXcm, IsVoiceOfBody}; use polkadot_primitives::{ - slashing, - vstaging::{ - async_backing::Constraints, CandidateEvent, - CommittedCandidateReceiptV2 as CommittedCandidateReceipt, CoreState, ScrapedOnChainVotes, - }, - AccountId, AccountIndex, ApprovalVotingParams, Balance, BlockNumber, CandidateHash, CoreIndex, - DisputeState, ExecutorParams, GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, + async_backing::Constraints, slashing, AccountId, AccountIndex, ApprovalVotingParams, Balance, + BlockNumber, CandidateEvent, CandidateHash, + CommittedCandidateReceiptV2 as CommittedCandidateReceipt, CoreIndex, CoreState, DisputeState, + ExecutorParams, GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, NodeFeatures, Nonce, OccupiedCoreAssumption, - PersistedValidationData, SessionInfo, Signature, ValidationCode, ValidationCodeHash, - ValidatorId, ValidatorIndex, PARACHAIN_KEY_TYPE_ID, + PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCode, + ValidationCodeHash, ValidatorId, ValidatorIndex, PARACHAIN_KEY_TYPE_ID, }; use polkadot_runtime_common::{ auctions, claims, crowdloan, impl_runtime_weights, @@ -104,9 +101,7 @@ use runtime_parachains::{ initializer as parachains_initializer, on_demand as parachains_on_demand, origin as parachains_origin, paras as parachains_paras, paras_inherent as parachains_paras_inherent, reward_points as parachains_reward_points, - runtime_api_impl::{ - v11 as parachains_runtime_api_impl, vstaging as parachains_runtime_api_impl_vstaging, - }, + runtime_api_impl::v13 as parachains_runtime_api_impl, scheduler as parachains_scheduler, session_info as parachains_session_info, shared as parachains_shared, }; @@ -674,7 +669,7 @@ impl pallet_bags_list::Config for Runtime { type BagThresholds = BagThresholds; type Score = sp_npos_elections::VoteWeight; #[cfg(feature = "runtime-benchmarks")] - type MaxAutoRebagPerBlock = ConstU32<5>; + type MaxAutoRebagPerBlock = ConstU32<10>; #[cfg(not(feature = "runtime-benchmarks"))] type MaxAutoRebagPerBlock = (); } @@ -1159,20 +1154,7 @@ impl InstanceFilter for TransparentProxyType { RuntimeCall::Utility(..) | RuntimeCall::FastUnstake(..) | RuntimeCall::VoterList(..) | - RuntimeCall::NominationPools(..) | - RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - .. - }) | RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - .. - }) - ), - ProxyType::StakingOperator => matches!( - c, - RuntimeCall::Session(pallet_session::Call::set_keys { .. }) | - RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) | - RuntimeCall::Utility { .. } + RuntimeCall::NominationPools(..) ), ProxyType::NominationPools => { matches!(c, RuntimeCall::NominationPools(..) | RuntimeCall::Utility(..)) @@ -1209,7 +1191,6 @@ impl InstanceFilter for TransparentProxyType { (x, y) if x == y => true, (ProxyType::Any, _) => true, (_, ProxyType::Any) => false, - (ProxyType::Staking, ProxyType::StakingOperator) => true, (ProxyType::NonTransfer, _) => true, _ => false, } @@ -1569,7 +1550,7 @@ impl ah_client::Config for Runtime { type AssetHubOrigin = frame_support::traits::EitherOfDiverse, EnsureAssetHub>; type AdminOrigin = EnsureRoot; - type SessionInterface = Self; + type SessionInterface = Session; type SendToAssetHub = StakingXcmToAssetHub; // Polkadot RC currently has 600 validators. Note: this has to be updated with AH validator // count increasing. @@ -2285,7 +2266,7 @@ sp_api::impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block); } @@ -2322,7 +2303,7 @@ sp_api::impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2514,7 +2495,7 @@ sp_api::impl_runtime_apis! { } fn unapplied_slashes( - ) -> Vec<(SessionIndex, CandidateHash, slashing::PendingSlashes)> { + ) -> Vec<(SessionIndex, CandidateHash, slashing::LegacyPendingSlashes)> { parachains_runtime_api_impl::unapplied_slashes::() } @@ -2542,7 +2523,7 @@ sp_api::impl_runtime_apis! { parachains_runtime_api_impl::minimum_backing_votes::() } - fn para_backing_state(para_id: ParaId) -> Option { + fn para_backing_state(para_id: ParaId) -> Option { #[allow(deprecated)] parachains_runtime_api_impl::backing_state::(para_id) } @@ -2573,15 +2554,15 @@ sp_api::impl_runtime_apis! { } fn validation_code_bomb_limit() -> u32 { - parachains_runtime_api_impl_vstaging::validation_code_bomb_limit::() + parachains_runtime_api_impl::validation_code_bomb_limit::() } fn backing_constraints(para_id: ParaId) -> Option { - parachains_runtime_api_impl_vstaging::backing_constraints::(para_id) + parachains_runtime_api_impl::backing_constraints::(para_id) } fn scheduling_lookahead() -> u32 { - parachains_runtime_api_impl_vstaging::scheduling_lookahead::() + parachains_runtime_api_impl::scheduling_lookahead::() } } @@ -2636,16 +2617,6 @@ sp_api::impl_runtime_apis! { key_owner_proof.decode()?, ) } - - fn generate_ancestry_proof( - prev_block_number: BlockNumber, - best_known_block_number: Option, - ) -> Option { - Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) - .map(|p| p.encode()) - .map(OpaqueKeyOwnershipProof::new) - .ok() - } } impl mmr::MmrApi for Runtime { @@ -2674,6 +2645,13 @@ sp_api::impl_runtime_apis! { ) } + fn generate_ancestry_proof( + prev_block_number: BlockNumber, + best_known_block_number: Option, + ) -> Result, mmr::Error> { + Mmr::generate_ancestry_proof(prev_block_number, best_known_block_number) + } + fn verify_proof(leaves: Vec, proof: mmr::LeafProof) -> Result<(), mmr::Error> { @@ -2873,8 +2851,9 @@ sp_api::impl_runtime_apis! { XcmPallet::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - XcmPallet::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + XcmPallet::query_delivery_fees::(destination, message, asset_id) } } @@ -2884,7 +2863,7 @@ sp_api::impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - XcmPallet::dry_run_xcm::(origin_location, xcm) + XcmPallet::dry_run_xcm::(origin_location, xcm) } } @@ -2923,7 +2902,7 @@ sp_api::impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -3037,14 +3016,12 @@ mod test_fees { claims::PrevalidateAttests::::new(), frame_metadata_hash_extension::CheckMetadataHash::::new(false), ); - let uxt = UncheckedExtrinsic { - preamble: generic::Preamble::Signed( - MultiAddress::Id(Alice.to_account_id()), - MultiSignature::Sr25519(Alice.sign(b"foo")), - tx_ext, - ), - function: call, - }; + let uxt = UncheckedExtrinsic::new_signed( + call, + MultiAddress::Id(Alice.to_account_id()), + MultiSignature::Sr25519(Alice.sign(b"foo")), + tx_ext, + ); let len = uxt.encoded_size(); let mut ext = sp_io::TestExternalities::new_empty(); @@ -3174,84 +3151,6 @@ mod test { // Ensure that the name doesn't include `staging` (from the pallet name) assert_eq!(vec!["xcm", "VersionedXcm"], path.segments); } - - #[test] - fn staking_operator_proxy_filter_works() { - use frame_support::traits::InstanceFilter; - - let proxy = TransparentProxyType(ProxyType::StakingOperator); - - // StakingOperator ALLOWS these calls on relay chain: - // - Session::set_keys - let keys = SessionKeys { - grandpa: GrandpaId::from(sp_core::ed25519::Public::from_raw([0u8; 32])), - babe: pallet_babe::AuthorityId::from(sp_core::sr25519::Public::from_raw([0u8; 32])), - para_validator: ValidatorId::from(sp_core::sr25519::Public::from_raw([0u8; 32])), - para_assignment: polkadot_primitives::AssignmentId::from( - sp_core::sr25519::Public::from_raw([0u8; 32]), - ), - authority_discovery: AuthorityDiscoveryId::from(sp_core::sr25519::Public::from_raw( - [0u8; 32], - )), - beefy: BeefyId::from(sp_core::ecdsa::Public::from_raw([0u8; 33])), - }; - assert!(proxy - .filter(&RuntimeCall::Session(pallet_session::Call::set_keys { keys, proof: vec![] }))); - - // - Session::purge_keys - assert!(proxy.filter(&RuntimeCall::Session(pallet_session::Call::purge_keys {}))); - - // - Utility calls (for batching) - assert!(proxy.filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); - - // StakingOperator DISALLOWS staking operations (those are on Asset Hub after AHM): - // - Staking calls - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::bond { - value: 1000, - payee: pallet_staking::RewardDestination::Stash - }))); - assert!(!proxy - .filter(&RuntimeCall::Staking(pallet_staking::Call::nominate { targets: vec![] }))); - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::validate { - prefs: pallet_staking::ValidatorPrefs::default() - }))); - assert!(!proxy.filter(&RuntimeCall::Staking(pallet_staking::Call::chill {}))); - - // - NominationPools calls - assert!(!proxy.filter(&RuntimeCall::NominationPools( - pallet_nomination_pools::Call::join { amount: 1000, pool_id: 1 } - ))); - - // - VoterList calls - assert!(!proxy.filter(&RuntimeCall::VoterList(pallet_bags_list::Call::rebag { - dislocated: sp_runtime::MultiAddress::Id(AccountId::from([0u8; 32])), - }))); - - // Verify is_superset relationship - let staking_proxy = TransparentProxyType(ProxyType::Staking); - assert!(staking_proxy.is_superset(&proxy)); - assert!(TransparentProxyType(ProxyType::NonTransfer).is_superset(&proxy)); - - // Staking proxy can add/remove StakingOperator proxies - let delegate = sp_runtime::MultiAddress::Id(AccountId::from([1u8; 32])); - assert!(staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: delegate.clone(), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }))); - assert!(staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - delegate: delegate.clone(), - proxy_type: TransparentProxyType(ProxyType::StakingOperator), - delay: 0, - }))); - - // But Staking proxy cannot add/remove other proxy types - assert!(!staking_proxy.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate, - proxy_type: TransparentProxyType(ProxyType::Any), - delay: 0, - }))); - } } #[cfg(test)] @@ -3685,139 +3584,3 @@ mod remote_tests { }); } } - -#[cfg(test)] -mod proxy_tests { - use super::*; - use frame_support::assert_ok; - use sp_runtime::traits::StaticLookup; - - /// A Staking proxy can add/remove a StakingOperator proxy for the account it is proxying. - #[test] - fn staking_proxy_can_manage_staking_operator() { - // Given: Build storage with balances for test accounts - let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); - - let alice: AccountId = [1u8; 32].into(); - let bob: AccountId = [2u8; 32].into(); - let carol: AccountId = [3u8; 32].into(); - - pallet_balances::GenesisConfig:: { - balances: vec![ - (alice.clone(), 100 * UNITS), - (bob.clone(), 100 * UNITS), - (carol.clone(), 100 * UNITS), - ], - dev_accounts: None, - } - .assimilate_storage(&mut t) - .unwrap(); - - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| { - System::set_block_number(1); - - // Given: Alice has Bob as her Staking proxy - assert_ok!(Proxy::add_proxy( - RuntimeOrigin::signed(alice.clone()), - ::Lookup::unlookup(bob.clone()), - TransparentProxyType(polkadot_runtime_constants::proxy::ProxyType::Staking), - 0 - )); - - // When: Bob (via proxy) adds Carol as StakingOperator for Alice - let add_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType( - polkadot_runtime_constants::proxy::ProxyType::StakingOperator, - ), - delay: 0, - }); - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(add_call) - )); - - // Then: Carol is Alice's StakingOperator proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - alice_proxies.0.iter().any(|p| p.delegate == carol && - p.proxy_type == - TransparentProxyType( - polkadot_runtime_constants::proxy::ProxyType::StakingOperator - )), - "Carol should be Alice's StakingOperator proxy" - ); - - // When: Bob tries to add an Any proxy for Alice - let add_any_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType(polkadot_runtime_constants::proxy::ProxyType::Any), - delay: 0, - }); - // proxy() returns Ok(()) but inner call result is in ProxyExecuted event - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(add_any_call), - )); - - // Then: The ProxyExecuted event should contain CallFiltered error - let events = System::events(); - let proxy_executed = events.iter().rev().find_map(|record| { - if let RuntimeEvent::Proxy(pallet_proxy::Event::ProxyExecuted { result }) = - &record.event - { - Some(*result) - } else { - None - } - }); - assert_eq!( - proxy_executed, - Some(Err(frame_system::Error::::CallFiltered.into())), - "Inner call should fail with CallFiltered" - ); - - // And: Carol was NOT added as Any proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - !alice_proxies.0.iter().any(|p| p.delegate == carol && - p.proxy_type == - TransparentProxyType( - polkadot_runtime_constants::proxy::ProxyType::Any - )), - "Carol should NOT be Alice's Any proxy - Staking proxy cannot add Any" - ); - - // When: Bob (via proxy) removes Carol as StakingOperator for Alice - let remove_call = RuntimeCall::Proxy(pallet_proxy::Call::remove_proxy { - delegate: ::Lookup::unlookup(carol.clone()), - proxy_type: TransparentProxyType( - polkadot_runtime_constants::proxy::ProxyType::StakingOperator, - ), - delay: 0, - }); - assert_ok!(Proxy::proxy( - RuntimeOrigin::signed(bob.clone()), - ::Lookup::unlookup(alice.clone()), - None, - Box::new(remove_call) - )); - - // Then: Carol is no longer Alice's StakingOperator proxy - let alice_proxies = pallet_proxy::Proxies::::get(&alice); - assert!( - !alice_proxies.0.iter().any(|p| p.delegate == carol && - p.proxy_type == - TransparentProxyType( - polkadot_runtime_constants::proxy::ProxyType::StakingOperator - )), - "Carol should no longer be Alice's StakingOperator proxy" - ); - }); - } -} diff --git a/system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml b/system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml index a66d077721..68752dfebf 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml +++ b/system-parachains/asset-hubs/asset-hub-kusama/Cargo.toml @@ -70,7 +70,7 @@ pallet-scheduler = { workspace = true } pallet-society = { workspace = true } pallet-nomination-pools-benchmarking = { optional = true, workspace = true } pallet-staking-async = { workspace = true } -pallet-staking-async-rc-client = { workspace = true } +pallet-staking-async-rc-client = { workspace = true, features = ["xcm-sender"] } pallet-election-provider-multi-block = { workspace = true } pallet-session = { workspace = true } pallet-staking = { workspace = true } @@ -88,6 +88,11 @@ pallet-whitelist = { workspace = true } sp-api = { workspace = true } sp-arithmetic = { workspace = true } sp-block-builder = { workspace = true } +authority-discovery-primitives = { workspace = true } +babe-primitives = { workspace = true } +beefy-primitives = { workspace = true } +grandpa-primitives = { workspace = true } +polkadot-primitives = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-genesis-builder = { workspace = true } @@ -141,6 +146,7 @@ snowbridge-inbound-queue-primitives = { workspace = true } [dev-dependencies] asset-test-utils = { workspace = true } +kusama-runtime = { workspace = true } parachains-runtimes-test-utils = { workspace = true } sp-io = { workspace = true, default-features = true } sp-tracing = { workspace = true, default-features = true } @@ -150,7 +156,11 @@ substrate-wasm-builder = { optional = true, workspace = true } [features] default = ["std"] -kusama-ahm = ["pallet-ah-migrator/kusama-ahm", "pallet-rc-migrator/kusama-ahm"] +kusama-ahm = [ + "kusama-runtime/kusama-ahm", + "pallet-ah-migrator/kusama-ahm", + "pallet-rc-migrator/kusama-ahm", +] runtime-benchmarks = [ "assets-common/runtime-benchmarks", "bp-asset-hub-kusama/runtime-benchmarks", @@ -169,6 +179,7 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "kusama-runtime-constants/runtime-benchmarks", + "kusama-runtime/runtime-benchmarks", "pallet-ah-migrator/runtime-benchmarks", "pallet-ah-ops/runtime-benchmarks", "pallet-asset-conversion-tx-payment/runtime-benchmarks", @@ -201,6 +212,7 @@ runtime-benchmarks = [ "pallet-remote-proxy/runtime-benchmarks", "pallet-revive/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-society/runtime-benchmarks", "pallet-staking-async-rc-client/runtime-benchmarks", "pallet-staking-async/runtime-benchmarks", @@ -219,6 +231,7 @@ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "snowbridge-inbound-queue-primitives/runtime-benchmarks", "sp-runtime/runtime-benchmarks", @@ -231,6 +244,7 @@ runtime-benchmarks = [ "xcm/runtime-benchmarks", ] try-runtime = [ + "asset-test-utils/try-runtime", "assets-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", @@ -242,6 +256,7 @@ try-runtime = [ "frame-support/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", + "kusama-runtime/try-runtime", "pallet-ah-migrator/try-runtime", "pallet-ah-ops/try-runtime", "pallet-asset-conversion-tx-payment/try-runtime", @@ -294,12 +309,16 @@ try-runtime = [ "parachain-info/try-runtime", "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "sp-runtime/try-runtime", "system-parachains-common/try-runtime", "system-parachains-constants/try-runtime", ] std = [ "assets-common/std", + "authority-discovery-primitives/std", + "babe-primitives/std", + "beefy-primitives/std", "bp-asset-hub-kusama/std", "bp-asset-hub-polkadot/std", "bp-bridge-hub-kusama/std", @@ -323,6 +342,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime?/std", + "grandpa-primitives/std", "kusama-runtime-constants/std", "log/std", "pallet-ah-migrator/std", @@ -384,6 +404,7 @@ std = [ "parachains-common/std", "polkadot-core-primitives/std", "polkadot-parachain-primitives/std", + "polkadot-primitives/std", "polkadot-runtime-common/std", "primitive-types/std", "scale-info/std", diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/ah_migration/mod.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/ah_migration/mod.rs index 05c9d51e08..339794570f 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/ah_migration/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/ah_migration/mod.rs @@ -87,7 +87,6 @@ impl TryConvert for RcToProxyType { ParaRegistration => Ok(ProxyType::ParaRegistration), Society => Ok(ProxyType::Society), Spokesperson => Ok(ProxyType::Spokesperson), - StakingOperator => Ok(ProxyType::StakingOperator), } } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs index d68997e0bf..f618a823e7 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/lib.rs @@ -42,7 +42,7 @@ use crate::governance::WhitelistedCaller; use alloc::{borrow::Cow, vec, vec::Vec}; use assets_common::{ foreign_creators::ForeignCreators, - local_and_foreign_assets::{LocalFromLeft, TargetFromLeft}, + local_and_foreign_assets::{ForeignAssetReserveData, LocalFromLeft, TargetFromLeft}, matching::FromSiblingParachain, AssetIdForTrustBackedAssetsConvert, }; @@ -355,6 +355,8 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = pallet_assets::AutoIncAssetId; type AssetAccountDeposit = AssetAccountDeposit; type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -395,6 +397,8 @@ impl pallet_assets::Config for Runtime { type Extra = (); type WeightInfo = weights::pallet_assets_pool::WeightInfo; type CallbackHandle = (); + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -501,6 +505,7 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = (); type AssetAccountDeposit = ForeignAssetsAssetAccountDeposit; type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + type ReserveData = ForeignAssetReserveData; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = xcm_config::XcmBenchmarkHelper; } @@ -600,8 +605,8 @@ pub enum ProxyType { Governance, /// Allows access to staking related calls. /// - /// Contains the `Staking`, `Session`, `Utility`, `FastUnstake`, `VoterList`, `NominationPools` - /// pallets. + /// Contains the `Staking`, `StakingRcClient`, `Session`, `Utility`, `VoterList`, + /// `NominationPools` pallets. Staking, /// Allows access to nomination pools related calls. /// @@ -619,11 +624,12 @@ pub enum ProxyType { Society, /// System remarks. Spokesperson, - /// Operator proxy for validators. Can only perform operational tasks like validating, - /// chilling, and kicking. Cannot bond/unbond funds, change reward destinations, or nominate. - /// Session key management (set_keys, purge_keys) is done on the relay chain. + /// Operator proxy for validators. Can perform operational tasks: validating, chilling, + /// kicking, and managing session keys. Cannot bond/unbond funds, change reward + /// destinations, or nominate. /// - /// Contains the `Staking` (validate, chill, kick) and `Utility` pallets. + /// Contains `Staking` (validate, chill, kick), `StakingRcClient` (set_keys, purge_keys), + /// and `Utility` pallets. StakingOperator, } @@ -642,6 +648,7 @@ impl InstanceFilter for ProxyType { // Specifically omitting Indices `transfer`, `force_transfer` // Specifically omitting the entire Balances pallet RuntimeCall::Staking(..) | + RuntimeCall::StakingRcClient(..) | RuntimeCall::Session(..) | // Not on AH RuntimeCall::Grandpa(..) | RuntimeCall::Treasury(..) | @@ -693,6 +700,7 @@ impl InstanceFilter for ProxyType { ProxyType::Staking => matches!( c, RuntimeCall::Staking(..) | + RuntimeCall::StakingRcClient(..) | RuntimeCall::Session(..) | RuntimeCall::Utility(..) | // Not on AH RuntimeCall::FastUnstake(..) | @@ -711,7 +719,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::Staking(pallet_staking_async::Call::validate { .. }) | RuntimeCall::Staking(pallet_staking_async::Call::chill { .. }) | RuntimeCall::Staking(pallet_staking_async::Call::kick { .. }) | - RuntimeCall::Utility { .. } + RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { .. } + ) | RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { .. } + ) | RuntimeCall::Utility { .. } ), ProxyType::NominationPools => { matches!(c, RuntimeCall::NominationPools(..) | RuntimeCall::Utility(..)) @@ -869,7 +881,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32; } @@ -1168,8 +1179,6 @@ impl kusama_runtime_constants::proxy::ProxyType::Any => ProxyType::Any, kusama_runtime_constants::proxy::ProxyType::NonTransfer => ProxyType::NonTransfer, kusama_runtime_constants::proxy::ProxyType::CancelProxy => ProxyType::CancelProxy, - kusama_runtime_constants::proxy::ProxyType::StakingOperator => - ProxyType::StakingOperator, // Proxy types that are not supported on AH. kusama_runtime_constants::proxy::ProxyType::Governance | kusama_runtime_constants::proxy::ProxyType::Staking | @@ -1703,6 +1712,7 @@ pub type BlockId = generic::BlockId; pub type TxExtension = cumulus_pallet_weight_reclaim::StorageWeightReclaim< Runtime, ( + frame_system::AuthorizeCall, frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, @@ -1726,6 +1736,7 @@ impl pallet_revive::evm::runtime::EthExtra for EthExtraImpl { fn get_eth_extension(nonce: u32, tip: Balance) -> Self::Extension { ( + frame_system::AuthorizeCall::::new(), frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), @@ -1840,6 +1851,9 @@ impl } } +#[cfg(feature = "runtime-benchmarks")] +type StakingRcClientBench = pallet_staking_async_rc_client::benchmarking::Pallet; + #[cfg(feature = "runtime-benchmarks")] mod benches { use super::*; @@ -1905,6 +1919,7 @@ mod benches { // Staking [pallet_staking_async, Staking] + [pallet_staking_async_rc_client, StakingRcClientBench::] [pallet_bags_list, VoterList] // DelegatedStaking has no calls [pallet_election_provider_multi_block, MultiBlockElection] @@ -1915,8 +1930,8 @@ mod benches { use frame_benchmarking::BenchmarkError; use xcm::latest::prelude::{ - Asset, Assets as XcmAssets, Fungible, Here, InteriorLocation, Junction, Location, - NetworkId, NonFungible, Parent, ParentThen, Response, XCM_VERSION, + AccountId32, Asset, Assets as XcmAssets, Fungible, Here, InteriorLocation, Junction, + Location, NetworkId, NonFungible, Parent, ParentThen, Response, XCM_VERSION, }; impl frame_system_benchmarking::Config for Runtime { @@ -1945,6 +1960,45 @@ mod benches { pub const RandomParaId: ParaId = ParaId::new(43211234); } + impl pallet_staking_async_rc_client::benchmarking::Config for Runtime { + type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForParentDelivery, + >; + + fn account_to_location(account: Self::AccountId) -> Location { + [AccountId32 { network: None, id: account.into() }].into() + } + + fn generate_session_keys() -> Vec { + use staking::RelayChainSessionKeys; + RelayChainSessionKeys::generate(None) + } + + fn setup_validator() -> Self::AccountId { + use frame_benchmarking::account; + use frame_support::traits::fungible::Mutate; + + let stash: Self::AccountId = account("validator", 0, 0); + let balance = 10_000 * UNITS; + + let _ = Balances::mint_into(&stash, balance); + + assert_ok!(Staking::bond( + RuntimeOrigin::signed(stash.clone()), + balance / 2, + pallet_staking_async::RewardDestination::Stash + )); + assert_ok!(Staking::validate( + RuntimeOrigin::signed(stash.clone()), + pallet_staking_async::ValidatorPrefs::default() + )); + + stash + } + } + impl pallet_xcm::benchmarking::Config for Runtime { type DeliveryHelper = ( polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< @@ -2356,7 +2410,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -2393,7 +2447,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2529,8 +2583,8 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -2540,7 +2594,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -2720,7 +2774,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -2922,6 +2976,21 @@ mod tests { assert!(ProxyType::StakingOperator .filter(&RuntimeCall::Staking(pallet_staking_async::Call::kick { who: vec![] }))); + // - StakingRcClient::set_keys (session key management on Asset Hub) + assert!(ProxyType::StakingOperator.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + } + ))); + + // - StakingRcClient::purge_keys + assert!(ProxyType::StakingOperator.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + } + ))); + // - Utility calls (for batching) assert!(ProxyType::StakingOperator .filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); @@ -2967,8 +3036,17 @@ mod tests { } ))); - // - Session calls (session key management is on relay chain, not Asset Hub) - // Note: Asset Hub's Session pallet is for collators, not validators + // - Session calls: set and purge keys + assert!(!ProxyType::StakingOperator.filter(&RuntimeCall::Session( + pallet_session::Call::set_keys { + keys: SessionKeys { + aura: sp_consensus_aura::sr25519::AuthorityId::from( + sp_core::sr25519::Public::from_raw([0u8; 32]), + ), + }, + proof: vec![], + } + ))); assert!(!ProxyType::StakingOperator .filter(&RuntimeCall::Session(pallet_session::Call::purge_keys {}))); @@ -2993,6 +3071,19 @@ mod tests { ProxyType::Staking.filter(&RuntimeCall::Staking(pallet_staking_async::Call::chill {})) ); + // Staking proxy allows StakingRcClient calls + assert!(ProxyType::Staking.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + } + ))); + assert!(ProxyType::Staking.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + } + ))); + // Staking proxy can add/remove StakingOperator proxies let delegate = sp_runtime::MultiAddress::Id(AccountId::from([1u8; 32])); assert!(ProxyType::Staking.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/staking/mod.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/staking/mod.rs index 8f62b13498..560652d3df 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/staking/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/staking/mod.rs @@ -22,6 +22,7 @@ pub mod bags_thresholds; pub mod nom_pools; use crate::{governance::StakingAdmin, *}; +use codec::Encode; use frame_election_provider_support::{ElectionDataProvider, SequentialPhragmen}; use frame_support::traits::tokens::imbalance::ResolveTo; use pallet_election_provider_multi_block::{self as multi_block, SolutionAccuracyOf}; @@ -113,7 +114,7 @@ impl sp_runtime::traits::Get for RebagIffMigrationDone { pallet_ah_migrator::MigrationEndBlock::::get() .is_some_and(|n| frame_system::Pallet::::block_number() > n + 1) { - 5 + 10 } else { 0 } @@ -178,6 +179,7 @@ impl multi_block::Config for Runtime { type VoterSnapshotPerBlock = VoterSnapshotPerBlock; type TargetSnapshotPerBlock = TargetSnapshotPerBlock; type AdminOrigin = EitherOfDiverse, StakingAdmin>; + type ManagerOrigin = EitherOfDiverse, StakingAdmin>; type DataProvider = Staking; type MinerConfig = Self; type Verifier = MultiBlockElectionVerifier; @@ -293,6 +295,9 @@ impl multi_block::unsigned::miner::MinerConfig for Runtime { type MaxVotesPerVoter = <::DataProvider as ElectionDataProvider>::MaxVotesPerVoter; type MaxLength = MinerMaxLength; + #[cfg(feature = "runtime-benchmarks")] + type Solver = frame_election_provider_support::QuickDirtySolver; + #[cfg(not(feature = "runtime-benchmarks"))] type Solver = ::OffchainSolver; type Pages = Pages; type Solution = NposCompactSolution24; @@ -374,8 +379,15 @@ parameter_types! { frame_election_provider_support::NposSolution >::LIMIT as u32; - /// Maximum numbers that we prune from pervious eras in each `prune_era` tx. + /// Maximum numbers that we prune from previous eras in each `prune_era` tx. pub MaxPruningItems: u32 = 100; + + /// Unlike Polkadot, Kusama nominators are expected to be slashable and do not + /// support fast unbonding. Consequently, AreNominatorSlashable is intended to + /// remain set to true and should not be modified via governance. + /// NominatorFastUnbondDuration value below is therefore ignored. + pub const NominatorFastUnbondDuration: sp_staking::EraIndex = BondingDuration::get(); + pub const ValidatorSetExportSession: SessionIndex = 4; } impl pallet_staking_async::Config for Runtime { @@ -417,6 +429,19 @@ impl pallet_staking_async::Config for Runtime { type MaxEraDuration = MaxEraDuration; type WeightInfo = weights::pallet_staking_async::WeightInfo; type MaxPruningItems = MaxPruningItems; + type NominatorFastUnbondDuration = NominatorFastUnbondDuration; +} + +// Must match Kusama relay chain's `SessionKeys` structure for encoding/decoding compatibility. +sp_runtime::impl_opaque_keys! { + pub struct RelayChainSessionKeys { + pub grandpa: grandpa_primitives::AuthorityId, + pub babe: babe_primitives::AuthorityId, + pub para_validator: polkadot_primitives::ValidatorId, + pub para_assignment: polkadot_primitives::AssignmentId, + pub authority_discovery: authority_discovery_primitives::AuthorityId, + pub beefy: beefy_primitives::ecdsa_crypto::AuthorityId, + } } impl pallet_staking_async_rc_client::Config for Runtime { @@ -424,8 +449,20 @@ impl pallet_staking_async_rc_client::Config for Runtime { type AHStakingInterface = Staking; type SendToRelayChain = StakingXcmToRelayChain; type MaxValidatorSetRetries = ConstU32<64>; - // Export elected validator set at the end of the 4th session of the era. - type ValidatorSetExportSession = ConstU32<4>; + type ValidatorSetExportSession = ValidatorSetExportSession; + type RelayChainSessionKeys = RelayChainSessionKeys; + type Balance = Balance; + // | Key | Crypto | Public Key | Signature | + // |---------------------|---------|------------|-----------| + // | grandpa | Ed25519 | 32 bytes | 64 bytes | + // | babe | Sr25519 | 32 bytes | 64 bytes | + // | para_validator | Sr25519 | 32 bytes | 64 bytes | + // | para_assignment | Sr25519 | 32 bytes | 64 bytes | + // | authority_discovery | Sr25519 | 32 bytes | 64 bytes | + // | beefy | ECDSA | 33 bytes | 65 bytes | + // Buffer for SCALE encoding overhead and future expansions. + type MaxSessionKeysLength = ConstU32<256>; + type WeightInfo = weights::pallet_staking_async_rc_client::WeightInfo; } #[derive(Encode, Decode)] @@ -438,9 +475,15 @@ pub enum RelayChainRuntimePallets { #[derive(Encode, Decode)] pub enum AhClientCalls { - // index of `fn validator_set` in `staking-async-ah-client`. It has only one call. + // index of `fn validator_set` in `staking-async-ah-client`. #[codec(index = 0)] ValidatorSet(rc_client::ValidatorSetReport), + // index of `fn set_keys_from_ah` in `staking-async-ah-client`. + #[codec(index = 3)] + SetKeys { stash: AccountId, keys: Vec }, + // index of `fn purge_keys_from_ah` in `staking-async-ah-client`. + #[codec(index = 4)] + PurgeKeys { stash: AccountId }, } pub struct ValidatorSetToXcm; @@ -448,30 +491,38 @@ impl sp_runtime::traits::Convert, Xcm<( for ValidatorSetToXcm { fn convert(report: rc_client::ValidatorSetReport) -> Xcm<()> { - Xcm(vec![ - Instruction::UnpaidExecution { - weight_limit: WeightLimit::Unlimited, - check_origin: None, - }, - Instruction::Transact { - origin_kind: OriginKind::Native, - fallback_max_weight: None, - call: RelayChainRuntimePallets::AhClient(AhClientCalls::ValidatorSet(report)) - .encode() - .into(), - }, - ]) + rc_client::build_transact_xcm( + RelayChainRuntimePallets::AhClient(AhClientCalls::ValidatorSet(report)).encode(), + ) + } +} + +pub struct KeysMessageToXcm; +impl sp_runtime::traits::Convert, Xcm<()>> for KeysMessageToXcm { + fn convert(msg: rc_client::KeysMessage) -> Xcm<()> { + let encoded_call = match msg { + rc_client::KeysMessage::SetKeys { stash, keys } => + RelayChainRuntimePallets::AhClient(AhClientCalls::SetKeys { stash, keys }).encode(), + rc_client::KeysMessage::PurgeKeys { stash } => + RelayChainRuntimePallets::AhClient(AhClientCalls::PurgeKeys { stash }).encode(), + }; + rc_client::build_transact_xcm(encoded_call) } } parameter_types! { pub RelayLocation: Location = Location::parent(); + /// Conservative RC execution cost for set/purge keys operations. + /// ~3x of Kusama relay benchmarked session set/purge_keys (~61-62M ref_time, ~16538 proof). + pub RemoteKeysExecutionWeight: Weight = Weight::from_parts(190_000_000, 50_000); } pub struct StakingXcmToRelayChain; impl rc_client::SendToRelayChain for StakingXcmToRelayChain { type AccountId = AccountId; + type Balance = Balance; + fn validator_set(report: rc_client::ValidatorSetReport) -> Result<(), ()> { rc_client::XCMSender::< xcm_config::XcmRouter, @@ -480,6 +531,63 @@ impl rc_client::SendToRelayChain for StakingXcmToRelayChain { ValidatorSetToXcm, >::send(report) } + + fn set_keys( + stash: Self::AccountId, + keys: Vec, + max_delivery_and_remote_execution_fee: Option, + ) -> Result> { + let execution_cost = + as frame_support::weights::WeightToFee>::weight_to_fee( + &RemoteKeysExecutionWeight::get(), + ); + + rc_client::XCMSender::< + xcm_config::XcmRouter, + RelayLocation, + rc_client::KeysMessage, + KeysMessageToXcm, + >::send_with_fees::< + xcm_executor::XcmExecutor, + RuntimeCall, + AccountId, + rc_client::AccountId32ToLocation, + Self::Balance, + >( + rc_client::KeysMessage::set_keys(stash.clone(), keys), + stash, + max_delivery_and_remote_execution_fee, + execution_cost, + ) + } + + fn purge_keys( + stash: Self::AccountId, + max_delivery_and_remote_execution_fee: Option, + ) -> Result> { + let execution_cost = + as frame_support::weights::WeightToFee>::weight_to_fee( + &RemoteKeysExecutionWeight::get(), + ); + + rc_client::XCMSender::< + xcm_config::XcmRouter, + RelayLocation, + rc_client::KeysMessage, + KeysMessageToXcm, + >::send_with_fees::< + xcm_executor::XcmExecutor, + RuntimeCall, + AccountId, + rc_client::AccountId32ToLocation, + Self::Balance, + >( + rc_client::KeysMessage::purge_keys(stash.clone()), + stash, + max_delivery_and_remote_execution_fee, + execution_cost, + ) + } } impl frame_system::offchain::CreateTransactionBase for Runtime diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs index 6072ecd34f..e51cc38408 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `175` // Estimated: `1497` - // Minimum execution time: 9_429_000 picoseconds. - Weight::from_parts(13_101_000, 0) + // Minimum execution time: 7_938_000 picoseconds. + Weight::from_parts(8_372_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `251` // Estimated: `5487` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(24_442_957, 0) + // Minimum execution time: 16_778_000 picoseconds. + Weight::from_parts(17_566_266, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 4 - .saturating_add(Weight::from_parts(582, 0).saturating_mul(n.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(306, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `251` // Estimated: `5487` - // Minimum execution time: 16_990_000 picoseconds. - Weight::from_parts(21_864_383, 0) + // Minimum execution time: 13_826_000 picoseconds. + Weight::from_parts(18_411_511, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 781 - .saturating_add(Weight::from_parts(199_317, 0).saturating_mul(n.into())) + // Standard Error: 188 + .saturating_add(Weight::from_parts(123_088, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `434 + n * (1 ±0)` // Estimated: `3895 + n * (1 ±0)` - // Minimum execution time: 32_150_000 picoseconds. - Weight::from_parts(33_806_386, 0) + // Minimum execution time: 24_549_000 picoseconds. + Weight::from_parts(25_560_433, 0) .saturating_add(Weight::from_parts(0, 3895)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_846, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(968, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `286` // Estimated: `5487` - // Minimum execution time: 18_470_000 picoseconds. - Weight::from_parts(23_406_818, 0) + // Minimum execution time: 15_283_000 picoseconds. + Weight::from_parts(15_624_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 78_298 - .saturating_add(Weight::from_parts(45_097_052, 0).saturating_mul(n.into())) + // Standard Error: 17_985 + .saturating_add(Weight::from_parts(22_755_634, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33199` // Estimated: `36664` - // Minimum execution time: 291_150_000 picoseconds. - Weight::from_parts(296_669_000, 0) + // Minimum execution time: 183_499_000 picoseconds. + Weight::from_parts(185_202_000, 0) .saturating_add(Weight::from_parts(0, 36664)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `175` // Estimated: `2767` - // Minimum execution time: 5_930_000 picoseconds. - Weight::from_parts(6_330_000, 0) + // Minimum execution time: 4_673_000 picoseconds. + Weight::from_parts(5_039_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `210` // Estimated: `2767` - // Minimum execution time: 7_070_000 picoseconds. - Weight::from_parts(7_860_000, 0) + // Minimum execution time: 5_704_000 picoseconds. + Weight::from_parts(6_133_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_740_000 picoseconds. - Weight::from_parts(7_340_000, 0) + // Minimum execution time: 2_001_000 picoseconds. + Weight::from_parts(2_262_731, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 103 + .saturating_add(Weight::from_parts(11_936, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65880` // Estimated: `69345` - // Minimum execution time: 122_590_000 picoseconds. - Weight::from_parts(126_380_000, 0) + // Minimum execution time: 73_959_000 picoseconds. + Weight::from_parts(75_409_000, 0) .saturating_add(Weight::from_parts(0, 69345)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65809` // Estimated: `69274` - // Minimum execution time: 71_279_000 picoseconds. - Weight::from_parts(74_760_000, 0) + // Minimum execution time: 46_133_000 picoseconds. + Weight::from_parts(47_211_000, 0) .saturating_add(Weight::from_parts(0, 69274)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/mod.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/mod.rs index bbbf5d083b..a082cf3bc8 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/mod.rs @@ -58,6 +58,7 @@ pub mod pallet_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_staking_async; +pub mod pallet_staking_async_rc_client; pub mod pallet_timestamp; pub mod pallet_transaction_payment; pub mod pallet_treasury; diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_foreign.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_foreign.rs index 4dada30a48..e17b002377 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_foreign.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_foreign.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_assets -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -60,8 +60,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1281` // Estimated: `4273` - // Minimum execution time: 51_529_000 picoseconds. - Weight::from_parts(54_330_000, 0) + // Minimum execution time: 40_829_000 picoseconds. + Weight::from_parts(42_463_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -74,8 +74,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `4273` - // Minimum execution time: 15_540_000 picoseconds. - Weight::from_parts(17_560_000, 0) + // Minimum execution time: 14_841_000 picoseconds. + Weight::from_parts(15_596_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 19_620_000 picoseconds. - Weight::from_parts(21_150_000, 0) + // Minimum execution time: 17_209_000 picoseconds. + Weight::from_parts(17_782_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -105,11 +105,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66502 + c * (389 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 21_111_000 picoseconds. - Weight::from_parts(22_360_000, 0) + // Minimum execution time: 19_285_000 picoseconds. + Weight::from_parts(19_660_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 19_318 - .saturating_add(Weight::from_parts(22_837_065, 0).saturating_mul(c.into())) + // Standard Error: 11_123 + .saturating_add(Weight::from_parts(17_109_646, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -127,11 +127,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `413 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 26_080_000 picoseconds. - Weight::from_parts(27_670_000, 0) + // Minimum execution time: 23_431_000 picoseconds. + Weight::from_parts(24_237_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 23_859 - .saturating_add(Weight::from_parts(23_967_526, 0).saturating_mul(a.into())) + // Standard Error: 8_273 + .saturating_add(Weight::from_parts(16_833_320, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,8 +146,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 18_659_000 picoseconds. - Weight::from_parts(20_940_000, 0) + // Minimum execution time: 16_984_000 picoseconds. + Weight::from_parts(17_680_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -160,8 +160,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 32_531_000 picoseconds. - Weight::from_parts(34_200_000, 0) + // Minimum execution time: 27_951_000 picoseconds. + Weight::from_parts(29_044_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +174,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 47_439_000 picoseconds. - Weight::from_parts(49_940_000, 0) + // Minimum execution time: 40_124_000 picoseconds. + Weight::from_parts(41_426_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -190,8 +190,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1606` // Estimated: `7404` - // Minimum execution time: 70_991_000 picoseconds. - Weight::from_parts(73_370_000, 0) + // Minimum execution time: 58_988_000 picoseconds. + Weight::from_parts(60_338_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -206,8 +206,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1606` // Estimated: `7404` - // Minimum execution time: 64_870_000 picoseconds. - Weight::from_parts(67_320_000, 0) + // Minimum execution time: 53_216_000 picoseconds. + Weight::from_parts(55_000_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -222,8 +222,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1606` // Estimated: `7404` - // Minimum execution time: 71_950_000 picoseconds. - Weight::from_parts(74_320_000, 0) + // Minimum execution time: 57_992_000 picoseconds. + Weight::from_parts(59_547_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -236,8 +236,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 25_741_000 picoseconds. - Weight::from_parts(26_840_000, 0) + // Minimum execution time: 22_686_000 picoseconds. + Weight::from_parts(23_601_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -250,8 +250,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 25_400_000 picoseconds. - Weight::from_parts(26_779_000, 0) + // Minimum execution time: 23_014_000 picoseconds. + Weight::from_parts(23_883_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -262,8 +262,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 19_299_000 picoseconds. - Weight::from_parts(20_850_000, 0) + // Minimum execution time: 18_147_000 picoseconds. + Weight::from_parts(19_256_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -274,8 +274,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 19_450_000 picoseconds. - Weight::from_parts(20_869_000, 0) + // Minimum execution time: 18_061_000 picoseconds. + Weight::from_parts(18_979_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -288,8 +288,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 19_251_000 picoseconds. - Weight::from_parts(20_261_000, 0) + // Minimum execution time: 17_977_000 picoseconds. + Weight::from_parts(18_257_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -300,14 +300,33 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 16_200_000 picoseconds. - Weight::from_parts(17_750_000, 0) + // Minimum execution time: 15_733_000 picoseconds. + Weight::from_parts(16_201_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Reserves` (r:0 w:1) + /// Proof: `ForeignAssets::Reserves` (`max_values`: None, `max_size`: Some(3634), added: 6109, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 18_613_000 picoseconds. + Weight::from_parts(19_957_237, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 7_682 + .saturating_add(Weight::from_parts(458_626, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. @@ -316,15 +335,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 41_060_000 picoseconds. - Weight::from_parts(44_856_011, 0) + // Minimum execution time: 35_204_000 picoseconds. + Weight::from_parts(37_480_794, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 3_894 - .saturating_add(Weight::from_parts(5_865, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -336,8 +353,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `406` // Estimated: `4273` - // Minimum execution time: 42_310_000 picoseconds. - Weight::from_parts(43_860_000, 0) + // Minimum execution time: 35_005_000 picoseconds. + Weight::from_parts(36_153_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -356,13 +373,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `81` // Estimated: `4273` - // Minimum execution time: 16_770_000 picoseconds. - Weight::from_parts(17_530_469, 0) + // Minimum execution time: 16_138_000 picoseconds. + Weight::from_parts(17_128_555, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 1_637 - .saturating_add(Weight::from_parts(17_133, 0).saturating_mul(n.into())) - // Standard Error: 1_637 - .saturating_add(Weight::from_parts(15_785, 0).saturating_mul(s.into())) + // Standard Error: 536 + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(n.into())) + // Standard Error: 536 + .saturating_add(Weight::from_parts(1_975, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -374,8 +391,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `406` // Estimated: `4273` - // Minimum execution time: 40_691_000 picoseconds. - Weight::from_parts(42_370_000, 0) + // Minimum execution time: 34_266_000 picoseconds. + Weight::from_parts(35_141_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,8 +403,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 16_060_000 picoseconds. - Weight::from_parts(17_180_000, 0) + // Minimum execution time: 14_751_000 picoseconds. + Weight::from_parts(15_456_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -400,8 +417,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 48_260_000 picoseconds. - Weight::from_parts(50_411_000, 0) + // Minimum execution time: 39_718_000 picoseconds. + Weight::from_parts(40_593_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -418,8 +435,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1644` // Estimated: `7404` - // Minimum execution time: 103_040_000 picoseconds. - Weight::from_parts(109_800_000, 0) + // Minimum execution time: 80_445_000 picoseconds. + Weight::from_parts(82_912_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -432,8 +449,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `446` // Estimated: `4273` - // Minimum execution time: 50_110_000 picoseconds. - Weight::from_parts(51_909_000, 0) + // Minimum execution time: 41_425_000 picoseconds. + Weight::from_parts(43_212_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -446,8 +463,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `446` // Estimated: `4273` - // Minimum execution time: 50_261_000 picoseconds. - Weight::from_parts(53_220_000, 0) + // Minimum execution time: 41_263_000 picoseconds. + Weight::from_parts(42_489_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -458,8 +475,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 18_690_000 picoseconds. - Weight::from_parts(19_400_000, 0) + // Minimum execution time: 16_513_000 picoseconds. + Weight::from_parts(17_084_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -474,8 +491,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1483` // Estimated: `4273` - // Minimum execution time: 54_771_000 picoseconds. - Weight::from_parts(58_160_000, 0) + // Minimum execution time: 45_156_000 picoseconds. + Weight::from_parts(46_360_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -488,8 +505,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 46_339_000 picoseconds. - Weight::from_parts(48_089_000, 0) + // Minimum execution time: 39_382_000 picoseconds. + Weight::from_parts(40_375_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -504,8 +521,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1609` // Estimated: `4273` - // Minimum execution time: 53_221_000 picoseconds. - Weight::from_parts(55_010_000, 0) + // Minimum execution time: 43_194_000 picoseconds. + Weight::from_parts(44_606_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -518,8 +535,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `401` // Estimated: `4273` - // Minimum execution time: 45_581_000 picoseconds. - Weight::from_parts(47_090_000, 0) + // Minimum execution time: 37_084_000 picoseconds. + Weight::from_parts(38_113_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -532,8 +549,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 25_231_000 picoseconds. - Weight::from_parts(26_790_000, 0) + // Minimum execution time: 22_725_000 picoseconds. + Weight::from_parts(23_592_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -548,8 +565,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1606` // Estimated: `7404` - // Minimum execution time: 86_609_000 picoseconds. - Weight::from_parts(89_130_000, 0) + // Minimum execution time: 70_578_000 picoseconds. + Weight::from_parts(72_094_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -560,8 +577,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 10_080_000 picoseconds. - Weight::from_parts(10_461_000, 0) + // Minimum execution time: 8_085_000 picoseconds. + Weight::from_parts(8_604_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -571,8 +588,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `150` // Estimated: `4197` - // Minimum execution time: 8_261_000 picoseconds. - Weight::from_parts(8_880_000, 0) + // Minimum execution time: 6_972_000 picoseconds. + Weight::from_parts(7_424_000, 0) .saturating_add(Weight::from_parts(0, 4197)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -582,9 +599,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `4211` - // Minimum execution time: 12_379_000 picoseconds. - Weight::from_parts(12_950_000, 0) + // Minimum execution time: 9_917_000 picoseconds. + Weight::from_parts(10_321_000, 0) .saturating_add(Weight::from_parts(0, 4211)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Reserves` (r:0 w:1) + /// Proof: `ForeignAssets::Reserves` (`max_values`: None, `max_size`: Some(3634), added: 6109, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_149_000 picoseconds. + Weight::from_parts(12_947_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_local.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_local.rs index c250e31b28..a71e1dd497 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_local.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_local.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_assets -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -58,8 +58,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1321` // Estimated: `3675` - // Minimum execution time: 49_350_000 picoseconds. - Weight::from_parts(53_930_000, 0) + // Minimum execution time: 39_133_000 picoseconds. + Weight::from_parts(40_160_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -72,8 +72,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 16_870_000 picoseconds. - Weight::from_parts(17_740_000, 0) + // Minimum execution time: 15_269_000 picoseconds. + Weight::from_parts(16_050_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -84,8 +84,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 19_860_000 picoseconds. - Weight::from_parts(20_560_000, 0) + // Minimum execution time: 16_950_000 picoseconds. + Weight::from_parts(17_761_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,11 +103,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66540 + c * (389 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 22_210_000 picoseconds. - Weight::from_parts(125_322_775, 0) + // Minimum execution time: 18_708_000 picoseconds. + Weight::from_parts(19_163_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 35_936 - .saturating_add(Weight::from_parts(23_251_197, 0).saturating_mul(c.into())) + // Standard Error: 7_655 + .saturating_add(Weight::from_parts(16_400_629, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -125,11 +125,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 27_440_000 picoseconds. - Weight::from_parts(28_369_000, 0) + // Minimum execution time: 22_751_000 picoseconds. + Weight::from_parts(23_295_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 14_221 - .saturating_add(Weight::from_parts(23_323_285, 0).saturating_mul(a.into())) + // Standard Error: 7_919 + .saturating_add(Weight::from_parts(16_023_399, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -144,8 +144,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 17_630_000 picoseconds. - Weight::from_parts(18_420_000, 0) + // Minimum execution time: 16_042_000 picoseconds. + Weight::from_parts(16_695_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 30_460_000 picoseconds. - Weight::from_parts(32_240_000, 0) + // Minimum execution time: 26_677_000 picoseconds. + Weight::from_parts(27_844_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -172,8 +172,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 44_260_000 picoseconds. - Weight::from_parts(46_590_000, 0) + // Minimum execution time: 37_226_000 picoseconds. + Weight::from_parts(38_102_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -188,8 +188,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1644` // Estimated: `6208` - // Minimum execution time: 67_150_000 picoseconds. - Weight::from_parts(69_269_000, 0) + // Minimum execution time: 55_481_000 picoseconds. + Weight::from_parts(56_503_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -204,8 +204,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1644` // Estimated: `6208` - // Minimum execution time: 61_380_000 picoseconds. - Weight::from_parts(63_690_000, 0) + // Minimum execution time: 50_370_000 picoseconds. + Weight::from_parts(51_986_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -220,8 +220,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1644` // Estimated: `6208` - // Minimum execution time: 66_760_000 picoseconds. - Weight::from_parts(69_589_000, 0) + // Minimum execution time: 55_222_000 picoseconds. + Weight::from_parts(56_666_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -234,8 +234,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 24_950_000 picoseconds. - Weight::from_parts(25_950_000, 0) + // Minimum execution time: 22_431_000 picoseconds. + Weight::from_parts(23_108_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -248,8 +248,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 24_990_000 picoseconds. - Weight::from_parts(26_150_000, 0) + // Minimum execution time: 21_988_000 picoseconds. + Weight::from_parts(23_030_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -260,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 19_220_000 picoseconds. - Weight::from_parts(20_090_000, 0) + // Minimum execution time: 17_577_000 picoseconds. + Weight::from_parts(18_386_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -272,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 18_500_000 picoseconds. - Weight::from_parts(19_840_000, 0) + // Minimum execution time: 17_417_000 picoseconds. + Weight::from_parts(18_063_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -286,8 +286,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 18_190_000 picoseconds. - Weight::from_parts(19_320_000, 0) + // Minimum execution time: 16_637_000 picoseconds. + Weight::from_parts(17_155_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,14 +298,33 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 16_150_000 picoseconds. - Weight::from_parts(17_120_000, 0) + // Minimum execution time: 15_037_000 picoseconds. + Weight::from_parts(15_760_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 17_917_000 picoseconds. + Weight::from_parts(18_901_028, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 6_078 + .saturating_add(Weight::from_parts(84_281, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Assets::Metadata` (r:1 w:1) /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. @@ -314,17 +333,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 39_500_000 picoseconds. - Weight::from_parts(41_536_370, 0) + // Minimum execution time: 34_445_000 picoseconds. + Weight::from_parts(37_606_859, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 3_884 - .saturating_add(Weight::from_parts(59_390, 0).saturating_mul(n.into())) - // Standard Error: 3_884 - .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -336,8 +351,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 42_010_000 picoseconds. - Weight::from_parts(45_470_000, 0) + // Minimum execution time: 34_049_000 picoseconds. + Weight::from_parts(35_178_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -356,8 +371,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `119` // Estimated: `3675` - // Minimum execution time: 16_611_000 picoseconds. - Weight::from_parts(19_344_920, 0) + // Minimum execution time: 15_452_000 picoseconds. + Weight::from_parts(16_753_487, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -370,8 +385,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 40_030_000 picoseconds. - Weight::from_parts(42_071_000, 0) + // Minimum execution time: 32_577_000 picoseconds. + Weight::from_parts(33_635_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +397,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 15_219_000 picoseconds. - Weight::from_parts(16_949_000, 0) + // Minimum execution time: 14_435_000 picoseconds. + Weight::from_parts(14_871_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -396,8 +411,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 47_689_000 picoseconds. - Weight::from_parts(51_080_000, 0) + // Minimum execution time: 38_531_000 picoseconds. + Weight::from_parts(40_052_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -414,8 +429,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1682` // Estimated: `6208` - // Minimum execution time: 98_948_000 picoseconds. - Weight::from_parts(103_099_000, 0) + // Minimum execution time: 75_948_000 picoseconds. + Weight::from_parts(77_623_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -428,8 +443,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 50_590_000 picoseconds. - Weight::from_parts(60_569_000, 0) + // Minimum execution time: 39_836_000 picoseconds. + Weight::from_parts(40_817_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -442,8 +457,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 50_551_000 picoseconds. - Weight::from_parts(55_989_000, 0) + // Minimum execution time: 39_541_000 picoseconds. + Weight::from_parts(40_301_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -454,8 +469,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 17_690_000 picoseconds. - Weight::from_parts(18_379_000, 0) + // Minimum execution time: 15_696_000 picoseconds. + Weight::from_parts(16_267_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -470,8 +485,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1521` // Estimated: `3675` - // Minimum execution time: 52_920_000 picoseconds. - Weight::from_parts(54_830_000, 0) + // Minimum execution time: 42_691_000 picoseconds. + Weight::from_parts(44_356_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -484,8 +499,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 45_548_000 picoseconds. - Weight::from_parts(47_691_000, 0) + // Minimum execution time: 37_485_000 picoseconds. + Weight::from_parts(39_059_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -500,8 +515,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1647` // Estimated: `3675` - // Minimum execution time: 52_050_000 picoseconds. - Weight::from_parts(58_330_000, 0) + // Minimum execution time: 41_967_000 picoseconds. + Weight::from_parts(43_267_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -514,8 +529,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `3675` - // Minimum execution time: 44_529_000 picoseconds. - Weight::from_parts(46_010_000, 0) + // Minimum execution time: 35_405_000 picoseconds. + Weight::from_parts(36_517_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -528,8 +543,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 24_870_000 picoseconds. - Weight::from_parts(26_440_000, 0) + // Minimum execution time: 21_442_000 picoseconds. + Weight::from_parts(22_500_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -544,8 +559,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1644` // Estimated: `6208` - // Minimum execution time: 81_640_000 picoseconds. - Weight::from_parts(84_789_000, 0) + // Minimum execution time: 64_884_000 picoseconds. + Weight::from_parts(66_112_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -556,8 +571,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 10_640_000 picoseconds. - Weight::from_parts(11_430_000, 0) + // Minimum execution time: 8_547_000 picoseconds. + Weight::from_parts(8_879_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -567,8 +582,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3599` - // Minimum execution time: 12_440_000 picoseconds. - Weight::from_parts(13_370_000, 0) + // Minimum execution time: 9_291_000 picoseconds. + Weight::from_parts(9_760_000, 0) .saturating_add(Weight::from_parts(0, 3599)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -578,9 +593,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3613` - // Minimum execution time: 15_830_000 picoseconds. - Weight::from_parts(16_741_000, 0) + // Minimum execution time: 12_207_000 picoseconds. + Weight::from_parts(12_707_000, 0) .saturating_add(Weight::from_parts(0, 3613)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `119` + // Estimated: `3675` + // Minimum execution time: 10_649_000 picoseconds. + Weight::from_parts(10_934_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_pool.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_pool.rs index 8497e79992..641f68fcca 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_pool.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_assets_pool.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_assets -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -56,8 +56,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3675` - // Minimum execution time: 16_891_000 picoseconds. - Weight::from_parts(18_200_000, 0) + // Minimum execution time: 16_245_000 picoseconds. + Weight::from_parts(16_957_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -70,8 +70,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3675` - // Minimum execution time: 16_899_000 picoseconds. - Weight::from_parts(18_099_000, 0) + // Minimum execution time: 16_005_000 picoseconds. + Weight::from_parts(16_449_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -82,8 +82,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414` // Estimated: `3675` - // Minimum execution time: 19_770_000 picoseconds. - Weight::from_parts(21_429_000, 0) + // Minimum execution time: 17_670_000 picoseconds. + Weight::from_parts(18_506_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,11 +101,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `66640 + c * (389 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 23_670_000 picoseconds. - Weight::from_parts(21_294_035, 0) + // Minimum execution time: 20_858_000 picoseconds. + Weight::from_parts(21_100_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 31_674 - .saturating_add(Weight::from_parts(23_073_910, 0).saturating_mul(c.into())) + // Standard Error: 9_242 + .saturating_add(Weight::from_parts(17_296_504, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -123,11 +123,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `551 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 27_109_000 picoseconds. - Weight::from_parts(28_049_000, 0) + // Minimum execution time: 23_788_000 picoseconds. + Weight::from_parts(24_144_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 11_586 - .saturating_add(Weight::from_parts(23_480_786, 0).saturating_mul(a.into())) + // Standard Error: 6_332 + .saturating_add(Weight::from_parts(16_463_944, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -142,8 +142,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 19_300_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 16_818_000 picoseconds. + Weight::from_parts(17_507_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -156,8 +156,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 33_010_000 picoseconds. - Weight::from_parts(34_460_000, 0) + // Minimum execution time: 27_845_000 picoseconds. + Weight::from_parts(28_690_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -170,8 +170,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488` // Estimated: `3675` - // Minimum execution time: 47_930_000 picoseconds. - Weight::from_parts(49_560_000, 0) + // Minimum execution time: 39_622_000 picoseconds. + Weight::from_parts(41_113_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -186,8 +186,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1744` // Estimated: `6208` - // Minimum execution time: 70_780_000 picoseconds. - Weight::from_parts(74_130_000, 0) + // Minimum execution time: 57_002_000 picoseconds. + Weight::from_parts(58_855_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -202,8 +202,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1744` // Estimated: `6208` - // Minimum execution time: 64_739_000 picoseconds. - Weight::from_parts(67_229_000, 0) + // Minimum execution time: 52_467_000 picoseconds. + Weight::from_parts(54_120_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -218,8 +218,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1744` // Estimated: `6208` - // Minimum execution time: 71_290_000 picoseconds. - Weight::from_parts(73_299_000, 0) + // Minimum execution time: 57_322_000 picoseconds. + Weight::from_parts(59_137_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -232,8 +232,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488` // Estimated: `3675` - // Minimum execution time: 26_311_000 picoseconds. - Weight::from_parts(27_800_000, 0) + // Minimum execution time: 22_521_000 picoseconds. + Weight::from_parts(23_675_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -246,8 +246,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488` // Estimated: `3675` - // Minimum execution time: 26_079_000 picoseconds. - Weight::from_parts(27_560_000, 0) + // Minimum execution time: 22_642_000 picoseconds. + Weight::from_parts(23_672_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -258,8 +258,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414` // Estimated: `3675` - // Minimum execution time: 20_399_000 picoseconds. - Weight::from_parts(21_310_000, 0) + // Minimum execution time: 18_046_000 picoseconds. + Weight::from_parts(18_578_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -270,8 +270,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414` // Estimated: `3675` - // Minimum execution time: 20_289_000 picoseconds. - Weight::from_parts(21_530_000, 0) + // Minimum execution time: 18_235_000 picoseconds. + Weight::from_parts(18_785_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -284,8 +284,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 20_010_000 picoseconds. - Weight::from_parts(20_800_000, 0) + // Minimum execution time: 18_196_000 picoseconds. + Weight::from_parts(18_741_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -296,14 +296,33 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 17_110_000 picoseconds. - Weight::from_parts(18_270_000, 0) + // Minimum execution time: 15_779_000 picoseconds. + Weight::from_parts(16_690_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `PoolAssets::Asset` (r:1 w:0) /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Reserves` (r:0 w:1) + /// Proof: `PoolAssets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `380` + // Estimated: `3675` + // Minimum execution time: 18_715_000 picoseconds. + Weight::from_parts(19_802_399, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 7_696 + .saturating_add(Weight::from_parts(96_065, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `PoolAssets::Asset` (r:1 w:0) + /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `PoolAssets::Metadata` (r:1 w:1) /// Proof: `PoolAssets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. @@ -312,17 +331,15 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { + fn set_metadata(n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 23_130_000 picoseconds. - Weight::from_parts(24_695_834, 0) + // Minimum execution time: 20_496_000 picoseconds. + Weight::from_parts(22_252_007, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 2_336 - .saturating_add(Weight::from_parts(7_535, 0).saturating_mul(n.into())) - // Standard Error: 2_336 - .saturating_add(Weight::from_parts(14_724, 0).saturating_mul(s.into())) + // Standard Error: 669 + .saturating_add(Weight::from_parts(1_225, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -334,8 +351,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `544` // Estimated: `3675` - // Minimum execution time: 25_140_000 picoseconds. - Weight::from_parts(25_880_000, 0) + // Minimum execution time: 21_779_000 picoseconds. + Weight::from_parts(22_429_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -350,15 +367,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `3675` - // Minimum execution time: 17_880_000 picoseconds. - Weight::from_parts(19_178_213, 0) + // Minimum execution time: 16_726_000 picoseconds. + Weight::from_parts(17_624_885, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 3_914 - .saturating_add(Weight::from_parts(24_219, 0).saturating_mul(s.into())) + // Standard Error: 509 + .saturating_add(Weight::from_parts(2_947, 0).saturating_mul(n.into())) + // Standard Error: 509 + .saturating_add(Weight::from_parts(3_249, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -370,8 +389,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `544` // Estimated: `3675` - // Minimum execution time: 24_290_000 picoseconds. - Weight::from_parts(25_140_000, 0) + // Minimum execution time: 20_971_000 picoseconds. + Weight::from_parts(21_837_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +401,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 16_620_000 picoseconds. - Weight::from_parts(17_470_000, 0) + // Minimum execution time: 15_222_000 picoseconds. + Weight::from_parts(15_901_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -396,8 +415,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414` // Estimated: `3675` - // Minimum execution time: 48_120_000 picoseconds. - Weight::from_parts(50_020_000, 0) + // Minimum execution time: 39_853_000 picoseconds. + Weight::from_parts(41_804_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -414,8 +433,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1782` // Estimated: `6208` - // Minimum execution time: 103_560_000 picoseconds. - Weight::from_parts(109_270_000, 0) + // Minimum execution time: 79_461_000 picoseconds. + Weight::from_parts(81_141_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -428,8 +447,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `584` // Estimated: `3675` - // Minimum execution time: 50_530_000 picoseconds. - Weight::from_parts(51_590_000, 0) + // Minimum execution time: 41_417_000 picoseconds. + Weight::from_parts(42_766_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -442,8 +461,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `584` // Estimated: `3675` - // Minimum execution time: 50_980_000 picoseconds. - Weight::from_parts(51_740_000, 0) + // Minimum execution time: 40_956_000 picoseconds. + Weight::from_parts(42_480_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -454,8 +473,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 18_480_000 picoseconds. - Weight::from_parts(19_410_000, 0) + // Minimum execution time: 16_753_000 picoseconds. + Weight::from_parts(17_339_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -470,8 +489,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1621` // Estimated: `3675` - // Minimum execution time: 55_080_000 picoseconds. - Weight::from_parts(57_480_000, 0) + // Minimum execution time: 45_737_000 picoseconds. + Weight::from_parts(46_841_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -484,8 +503,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `380` // Estimated: `3675` - // Minimum execution time: 48_710_000 picoseconds. - Weight::from_parts(51_860_000, 0) + // Minimum execution time: 39_210_000 picoseconds. + Weight::from_parts(40_583_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -500,8 +519,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1747` // Estimated: `3675` - // Minimum execution time: 53_590_000 picoseconds. - Weight::from_parts(55_499_000, 0) + // Minimum execution time: 43_294_000 picoseconds. + Weight::from_parts(44_798_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -514,8 +533,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `539` // Estimated: `3675` - // Minimum execution time: 44_670_000 picoseconds. - Weight::from_parts(47_580_000, 0) + // Minimum execution time: 37_185_000 picoseconds. + Weight::from_parts(38_080_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -528,8 +547,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `488` // Estimated: `3675` - // Minimum execution time: 26_270_000 picoseconds. - Weight::from_parts(27_150_000, 0) + // Minimum execution time: 22_707_000 picoseconds. + Weight::from_parts(23_975_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -544,8 +563,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1744` // Estimated: `6208` - // Minimum execution time: 85_750_000 picoseconds. - Weight::from_parts(87_640_000, 0) + // Minimum execution time: 68_710_000 picoseconds. + Weight::from_parts(69_964_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -556,8 +575,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414` // Estimated: `3675` - // Minimum execution time: 10_860_000 picoseconds. - Weight::from_parts(11_600_000, 0) + // Minimum execution time: 8_959_000 picoseconds. + Weight::from_parts(9_275_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -567,8 +586,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `288` // Estimated: `3599` - // Minimum execution time: 12_620_000 picoseconds. - Weight::from_parts(13_140_000, 0) + // Minimum execution time: 9_811_000 picoseconds. + Weight::from_parts(10_302_000, 0) .saturating_add(Weight::from_parts(0, 3599)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -578,9 +597,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `383` // Estimated: `3613` - // Minimum execution time: 16_820_000 picoseconds. - Weight::from_parts(17_510_000, 0) + // Minimum execution time: 12_576_000 picoseconds. + Weight::from_parts(13_193_000, 0) .saturating_add(Weight::from_parts(0, 3613)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `PoolAssets::Asset` (r:1 w:0) + /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Reserves` (r:0 w:1) + /// Proof: `PoolAssets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `219` + // Estimated: `3675` + // Minimum execution time: 11_322_000 picoseconds. + Weight::from_parts(12_077_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs index 773761e66b..87c843d1d9 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_election_provider_multi_block.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_election_provider_multi_block` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-11-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `5899c669e078`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_election_provider_multi_block -// --header=/_work/ibp-interweb-gb1/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -58,8 +58,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `121` // Estimated: `3586` - // Minimum execution time: 7_880_000 picoseconds. - Weight::from_parts(8_400_000, 0) + // Minimum execution time: 12_141_000 picoseconds. + Weight::from_parts(12_486_000, 0) .saturating_add(Weight::from_parts(0, 3586)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -88,8 +88,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `119010` // Estimated: `6309975` - // Minimum execution time: 10_900_194_000 picoseconds. - Weight::from_parts(11_076_254_000, 0) + // Minimum execution time: 13_488_941_000 picoseconds. + Weight::from_parts(13_554_538_000, 0) .saturating_add(Weight::from_parts(0, 6309975)) .saturating_add(T::DbWeight::get().reads(2508)) .saturating_add(T::DbWeight::get().writes(4)) @@ -130,8 +130,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `1398366` // Estimated: `3339756` - // Minimum execution time: 22_590_048_000 picoseconds. - Weight::from_parts(23_213_659_000, 0) + // Minimum execution time: 27_409_285_000 picoseconds. + Weight::from_parts(27_662_983_000, 0) .saturating_add(Weight::from_parts(0, 3339756)) .saturating_add(T::DbWeight::get().reads(3628)) .saturating_add(T::DbWeight::get().writes(6)) @@ -172,8 +172,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `1602332` // Estimated: `3543722` - // Minimum execution time: 24_030_739_000 picoseconds. - Weight::from_parts(25_136_119_000, 0) + // Minimum execution time: 26_841_319_000 picoseconds. + Weight::from_parts(27_633_274_000, 0) .saturating_add(Weight::from_parts(0, 3543722)) .saturating_add(T::DbWeight::get().reads(3335)) .saturating_add(T::DbWeight::get().writes(6)) @@ -188,8 +188,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 33_330_000 picoseconds. - Weight::from_parts(38_060_000, 0) + // Minimum execution time: 98_770_000 picoseconds. + Weight::from_parts(596_415_000, 0) .saturating_add(Weight::from_parts(0, 3780)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -204,8 +204,8 @@ impl pallet_election_provider_multi_block::WeightInfo f // Proof Size summary in bytes: // Measured: `315` // Estimated: `6255` - // Minimum execution time: 33_420_000 picoseconds. - Weight::from_parts(36_480_000, 0) + // Minimum execution time: 373_028_000 picoseconds. + Weight::from_parts(923_746_000, 0) .saturating_add(Weight::from_parts(0, 6255)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) @@ -224,25 +224,27 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) /// Storage: `Staking::ElectableStashes` (r:1 w:1) /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `Measured`) - /// Storage: `Staking::ErasStakersOverview` (r:916 w:916) + /// Storage: `Staking::ErasStakersOverview` (r:856 w:856) /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`) /// Storage: `Staking::ErasTotalStake` (r:1 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`) - /// Storage: `Staking::Validators` (r:916 w:0) + /// Storage: `Staking::Validators` (r:856 w:0) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`) - /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:916) + /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:856) /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`) - /// Storage: `Staking::ErasStakersPaged` (r:0 w:896) + /// Storage: `Staking::ErasStakersPaged` (r:0 w:830) /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:856) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) fn export_non_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `240757` - // Estimated: `2508847` - // Minimum execution time: 14_595_016_000 picoseconds. - Weight::from_parts(14_896_107_000, 0) - .saturating_add(Weight::from_parts(0, 2508847)) - .saturating_add(T::DbWeight::get().reads(1840)) - .saturating_add(T::DbWeight::get().writes(2731)) + // Measured: `180445` + // Estimated: `2300035` + // Minimum execution time: 14_997_072_000 picoseconds. + Weight::from_parts(15_148_826_000, 0) + .saturating_add(Weight::from_parts(0, 2300035)) + .saturating_add(T::DbWeight::get().reads(1720)) + .saturating_add(T::DbWeight::get().writes(3401)) } /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) @@ -266,31 +268,31 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) /// Storage: `Staking::ElectableStashes` (r:1 w:1) /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `Measured`) - /// Storage: `Staking::ErasStakersOverview` (r:972 w:972) + /// Storage: `Staking::ErasStakersOverview` (r:967 w:967) /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`) - /// Storage: `Staking::ErasStakersPaged` (r:972 w:972) + /// Storage: `Staking::ErasStakersPaged` (r:967 w:967) /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`) /// Storage: `Staking::ErasTotalStake` (r:1 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`) - /// Storage: `Staking::Validators` (r:972 w:0) + /// Storage: `Staking::Validators` (r:967 w:0) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `Measured`) /// Storage: `MultiBlockElectionVerifier::StatusStorage` (r:0 w:1) /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:0 w:1) /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`) - /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:972) + /// Storage: `Staking::ErasValidatorPrefs` (r:0 w:967) /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`) /// Storage: `MultiBlockElection::DesiredTargets` (r:0 w:1) /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`) fn export_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `2934784` - // Estimated: `5341474` - // Minimum execution time: 27_143_001_000 picoseconds. - Weight::from_parts(28_049_051_000, 0) - .saturating_add(Weight::from_parts(0, 5341474)) - .saturating_add(T::DbWeight::get().reads(2973)) - .saturating_add(T::DbWeight::get().writes(2974)) + // Measured: `2633064` + // Estimated: `5027379` + // Minimum execution time: 29_620_925_000 picoseconds. + Weight::from_parts(29_799_556_000, 0) + .saturating_add(Weight::from_parts(0, 5027379)) + .saturating_add(T::DbWeight::get().reads(2958)) + .saturating_add(T::DbWeight::get().writes(2959)) } /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) @@ -310,14 +312,34 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1) /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(37586026), added: 37588501, mode: `Measured`) - fn manage() -> Weight { + fn manage_fallback() -> Weight { // Proof Size summary in bytes: // Measured: `352685` // Estimated: `358625` - // Minimum execution time: 673_703_321_000 picoseconds. - Weight::from_parts(690_363_562_000, 0) + // Minimum execution time: 718_904_771_000 picoseconds. + Weight::from_parts(736_474_859_000, 0) .saturating_add(Weight::from_parts(0, 358625)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) + /// Storage: `MultiBlockElection::Round` (r:1 w:0) + /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0) + /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(37586026), added: 37588501, mode: `Measured`) + fn admin_set() -> Weight { + // Proof Size summary in bytes: + // Measured: `308` + // Estimated: `3773` + // Minimum execution time: 706_280_000 picoseconds. + Weight::from_parts(1_249_743_000, 0) + .saturating_add(Weight::from_parts(0, 3773)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async.rs index c5e5eff32a..f8db9ef0c5 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_staking_async` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `2ddf44ef9c0d`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,12 +30,13 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm // --pallet=pallet_staking_async -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 // --repeat=20 // --heap-pages=4096 +// --exclude-extrinsics=pallet_staking_async::prune_era_total_stake #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -66,8 +67,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `6615` // Estimated: `4218` - // Minimum execution time: 144_940_000 picoseconds. - Weight::from_parts(151_879_000, 0) + // Minimum execution time: 106_727_000 picoseconds. + Weight::from_parts(110_681_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -94,8 +95,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `7911` // Estimated: `8877` - // Minimum execution time: 8_179_978_000 picoseconds. - Weight::from_parts(9_366_868_000, 0) + // Minimum execution time: 6_371_741_000 picoseconds. + Weight::from_parts(7_195_411_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) @@ -110,6 +111,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:1 w:0) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `Staking::AreNominatorsSlashable` (r:1 w:0) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:0) @@ -122,12 +127,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `8059` + // Measured: `8072` // Estimated: `8877` - // Minimum execution time: 7_715_390_000 picoseconds. - Weight::from_parts(8_835_668_000, 0) + // Minimum execution time: 6_779_019_000 picoseconds. + Weight::from_parts(7_466_366_000, 0) .saturating_add(Weight::from_parts(0, 8877)) - .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::Ledger` (r:1 w:1) @@ -156,8 +161,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `7483` // Estimated: `28200` - // Minimum execution time: 167_810_000 picoseconds. - Weight::from_parts(181_148_000, 0) + // Minimum execution time: 127_359_000 picoseconds. + Weight::from_parts(130_908_000, 0) .saturating_add(Weight::from_parts(0, 28200)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(2)) @@ -196,15 +201,17 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn withdraw_unbonded_kill() -> Weight { // Proof Size summary in bytes: // Measured: `7997` // Estimated: `28200` - // Minimum execution time: 8_761_179_000 picoseconds. - Weight::from_parts(10_988_255_000, 0) + // Minimum execution time: 8_469_981_000 picoseconds. + Weight::from_parts(9_369_191_000, 0) .saturating_add(Weight::from_parts(0, 28200)) .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`) @@ -212,8 +219,6 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:1 w:0) /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) - /// Storage: `Staking::MinNominatorBond` (r:1 w:0) - /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:1 w:0) /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Validators` (r:1 w:1) @@ -234,12 +239,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `9420` + // Measured: `9386` // Estimated: `4279` - // Minimum execution time: 142_351_000 picoseconds. - Weight::from_parts(146_299_000, 0) + // Minimum execution time: 107_641_000 picoseconds. + Weight::from_parts(110_501_000, 0) .saturating_add(Weight::from_parts(0, 4279)) - .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(5)) } /// Storage: `Staking::Ledger` (r:1 w:0) @@ -253,11 +258,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `12832 + k * (1302 ±0)` // Estimated: `4218 + k * (3289 ±0)` - // Minimum execution time: 81_179_000 picoseconds. - Weight::from_parts(92_651_698, 0) + // Minimum execution time: 62_655_000 picoseconds. + Weight::from_parts(74_285_431, 0) .saturating_add(Weight::from_parts(0, 4218)) - // Standard Error: 21_848 - .saturating_add(Weight::from_parts(14_504_379, 0).saturating_mul(k.into())) + // Standard Error: 10_661 + .saturating_add(Weight::from_parts(10_502_987, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -292,9 +297,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `4845 + n * (67 ±0)` // Estimated: `6248 + n * (2520 ±0)` - // Minimum execution time: 4_681_563_000 picoseconds. - Weight::from_parts(8_183_054_935, 0) + // Minimum execution time: 4_501_826_000 picoseconds. + Weight::from_parts(6_693_869_601, 0) .saturating_add(Weight::from_parts(0, 6248)) + // Standard Error: 3_744_830 + .saturating_add(Weight::from_parts(59_016_494, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -322,8 +329,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5006` // Estimated: `6248` - // Minimum execution time: 2_922_207_000 picoseconds. - Weight::from_parts(3_893_505_000, 0) + // Minimum execution time: 4_419_835_000 picoseconds. + Weight::from_parts(5_365_892_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) @@ -338,8 +345,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `3924` // Estimated: `4218` - // Minimum execution time: 48_190_000 picoseconds. - Weight::from_parts(50_740_000, 0) + // Minimum execution time: 40_415_000 picoseconds. + Weight::from_parts(41_794_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -354,8 +361,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5629` // Estimated: `4218` - // Minimum execution time: 60_770_000 picoseconds. - Weight::from_parts(65_149_000, 0) + // Minimum execution time: 49_178_000 picoseconds. + Weight::from_parts(50_745_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +375,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5168` // Estimated: `7446` - // Minimum execution time: 61_790_000 picoseconds. - Weight::from_parts(64_140_000, 0) + // Minimum execution time: 49_345_000 picoseconds. + Weight::from_parts(51_392_000, 0) .saturating_add(Weight::from_parts(0, 7446)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -380,8 +387,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_520_000 picoseconds. - Weight::from_parts(4_880_000, 0) + // Minimum execution time: 5_084_000 picoseconds. + Weight::from_parts(5_412_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -391,8 +398,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_030_000 picoseconds. - Weight::from_parts(21_300_000, 0) + // Minimum execution time: 15_829_000 picoseconds. + Weight::from_parts(16_509_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -402,8 +409,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_040_000 picoseconds. - Weight::from_parts(20_000_000, 0) + // Minimum execution time: 15_586_000 picoseconds. + Weight::from_parts(16_446_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -413,8 +420,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 19_130_000 picoseconds. - Weight::from_parts(20_140_000, 0) + // Minimum execution time: 15_943_000 picoseconds. + Weight::from_parts(16_536_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -425,11 +432,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_580_000 picoseconds. - Weight::from_parts(5_324_523, 0) + // Minimum execution time: 5_129_000 picoseconds. + Weight::from_parts(5_892_807, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 1_860 - .saturating_add(Weight::from_parts(24_823, 0).saturating_mul(v.into())) + // Standard Error: 1_167 + .saturating_add(Weight::from_parts(8_793, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Staking::Ledger` (r:1024 w:1024) @@ -443,11 +450,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `127726 + u * (1213 ±0)` // Estimated: `990 + u * (6456 ±0)` - // Minimum execution time: 8_020_000 picoseconds. - Weight::from_parts(239_056_611, 0) + // Minimum execution time: 8_180_000 picoseconds. + Weight::from_parts(190_759_736, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 62_602 - .saturating_add(Weight::from_parts(45_966_667, 0).saturating_mul(u.into())) + // Standard Error: 34_828 + .saturating_add(Weight::from_parts(34_697_358, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 6456).saturating_mul(u.into())) @@ -478,15 +485,17 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn force_unstake() -> Weight { // Proof Size summary in bytes: // Measured: `7942` // Estimated: `6248` - // Minimum execution time: 5_624_503_000 picoseconds. - Weight::from_parts(8_449_410_000, 0) + // Minimum execution time: 8_075_123_000 picoseconds. + Weight::from_parts(9_290_967_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: `Staking::CancelledSlashes` (r:1 w:1) /// Proof: `Staking::CancelledSlashes` (`max_values`: None, `max_size`: Some(36014), added: 38489, mode: `MaxEncodedLen`) @@ -495,11 +504,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `521` // Estimated: `39479` - // Minimum execution time: 21_470_000 picoseconds. - Weight::from_parts(22_610_000, 0) + // Minimum execution time: 18_677_000 picoseconds. + Weight::from_parts(19_405_000, 0) .saturating_add(Weight::from_parts(0, 39479)) - // Standard Error: 16_900 - .saturating_add(Weight::from_parts(4_025_795, 0).saturating_mul(s.into())) + // Standard Error: 5_605 + .saturating_add(Weight::from_parts(2_392_338, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -536,11 +545,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `174260 + n * (1938 ±0)` // Estimated: `39483 + n * (3228 ±0)` - // Minimum execution time: 7_163_261_000 picoseconds. - Weight::from_parts(16_976_530_041, 0) + // Minimum execution time: 6_669_735_000 picoseconds. + Weight::from_parts(16_885_036_121, 0) .saturating_add(Weight::from_parts(0, 39483)) - // Standard Error: 559_472 - .saturating_add(Weight::from_parts(146_882_307, 0).saturating_mul(n.into())) + // Standard Error: 424_145 + .saturating_add(Weight::from_parts(105_151_881, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -570,8 +579,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `7912 + l * (5 ±0)` // Estimated: `8877` - // Minimum execution time: 5_082_314_000 picoseconds. - Weight::from_parts(12_190_458_702, 0) + // Minimum execution time: 5_845_747_000 picoseconds. + Weight::from_parts(7_506_104_744, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(6)) @@ -604,16 +613,20 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn reap_stash() -> Weight { // Proof Size summary in bytes: // Measured: `8005` // Estimated: `6248` - // Minimum execution time: 7_069_861_000 picoseconds. - Weight::from_parts(9_088_488_000, 0) + // Minimum execution time: 8_393_100_000 picoseconds. + Weight::from_parts(9_488_894_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) } + /// Storage: `Staking::AreNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:0 w:1) /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:0 w:1) @@ -633,10 +646,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Measured: `0` // Estimated: `0` // Minimum execution time: 8_410_000 picoseconds. - Weight::from_parts(9_270_000, 0) + Weight::from_parts(9_250_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(8)) } + /// Storage: `Staking::AreNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:0 w:1) /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:0 w:1) @@ -655,10 +670,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_900_000 picoseconds. - Weight::from_parts(7_600_000, 0) + // Minimum execution time: 7_321_000 picoseconds. + Weight::from_parts(7_669_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) @@ -688,8 +703,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5129` // Estimated: `6248` - // Minimum execution time: 5_449_293_000 picoseconds. - Weight::from_parts(7_055_851_000, 0) + // Minimum execution time: 6_338_935_000 picoseconds. + Weight::from_parts(7_444_592_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(6)) @@ -702,8 +717,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `531` // Estimated: `3510` - // Minimum execution time: 2_306_947_000 picoseconds. - Weight::from_parts(3_017_266_000, 0) + // Minimum execution time: 2_476_007_000 picoseconds. + Weight::from_parts(3_216_502_000, 0) .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -714,8 +729,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_549_000 picoseconds. - Weight::from_parts(4_899_000, 0) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_292_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -735,8 +750,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `7089` // Estimated: `4764` - // Minimum execution time: 101_360_000 picoseconds. - Weight::from_parts(103_550_000, 0) + // Minimum execution time: 77_962_000 picoseconds. + Weight::from_parts(79_598_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -757,8 +772,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `6837` // Estimated: `4764` - // Minimum execution time: 153_230_000 picoseconds. - Weight::from_parts(158_221_000, 0) + // Minimum execution time: 119_991_000 picoseconds. + Weight::from_parts(122_107_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -784,16 +799,22 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Balances::Holds` (r:513 w:513) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(247), added: 2722, mode: `MaxEncodedLen`) /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) - /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) - fn apply_slash() -> Weight { + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 512]`. + fn apply_slash(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `903379` - // Estimated: `1656954` - // Minimum execution time: 62_611_068_000 picoseconds. - Weight::from_parts(66_478_193_000, 0) - .saturating_add(Weight::from_parts(0, 1656954)) - .saturating_add(T::DbWeight::get().reads(3596)) - .saturating_add(T::DbWeight::get().writes(2053)) + // Measured: `140708 + n * (1604 ±0)` + // Estimated: `39479 + n * (3228 ±0)` + // Minimum execution time: 6_535_749_000 picoseconds. + Weight::from_parts(17_778_051_371, 0) + .saturating_add(Weight::from_parts(0, 39479)) + // Standard Error: 465_731 + .saturating_add(Weight::from_parts(68_119_113, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3228).saturating_mul(n.into())) } /// Storage: `Staking::ProcessingOffence` (r:1 w:1) /// Proof: `Staking::ProcessingOffence` (`max_values`: Some(1), `max_size`: Some(85), added: 580, mode: `MaxEncodedLen`) @@ -813,8 +834,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `20627` // Estimated: `28121` - // Minimum execution time: 13_264_792_000 picoseconds. - Weight::from_parts(13_881_441_000, 0) + // Minimum execution time: 11_847_139_000 picoseconds. + Weight::from_parts(12_266_948_000, 0) .saturating_add(Weight::from_parts(0, 28121)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -838,11 +859,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `553 + v * (92 ±0)` // Estimated: `2126 + v * (2576 ±0)` - // Minimum execution time: 3_270_226_000 picoseconds. - Weight::from_parts(18_970_943_935, 0) + // Minimum execution time: 4_396_929_000 picoseconds. + Weight::from_parts(17_972_542_020, 0) .saturating_add(Weight::from_parts(0, 2126)) - // Standard Error: 855_625 - .saturating_add(Weight::from_parts(43_809_773, 0).saturating_mul(v.into())) + // Standard Error: 735_081 + .saturating_add(Weight::from_parts(32_842_374, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -853,22 +874,28 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasRewardPoints` (r:1 w:1) /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`) - /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Storage: `Staking::CurrentEra` (r:1 w:1) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Parameters::Parameters` (r:8 w:0) + /// Storage: `Parameters::Parameters` (r:5 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasTotalStake` (r:1 w:0) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) /// Storage: `Staking::MaxStakedRewards` (r:1 w:0) /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) - /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::BondedEras` (r:1 w:1) /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(233), added: 728, mode: `MaxEncodedLen`) + /// Storage: `Staking::AreNominatorsSlashable` (r:1 w:0) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::ForceEra` (r:1 w:0) /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::ErasNominatorsSlashable` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `MaxEncodedLen`) /// Storage: `Staking::VoterSnapshotStatus` (r:0 w:1) /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasValidatorReward` (r:0 w:1) @@ -879,13 +906,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `MaxEncodedLen`) fn rc_on_session_report() -> Weight { // Proof Size summary in bytes: - // Measured: `2190` + // Measured: `2347` // Estimated: `39483` - // Minimum execution time: 8_612_728_000 picoseconds. - Weight::from_parts(10_180_257_000, 0) + // Minimum execution time: 7_886_948_000 picoseconds. + Weight::from_parts(9_844_734_000, 0) .saturating_add(Weight::from_parts(0, 39483)) - .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(8)) + .saturating_add(T::DbWeight::get().reads(16)) + .saturating_add(T::DbWeight::get().writes(11)) } /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) @@ -897,12 +924,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo fn prune_era_stakers_paged(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `9995` - // Estimated: `212707 + v * (71 ±0)` - // Minimum execution time: 88_359_000 picoseconds. - Weight::from_parts(211_733_941, 0) + // Estimated: `212707 + v * (71 ±5)` + // Minimum execution time: 61_320_000 picoseconds. + Weight::from_parts(144_149_805, 0) .saturating_add(Weight::from_parts(0, 212707)) - // Standard Error: 4_708 - .saturating_add(Weight::from_parts(93_058, 0).saturating_mul(v.into())) + // Standard Error: 3_310 + .saturating_add(Weight::from_parts(130_502, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(84)) .saturating_add(T::DbWeight::get().writes(82)) .saturating_add(Weight::from_parts(0, 71).saturating_mul(v.into())) @@ -916,16 +943,16 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `v` is `[1, 1000]`. fn prune_era_stakers_overview(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8727` - // Estimated: `203006 + v * (84 ±0)` - // Minimum execution time: 41_981_000 picoseconds. - Weight::from_parts(218_730_755, 0) - .saturating_add(Weight::from_parts(0, 203006)) - // Standard Error: 6_096 - .saturating_add(Weight::from_parts(89_255, 0).saturating_mul(v.into())) + // Measured: `7111` + // Estimated: `201747 + v * (83 ±6)` + // Minimum execution time: 32_161_000 picoseconds. + Weight::from_parts(152_526_146, 0) + .saturating_add(Weight::from_parts(0, 201747)) + // Standard Error: 4_317 + .saturating_add(Weight::from_parts(133_275, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) - .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 83).saturating_mul(v.into())) } /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) @@ -938,11 +965,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5753` // Estimated: `200699 + v * (83 ±6)` - // Minimum execution time: 43_560_000 picoseconds. - Weight::from_parts(220_639_283, 0) + // Minimum execution time: 30_991_000 picoseconds. + Weight::from_parts(149_947_412, 0) .saturating_add(Weight::from_parts(0, 200699)) - // Standard Error: 6_185 - .saturating_add(Weight::from_parts(91_048, 0).saturating_mul(v.into())) + // Standard Error: 4_243 + .saturating_add(Weight::from_parts(129_301, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) .saturating_add(Weight::from_parts(0, 83).saturating_mul(v.into())) @@ -956,13 +983,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `v` is `[1, 1000]`. fn prune_era_claimed_rewards(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8727` - // Estimated: `203006 + v * (84 ±0)` - // Minimum execution time: 46_680_000 picoseconds. - Weight::from_parts(221_589_899, 0) - .saturating_add(Weight::from_parts(0, 203006)) - // Standard Error: 5_988 - .saturating_add(Weight::from_parts(87_240, 0).saturating_mul(v.into())) + // Measured: `8761` + // Estimated: `203037 + v * (84 ±0)` + // Minimum execution time: 33_487_000 picoseconds. + Weight::from_parts(155_694_014, 0) + .saturating_add(Weight::from_parts(0, 203037)) + // Standard Error: 4_503 + .saturating_add(Weight::from_parts(122_322, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into())) @@ -977,8 +1004,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `677` // Estimated: `4142` - // Minimum execution time: 37_190_000 picoseconds. - Weight::from_parts(39_120_000, 0) + // Minimum execution time: 27_561_000 picoseconds. + Weight::from_parts(28_656_000, 0) .saturating_add(Weight::from_parts(0, 4142)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -993,8 +1020,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `677` // Estimated: `4142` - // Minimum execution time: 37_971_000 picoseconds. - Weight::from_parts(39_390_000, 0) + // Minimum execution time: 27_054_000 picoseconds. + Weight::from_parts(28_466_000, 0) .saturating_add(Weight::from_parts(0, 4142)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -1003,16 +1030,38 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) /// Storage: `Staking::EraPruningState` (r:1 w:1) /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `Staking::ErasNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::ErasNominatorsSlashable` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) /// Storage: `Staking::ErasTotalStake` (r:0 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`) - fn prune_era_total_stake() -> Weight { + fn prune_era_single_entry_cleanups() -> Weight { // Proof Size summary in bytes: // Measured: `677` // Estimated: `4142` - // Minimum execution time: 44_309_000 picoseconds. - Weight::from_parts(46_750_000, 0) + // Minimum execution time: 28_953_000 picoseconds. + Weight::from_parts(29_697_000, 0) .saturating_add(Weight::from_parts(0, 4142)) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Staking::ActiveEra` (r:1 w:0) + /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) + /// Storage: `Staking::EraPruningState` (r:1 w:0) + /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `Staking::ValidatorSlashInEra` (r:101 w:100) + /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `Measured`) + /// The range of component `v` is `[1, 1000]`. + fn prune_era_validator_slash_in_era(v: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `5387 + v * (3 ±0)` + // Estimated: `131966 + v * (177 ±0)` + // Minimum execution time: 36_185_000 picoseconds. + Weight::from_parts(110_857_673, 0) + .saturating_add(Weight::from_parts(0, 131966)) + // Standard Error: 4_675 + .saturating_add(Weight::from_parts(180_011, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(49)) + .saturating_add(T::DbWeight::get().writes(48)) + .saturating_add(Weight::from_parts(0, 177).saturating_mul(v.into())) } } diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async_rc_client.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async_rc_client.rs new file mode 100644 index 0000000000..91f380818e --- /dev/null +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/weights/pallet_staking_async_rc_client.rs @@ -0,0 +1,101 @@ +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! Autogenerated weights for `pallet_staking_async_rc_client` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --extrinsic=* +// --runtime=target/production/wbuild/asset-hub-kusama-runtime/asset_hub_kusama_runtime.wasm +// --pallet=pallet_staking_async_rc_client +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --output=./system-parachains/asset-hubs/asset-hub-kusama/src/weights +// --wasm-execution=compiled +// --steps=50 +// --repeat=20 +// --heap-pages=4096 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_staking_async_rc_client`. +pub struct WeightInfo(PhantomData); +impl pallet_staking_async_rc_client::WeightInfo for WeightInfo { + /// Storage: `Staking::Validators` (r:1 w:0) + /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) + /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) + /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_keys() -> Weight { + // Proof Size summary in bytes: + // Measured: `4572` + // Estimated: `8037` + // Minimum execution time: 131_496_000 picoseconds. + Weight::from_parts(134_057_000, 0) + .saturating_add(Weight::from_parts(0, 8037)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) + /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn purge_keys() -> Weight { + // Proof Size summary in bytes: + // Measured: `2684` + // Estimated: `6196` + // Minimum execution time: 115_997_000 picoseconds. + Weight::from_parts(119_689_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs index 21282c2975..e549e613a0 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs @@ -554,10 +554,20 @@ impl cumulus_pallet_xcm::Config for Runtime { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct XcmBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { +impl + pallet_assets::BenchmarkHelper< + Location, + assets_common::local_and_foreign_assets::ForeignAssetReserveData, + > for XcmBenchmarkHelper +{ fn create_asset_id_parameter(id: u32) -> Location { Location::new(1, Parachain(id)) } + fn create_reserve_id_parameter( + id: u32, + ) -> assets_common::local_and_foreign_assets::ForeignAssetReserveData { + (Location::new(1, Parachain(id)), false).into() + } } /// All configuration related to bridging diff --git a/system-parachains/asset-hubs/asset-hub-kusama/tests/tests.rs b/system-parachains/asset-hubs/asset-hub-kusama/tests/tests.rs index 4338fc3fda..41ed50ea42 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/tests/tests.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/tests/tests.rs @@ -40,6 +40,7 @@ use asset_test_utils::{ }, CollatorSessionKey, CollatorSessionKeys, ExtBuilder, GovernanceOrigin, SlotDurations, }; +use assets_common::local_and_foreign_assets::ForeignAssetReserveData; use codec::{Decode, Encode}; use frame_support::{ assert_err, assert_ok, @@ -408,10 +409,19 @@ fn receive_reserve_asset_deposited_dot_from_asset_hub_polkadot_fees_paid_by_pool let staking_pot = StakingPot::get(); let foreign_asset_id_location = Location::new(2, [GlobalConsensus(Polkadot)]); + let reserve_location = Location::new(2, [GlobalConsensus(Polkadot), Parachain(1000)]); + let foreign_asset_reserve_data = + ForeignAssetReserveData { reserve: reserve_location, teleportable: false }; let foreign_asset_id_minimum_balance = 1_000_000_000; // sovereign account as foreign asset owner (can be whoever for this scenario) let foreign_asset_owner = LocationToAccountId::convert_location(&Location::parent()).unwrap(); - let foreign_asset_create_params = + let foreign_asset_create_params = ( + foreign_asset_owner.clone(), + foreign_asset_id_location.clone(), + foreign_asset_reserve_data, + foreign_asset_id_minimum_balance, + ); + let pool_params = (foreign_asset_owner, foreign_asset_id_location.clone(), foreign_asset_id_minimum_balance); receive_reserve_asset_deposited_from_different_consensus_works::< @@ -425,14 +435,14 @@ fn receive_reserve_asset_deposited_dot_from_asset_hub_polkadot_fees_paid_by_pool AccountId::from([73; 32]), block_author_account, // receiving DOTs - foreign_asset_create_params.clone(), + foreign_asset_create_params, 1000000000000, || { // setup pool for paying fees to touch `SwapFirstAssetTrader` asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::< Runtime, RuntimeOrigin, - >(ExistentialDeposit::get(), foreign_asset_create_params); + >(ExistentialDeposit::get(), pool_params); // staking pot account for collecting local native fees from `BuyExecution` let _ = Balances::force_set_balance( RuntimeOrigin::root(), @@ -1029,3 +1039,165 @@ fn staking_proxy_can_manage_staking_operator() { ); }); } + +/// Verifies StakingOperator filter allows validator operations and session key management, +/// but forbids fund management. +#[test] +fn staking_operator_filter_allows_validator_ops_and_session_keys() { + use asset_hub_kusama_runtime::ProxyType; + use frame_support::traits::InstanceFilter; + use pallet_staking_async::{Call as StakingCall, RewardDestination, ValidatorPrefs}; + use pallet_staking_async_rc_client::Call as RcClientCall; + + let operator = ProxyType::StakingOperator; + + // StakingOperator can perform validator operations + assert!(operator + .filter(&RuntimeCall::Staking(StakingCall::validate { prefs: ValidatorPrefs::default() }))); + assert!(operator.filter(&RuntimeCall::Staking(StakingCall::chill {}))); + assert!(operator.filter(&RuntimeCall::Staking(StakingCall::kick { who: vec![] }))); + + // StakingOperator can manage session keys + assert!(operator.filter(&RuntimeCall::StakingRcClient(RcClientCall::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + }))); + assert!(operator.filter(&RuntimeCall::StakingRcClient(RcClientCall::purge_keys { + max_delivery_and_remote_execution_fee: None, + }))); + + // StakingOperator can batch operations + assert!(operator.filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); + + // StakingOperator cannot manage funds or nominations + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::bond { + value: 100, + payee: RewardDestination::Staked + }))); + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::unbond { value: 100 }))); + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::nominate { targets: vec![] }))); + assert!(!operator + .filter(&RuntimeCall::Staking(StakingCall::update_payee { controller: [0u8; 32].into() }))); +} + +/// Test that a pure proxy stash can delegate to a StakingOperator +/// who can then call validate, chill, and manage session keys. +#[test] +fn pure_proxy_stash_can_delegate_to_staking_operator() { + use asset_hub_kusama_runtime::ProxyType; + + let controller: AccountId = ALICE.into(); + let operator: AccountId = [2u8; 32].into(); + + ExtBuilder::::default() + .with_collators(vec![AccountId::from(ALICE)]) + .with_session_keys(vec![( + AccountId::from(ALICE), + AccountId::from(ALICE), + SessionKeys { aura: AuraId::from(sp_core::sr25519::Public::from_raw(ALICE)) }, + )]) + .build() + .execute_with(|| { + use frame_support::traits::fungible::Mutate; + + // GIVEN: fund controller and operator + assert_ok!(Balances::mint_into(&controller, 100 * UNITS)); + assert_ok!(Balances::mint_into(&operator, 100 * UNITS)); + + // WHEN: controller creates a pure proxy stash with Staking proxy type + assert_ok!(asset_hub_kusama_runtime::Proxy::create_pure( + RuntimeOrigin::signed(controller.clone()), + ProxyType::Staking, + 0, + 0 + )); + let pure_stash = asset_hub_kusama_runtime::Proxy::pure_account( + &controller, + &ProxyType::Staking, + 0, + None, + ); + + // Fund the pure proxy stash + assert_ok!(Balances::mint_into(&pure_stash, 100 * UNITS)); + + // WHEN: controller (via Staking proxy) adds StakingOperator proxy for the operator + let add_operator_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { + delegate: operator.clone().into(), + proxy_type: ProxyType::StakingOperator, + delay: 0, + }); + assert_ok!(asset_hub_kusama_runtime::Proxy::proxy( + RuntimeOrigin::signed(controller.clone()), + pure_stash.clone().into(), + None, + Box::new(add_operator_call), + )); + + // THEN: operator can call chill on behalf of pure proxy stash + let chill_call = RuntimeCall::Staking(pallet_staking_async::Call::chill {}); + assert_ok!(asset_hub_kusama_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(chill_call), + )); + + // THEN: operator can call validate on behalf of pure proxy stash + let validate_call = RuntimeCall::Staking(pallet_staking_async::Call::validate { + prefs: Default::default(), + }); + assert_ok!(asset_hub_kusama_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(validate_call), + )); + + // THEN: operator can call purge_keys (session key management on AssetHub) + let purge_keys_call = + RuntimeCall::StakingRcClient(pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + }); + assert_ok!(asset_hub_kusama_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(purge_keys_call), + )); + + // THEN: operator CANNOT call bond (fund management is forbidden) + let bond_call = RuntimeCall::Staking(pallet_staking_async::Call::bond { + value: 10 * UNITS, + payee: pallet_staking_async::RewardDestination::Staked, + }); + assert_ok!(asset_hub_kusama_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(bond_call), + )); + // Check that the proxied call failed due to filter (CallFiltered error) + frame_system::Pallet::::assert_last_event( + pallet_proxy::Event::ProxyExecuted { + result: Err(frame_system::Error::::CallFiltered.into()), + } + .into(), + ); + }); +} + +#[test] +fn session_keys_are_compatible_between_ah_and_rc() { + use asset_hub_kusama_runtime::staking::RelayChainSessionKeys; + use sp_runtime::traits::OpaqueKeys; + + // Verify the key type IDs match in order. + // This ensures that when keys are encoded on AssetHub and decoded on Kusama (or vice versa), + // they map to the correct key types. + assert_eq!( + RelayChainSessionKeys::key_ids(), + kusama_runtime::SessionKeys::key_ids(), + "Session key type IDs must match between AssetHub and Kusama" + ); +} diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml index d082dc1808..4ff3d7355f 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml +++ b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml @@ -66,7 +66,7 @@ pallet-revive = { workspace = true } pallet-scheduler = { workspace = true } pallet-nomination-pools-benchmarking = { optional = true, workspace = true } pallet-staking-async = { workspace = true } -pallet-staking-async-rc-client = { workspace = true } +pallet-staking-async-rc-client = { workspace = true, features = ["xcm-sender"] } pallet-election-provider-multi-block = { workspace = true } pallet-session = { workspace = true } pallet-staking = { workspace = true } @@ -84,6 +84,11 @@ pallet-whitelist = { workspace = true } sp-api = { workspace = true } sp-arithmetic = { workspace = true } sp-block-builder = { workspace = true } +authority-discovery-primitives = { workspace = true } +babe-primitives = { workspace = true } +beefy-primitives = { workspace = true } +grandpa-primitives = { workspace = true } +polkadot-primitives = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } sp-genesis-builder = { workspace = true } @@ -103,6 +108,7 @@ primitive-types = { features = [ "num-traits", "scale-info", ], workspace = true } +pallet-dap = { workspace = true } pallet-delegated-staking = { workspace = true } # Polkadot @@ -145,6 +151,7 @@ approx = { workspace = true } asset-test-utils = { workspace = true } hex = { workspace = true } parachains-runtimes-test-utils = { workspace = true } +polkadot-runtime = { workspace = true } sp-tracing = { workspace = true, default-features = true } remote-externalities = { workspace = true } frame-try-runtime = { workspace = true } @@ -159,6 +166,7 @@ default = ["std"] polkadot-ahm = [ "pallet-ah-migrator/polkadot-ahm", "pallet-rc-migrator/polkadot-ahm", + "polkadot-runtime/polkadot-ahm", ] runtime-benchmarks = [ "assets-common/runtime-benchmarks", @@ -191,6 +199,7 @@ runtime-benchmarks = [ "pallet-child-bounties/runtime-benchmarks", "pallet-collator-selection/runtime-benchmarks", "pallet-conviction-voting/runtime-benchmarks", + "pallet-dap/runtime-benchmarks", "pallet-delegated-staking/runtime-benchmarks", "pallet-election-provider-multi-block/runtime-benchmarks", "pallet-indices/runtime-benchmarks", @@ -206,6 +215,7 @@ runtime-benchmarks = [ "pallet-referenda/runtime-benchmarks", "pallet-revive/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-staking-async-rc-client/runtime-benchmarks", "pallet-staking-async/runtime-benchmarks", "pallet-staking/runtime-benchmarks", @@ -223,8 +233,10 @@ runtime-benchmarks = [ "pallet-xcm/runtime-benchmarks", "parachains-common/runtime-benchmarks", "polkadot-parachain-primitives/runtime-benchmarks", + "polkadot-primitives/runtime-benchmarks", "polkadot-runtime-common/runtime-benchmarks", "polkadot-runtime-constants/runtime-benchmarks", + "polkadot-runtime/runtime-benchmarks", "snowbridge-inbound-queue-primitives/runtime-benchmarks", "snowbridge-pallet-system-frontend/runtime-benchmarks", "snowbridge-runtime-common/runtime-benchmarks", @@ -238,6 +250,7 @@ runtime-benchmarks = [ "xcm/runtime-benchmarks", ] try-runtime = [ + "asset-test-utils/try-runtime", "assets-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", @@ -264,6 +277,7 @@ try-runtime = [ "pallet-child-bounties/try-runtime", "pallet-collator-selection/try-runtime", "pallet-conviction-voting/try-runtime", + "pallet-dap/try-runtime", "pallet-delegated-staking/try-runtime", "pallet-election-provider-multi-block/try-runtime", "pallet-indices/try-runtime", @@ -296,6 +310,8 @@ try-runtime = [ "parachain-info/try-runtime", "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", + "polkadot-runtime/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pallet-system-frontend/try-runtime", "snowbridge-runtime-common/try-runtime", "sp-runtime/try-runtime", @@ -306,6 +322,9 @@ std = [ "pallet-ah-migrator/std", "assets-common/std", + "authority-discovery-primitives/std", + "babe-primitives/std", + "beefy-primitives/std", "bp-asset-hub-kusama/std", "bp-asset-hub-polkadot/std", "bp-bridge-hub-kusama/std", @@ -329,6 +348,7 @@ std = [ "frame-system-rpc-runtime-api/std", "frame-system/std", "frame-try-runtime?/std", + "grandpa-primitives/std", "hex/std", "kusama-runtime-constants/std", "log/std", @@ -346,6 +366,7 @@ std = [ "pallet-child-bounties/std", "pallet-collator-selection/std", "pallet-conviction-voting/std", + "pallet-dap/std", "pallet-delegated-staking/std", "pallet-election-provider-multi-block/std", "pallet-indices/std", @@ -385,6 +406,7 @@ std = [ "parachains-common/std", "polkadot-core-primitives/std", "polkadot-parachain-primitives/std", + "polkadot-primitives/std", "polkadot-runtime-common/std", "polkadot-runtime-constants/std", "primitive-types/std", diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/ah_migration/mod.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/ah_migration/mod.rs index ae81a889d3..2d7b3061a2 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/ah_migration/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/ah_migration/mod.rs @@ -122,7 +122,6 @@ impl TryConvert for RcToProxyType { Auction => Ok(ProxyType::Auction), NominationPools => Ok(ProxyType::NominationPools), ParaRegistration => Ok(ProxyType::ParaRegistration), - StakingOperator => Ok(ProxyType::StakingOperator), } } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs index a17d795400..696d209778 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/genesis_config_presets.rs @@ -16,8 +16,9 @@ //! Genesis configs presets for the AssetHubPolkadot runtime -use crate::{xcm_config::UniversalLocation, *}; +use crate::{staking::DapPalletId, xcm_config::UniversalLocation, *}; use alloc::vec::Vec; +use frame_support::sp_runtime::traits::AccountIdConversion; use parachains_common::AssetHubPolkadotAuraId; use sp_core::sr25519; use sp_genesis_builder::PresetId; @@ -28,6 +29,10 @@ use xcm_executor::traits::ConvertLocation; const ASSET_HUB_POLKADOT_ED: Balance = ExistentialDeposit::get(); +fn dap_buffer_account() -> AccountId { + DapPalletId::get().into_account_truncating() +} + /// Invulnerable Collators for the particular case of AssetHubPolkadot pub fn invulnerables_asset_hub_polkadot() -> Vec<(AccountId, AssetHubPolkadotAuraId)> { vec![ @@ -49,13 +54,16 @@ fn asset_hub_polkadot_genesis( foreign_assets: Vec<(Location, AccountId, Balance)>, foreign_assets_endowed_accounts: Vec<(Location, AccountId, Balance)>, ) -> serde_json::Value { + let mut balances: Vec<(AccountId, Balance)> = endowed_accounts + .iter() + .cloned() + .map(|k| (k, ASSET_HUB_POLKADOT_ED * 4096 * 4096)) + .collect(); + balances.push((dap_buffer_account(), ASSET_HUB_POLKADOT_ED)); + serde_json::json!({ "balances": BalancesConfig { - balances: endowed_accounts - .iter() - .cloned() - .map(|k| (k, ASSET_HUB_POLKADOT_ED * 4096 * 4096)) - .collect(), + balances, dev_accounts: None, }, "parachainInfo": ParachainInfoConfig { diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index cf8b01ab83..8b2cf0d780 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -80,7 +80,7 @@ use crate::governance::WhitelistedCaller; use alloc::{borrow::Cow, vec, vec::Vec}; use assets_common::{ foreign_creators::ForeignCreators, - local_and_foreign_assets::{LocalFromLeft, TargetFromLeft}, + local_and_foreign_assets::{ForeignAssetReserveData, LocalFromLeft, TargetFromLeft}, matching::{FromNetwork, FromSiblingParachain}, AssetIdForTrustBackedAssetsConvert, }; @@ -383,6 +383,8 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = pallet_assets::AutoIncAssetId; type AssetAccountDeposit = AssetAccountDeposit; type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -436,6 +438,7 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = (); type AssetAccountDeposit = ForeignAssetsAssetAccountDeposit; type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; + type ReserveData = ForeignAssetReserveData; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = xcm_config::XcmBenchmarkHelper; } @@ -533,8 +536,8 @@ pub enum ProxyType { Governance, /// Allows access to staking related calls. /// - /// Contains the `Staking`, `Session`, `Utility`, `FastUnstake`, `VoterList`, `NominationPools` - /// pallets. + /// Contains the `Staking`, `StakingRcClient`, `Session`, `Utility`, `VoterList`, + /// `NominationPools` pallets. Staking, /// Allows access to nomination pools related calls. /// @@ -548,11 +551,12 @@ pub enum ProxyType { /// /// This variant cannot do anything on Asset Hub itself. ParaRegistration, - /// Operator proxy for validators. Can only perform operational tasks like validating, - /// chilling, and kicking. Cannot bond/unbond funds, change reward destinations, or nominate. - /// Session key management (set_keys, purge_keys) is done on the relay chain. + /// Operator proxy for validators. Can perform operational tasks: validating, chilling, + /// kicking, and managing session keys. Cannot bond/unbond funds, change reward + /// destinations, or nominate. /// - /// Contains the `Staking` (validate, chill, kick) and `Utility` pallets. + /// Contains `Staking` (validate, chill, kick), `StakingRcClient` (set_keys, purge_keys), + /// and `Utility` pallets. StakingOperator, } impl Default for ProxyType { @@ -578,6 +582,7 @@ impl InstanceFilter for ProxyType { // Specifically omitting Indices `transfer`, `force_transfer` // Specifically omitting the entire Balances pallet RuntimeCall::Staking(..) | + RuntimeCall::StakingRcClient(..) | RuntimeCall::Session(..) | // Not on AH RuntimeCall::Grandpa(..) | RuntimeCall::Treasury(..) | @@ -615,6 +620,7 @@ impl InstanceFilter for ProxyType { ProxyType::Staking => matches!( c, RuntimeCall::Staking(..) | + RuntimeCall::StakingRcClient(..) | RuntimeCall::Session(..) | RuntimeCall::Utility(..) | // Not on AH RuntimeCall::FastUnstake(..) | @@ -633,7 +639,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::Staking(pallet_staking_async::Call::validate { .. }) | RuntimeCall::Staking(pallet_staking_async::Call::chill { .. }) | RuntimeCall::Staking(pallet_staking_async::Call::kick { .. }) | - RuntimeCall::Utility { .. } + RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { .. } + ) | RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { .. } + ) | RuntimeCall::Utility { .. } ), ProxyType::NominationPools => { matches!(c, RuntimeCall::NominationPools(..) | RuntimeCall::Utility(..)) @@ -783,7 +793,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32; } @@ -1061,6 +1070,8 @@ impl pallet_assets::Config for Runtime { type Extra = (); type CallbackHandle = (); type WeightInfo = weights::pallet_assets_pool::WeightInfo; + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -1498,6 +1509,7 @@ construct_runtime!( AssetTxPayment: pallet_asset_conversion_tx_payment = 13, Vesting: pallet_vesting = 14, Claims: pallet_claims = 15, + Dap: pallet_dap = 16, // Collator support. the order of these 5 are important and shall not change. Authorship: pallet_authorship = 20, @@ -1573,6 +1585,7 @@ pub type BlockId = generic::BlockId; pub type TxExtension = cumulus_pallet_weight_reclaim::StorageWeightReclaim< Runtime, ( + frame_system::AuthorizeCall, frame_system::CheckNonZeroSender, frame_system::CheckSpecVersion, frame_system::CheckTxVersion, @@ -1596,6 +1609,7 @@ impl pallet_revive::evm::runtime::EthExtra for EthExtraImpl { fn get_eth_extension(nonce: u32, tip: Balance) -> Self::Extension { ( + frame_system::AuthorizeCall::::new(), frame_system::CheckNonZeroSender::::new(), frame_system::CheckSpecVersion::::new(), frame_system::CheckTxVersion::::new(), @@ -1710,6 +1724,9 @@ impl } } +#[cfg(feature = "runtime-benchmarks")] +type StakingRcClientBench = pallet_staking_async_rc_client::benchmarking::Pallet; + #[cfg(feature = "runtime-benchmarks")] mod benches { use super::*; @@ -1770,6 +1787,7 @@ mod benches { // Staking [pallet_staking_async, Staking] + [pallet_staking_async_rc_client, StakingRcClientBench::] [pallet_bags_list, VoterList] // DelegatedStaking has no calls [pallet_election_provider_multi_block, MultiBlockElection] @@ -1781,8 +1799,8 @@ mod benches { use frame_benchmarking::BenchmarkError; use xcm::latest::prelude::{ - Asset, Assets as XcmAssets, Fungible, Here, InteriorLocation, Junction, Location, - NetworkId, NonFungible, Parent, ParentThen, Response, XCM_VERSION, + AccountId32, Asset, Assets as XcmAssets, Fungible, Here, InteriorLocation, Junction, + Location, NetworkId, NonFungible, Parent, ParentThen, Response, XCM_VERSION, }; impl frame_system_benchmarking::Config for Runtime { @@ -1811,6 +1829,45 @@ mod benches { pub const RandomParaId: ParaId = ParaId::new(43211234); } + impl pallet_staking_async_rc_client::benchmarking::Config for Runtime { + type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper< + xcm_config::XcmConfig, + ExistentialDepositAsset, + PriceForParentDelivery, + >; + + fn account_to_location(account: Self::AccountId) -> Location { + [AccountId32 { network: None, id: account.into() }].into() + } + + fn generate_session_keys() -> Vec { + use staking::RelayChainSessionKeys; + RelayChainSessionKeys::generate(None) + } + + fn setup_validator() -> Self::AccountId { + use frame_benchmarking::account; + use frame_support::traits::fungible::Mutate; + + let stash: Self::AccountId = account("validator", 0, 0); + let balance = 10_000 * UNITS; + + let _ = Balances::mint_into(&stash, balance); + + assert_ok!(Staking::bond( + RuntimeOrigin::signed(stash.clone()), + balance / 2, + pallet_staking_async::RewardDestination::Stash + )); + assert_ok!(Staking::validate( + RuntimeOrigin::signed(stash.clone()), + pallet_staking_async::ValidatorPrefs::default() + )); + + stash + } + } + impl pallet_xcm::benchmarking::Config for Runtime { type DeliveryHelper = ( polkadot_runtime_common::xcm_sender::ToParachainDeliveryHelper< @@ -2225,7 +2282,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -2262,7 +2319,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -2379,8 +2436,8 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -2390,7 +2447,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -2607,7 +2664,7 @@ pallet_revive::impl_runtime_apis_plus_revive_traits!( } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, @@ -2809,6 +2866,21 @@ mod tests { assert!(ProxyType::StakingOperator .filter(&RuntimeCall::Staking(pallet_staking_async::Call::kick { who: vec![] }))); + // - StakingRcClient::set_keys (session key management on Asset Hub) + assert!(ProxyType::StakingOperator.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + } + ))); + + // - StakingRcClient::purge_keys + assert!(ProxyType::StakingOperator.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + } + ))); + // - Utility calls (for batching) assert!(ProxyType::StakingOperator .filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); @@ -2854,8 +2926,17 @@ mod tests { } ))); - // - Session calls (session key management is on relay chain, not Asset Hub) - // Note: Asset Hub's Session pallet is for collators, not validators + // - Session calls: set and purge keys + assert!(!ProxyType::StakingOperator.filter(&RuntimeCall::Session( + pallet_session::Call::set_keys { + keys: SessionKeys { + aura: sp_consensus_aura::ed25519::AuthorityId::from( + sp_core::ed25519::Public::from_raw([0u8; 32]), + ), + }, + proof: vec![], + } + ))); assert!(!ProxyType::StakingOperator .filter(&RuntimeCall::Session(pallet_session::Call::purge_keys {}))); @@ -2880,6 +2961,19 @@ mod tests { ProxyType::Staking.filter(&RuntimeCall::Staking(pallet_staking_async::Call::chill {})) ); + // Staking proxy allows StakingRcClient calls + assert!(ProxyType::Staking.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + } + ))); + assert!(ProxyType::Staking.filter(&RuntimeCall::StakingRcClient( + pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + } + ))); + // Staking proxy can add/remove StakingOperator proxies let delegate = sp_runtime::MultiAddress::Id(AccountId::from([1u8; 32])); assert!(ProxyType::Staking.filter(&RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/staking/mod.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/staking/mod.rs index 144cd5828f..c9e13e5bca 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/staking/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/staking/mod.rs @@ -23,6 +23,7 @@ pub mod nom_pools; pub mod stepped_curve; use crate::{governance::StakingAdmin, *}; +use codec::Encode; use cumulus_pallet_parachain_system::RelaychainDataProvider; use frame_election_provider_support::{ElectionDataProvider, SequentialPhragmen}; use frame_support::{ @@ -110,7 +111,7 @@ impl sp_runtime::traits::Get for RebagIffMigrationDone { pallet_ah_migrator::MigrationEndBlock::::get() .is_some_and(|n| frame_system::Pallet::::block_number() > n + 1) { - 5 + 10 } else { 0 } @@ -130,19 +131,24 @@ impl pallet_bags_list::Config for Runtime { parameter_types! { pub const DelegatedStakingPalletId: PalletId = PalletId(*b"py/dlstk"); pub const SlashRewardFraction: Perbill = Perbill::from_percent(1); + pub const DapPalletId: PalletId = PalletId(*b"dap/buff"); } impl pallet_delegated_staking::Config for Runtime { type RuntimeEvent = RuntimeEvent; type PalletId = DelegatedStakingPalletId; type Currency = Balances; - // slashes are sent to the treasury. - type OnSlash = ResolveTo; + type OnSlash = Dap; type SlashRewardFraction = SlashRewardFraction; type RuntimeHoldReason = RuntimeHoldReason; type CoreStaking = Staking; } +impl pallet_dap::Config for Runtime { + type Currency = Balances; + type PalletId = DapPalletId; +} + #[cfg(feature = "runtime-benchmarks")] parameter_types! { pub BenchElectionBounds: frame_election_provider_support::bounds::ElectionBounds = @@ -175,6 +181,7 @@ impl multi_block::Config for Runtime { type VoterSnapshotPerBlock = VoterSnapshotPerBlock; type TargetSnapshotPerBlock = TargetSnapshotPerBlock; type AdminOrigin = EitherOfDiverse, StakingAdmin>; + type ManagerOrigin = EitherOfDiverse, StakingAdmin>; type DataProvider = Staking; type MinerConfig = Self; type Verifier = MultiBlockElectionVerifier; @@ -437,6 +444,10 @@ parameter_types! { pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); pub const RelaySessionDuration: BlockNumber = prod_or_fast!(4 * RC_HOURS, RC_MINUTES); pub const BondingDuration: sp_staking::EraIndex = 28; + /// Nominators are expected to be slashable and support fast unbonding + /// depending on AreNominatorSlashable storage value, as set by governance. + /// NominatorFastUnbondDuration value below is ignored if nominators are slashable. + pub const NominatorFastUnbondDuration: sp_staking::EraIndex = 2; pub const SlashDeferDuration: sp_staking::EraIndex = 27; pub const MaxControllersInDeprecationBatch: u32 = 512; // alias for 16, which is the max nominations per nominator in the runtime. @@ -444,6 +455,8 @@ parameter_types! { /// Maximum numbers that we prune from pervious eras in each `prune_era` tx. pub MaxPruningItems: u32 = 100; + /// Session index at which to export the validator set to the relay chain. + pub const ValidatorSetExportSession: SessionIndex = 4; } impl pallet_staking_async::Config for Runtime { @@ -454,10 +467,11 @@ impl pallet_staking_async::Config for Runtime { type RuntimeHoldReason = RuntimeHoldReason; type CurrencyToVote = sp_staking::currency_to_vote::SaturatingCurrencyToVote; type RewardRemainder = ResolveTo; - type Slash = ResolveTo; + type Slash = Dap; type Reward = (); type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; + type NominatorFastUnbondDuration = NominatorFastUnbondDuration; type SlashDeferDuration = SlashDeferDuration; type AdminOrigin = EitherOf, StakingAdmin>; type EraPayout = EraPayout; @@ -480,13 +494,37 @@ impl pallet_staking_async::Config for Runtime { type WeightInfo = weights::pallet_staking_async::WeightInfo; } +// Must match Polkadot relay chain's `SessionKeys` structure for encoding/decoding compatibility. +sp_runtime::impl_opaque_keys! { + pub struct RelayChainSessionKeys { + pub grandpa: grandpa_primitives::AuthorityId, + pub babe: babe_primitives::AuthorityId, + pub para_validator: polkadot_primitives::ValidatorId, + pub para_assignment: polkadot_primitives::AssignmentId, + pub authority_discovery: authority_discovery_primitives::AuthorityId, + pub beefy: beefy_primitives::ecdsa_crypto::AuthorityId, + } +} + impl pallet_staking_async_rc_client::Config for Runtime { type RelayChainOrigin = EnsureRoot; type AHStakingInterface = Staking; type SendToRelayChain = StakingXcmToRelayChain; type MaxValidatorSetRetries = ConstU32<64>; - // Export elected validator set at the end of the 4th session of the era. - type ValidatorSetExportSession = ConstU32<4>; + type ValidatorSetExportSession = ValidatorSetExportSession; + type RelayChainSessionKeys = RelayChainSessionKeys; + type Balance = Balance; + // | Key | Crypto | Public Key | Signature | + // |---------------------|---------|------------|-----------| + // | grandpa | Ed25519 | 32 bytes | 64 bytes | + // | babe | Sr25519 | 32 bytes | 64 bytes | + // | para_validator | Sr25519 | 32 bytes | 64 bytes | + // | para_assignment | Sr25519 | 32 bytes | 64 bytes | + // | authority_discovery | Sr25519 | 32 bytes | 64 bytes | + // | beefy | ECDSA | 33 bytes | 65 bytes | + // Buffer for SCALE encoding overhead and future expansions. + type MaxSessionKeysLength = ConstU32<256>; + type WeightInfo = weights::pallet_staking_async_rc_client::WeightInfo; } #[derive(Encode, Decode)] @@ -499,38 +537,52 @@ pub enum RelayChainRuntimePallets { #[derive(Encode, Decode)] pub enum AhClientCalls { - // index of `fn validator_set` in `staking-async-ah-client`. It has only one call. + // index of `fn validator_set` in `staking-async-ah-client`. #[codec(index = 0)] ValidatorSet(rc_client::ValidatorSetReport), + // index of `fn set_keys_from_ah` in `staking-async-ah-client`. + #[codec(index = 3)] + SetKeys { stash: AccountId, keys: Vec }, + // index of `fn purge_keys_from_ah` in `staking-async-ah-client`. + #[codec(index = 4)] + PurgeKeys { stash: AccountId }, } pub struct ValidatorSetToXcm; impl Convert, Xcm<()>> for ValidatorSetToXcm { fn convert(report: rc_client::ValidatorSetReport) -> Xcm<()> { - Xcm(vec![ - Instruction::UnpaidExecution { - weight_limit: WeightLimit::Unlimited, - check_origin: None, - }, - Instruction::Transact { - origin_kind: OriginKind::Native, - fallback_max_weight: None, - call: RelayChainRuntimePallets::AhClient(AhClientCalls::ValidatorSet(report)) - .encode() - .into(), - }, - ]) + rc_client::build_transact_xcm( + RelayChainRuntimePallets::AhClient(AhClientCalls::ValidatorSet(report)).encode(), + ) + } +} + +pub struct KeysMessageToXcm; +impl Convert, Xcm<()>> for KeysMessageToXcm { + fn convert(msg: rc_client::KeysMessage) -> Xcm<()> { + let encoded_call = match msg { + rc_client::KeysMessage::SetKeys { stash, keys } => + RelayChainRuntimePallets::AhClient(AhClientCalls::SetKeys { stash, keys }).encode(), + rc_client::KeysMessage::PurgeKeys { stash } => + RelayChainRuntimePallets::AhClient(AhClientCalls::PurgeKeys { stash }).encode(), + }; + rc_client::build_transact_xcm(encoded_call) } } parameter_types! { pub RelayLocation: Location = Location::parent(); + /// Conservative RC execution cost for set/purge keys operations. + /// ~3x of Polkadot relay benchmarked session set/purge_keys (~58-60M ref_time, ~16538 proof). + pub RemoteKeysExecutionWeight: Weight = Weight::from_parts(180_000_000, 50_000); } pub struct StakingXcmToRelayChain; impl rc_client::SendToRelayChain for StakingXcmToRelayChain { type AccountId = AccountId; + type Balance = Balance; + fn validator_set(report: rc_client::ValidatorSetReport) -> Result<(), ()> { rc_client::XCMSender::< xcm_config::XcmRouter, @@ -539,6 +591,63 @@ impl rc_client::SendToRelayChain for StakingXcmToRelayChain { ValidatorSetToXcm, >::send(report) } + + fn set_keys( + stash: Self::AccountId, + keys: Vec, + max_delivery_and_remote_execution_fee: Option, + ) -> Result> { + let execution_cost = + as frame_support::weights::WeightToFee>::weight_to_fee( + &RemoteKeysExecutionWeight::get(), + ); + + rc_client::XCMSender::< + xcm_config::XcmRouter, + RelayLocation, + rc_client::KeysMessage, + KeysMessageToXcm, + >::send_with_fees::< + xcm_executor::XcmExecutor, + RuntimeCall, + AccountId, + rc_client::AccountId32ToLocation, + Self::Balance, + >( + rc_client::KeysMessage::set_keys(stash.clone(), keys), + stash, + max_delivery_and_remote_execution_fee, + execution_cost, + ) + } + + fn purge_keys( + stash: Self::AccountId, + max_delivery_and_remote_execution_fee: Option, + ) -> Result> { + let execution_cost = + as frame_support::weights::WeightToFee>::weight_to_fee( + &RemoteKeysExecutionWeight::get(), + ); + + rc_client::XCMSender::< + xcm_config::XcmRouter, + RelayLocation, + rc_client::KeysMessage, + KeysMessageToXcm, + >::send_with_fees::< + xcm_executor::XcmExecutor, + RuntimeCall, + AccountId, + rc_client::AccountId32ToLocation, + Self::Balance, + >( + rc_client::KeysMessage::purge_keys(stash.clone()), + stash, + max_delivery_and_remote_execution_fee, + execution_cost, + ) + } } impl frame_system::offchain::CreateTransactionBase for Runtime diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 79c4fb5029..0fc8e35f3f 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `447912eaafc0`, CPU: `AMD EPYC 7443 24-Core Processor` +//! HOSTNAME: `dedd777b6267`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/ibp-cr/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -52,10 +52,10 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`) fn set_config_with_u32() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `175` // Estimated: `1497` - // Minimum execution time: 7_160_000 picoseconds. - Weight::from_parts(7_431_000, 0) + // Minimum execution time: 7_770_000 picoseconds. + Weight::from_parts(8_520_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -73,13 +73,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// The range of component `n` is `[0, 65531]`. fn enqueue_n_bytes_xcmp_message(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `218` + // Measured: `251` // Estimated: `5487` - // Minimum execution time: 18_201_000 picoseconds. - Weight::from_parts(10_287_135, 0) + // Minimum execution time: 19_510_000 picoseconds. + Weight::from_parts(20_294_824, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_141, 0).saturating_mul(n.into())) + // Standard Error: 6 + .saturating_add(Weight::from_parts(413, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -96,13 +96,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// The range of component `n` is `[0, 1000]`. fn enqueue_n_empty_xcmp_messages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `218` + // Measured: `251` // Estimated: `5487` - // Minimum execution time: 15_190_000 picoseconds. - Weight::from_parts(22_560_427, 0) + // Minimum execution time: 16_250_000 picoseconds. + Weight::from_parts(23_376_809, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_455 - .saturating_add(Weight::from_parts(189_164, 0).saturating_mul(n.into())) + // Standard Error: 910 + .saturating_add(Weight::from_parts(206_651, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -117,13 +117,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// The range of component `n` is `[0, 65521]`. fn enqueue_empty_xcmp_message_at(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `401 + n * (1 ±0)` - // Estimated: `3862 + n * (1 ±0)` - // Minimum execution time: 27_981_000 picoseconds. - Weight::from_parts(20_730_983, 0) - .saturating_add(Weight::from_parts(0, 3862)) - // Standard Error: 21 - .saturating_add(Weight::from_parts(1_914, 0).saturating_mul(n.into())) + // Measured: `434 + n * (1 ±0)` + // Estimated: `3895 + n * (1 ±0)` + // Minimum execution time: 30_060_000 picoseconds. + Weight::from_parts(30_240_620, 0) + .saturating_add(Weight::from_parts(0, 3895)) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_360, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -141,13 +141,13 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// The range of component `n` is `[0, 100]`. fn enqueue_n_full_pages(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `253` + // Measured: `286` // Estimated: `5487` - // Minimum execution time: 16_700_000 picoseconds. - Weight::from_parts(2_621_698, 0) + // Minimum execution time: 17_870_000 picoseconds. + Weight::from_parts(13_702_282, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 94_580 - .saturating_add(Weight::from_parts(63_477_662, 0).saturating_mul(n.into())) + // Standard Error: 67_012 + .saturating_add(Weight::from_parts(29_274_018, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -162,11 +162,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: Some(4002), added: 4497, mode: `Measured`) fn enqueue_1000_small_xcmp_messages() -> Weight { // Proof Size summary in bytes: - // Measured: `33166` - // Estimated: `36631` - // Minimum execution time: 282_338_000 picoseconds. - Weight::from_parts(285_938_000, 0) - .saturating_add(Weight::from_parts(0, 36631)) + // Measured: `33199` + // Estimated: `36664` + // Minimum execution time: 280_998_000 picoseconds. + Weight::from_parts(317_958_000, 0) + .saturating_add(Weight::from_parts(0, 36664)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -174,10 +174,10 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn suspend_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `142` + // Measured: `175` // Estimated: `2767` - // Minimum execution time: 4_170_000 picoseconds. - Weight::from_parts(4_310_000, 0) + // Minimum execution time: 5_030_000 picoseconds. + Weight::from_parts(5_550_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -186,21 +186,24 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: Some(1282), added: 1777, mode: `MaxEncodedLen`) fn resume_channel() -> Weight { // Proof Size summary in bytes: - // Measured: `177` + // Measured: `210` // Estimated: `2767` - // Minimum execution time: 5_451_000 picoseconds. - Weight::from_parts(5_750_000, 0) + // Minimum execution time: 6_019_000 picoseconds. + Weight::from_parts(6_850_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_550_000 picoseconds. - Weight::from_parts(5_730_000, 0) + // Minimum execution time: 2_340_000 picoseconds. + Weight::from_parts(2_777_674, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 156 + .saturating_add(Weight::from_parts(15_256, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -218,11 +221,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(65585), added: 68060, mode: `MaxEncodedLen`) fn on_idle_good_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65847` - // Estimated: `69312` - // Minimum execution time: 130_304_000 picoseconds. - Weight::from_parts(132_504_000, 0) - .saturating_add(Weight::from_parts(0, 69312)) + // Measured: `65880` + // Estimated: `69345` + // Minimum execution time: 85_470_000 picoseconds. + Weight::from_parts(88_289_000, 0) + .saturating_add(Weight::from_parts(0, 69345)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) } @@ -232,11 +235,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) fn on_idle_large_msg() -> Weight { // Proof Size summary in bytes: - // Measured: `65776` - // Estimated: `69241` - // Minimum execution time: 55_152_000 picoseconds. - Weight::from_parts(56_772_000, 0) - .saturating_add(Weight::from_parts(0, 69241)) + // Measured: `65809` + // Estimated: `69274` + // Minimum execution time: 54_780_000 picoseconds. + Weight::from_parts(57_790_000, 0) + .saturating_add(Weight::from_parts(0, 69274)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/mod.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/mod.rs index 41ddb1958e..bdf9d9969c 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/mod.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/mod.rs @@ -51,6 +51,7 @@ pub mod pallet_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_staking_async; +pub mod pallet_staking_async_rc_client; pub mod pallet_timestamp; pub mod pallet_transaction_payment; pub mod pallet_treasury; diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_foreign.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_foreign.rs index dafdb83285..d12e5e4da3 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_foreign.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_foreign.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `447912eaafc0`, CPU: `AMD EPYC 7443 24-Core Processor` +//! HOSTNAME: `dedd777b6267`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=pallet_assets -// --header=/_work/ibp-cr/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -60,8 +60,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1348` // Estimated: `4273` - // Minimum execution time: 45_012_000 picoseconds. - Weight::from_parts(46_411_000, 0) + // Minimum execution time: 49_690_000 picoseconds. + Weight::from_parts(52_240_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -74,8 +74,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `4` // Estimated: `4273` - // Minimum execution time: 14_980_000 picoseconds. - Weight::from_parts(15_631_000, 0) + // Minimum execution time: 15_110_000 picoseconds. + Weight::from_parts(16_400_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -86,8 +86,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 16_631_000 picoseconds. - Weight::from_parts(17_711_000, 0) + // Minimum execution time: 17_490_000 picoseconds. + Weight::from_parts(18_480_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -103,13 +103,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68278 + c * (430 ±0)` + // Measured: `68311 + c * (430 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 20_750_000 picoseconds. - Weight::from_parts(21_331_000, 0) + // Minimum execution time: 20_720_000 picoseconds. + Weight::from_parts(80_087_624, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 25_299 - .saturating_add(Weight::from_parts(18_956_157, 0).saturating_mul(c.into())) + // Standard Error: 49_411 + .saturating_add(Weight::from_parts(20_829_774, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -127,11 +127,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `413 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 24_180_000 picoseconds. - Weight::from_parts(26_681_000, 0) + // Minimum execution time: 23_661_000 picoseconds. + Weight::from_parts(24_920_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 15_623 - .saturating_add(Weight::from_parts(20_144_520, 0).saturating_mul(a.into())) + // Standard Error: 18_345 + .saturating_add(Weight::from_parts(22_012_240, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -146,8 +146,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 16_880_000 picoseconds. - Weight::from_parts(17_561_000, 0) + // Minimum execution time: 17_181_000 picoseconds. + Weight::from_parts(18_220_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -160,8 +160,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 29_281_000 picoseconds. - Weight::from_parts(30_271_000, 0) + // Minimum execution time: 29_970_000 picoseconds. + Weight::from_parts(31_239_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -174,8 +174,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 41_922_000 picoseconds. - Weight::from_parts(43_511_000, 0) + // Minimum execution time: 43_640_000 picoseconds. + Weight::from_parts(44_900_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -190,8 +190,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1710` // Estimated: `7404` - // Minimum execution time: 63_022_000 picoseconds. - Weight::from_parts(65_012_000, 0) + // Minimum execution time: 66_730_000 picoseconds. + Weight::from_parts(68_509_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -206,8 +206,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1710` // Estimated: `7404` - // Minimum execution time: 57_641_000 picoseconds. - Weight::from_parts(58_992_000, 0) + // Minimum execution time: 61_210_000 picoseconds. + Weight::from_parts(63_168_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -222,8 +222,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1710` // Estimated: `7404` - // Minimum execution time: 63_322_000 picoseconds. - Weight::from_parts(65_662_000, 0) + // Minimum execution time: 66_818_000 picoseconds. + Weight::from_parts(68_359_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -236,8 +236,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 21_961_000 picoseconds. - Weight::from_parts(22_781_000, 0) + // Minimum execution time: 22_640_000 picoseconds. + Weight::from_parts(23_570_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -250,8 +250,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 21_741_000 picoseconds. - Weight::from_parts(22_861_000, 0) + // Minimum execution time: 23_141_000 picoseconds. + Weight::from_parts(24_700_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -262,8 +262,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 16_470_000 picoseconds. - Weight::from_parts(17_791_000, 0) + // Minimum execution time: 17_030_000 picoseconds. + Weight::from_parts(18_330_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -274,8 +274,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 16_260_000 picoseconds. - Weight::from_parts(17_441_000, 0) + // Minimum execution time: 17_560_000 picoseconds. + Weight::from_parts(18_500_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -288,8 +288,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 17_401_000 picoseconds. - Weight::from_parts(18_131_000, 0) + // Minimum execution time: 17_670_000 picoseconds. + Weight::from_parts(18_559_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -300,14 +300,33 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 14_991_000 picoseconds. - Weight::from_parts(16_111_000, 0) + // Minimum execution time: 15_539_000 picoseconds. + Weight::from_parts(16_270_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `ForeignAssets::Asset` (r:1 w:0) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Reserves` (r:0 w:1) + /// Proof: `ForeignAssets::Reserves` (`max_values`: None, `max_size`: Some(3634), added: 6109, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 17_731_000 picoseconds. + Weight::from_parts(19_846_844, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 14_748 + .saturating_add(Weight::from_parts(477_646, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Metadata` (r:1 w:1) /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. @@ -316,15 +335,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 36_061_000 picoseconds. - Weight::from_parts(40_787_626, 0) + // Minimum execution time: 37_620_000 picoseconds. + Weight::from_parts(40_398_490, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 5_139 - .saturating_add(Weight::from_parts(4_564, 0).saturating_mul(s.into())) + // Standard Error: 2_658 + .saturating_add(Weight::from_parts(8_934, 0).saturating_mul(n.into())) + // Standard Error: 2_658 + .saturating_add(Weight::from_parts(5_312, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -336,8 +357,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `406` // Estimated: `4273` - // Minimum execution time: 36_052_000 picoseconds. - Weight::from_parts(37_530_000, 0) + // Minimum execution time: 38_439_000 picoseconds. + Weight::from_parts(42_569_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -356,13 +377,13 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `81` // Estimated: `4273` - // Minimum execution time: 15_490_000 picoseconds. - Weight::from_parts(16_869_900, 0) + // Minimum execution time: 15_910_000 picoseconds. + Weight::from_parts(15_600_002, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 1_058 - .saturating_add(Weight::from_parts(1_098, 0).saturating_mul(n.into())) - // Standard Error: 1_058 - .saturating_add(Weight::from_parts(913, 0).saturating_mul(s.into())) + // Standard Error: 4_131 + .saturating_add(Weight::from_parts(29_370, 0).saturating_mul(n.into())) + // Standard Error: 4_131 + .saturating_add(Weight::from_parts(42_040, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -374,8 +395,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `406` // Estimated: `4273` - // Minimum execution time: 35_121_000 picoseconds. - Weight::from_parts(36_291_000, 0) + // Minimum execution time: 39_021_000 picoseconds. + Weight::from_parts(42_870_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,8 +407,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 14_170_000 picoseconds. - Weight::from_parts(14_661_000, 0) + // Minimum execution time: 15_650_000 picoseconds. + Weight::from_parts(17_060_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -400,8 +421,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 42_900_000 picoseconds. - Weight::from_parts(44_550_000, 0) + // Minimum execution time: 45_909_000 picoseconds. + Weight::from_parts(49_570_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -418,8 +439,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1710` // Estimated: `7404` - // Minimum execution time: 88_763_000 picoseconds. - Weight::from_parts(90_992_000, 0) + // Minimum execution time: 97_708_000 picoseconds. + Weight::from_parts(100_749_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -432,8 +453,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `446` // Estimated: `4273` - // Minimum execution time: 43_572_000 picoseconds. - Weight::from_parts(44_861_000, 0) + // Minimum execution time: 47_849_000 picoseconds. + Weight::from_parts(51_319_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -446,8 +467,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `446` // Estimated: `4273` - // Minimum execution time: 43_811_000 picoseconds. - Weight::from_parts(45_072_000, 0) + // Minimum execution time: 47_289_000 picoseconds. + Weight::from_parts(52_470_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -458,8 +479,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 16_471_000 picoseconds. - Weight::from_parts(17_061_000, 0) + // Minimum execution time: 18_030_000 picoseconds. + Weight::from_parts(19_450_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -474,8 +495,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1549` // Estimated: `4273` - // Minimum execution time: 48_842_000 picoseconds. - Weight::from_parts(51_502_000, 0) + // Minimum execution time: 54_701_000 picoseconds. + Weight::from_parts(59_310_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -488,8 +509,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `242` // Estimated: `4273` - // Minimum execution time: 43_010_000 picoseconds. - Weight::from_parts(44_351_000, 0) + // Minimum execution time: 46_860_000 picoseconds. + Weight::from_parts(56_970_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -504,8 +525,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1675` // Estimated: `4273` - // Minimum execution time: 46_492_000 picoseconds. - Weight::from_parts(48_292_000, 0) + // Minimum execution time: 49_880_000 picoseconds. + Weight::from_parts(57_199_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -518,8 +539,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `401` // Estimated: `4273` - // Minimum execution time: 40_522_000 picoseconds. - Weight::from_parts(42_033_000, 0) + // Minimum execution time: 44_180_000 picoseconds. + Weight::from_parts(52_669_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -532,8 +553,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `4273` - // Minimum execution time: 21_411_000 picoseconds. - Weight::from_parts(22_481_000, 0) + // Minimum execution time: 23_930_000 picoseconds. + Weight::from_parts(26_731_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -548,8 +569,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1710` // Estimated: `7404` - // Minimum execution time: 78_292_000 picoseconds. - Weight::from_parts(79_952_000, 0) + // Minimum execution time: 87_590_000 picoseconds. + Weight::from_parts(96_830_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -560,8 +581,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `276` // Estimated: `4273` - // Minimum execution time: 7_911_000 picoseconds. - Weight::from_parts(8_290_000, 0) + // Minimum execution time: 9_140_000 picoseconds. + Weight::from_parts(10_220_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -571,8 +592,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `150` // Estimated: `4197` - // Minimum execution time: 7_391_000 picoseconds. - Weight::from_parts(7_911_000, 0) + // Minimum execution time: 7_730_000 picoseconds. + Weight::from_parts(8_491_000, 0) .saturating_add(Weight::from_parts(0, 4197)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -582,9 +603,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `245` // Estimated: `4211` - // Minimum execution time: 10_560_000 picoseconds. - Weight::from_parts(11_001_000, 0) + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(13_470_000, 0) .saturating_add(Weight::from_parts(0, 4211)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Reserves` (r:0 w:1) + /// Proof: `ForeignAssets::Reserves` (`max_values`: None, `max_size`: Some(3634), added: 6109, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 12_979_000 picoseconds. + Weight::from_parts(14_171_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_local.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_local.rs index 4ba231ee7f..4a039a28ba 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_local.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_local.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `447912eaafc0`, CPU: `AMD EPYC 7443 24-Core Processor` +//! HOSTNAME: `dedd777b6267`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=pallet_assets -// --header=/_work/ibp-cr/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -58,8 +58,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1316` // Estimated: `3675` - // Minimum execution time: 40_972_000 picoseconds. - Weight::from_parts(42_411_000, 0) + // Minimum execution time: 50_329_000 picoseconds. + Weight::from_parts(57_710_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) @@ -72,8 +72,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3675` - // Minimum execution time: 15_102_000 picoseconds. - Weight::from_parts(16_011_000, 0) + // Minimum execution time: 17_769_000 picoseconds. + Weight::from_parts(20_970_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -84,8 +84,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 16_950_000 picoseconds. - Weight::from_parts(18_142_000, 0) + // Minimum execution time: 18_660_000 picoseconds. + Weight::from_parts(22_760_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -101,13 +101,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68316 + c * (430 ±0)` + // Measured: `68349 + c * (430 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 20_352_000 picoseconds. - Weight::from_parts(120_919_240, 0) + // Minimum execution time: 21_510_000 picoseconds. + Weight::from_parts(22_720_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 31_827 - .saturating_add(Weight::from_parts(18_315_612, 0).saturating_mul(c.into())) + // Standard Error: 22_777 + .saturating_add(Weight::from_parts(21_649_536, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -125,11 +125,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `451 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 24_081_000 picoseconds. - Weight::from_parts(11_439_368, 0) + // Minimum execution time: 25_510_000 picoseconds. + Weight::from_parts(15_308_571, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 26_336 - .saturating_add(Weight::from_parts(20_103_540, 0).saturating_mul(a.into())) + // Standard Error: 33_934 + .saturating_add(Weight::from_parts(22_258_203, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -144,8 +144,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 16_830_000 picoseconds. - Weight::from_parts(17_772_000, 0) + // Minimum execution time: 16_840_000 picoseconds. + Weight::from_parts(18_150_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -158,8 +158,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 28_841_000 picoseconds. - Weight::from_parts(29_891_000, 0) + // Minimum execution time: 30_179_000 picoseconds. + Weight::from_parts(32_331_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -172,8 +172,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 40_051_000 picoseconds. - Weight::from_parts(41_950_000, 0) + // Minimum execution time: 43_911_000 picoseconds. + Weight::from_parts(45_900_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -188,8 +188,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1748` // Estimated: `6208` - // Minimum execution time: 61_550_000 picoseconds. - Weight::from_parts(62_591_000, 0) + // Minimum execution time: 66_800_000 picoseconds. + Weight::from_parts(68_059_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -204,8 +204,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1748` // Estimated: `6208` - // Minimum execution time: 55_273_000 picoseconds. - Weight::from_parts(57_331_000, 0) + // Minimum execution time: 61_320_000 picoseconds. + Weight::from_parts(63_130_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -220,8 +220,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1748` // Estimated: `6208` - // Minimum execution time: 61_082_000 picoseconds. - Weight::from_parts(62_552_000, 0) + // Minimum execution time: 66_729_000 picoseconds. + Weight::from_parts(68_420_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -234,8 +234,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 21_400_000 picoseconds. - Weight::from_parts(22_331_000, 0) + // Minimum execution time: 23_651_000 picoseconds. + Weight::from_parts(24_890_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -248,8 +248,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 21_770_000 picoseconds. - Weight::from_parts(22_930_000, 0) + // Minimum execution time: 24_120_000 picoseconds. + Weight::from_parts(25_130_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -260,8 +260,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 17_041_000 picoseconds. - Weight::from_parts(17_970_000, 0) + // Minimum execution time: 18_000_000 picoseconds. + Weight::from_parts(19_580_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -272,8 +272,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 17_001_000 picoseconds. - Weight::from_parts(17_649_000, 0) + // Minimum execution time: 17_940_000 picoseconds. + Weight::from_parts(19_200_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -286,8 +286,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 17_531_000 picoseconds. - Weight::from_parts(18_280_000, 0) + // Minimum execution time: 17_440_000 picoseconds. + Weight::from_parts(19_141_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -298,14 +298,33 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 15_129_000 picoseconds. - Weight::from_parts(15_960_000, 0) + // Minimum execution time: 15_951_000 picoseconds. + Weight::from_parts(17_781_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `280` + // Estimated: `3675` + // Minimum execution time: 18_390_000 picoseconds. + Weight::from_parts(20_788_948, 0) + .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 28_006 + .saturating_add(Weight::from_parts(171_242, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) /// Storage: `Assets::Metadata` (r:1 w:1) /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(140), added: 2615, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. @@ -314,13 +333,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 36_331_000 picoseconds. - Weight::from_parts(39_008_745, 0) + // Minimum execution time: 38_948_000 picoseconds. + Weight::from_parts(38_962_419, 0) .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 11_475 + .saturating_add(Weight::from_parts(174_352, 0).saturating_mul(n.into())) + // Standard Error: 11_475 + .saturating_add(Weight::from_parts(50_000, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -332,8 +355,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 36_381_000 picoseconds. - Weight::from_parts(37_221_000, 0) + // Minimum execution time: 41_351_000 picoseconds. + Weight::from_parts(46_790_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -348,17 +371,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(n: u32, s: u32, ) -> Weight { + fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `119` // Estimated: `3675` - // Minimum execution time: 15_871_000 picoseconds. - Weight::from_parts(17_069_510, 0) + // Minimum execution time: 15_710_000 picoseconds. + Weight::from_parts(22_556_847, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 1_455 - .saturating_add(Weight::from_parts(3_122, 0).saturating_mul(n.into())) - // Standard Error: 1_455 - .saturating_add(Weight::from_parts(379, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -370,8 +389,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `3675` - // Minimum execution time: 35_621_000 picoseconds. - Weight::from_parts(36_691_000, 0) + // Minimum execution time: 38_730_000 picoseconds. + Weight::from_parts(40_410_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -382,8 +401,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 14_471_000 picoseconds. - Weight::from_parts(15_250_000, 0) + // Minimum execution time: 14_480_000 picoseconds. + Weight::from_parts(16_050_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -396,8 +415,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 42_361_000 picoseconds. - Weight::from_parts(43_132_000, 0) + // Minimum execution time: 45_900_000 picoseconds. + Weight::from_parts(48_749_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -414,8 +433,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1748` // Estimated: `6208` - // Minimum execution time: 85_322_000 picoseconds. - Weight::from_parts(87_093_000, 0) + // Minimum execution time: 93_179_000 picoseconds. + Weight::from_parts(96_269_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -428,8 +447,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 43_091_000 picoseconds. - Weight::from_parts(44_262_000, 0) + // Minimum execution time: 47_731_000 picoseconds. + Weight::from_parts(49_340_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -442,8 +461,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `484` // Estimated: `3675` - // Minimum execution time: 43_051_000 picoseconds. - Weight::from_parts(44_742_000, 0) + // Minimum execution time: 48_110_000 picoseconds. + Weight::from_parts(49_200_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -454,8 +473,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 15_921_000 picoseconds. - Weight::from_parts(16_641_000, 0) + // Minimum execution time: 16_860_000 picoseconds. + Weight::from_parts(17_920_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -470,8 +489,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1587` // Estimated: `3675` - // Minimum execution time: 46_972_000 picoseconds. - Weight::from_parts(48_952_000, 0) + // Minimum execution time: 50_920_000 picoseconds. + Weight::from_parts(53_500_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -484,8 +503,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `280` // Estimated: `3675` - // Minimum execution time: 41_251_000 picoseconds. - Weight::from_parts(42_852_000, 0) + // Minimum execution time: 45_030_000 picoseconds. + Weight::from_parts(46_580_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -500,8 +519,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1713` // Estimated: `3675` - // Minimum execution time: 44_172_000 picoseconds. - Weight::from_parts(45_892_000, 0) + // Minimum execution time: 48_689_000 picoseconds. + Weight::from_parts(50_230_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -514,8 +533,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `439` // Estimated: `3675` - // Minimum execution time: 38_551_000 picoseconds. - Weight::from_parts(39_622_000, 0) + // Minimum execution time: 42_700_000 picoseconds. + Weight::from_parts(44_740_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -528,8 +547,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `388` // Estimated: `3675` - // Minimum execution time: 21_561_000 picoseconds. - Weight::from_parts(22_391_000, 0) + // Minimum execution time: 23_090_000 picoseconds. + Weight::from_parts(24_020_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -544,8 +563,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1748` // Estimated: `6208` - // Minimum execution time: 74_582_000 picoseconds. - Weight::from_parts(75_693_000, 0) + // Minimum execution time: 79_459_000 picoseconds. + Weight::from_parts(82_110_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -556,8 +575,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `314` // Estimated: `3675` - // Minimum execution time: 8_350_000 picoseconds. - Weight::from_parts(8_750_000, 0) + // Minimum execution time: 9_180_000 picoseconds. + Weight::from_parts(9_560_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -567,8 +586,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `188` // Estimated: `3599` - // Minimum execution time: 9_351_000 picoseconds. - Weight::from_parts(9_870_000, 0) + // Minimum execution time: 10_390_000 picoseconds. + Weight::from_parts(11_000_000, 0) .saturating_add(Weight::from_parts(0, 3599)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -578,9 +597,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `283` // Estimated: `3613` - // Minimum execution time: 12_720_000 picoseconds. - Weight::from_parts(13_191_000, 0) + // Minimum execution time: 14_160_000 picoseconds. + Weight::from_parts(14_660_000, 0) .saturating_add(Weight::from_parts(0, 3613)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `119` + // Estimated: `3675` + // Minimum execution time: 10_840_000 picoseconds. + Weight::from_parts(12_080_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_pool.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_pool.rs index e4e6ae25c2..d2f49a9676 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_pool.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_assets_pool.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `447912eaafc0`, CPU: `AMD EPYC 7443 24-Core Processor` +//! HOSTNAME: `dedd777b6267`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=pallet_assets -// --header=/_work/ibp-cr/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -64,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `109` // Estimated: `3675` - // Minimum execution time: 15_191_000 picoseconds. - Weight::from_parts(16_252_000, 0) + // Minimum execution time: 16_050_000 picoseconds. + Weight::from_parts(19_390_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -76,8 +76,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3675` - // Minimum execution time: 16_819_000 picoseconds. - Weight::from_parts(17_661_000, 0) + // Minimum execution time: 18_170_000 picoseconds. + Weight::from_parts(21_070_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -93,13 +93,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `68383 + c * (430 ±0)` + // Measured: `68416 + c * (430 ±0)` // Estimated: `3675 + c * (2609 ±0)` - // Minimum execution time: 20_001_000 picoseconds. - Weight::from_parts(34_201_598, 0) + // Minimum execution time: 21_901_000 picoseconds. + Weight::from_parts(49_053_322, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 29_182 - .saturating_add(Weight::from_parts(18_626_524, 0).saturating_mul(c.into())) + // Standard Error: 50_414 + .saturating_add(Weight::from_parts(21_132_838, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -117,11 +117,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `518 + a * (86 ±0)` // Estimated: `3675 + a * (2623 ±0)` - // Minimum execution time: 23_909_000 picoseconds. - Weight::from_parts(24_420_000, 0) + // Minimum execution time: 23_510_000 picoseconds. + Weight::from_parts(24_411_000, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 17_618 - .saturating_add(Weight::from_parts(19_953_499, 0).saturating_mul(a.into())) + // Standard Error: 18_121 + .saturating_add(Weight::from_parts(21_881_230, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -136,8 +136,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 16_660_000 picoseconds. - Weight::from_parts(17_231_000, 0) + // Minimum execution time: 18_180_000 picoseconds. + Weight::from_parts(19_499_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -150,8 +150,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 28_291_000 picoseconds. - Weight::from_parts(29_681_000, 0) + // Minimum execution time: 31_970_000 picoseconds. + Weight::from_parts(37_079_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -164,8 +164,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `455` // Estimated: `3675` - // Minimum execution time: 40_451_000 picoseconds. - Weight::from_parts(41_171_000, 0) + // Minimum execution time: 44_729_000 picoseconds. + Weight::from_parts(46_711_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -180,8 +180,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `6208` - // Minimum execution time: 60_402_000 picoseconds. - Weight::from_parts(62_202_000, 0) + // Minimum execution time: 69_210_000 picoseconds. + Weight::from_parts(79_140_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -196,8 +196,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `6208` - // Minimum execution time: 55_652_000 picoseconds. - Weight::from_parts(57_492_000, 0) + // Minimum execution time: 60_060_000 picoseconds. + Weight::from_parts(63_760_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -212,8 +212,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `6208` - // Minimum execution time: 60_692_000 picoseconds. - Weight::from_parts(62_612_000, 0) + // Minimum execution time: 66_451_000 picoseconds. + Weight::from_parts(68_629_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -226,8 +226,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `455` // Estimated: `3675` - // Minimum execution time: 21_511_000 picoseconds. - Weight::from_parts(22_410_000, 0) + // Minimum execution time: 23_751_000 picoseconds. + Weight::from_parts(26_229_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -240,8 +240,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `455` // Estimated: `3675` - // Minimum execution time: 21_591_000 picoseconds. - Weight::from_parts(22_651_000, 0) + // Minimum execution time: 22_880_000 picoseconds. + Weight::from_parts(24_430_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -252,8 +252,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3675` - // Minimum execution time: 16_641_000 picoseconds. - Weight::from_parts(17_361_000, 0) + // Minimum execution time: 18_129_000 picoseconds. + Weight::from_parts(20_000_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -264,8 +264,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3675` - // Minimum execution time: 16_841_000 picoseconds. - Weight::from_parts(17_201_000, 0) + // Minimum execution time: 17_851_000 picoseconds. + Weight::from_parts(20_520_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -278,8 +278,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 16_910_000 picoseconds. - Weight::from_parts(18_190_000, 0) + // Minimum execution time: 18_350_000 picoseconds. + Weight::from_parts(19_520_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -290,8 +290,25 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 15_280_000 picoseconds. - Weight::from_parts(15_921_000, 0) + // Minimum execution time: 17_010_000 picoseconds. + Weight::from_parts(17_960_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `PoolAssets::Asset` (r:1 w:0) + /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Reserves` (r:0 w:1) + /// Proof: `PoolAssets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + fn set_reserves(_n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `347` + // Estimated: `3675` + // Minimum execution time: 18_869_000 picoseconds. + Weight::from_parts(21_381_035, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,15 +323,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 19_530_000 picoseconds. - Weight::from_parts(21_230_087, 0) + // Minimum execution time: 21_120_000 picoseconds. + Weight::from_parts(22_201_945, 0) .saturating_add(Weight::from_parts(0, 3675)) - // Standard Error: 1_174 - .saturating_add(Weight::from_parts(2_980, 0).saturating_mul(s.into())) + // Standard Error: 4_289 + .saturating_add(Weight::from_parts(5_319, 0).saturating_mul(n.into())) + // Standard Error: 4_289 + .saturating_add(Weight::from_parts(32_469, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -326,8 +345,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511` // Estimated: `3675` - // Minimum execution time: 20_470_000 picoseconds. - Weight::from_parts(21_331_000, 0) + // Minimum execution time: 22_150_000 picoseconds. + Weight::from_parts(23_600_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -342,13 +361,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, _s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `186` // Estimated: `3675` - // Minimum execution time: 15_701_000 picoseconds. - Weight::from_parts(17_279_400, 0) + // Minimum execution time: 16_510_000 picoseconds. + Weight::from_parts(17_727_059, 0) .saturating_add(Weight::from_parts(0, 3675)) + // Standard Error: 1_038 + .saturating_add(Weight::from_parts(5_256, 0).saturating_mul(n.into())) + // Standard Error: 1_038 + .saturating_add(Weight::from_parts(9_409, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -360,8 +383,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `511` // Estimated: `3675` - // Minimum execution time: 19_811_000 picoseconds. - Weight::from_parts(20_880_000, 0) + // Minimum execution time: 21_679_000 picoseconds. + Weight::from_parts(22_778_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -372,8 +395,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 14_299_000 picoseconds. - Weight::from_parts(15_262_000, 0) + // Minimum execution time: 15_710_000 picoseconds. + Weight::from_parts(16_699_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -386,8 +409,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3675` - // Minimum execution time: 41_841_000 picoseconds. - Weight::from_parts(43_092_000, 0) + // Minimum execution time: 46_040_000 picoseconds. + Weight::from_parts(47_220_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -404,8 +427,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `6208` - // Minimum execution time: 84_941_000 picoseconds. - Weight::from_parts(86_003_000, 0) + // Minimum execution time: 93_289_000 picoseconds. + Weight::from_parts(95_709_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -418,8 +441,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `551` // Estimated: `3675` - // Minimum execution time: 42_820_000 picoseconds. - Weight::from_parts(44_152_000, 0) + // Minimum execution time: 46_859_000 picoseconds. + Weight::from_parts(48_560_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -432,8 +455,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `551` // Estimated: `3675` - // Minimum execution time: 42_910_000 picoseconds. - Weight::from_parts(44_351_000, 0) + // Minimum execution time: 47_389_000 picoseconds. + Weight::from_parts(48_820_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -444,8 +467,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 15_750_000 picoseconds. - Weight::from_parts(16_401_000, 0) + // Minimum execution time: 16_770_000 picoseconds. + Weight::from_parts(17_900_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -460,8 +483,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1654` // Estimated: `3675` - // Minimum execution time: 46_813_000 picoseconds. - Weight::from_parts(48_533_000, 0) + // Minimum execution time: 50_919_000 picoseconds. + Weight::from_parts(53_960_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -474,8 +497,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `347` // Estimated: `3675` - // Minimum execution time: 40_590_000 picoseconds. - Weight::from_parts(42_130_000, 0) + // Minimum execution time: 44_670_000 picoseconds. + Weight::from_parts(45_630_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -490,8 +513,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1780` // Estimated: `3675` - // Minimum execution time: 44_100_000 picoseconds. - Weight::from_parts(45_131_000, 0) + // Minimum execution time: 48_260_000 picoseconds. + Weight::from_parts(49_980_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -504,8 +527,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `506` // Estimated: `3675` - // Minimum execution time: 38_730_000 picoseconds. - Weight::from_parts(39_822_000, 0) + // Minimum execution time: 41_470_000 picoseconds. + Weight::from_parts(43_510_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -518,8 +541,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `455` // Estimated: `3675` - // Minimum execution time: 20_870_000 picoseconds. - Weight::from_parts(22_200_000, 0) + // Minimum execution time: 23_459_000 picoseconds. + Weight::from_parts(24_840_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -534,8 +557,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `6208` - // Minimum execution time: 74_421_000 picoseconds. - Weight::from_parts(76_603_000, 0) + // Minimum execution time: 81_269_000 picoseconds. + Weight::from_parts(83_690_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -546,8 +569,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `381` // Estimated: `3675` - // Minimum execution time: 8_261_000 picoseconds. - Weight::from_parts(8_661_000, 0) + // Minimum execution time: 9_171_000 picoseconds. + Weight::from_parts(9_691_000, 0) .saturating_add(Weight::from_parts(0, 3675)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -557,8 +580,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3599` - // Minimum execution time: 9_420_000 picoseconds. - Weight::from_parts(9_681_000, 0) + // Minimum execution time: 10_269_000 picoseconds. + Weight::from_parts(10_781_000, 0) .saturating_add(Weight::from_parts(0, 3599)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -568,9 +591,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `350` // Estimated: `3613` - // Minimum execution time: 12_680_000 picoseconds. - Weight::from_parts(13_090_000, 0) + // Minimum execution time: 14_380_000 picoseconds. + Weight::from_parts(15_080_000, 0) .saturating_add(Weight::from_parts(0, 3613)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `PoolAssets::Asset` (r:1 w:0) + /// Proof: `PoolAssets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) + /// Storage: `PoolAssets::Reserves` (r:0 w:1) + /// Proof: `PoolAssets::Reserves` (`max_values`: None, `max_size`: Some(21), added: 2496, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `186` + // Estimated: `3675` + // Minimum execution time: 11_549_000 picoseconds. + Weight::from_parts(12_450_000, 0) + .saturating_add(Weight::from_parts(0, 3675)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_election_provider_multi_block.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_election_provider_multi_block.rs index e0be3a737b..f824a56079 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_election_provider_multi_block.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_election_provider_multi_block.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_election_provider_multi_block` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `d42fe91c0ecc`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `dedd777b6267`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=pallet_election_provider_multi_block -// --header=/_work/ibp-gb/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -56,11 +56,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `Measured`) fn on_initialize_nothing() -> Weight { // Proof Size summary in bytes: - // Measured: `121` - // Estimated: `3586` - // Minimum execution time: 8_110_000 picoseconds. - Weight::from_parts(8_370_000, 0) - .saturating_add(Weight::from_parts(0, 3586)) + // Measured: `122` + // Estimated: `3587` + // Minimum execution time: 13_991_000 picoseconds. + Weight::from_parts(14_800_000, 0) + .saturating_add(Weight::from_parts(0, 3587)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -86,11 +86,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(64026), added: 66501, mode: `Measured`) fn on_initialize_into_snapshot_msp() -> Weight { // Proof Size summary in bytes: - // Measured: `95119` - // Estimated: `5048584` - // Minimum execution time: 8_872_406_000 picoseconds. - Weight::from_parts(8_957_555_000, 0) - .saturating_add(Weight::from_parts(0, 5048584)) + // Measured: `95120` + // Estimated: `5048585` + // Minimum execution time: 13_523_564_000 picoseconds. + Weight::from_parts(13_842_373_000, 0) + .saturating_add(Weight::from_parts(0, 5048585)) .saturating_add(T::DbWeight::get().reads(2008)) .saturating_add(T::DbWeight::get().writes(4)) } @@ -128,11 +128,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElection::PagedVoterSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`) fn on_initialize_into_snapshot_rest() -> Weight { // Proof Size summary in bytes: - // Measured: `1466742` - // Estimated: `3215082` - // Minimum execution time: 21_007_131_000 picoseconds. - Weight::from_parts(22_496_879_000, 0) - .saturating_add(Weight::from_parts(0, 3215082)) + // Measured: `1466776` + // Estimated: `3215116` + // Minimum execution time: 29_922_685_000 picoseconds. + Weight::from_parts(30_580_802_000, 0) + .saturating_add(Weight::from_parts(0, 3215116)) .saturating_add(T::DbWeight::get().reads(3042)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -170,11 +170,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElection::PagedVoterSnapshotHash` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `Measured`) fn on_initialize_into_signed() -> Weight { // Proof Size summary in bytes: - // Measured: `1536687` - // Estimated: `3285027` - // Minimum execution time: 22_710_410_000 picoseconds. - Weight::from_parts(24_335_439_000, 0) - .saturating_add(Weight::from_parts(0, 3285027)) + // Measured: `1536721` + // Estimated: `3285061` + // Minimum execution time: 33_449_858_000 picoseconds. + Weight::from_parts(36_254_764_000, 0) + .saturating_add(Weight::from_parts(0, 3285061)) .saturating_add(T::DbWeight::get().reads(2865)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -186,11 +186,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElectionVerifier::StatusStorage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) fn on_initialize_into_signed_validation() -> Weight { // Proof Size summary in bytes: - // Measured: `315` - // Estimated: `3780` - // Minimum execution time: 34_450_000 picoseconds. - Weight::from_parts(37_151_000, 0) - .saturating_add(Weight::from_parts(0, 3780)) + // Measured: `316` + // Estimated: `3781` + // Minimum execution time: 2_211_329_000 picoseconds. + Weight::from_parts(2_721_847_000, 0) + .saturating_add(Weight::from_parts(0, 3781)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -202,11 +202,11 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `Measured`) fn on_initialize_into_unsigned() -> Weight { // Proof Size summary in bytes: - // Measured: `315` - // Estimated: `6255` - // Minimum execution time: 36_190_000 picoseconds. - Weight::from_parts(40_091_000, 0) - .saturating_add(Weight::from_parts(0, 6255)) + // Measured: `316` + // Estimated: `6256` + // Minimum execution time: 1_738_431_000 picoseconds. + Weight::from_parts(2_357_439_000, 0) + .saturating_add(Weight::from_parts(0, 6256)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -234,15 +234,17 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`) /// Storage: `Staking::ErasStakersPaged` (r:0 w:587) /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:587) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `Measured`) fn export_non_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `176974` - // Estimated: `1630789` - // Minimum execution time: 9_143_665_000 picoseconds. - Weight::from_parts(9_448_836_000, 0) - .saturating_add(Weight::from_parts(0, 1630789)) + // Measured: `176975` + // Estimated: `1630790` + // Minimum execution time: 14_332_592_000 picoseconds. + Weight::from_parts(14_703_339_000, 0) + .saturating_add(Weight::from_parts(0, 1630790)) .saturating_add(T::DbWeight::get().reads(1182)) - .saturating_add(T::DbWeight::get().writes(1764)) + .saturating_add(T::DbWeight::get().writes(2351)) } /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1) /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) @@ -284,20 +286,60 @@ impl pallet_election_provider_multi_block::WeightInfo f /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`) fn export_terminal() -> Weight { // Proof Size summary in bytes: - // Measured: `4276840` - // Estimated: `5757880` - // Minimum execution time: 19_463_491_000 picoseconds. - Weight::from_parts(20_209_671_000, 0) - .saturating_add(Weight::from_parts(0, 5757880)) + // Measured: `4280729` + // Estimated: `5761769` + // Minimum execution time: 28_356_583_000 picoseconds. + Weight::from_parts(29_230_558_000, 0) + .saturating_add(Weight::from_parts(0, 5761769)) .saturating_add(T::DbWeight::get().reads(1899)) .saturating_add(T::DbWeight::get().writes(1900)) } - fn manage() -> Weight { + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) + /// Storage: `MultiBlockElection::Round` (r:1 w:0) + /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) + /// Storage: `MultiBlockElection::PagedVoterSnapshot` (r:1 w:0) + /// Proof: `MultiBlockElection::PagedVoterSnapshot` (`max_values`: None, `max_size`: Some(389338), added: 391813, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `Measured`) + /// Storage: `MultiBlockElection::PagedTargetSnapshot` (r:1 w:0) + /// Proof: `MultiBlockElection::PagedTargetSnapshot` (`max_values`: None, `max_size`: Some(64026), added: 66501, mode: `Measured`) + /// Storage: `MultiBlockElection::DesiredTargets` (r:1 w:0) + /// Proof: `MultiBlockElection::DesiredTargets` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0) + /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(33842026), added: 33844501, mode: `Measured`) + fn manage_fallback() -> Weight { + // Proof Size summary in bytes: + // Measured: `350490` + // Estimated: `356430` + // Minimum execution time: 436_965_761_000 picoseconds. + Weight::from_parts(457_569_781_000, 0) + .saturating_add(Weight::from_parts(0, 356430)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:0) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `Measured`) + /// Storage: `MultiBlockElection::Round` (r:1 w:0) + /// Proof: `MultiBlockElection::Round` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionScore` (r:1 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionScore` (`max_values`: None, `max_size`: Some(60), added: 2535, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedValidVariant` (r:1 w:0) + /// Proof: `MultiBlockElectionVerifier::QueuedValidVariant` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `MultiBlockElectionVerifier::QueuedSolutionY` (r:0 w:1) + /// Proof: `MultiBlockElectionVerifier::QueuedSolutionY` (`max_values`: None, `max_size`: Some(33842026), added: 33844501, mode: `Measured`) + fn admin_set() -> Weight { // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 170_000 picoseconds. - Weight::from_parts(190_000, 0) - .saturating_add(Weight::from_parts(0, 0)) + // Measured: `308` + // Estimated: `3773` + // Minimum execution time: 3_766_302_000 picoseconds. + Weight::from_parts(4_889_306_000, 0) + .saturating_add(Weight::from_parts(0, 3773)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async.rs index 0e03ce3fc9..55335c75da 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_staking_async` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `d42fe91c0ecc`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `e3578081544a`, CPU: `QEMU Virtual CPU version 2.5+` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,12 +30,13 @@ // --extrinsic=* // --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm // --pallet=pallet_staking_async -// --header=/_work/ibp-gb/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 // --repeat=20 // --heap-pages=4096 +// --exclude-extrinsics=pallet_staking_async::prune_era_total_stake #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -59,15 +60,15 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) fn bond() -> Weight { // Proof Size summary in bytes: // Measured: `6714` // Estimated: `4218` - // Minimum execution time: 83_630_000 picoseconds. - Weight::from_parts(87_320_000, 0) + // Minimum execution time: 131_280_000 picoseconds. + Weight::from_parts(134_990_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(4)) @@ -83,7 +84,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::MinNominatorBond` (r:1 w:0) /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `VoterList::ListNodes` (r:3 w:3) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `VoterList::Lock` (r:1 w:0) @@ -92,10 +93,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn bond_extra() -> Weight { // Proof Size summary in bytes: - // Measured: `8175` + // Measured: `8208` // Estimated: `8877` - // Minimum execution time: 245_589_000 picoseconds. - Weight::from_parts(253_890_000, 0) + // Minimum execution time: 8_857_037_000 picoseconds. + Weight::from_parts(11_778_513_000, 0) .saturating_add(Weight::from_parts(0, 8877)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) @@ -110,10 +111,14 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:1 w:0) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `Staking::AreNominatorsSlashable` (r:1 w:0) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:0) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `VoterList::ListNodes` (r:3 w:3) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `VoterList::Lock` (r:1 w:0) @@ -122,12 +127,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) fn unbond() -> Weight { // Proof Size summary in bytes: - // Measured: `8323` + // Measured: `8369` // Estimated: `8877` - // Minimum execution time: 212_328_000 picoseconds. - Weight::from_parts(219_780_000, 0) + // Minimum execution time: 7_868_742_000 picoseconds. + Weight::from_parts(10_807_759_000, 0) .saturating_add(Weight::from_parts(0, 8877)) - .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().reads(15)) .saturating_add(T::DbWeight::get().writes(6)) } /// Storage: `Staking::Ledger` (r:1 w:1) @@ -147,17 +152,17 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0) /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `DelegatedStaking::Agents` (r:1 w:0) /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) fn withdraw_unbonded_update() -> Weight { // Proof Size summary in bytes: - // Measured: `7389` + // Measured: `7422` // Estimated: `28200` - // Minimum execution time: 95_790_000 picoseconds. - Weight::from_parts(97_411_000, 0) + // Minimum execution time: 150_089_000 picoseconds. + Weight::from_parts(155_409_000, 0) .saturating_add(Weight::from_parts(0, 28200)) .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(2)) @@ -179,7 +184,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:1) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `Staking::Validators` (r:1 w:0) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -196,15 +201,17 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn withdraw_unbonded_kill() -> Weight { // Proof Size summary in bytes: - // Measured: `8261` + // Measured: `8294` // Estimated: `28200` - // Minimum execution time: 253_251_000 picoseconds. - Weight::from_parts(264_049_000, 0) + // Minimum execution time: 10_812_768_000 picoseconds. + Weight::from_parts(13_731_045_000, 0) .saturating_add(Weight::from_parts(0, 28200)) .saturating_add(T::DbWeight::get().reads(17)) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) } /// Storage: `Staking::Ledger` (r:1 w:0) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`) @@ -232,10 +239,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn validate() -> Weight { // Proof Size summary in bytes: - // Measured: `9868` + // Measured: `9901` // Estimated: `4218` - // Minimum execution time: 75_391_000 picoseconds. - Weight::from_parts(76_620_000, 0) + // Minimum execution time: 121_150_000 picoseconds. + Weight::from_parts(131_579_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(5)) @@ -251,11 +258,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `12104 + k * (1121 ±0)` // Estimated: `4218 + k * (3033 ±0)` - // Minimum execution time: 45_280_000 picoseconds. - Weight::from_parts(40_958_346, 0) + // Minimum execution time: 70_359_000 picoseconds. + Weight::from_parts(61_189_748, 0) .saturating_add(Weight::from_parts(0, 4218)) - // Standard Error: 17_327 - .saturating_add(Weight::from_parts(9_346_066, 0).saturating_mul(k.into())) + // Standard Error: 63_746 + .saturating_add(Weight::from_parts(13_936_265, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -288,13 +295,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `4962 + n * (68 ±0)` + // Measured: `4995 + n * (68 ±0)` // Estimated: `6248 + n * (2520 ±0)` - // Minimum execution time: 150_928_000 picoseconds. - Weight::from_parts(162_392_374, 0) + // Minimum execution time: 5_871_083_000 picoseconds. + Weight::from_parts(11_773_215_593, 0) .saturating_add(Weight::from_parts(0, 6248)) - // Standard Error: 39_584 - .saturating_add(Weight::from_parts(5_149_263, 0).saturating_mul(n.into())) + // Standard Error: 11_222_467 + .saturating_add(Weight::from_parts(83_701_928, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(6)) @@ -320,10 +327,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill() -> Weight { // Proof Size summary in bytes: - // Measured: `5138` + // Measured: `5171` // Estimated: `6248` - // Minimum execution time: 141_639_000 picoseconds. - Weight::from_parts(148_160_000, 0) + // Minimum execution time: 5_814_881_000 picoseconds. + Weight::from_parts(10_386_189_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(10)) .saturating_add(T::DbWeight::get().writes(6)) @@ -338,8 +345,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `3957` // Estimated: `4218` - // Minimum execution time: 25_590_000 picoseconds. - Weight::from_parts(26_160_000, 0) + // Minimum execution time: 45_280_000 picoseconds. + Weight::from_parts(50_200_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -354,8 +361,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5629` // Estimated: `4218` - // Minimum execution time: 31_760_000 picoseconds. - Weight::from_parts(32_570_000, 0) + // Minimum execution time: 53_571_000 picoseconds. + Weight::from_parts(57_139_000, 0) .saturating_add(Weight::from_parts(0, 4218)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(1)) @@ -368,8 +375,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5300` // Estimated: `7446` - // Minimum execution time: 34_500_000 picoseconds. - Weight::from_parts(35_520_000, 0) + // Minimum execution time: 56_270_000 picoseconds. + Weight::from_parts(61_200_000, 0) .saturating_add(Weight::from_parts(0, 7446)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -380,8 +387,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_939_000 picoseconds. - Weight::from_parts(2_051_000, 0) + // Minimum execution time: 5_010_000 picoseconds. + Weight::from_parts(5_680_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -391,8 +398,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_470_000 picoseconds. - Weight::from_parts(8_900_000, 0) + // Minimum execution time: 20_360_000 picoseconds. + Weight::from_parts(24_730_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -402,8 +409,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_379_000 picoseconds. - Weight::from_parts(8_851_000, 0) + // Minimum execution time: 19_258_000 picoseconds. + Weight::from_parts(21_340_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -413,23 +420,21 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_560_000 picoseconds. - Weight::from_parts(8_941_000, 0) + // Minimum execution time: 19_960_000 picoseconds. + Weight::from_parts(22_720_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Staking::Invulnerables` (r:0 w:1) /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`) /// The range of component `v` is `[0, 20]`. - fn set_invulnerables(v: u32, ) -> Weight { + fn set_invulnerables(_v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_110_000 picoseconds. - Weight::from_parts(2_404_433, 0) + // Minimum execution time: 4_770_000 picoseconds. + Weight::from_parts(6_093_563, 0) .saturating_add(Weight::from_parts(0, 0)) - // Standard Error: 490 - .saturating_add(Weight::from_parts(6_372, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Staking::Ledger` (r:1024 w:1024) @@ -443,11 +448,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `126903 + u * (1400 ±0)` // Estimated: `990 + u * (6456 ±0)` - // Minimum execution time: 4_080_000 picoseconds. - Weight::from_parts(4_181_000, 0) + // Minimum execution time: 7_750_000 picoseconds. + Weight::from_parts(187_921_877, 0) .saturating_add(Weight::from_parts(0, 990)) - // Standard Error: 41_440 - .saturating_add(Weight::from_parts(32_505_241, 0).saturating_mul(u.into())) + // Standard Error: 140_581 + .saturating_add(Weight::from_parts(44_937_765, 0).saturating_mul(u.into())) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into()))) .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 6456).saturating_mul(u.into())) @@ -459,7 +464,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:1) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::Validators` (r:1 w:0) @@ -478,15 +483,17 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn force_unstake() -> Weight { // Proof Size summary in bytes: - // Measured: `8206` + // Measured: `8239` // Estimated: `6248` - // Minimum execution time: 218_951_000 picoseconds. - Weight::from_parts(236_169_000, 0) + // Minimum execution time: 9_050_096_000 picoseconds. + Weight::from_parts(15_654_495_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes(13)) } /// Storage: `Staking::CancelledSlashes` (r:1 w:1) /// Proof: `Staking::CancelledSlashes` (`max_values`: None, `max_size`: Some(36014), added: 38489, mode: `MaxEncodedLen`) @@ -495,11 +502,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `554` // Estimated: `39479` - // Minimum execution time: 11_431_000 picoseconds. - Weight::from_parts(11_781_000, 0) + // Minimum execution time: 21_340_000 picoseconds. + Weight::from_parts(22_440_000, 0) .saturating_add(Weight::from_parts(0, 39479)) - // Standard Error: 7_382 - .saturating_add(Weight::from_parts(2_463_895, 0).saturating_mul(s.into())) + // Standard Error: 12_200 + .saturating_add(Weight::from_parts(3_206_808, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -520,7 +527,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:513 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:513 w:513) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `Parameters::Parameters` (r:1 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasStakersPaged` (r:1 w:0) @@ -534,13 +541,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `173976 + n * (2164 ±0)` + // Measured: `173977 + n * (2164 ±0)` // Estimated: `39483 + n * (3228 ±0)` - // Minimum execution time: 281_660_000 picoseconds. - Weight::from_parts(658_249_395, 0) + // Minimum execution time: 8_081_030_000 picoseconds. + Weight::from_parts(28_579_135_258, 0) .saturating_add(Weight::from_parts(0, 39483)) - // Standard Error: 134_972 - .saturating_add(Weight::from_parts(98_117_823, 0).saturating_mul(n.into())) + // Standard Error: 1_060_463 + .saturating_add(Weight::from_parts(148_385_822, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(14)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(4)) @@ -558,7 +565,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:0) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `VoterList::ListNodes` (r:3 w:3) /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`) /// Storage: `VoterList::Lock` (r:1 w:0) @@ -566,15 +573,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `VoterList::ListBags` (r:2 w:2) /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`) /// The range of component `l` is `[1, 32]`. - fn rebond(l: u32, ) -> Weight { + fn rebond(_l: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8176 + l * (5 ±0)` + // Measured: `8209 + l * (5 ±0)` // Estimated: `8877` - // Minimum execution time: 196_579_000 picoseconds. - Weight::from_parts(214_641_454, 0) + // Minimum execution time: 6_096_870_000 picoseconds. + Weight::from_parts(12_892_645_778, 0) .saturating_add(Weight::from_parts(0, 8877)) - // Standard Error: 19_244 - .saturating_add(Weight::from_parts(56_850, 0).saturating_mul(l.into())) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(6)) } @@ -589,7 +594,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::Ledger` (r:1 w:1) /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `Staking::Validators` (r:1 w:0) /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) /// Storage: `Staking::Nominators` (r:1 w:1) @@ -606,16 +611,20 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::Payee` (r:0 w:1) /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`) + /// Storage: `Staking::LastValidatorEra` (r:0 w:1) + /// Proof: `Staking::LastValidatorEra` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) fn reap_stash() -> Weight { // Proof Size summary in bytes: - // Measured: `8269` + // Measured: `8302` // Estimated: `6248` - // Minimum execution time: 250_230_000 picoseconds. - Weight::from_parts(257_399_000, 0) + // Minimum execution time: 11_012_357_000 picoseconds. + Weight::from_parts(15_412_096_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(11)) + .saturating_add(T::DbWeight::get().writes(12)) } + /// Storage: `Staking::AreNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:0 w:1) /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:0 w:1) @@ -634,11 +643,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_499_000 picoseconds. - Weight::from_parts(3_680_000, 0) + // Minimum execution time: 9_140_000 picoseconds. + Weight::from_parts(9_910_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(8)) } + /// Storage: `Staking::AreNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::MinCommission` (r:0 w:1) /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) /// Storage: `Staking::MinValidatorBond` (r:0 w:1) @@ -657,10 +668,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_180_000 picoseconds. - Weight::from_parts(3_370_000, 0) + // Minimum execution time: 8_310_000 picoseconds. + Weight::from_parts(9_330_000, 0) .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().writes(8)) } /// Storage: `Staking::Bonded` (r:1 w:0) /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) @@ -688,10 +699,10 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn chill_other() -> Weight { // Proof Size summary in bytes: - // Measured: `5261` + // Measured: `5294` // Estimated: `6248` - // Minimum execution time: 169_969_000 picoseconds. - Weight::from_parts(177_120_000, 0) + // Minimum execution time: 9_643_643_000 picoseconds. + Weight::from_parts(12_661_939_000, 0) .saturating_add(Weight::from_parts(0, 6248)) .saturating_add(T::DbWeight::get().reads(13)) .saturating_add(T::DbWeight::get().writes(6)) @@ -704,8 +715,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `564` // Estimated: `3510` - // Minimum execution time: 42_800_000 picoseconds. - Weight::from_parts(47_261_000, 0) + // Minimum execution time: 3_462_914_000 picoseconds. + Weight::from_parts(3_982_670_000, 0) .saturating_add(Weight::from_parts(0, 3510)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -716,8 +727,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_980_000 picoseconds. - Weight::from_parts(2_120_000, 0) + // Minimum execution time: 4_720_000 picoseconds. + Weight::from_parts(5_120_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -726,7 +737,7 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Staking::VirtualStakers` (r:1 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:0) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:0) /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) /// Storage: `Staking::Bonded` (r:1 w:1) @@ -737,8 +748,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `7028` // Estimated: `4764` - // Minimum execution time: 57_820_000 picoseconds. - Weight::from_parts(59_410_000, 0) + // Minimum execution time: 91_900_000 picoseconds. + Weight::from_parts(95_430_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -754,13 +765,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Storage: `Balances::Freezes` (r:1 w:0) /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) fn migrate_currency() -> Weight { // Proof Size summary in bytes: // Measured: `6936` // Estimated: `4764` - // Minimum execution time: 94_610_000 picoseconds. - Weight::from_parts(96_430_000, 0) + // Minimum execution time: 146_299_000 picoseconds. + Weight::from_parts(148_959_000, 0) .saturating_add(Weight::from_parts(0, 4764)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -779,23 +790,27 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) /// Storage: `DelegatedStaking::Agents` (r:513 w:513) /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:514 w:513) + /// Storage: `System::Account` (r:514 w:514) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::VirtualStakers` (r:513 w:0) /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) /// Storage: `Balances::Holds` (r:513 w:513) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(175), added: 2650, mode: `MaxEncodedLen`) - /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) - /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) - fn apply_slash() -> Weight { + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 512]`. + fn apply_slash(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `994315` - // Estimated: `1656954` - // Minimum execution time: 31_453_013_000 picoseconds. - Weight::from_parts(32_462_033_000, 0) - .saturating_add(Weight::from_parts(0, 1656954)) - .saturating_add(T::DbWeight::get().reads(3596)) - .saturating_add(T::DbWeight::get().writes(2053)) + // Measured: `140099 + n * (1783 ±0)` + // Estimated: `39479 + n * (3228 ±0)` + // Minimum execution time: 8_016_981_000 picoseconds. + Weight::from_parts(30_355_734_767, 0) + .saturating_add(Weight::from_parts(0, 39479)) + // Standard Error: 1_074_638 + .saturating_add(Weight::from_parts(93_355_932, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 3228).saturating_mul(n.into())) } /// Storage: `Staking::ProcessingOffence` (r:1 w:1) /// Proof: `Staking::ProcessingOffence` (`max_values`: Some(1), `max_size`: Some(85), added: 580, mode: `MaxEncodedLen`) @@ -815,8 +830,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `20561` // Estimated: `28121` - // Minimum execution time: 218_229_000 picoseconds. - Weight::from_parts(229_770_000, 0) + // Minimum execution time: 14_032_873_000 picoseconds. + Weight::from_parts(15_396_546_000, 0) .saturating_add(Weight::from_parts(0, 28121)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -840,11 +855,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `639 + v * (93 ±0)` // Estimated: `2126 + v * (2576 ±0)` - // Minimum execution time: 84_440_000 picoseconds. - Weight::from_parts(64_247_809, 0) + // Minimum execution time: 4_640_658_000 picoseconds. + Weight::from_parts(28_392_350_605, 0) .saturating_add(Weight::from_parts(0, 2126)) - // Standard Error: 16_524 - .saturating_add(Weight::from_parts(15_871_126, 0).saturating_mul(v.into())) + // Standard Error: 1_516_665 + .saturating_add(Weight::from_parts(59_440_705, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -855,12 +870,16 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasRewardPoints` (r:1 w:1) /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`) - /// Storage: `Staking::CurrentEra` (r:1 w:0) + /// Storage: `Staking::CurrentEra` (r:1 w:1) /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) - /// Storage: `Parameters::Parameters` (r:4 w:0) + /// Storage: `Parameters::Parameters` (r:1 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(37), added: 2512, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasTotalStake` (r:1 w:0) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0) + /// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `Staking::MaxStakedRewards` (r:1 w:0) /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) @@ -869,8 +888,14 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Staking::BondedEras` (r:1 w:1) /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(233), added: 728, mode: `MaxEncodedLen`) + /// Storage: `Staking::AreNominatorsSlashable` (r:1 w:0) + /// Proof: `Staking::AreNominatorsSlashable` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Staking::ForceEra` (r:1 w:0) /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1) + /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `Staking::ErasNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::ErasNominatorsSlashable` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `MaxEncodedLen`) /// Storage: `Staking::VoterSnapshotStatus` (r:0 w:1) /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) /// Storage: `Staking::ErasValidatorReward` (r:0 w:1) @@ -881,13 +906,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `MaxEncodedLen`) fn rc_on_session_report() -> Weight { // Proof Size summary in bytes: - // Measured: `2206` + // Measured: `2473` // Estimated: `39483` - // Minimum execution time: 377_700_000 picoseconds. - Weight::from_parts(386_339_000, 0) + // Minimum execution time: 10_288_971_000 picoseconds. + Weight::from_parts(12_386_841_000, 0) .saturating_add(Weight::from_parts(0, 39483)) - .saturating_add(T::DbWeight::get().reads(13)) - .saturating_add(T::DbWeight::get().writes(7)) + .saturating_add(T::DbWeight::get().reads(14)) + .saturating_add(T::DbWeight::get().writes(10)) } /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) @@ -899,12 +924,12 @@ impl pallet_staking_async::WeightInfo for WeightInfo fn prune_era_stakers_paged(v: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `10028` - // Estimated: `228016 + v * (49 ±0)` - // Minimum execution time: 68_200_000 picoseconds. - Weight::from_parts(114_693_851, 0) + // Estimated: `228016 + v * (49 ±3)` + // Minimum execution time: 110_701_000 picoseconds. + Weight::from_parts(188_244_298, 0) .saturating_add(Weight::from_parts(0, 228016)) - // Standard Error: 1_866 - .saturating_add(Weight::from_parts(48_772, 0).saturating_mul(v.into())) + // Standard Error: 3_406 + .saturating_add(Weight::from_parts(106_663, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(90)) .saturating_add(T::DbWeight::get().writes(88)) .saturating_add(Weight::from_parts(0, 49).saturating_mul(v.into())) @@ -918,16 +943,16 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `v` is `[1, 1000]`. fn prune_era_stakers_overview(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8760` - // Estimated: `203039 + v * (84 ±6)` - // Minimum execution time: 25_680_000 picoseconds. - Weight::from_parts(103_720_234, 0) - .saturating_add(Weight::from_parts(0, 203039)) - // Standard Error: 2_610 - .saturating_add(Weight::from_parts(54_067, 0).saturating_mul(v.into())) + // Measured: `7382` + // Estimated: `201964 + v * (83 ±6)` + // Minimum execution time: 43_020_000 picoseconds. + Weight::from_parts(200_816_238, 0) + .saturating_add(Weight::from_parts(0, 201964)) + // Standard Error: 5_748 + .saturating_add(Weight::from_parts(115_255, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) - .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into())) + .saturating_add(Weight::from_parts(0, 83).saturating_mul(v.into())) } /// Storage: `Staking::ActiveEra` (r:1 w:0) /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) @@ -940,11 +965,11 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `5786` // Estimated: `200732 + v * (83 ±0)` - // Minimum execution time: 23_770_000 picoseconds. - Weight::from_parts(101_437_722, 0) + // Minimum execution time: 41_610_000 picoseconds. + Weight::from_parts(194_824_664, 0) .saturating_add(Weight::from_parts(0, 200732)) - // Standard Error: 2_717 - .saturating_add(Weight::from_parts(62_822, 0).saturating_mul(v.into())) + // Standard Error: 5_539 + .saturating_add(Weight::from_parts(117_528, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) .saturating_add(Weight::from_parts(0, 83).saturating_mul(v.into())) @@ -958,13 +983,13 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// The range of component `v` is `[1, 1000]`. fn prune_era_claimed_rewards(v: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `8760` - // Estimated: `203039 + v * (84 ±0)` - // Minimum execution time: 24_560_000 picoseconds. - Weight::from_parts(101_427_213, 0) - .saturating_add(Weight::from_parts(0, 203039)) - // Standard Error: 2_669 - .saturating_add(Weight::from_parts(61_548, 0).saturating_mul(v.into())) + // Measured: `8794` + // Estimated: `203070 + v * (84 ±0)` + // Minimum execution time: 43_580_000 picoseconds. + Weight::from_parts(194_438_923, 0) + .saturating_add(Weight::from_parts(0, 203070)) + // Standard Error: 5_498 + .saturating_add(Weight::from_parts(123_037, 0).saturating_mul(v.into())) .saturating_add(T::DbWeight::get().reads(81)) .saturating_add(T::DbWeight::get().writes(79)) .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into())) @@ -979,8 +1004,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `710` // Estimated: `4175` - // Minimum execution time: 21_290_000 picoseconds. - Weight::from_parts(22_300_000, 0) + // Minimum execution time: 37_270_000 picoseconds. + Weight::from_parts(39_519_000, 0) .saturating_add(Weight::from_parts(0, 4175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -995,8 +1020,8 @@ impl pallet_staking_async::WeightInfo for WeightInfo // Proof Size summary in bytes: // Measured: `710` // Estimated: `4175` - // Minimum execution time: 19_971_000 picoseconds. - Weight::from_parts(21_400_000, 0) + // Minimum execution time: 34_960_000 picoseconds. + Weight::from_parts(38_479_000, 0) .saturating_add(Weight::from_parts(0, 4175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -1005,16 +1030,38 @@ impl pallet_staking_async::WeightInfo for WeightInfo /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) /// Storage: `Staking::EraPruningState` (r:1 w:1) /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `Staking::ErasNominatorsSlashable` (r:0 w:1) + /// Proof: `Staking::ErasNominatorsSlashable` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) /// Storage: `Staking::ErasTotalStake` (r:0 w:1) /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`) - fn prune_era_total_stake() -> Weight { + fn prune_era_single_entry_cleanups() -> Weight { // Proof Size summary in bytes: // Measured: `710` // Estimated: `4175` - // Minimum execution time: 21_870_000 picoseconds. - Weight::from_parts(24_350_000, 0) + // Minimum execution time: 38_421_000 picoseconds. + Weight::from_parts(40_990_000, 0) .saturating_add(Weight::from_parts(0, 4175)) .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `Staking::ActiveEra` (r:1 w:0) + /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`) + /// Storage: `Staking::EraPruningState` (r:1 w:0) + /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`) + /// Storage: `Staking::ValidatorSlashInEra` (r:101 w:100) + /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `Measured`) + /// The range of component `v` is `[1, 1000]`. + fn prune_era_validator_slash_in_era(v: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `5420 + v * (3 ±0)` + // Estimated: `131999 + v * (177 ±7)` + // Minimum execution time: 47_570_000 picoseconds. + Weight::from_parts(145_818_485, 0) + .saturating_add(Weight::from_parts(0, 131999)) + // Standard Error: 6_165 + .saturating_add(Weight::from_parts(183_849, 0).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(49)) + .saturating_add(T::DbWeight::get().writes(48)) + .saturating_add(Weight::from_parts(0, 177).saturating_mul(v.into())) } } diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async_rc_client.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async_rc_client.rs new file mode 100644 index 0000000000..bc26dac1af --- /dev/null +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/pallet_staking_async_rc_client.rs @@ -0,0 +1,101 @@ +// Copyright (C) Parity Technologies and the various Polkadot contributors, see Contributions.md +// for a list of specific contributors. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! Autogenerated weights for `pallet_staking_async_rc_client` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `badb14040058`, CPU: `QEMU Virtual CPU version 2.5+` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 + +// Executed Command: +// frame-omni-bencher +// v1 +// benchmark +// pallet +// --extrinsic=* +// --runtime=target/production/wbuild/asset-hub-polkadot-runtime/asset_hub_polkadot_runtime.wasm +// --pallet=pallet_staking_async_rc_client +// --header=/_work/ibp-ch/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --output=./system-parachains/asset-hubs/asset-hub-polkadot/src/weights +// --wasm-execution=compiled +// --steps=50 +// --repeat=20 +// --heap-pages=4096 + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weight functions for `pallet_staking_async_rc_client`. +pub struct WeightInfo(PhantomData); +impl pallet_staking_async_rc_client::WeightInfo for WeightInfo { + /// Storage: `Staking::Validators` (r:1 w:0) + /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`) + /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) + /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_keys() -> Weight { + // Proof Size summary in bytes: + // Measured: `4518` + // Estimated: `7983` + // Minimum execution time: 183_068_000 picoseconds. + Weight::from_parts(193_920_000, 0) + .saturating_add(Weight::from_parts(0, 7983)) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: `AhMigrator::AhMigrationStage` (r:1 w:0) + /// Proof: `AhMigrator::AhMigrationStage` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) + /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::SupportedVersion` (r:1 w:0) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn purge_keys() -> Weight { + // Proof Size summary in bytes: + // Measured: `2667` + // Estimated: `6196` + // Minimum execution time: 146_139_000 picoseconds. + Weight::from_parts(150_429_000, 0) + .saturating_add(Weight::from_parts(0, 6196)) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs index cc0dfd9d27..fced57a50f 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs @@ -650,10 +650,20 @@ impl cumulus_pallet_xcm::Config for Runtime { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct XcmBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { +impl + pallet_assets::BenchmarkHelper< + Location, + assets_common::local_and_foreign_assets::ForeignAssetReserveData, + > for XcmBenchmarkHelper +{ fn create_asset_id_parameter(id: u32) -> Location { Location::new(1, Parachain(id)) } + fn create_reserve_id_parameter( + id: u32, + ) -> assets_common::local_and_foreign_assets::ForeignAssetReserveData { + (Location::new(1, Parachain(id)), false).into() + } } /// All configuration related to bridging diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/tests/tests.rs b/system-parachains/asset-hubs/asset-hub-polkadot/tests/tests.rs index 4c4bbf6ab2..b7344fc4ee 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/tests/tests.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/tests/tests.rs @@ -22,7 +22,7 @@ use asset_hub_polkadot_runtime::{ bridging, CheckingAccount, DotLocation, LocationToAccountId, RelayChainLocation, StakingPot, TrustBackedAssetsPalletLocation, XcmConfig, }, - AllPalletsWithoutSystem, AssetDeposit, Assets, Balances, Block, ExistentialDeposit, + AllPalletsWithoutSystem, AssetDeposit, Assets, Balances, Block, Dap, ExistentialDeposit, ForeignAssets, ForeignAssetsInstance, MetadataDepositBase, MetadataDepositPerByte, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, SessionKeys, ToKusamaXcmRouterInstance, TrustBackedAssetsInstance, XcmpQueue, SLOT_DURATION, @@ -35,6 +35,7 @@ use asset_test_utils::{ }, CollatorSessionKey, CollatorSessionKeys, ExtBuilder, GovernanceOrigin, SlotDurations, }; +use assets_common::local_and_foreign_assets::ForeignAssetReserveData; use codec::{Decode, Encode}; use frame_support::{ assert_err, assert_ok, @@ -404,10 +405,19 @@ fn receive_reserve_asset_deposited_ksm_from_asset_hub_kusama_fees_paid_by_pool_s let staking_pot = StakingPot::get(); let foreign_asset_id_location_v5 = Location::new(2, [GlobalConsensus(NetworkId::Kusama)]); + let reserve_location = Location::new(2, [GlobalConsensus(NetworkId::Kusama), Parachain(1000)]); + let foreign_asset_reserve_data = + ForeignAssetReserveData { reserve: reserve_location, teleportable: false }; let foreign_asset_id_minimum_balance = 1_000_000_000; // sovereign account as foreign asset owner (can be whoever for this scenario) let foreign_asset_owner = LocationToAccountId::convert_location(&Location::parent()).unwrap(); let foreign_asset_create_params = ( + foreign_asset_owner.clone(), + foreign_asset_id_location_v5.clone(), + foreign_asset_reserve_data, + foreign_asset_id_minimum_balance, + ); + let pool_params = ( foreign_asset_owner, foreign_asset_id_location_v5.clone(), foreign_asset_id_minimum_balance, @@ -424,14 +434,14 @@ fn receive_reserve_asset_deposited_ksm_from_asset_hub_kusama_fees_paid_by_pool_s AccountId::from([73; 32]), block_author_account.clone(), // receiving KSMs - foreign_asset_create_params.clone(), + foreign_asset_create_params, 1000000000000, || { // setup pool for paying fees to touch `SwapFirstAssetTrader` asset_test_utils::test_cases::setup_pool_for_paying_fees_with_foreign_assets::< Runtime, RuntimeOrigin, - >(ExistentialDeposit::get(), foreign_asset_create_params); + >(ExistentialDeposit::get(), pool_params); // staking pot account for collecting local native fees from `BuyExecution` let _ = Balances::force_set_balance( RuntimeOrigin::root(), @@ -1076,3 +1086,216 @@ fn staking_proxy_can_manage_staking_operator() { ); }); } + +/// Verifies StakingOperator filter allows validator operations and session key management, +/// but forbids fund management. +#[test] +fn staking_operator_filter_allows_validator_ops_and_session_keys() { + use asset_hub_polkadot_runtime::ProxyType; + use frame_support::traits::InstanceFilter; + use pallet_staking_async::{Call as StakingCall, RewardDestination, ValidatorPrefs}; + use pallet_staking_async_rc_client::Call as RcClientCall; + + let operator = ProxyType::StakingOperator; + + // StakingOperator can perform validator operations + assert!(operator + .filter(&RuntimeCall::Staking(StakingCall::validate { prefs: ValidatorPrefs::default() }))); + assert!(operator.filter(&RuntimeCall::Staking(StakingCall::chill {}))); + assert!(operator.filter(&RuntimeCall::Staking(StakingCall::kick { who: vec![] }))); + + // StakingOperator can manage session keys + assert!(operator.filter(&RuntimeCall::StakingRcClient(RcClientCall::set_keys { + keys: Default::default(), + max_delivery_and_remote_execution_fee: None, + }))); + assert!(operator.filter(&RuntimeCall::StakingRcClient(RcClientCall::purge_keys { + max_delivery_and_remote_execution_fee: None, + }))); + + // StakingOperator can batch operations + assert!(operator.filter(&RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![] }))); + + // StakingOperator cannot manage funds or nominations + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::bond { + value: 100, + payee: RewardDestination::Staked + }))); + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::unbond { value: 100 }))); + assert!(!operator.filter(&RuntimeCall::Staking(StakingCall::nominate { targets: vec![] }))); + assert!(!operator + .filter(&RuntimeCall::Staking(StakingCall::update_payee { controller: [0u8; 32].into() }))); +} + +/// Test that a pure proxy stash can delegate to a StakingOperator +/// who can then call validate, chill, and manage session keys. +#[test] +fn pure_proxy_stash_can_delegate_to_staking_operator() { + use asset_hub_polkadot_runtime::ProxyType; + + let controller: AccountId = ALICE.into(); + let operator: AccountId = [2u8; 32].into(); + + ExtBuilder::::default() + .with_collators(vec![AccountId::from(ALICE)]) + .with_session_keys(vec![( + AccountId::from(ALICE), + AccountId::from(ALICE), + SessionKeys { aura: AuraId::from(sp_core::ed25519::Public::from_raw(ALICE)) }, + )]) + .build() + .execute_with(|| { + use frame_support::traits::fungible::Mutate; + + // GIVEN: fund controller and operator + assert_ok!(Balances::mint_into(&controller, 100 * UNITS)); + assert_ok!(Balances::mint_into(&operator, 100 * UNITS)); + + // WHEN: controller creates a pure proxy stash with Staking proxy type + assert_ok!(asset_hub_polkadot_runtime::Proxy::create_pure( + RuntimeOrigin::signed(controller.clone()), + ProxyType::Staking, + 0, + 0 + )); + let pure_stash = asset_hub_polkadot_runtime::Proxy::pure_account( + &controller, + &ProxyType::Staking, + 0, + None, + ); + + // Fund the pure proxy stash + assert_ok!(Balances::mint_into(&pure_stash, 100 * UNITS)); + + // WHEN: controller (via Staking proxy) adds StakingOperator proxy for the operator + let add_operator_call = RuntimeCall::Proxy(pallet_proxy::Call::add_proxy { + delegate: operator.clone().into(), + proxy_type: ProxyType::StakingOperator, + delay: 0, + }); + assert_ok!(asset_hub_polkadot_runtime::Proxy::proxy( + RuntimeOrigin::signed(controller.clone()), + pure_stash.clone().into(), + None, + Box::new(add_operator_call), + )); + + // THEN: operator can call chill on behalf of pure proxy stash + let chill_call = RuntimeCall::Staking(pallet_staking_async::Call::chill {}); + assert_ok!(asset_hub_polkadot_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(chill_call), + )); + + // THEN: operator can call validate on behalf of pure proxy stash + let validate_call = RuntimeCall::Staking(pallet_staking_async::Call::validate { + prefs: Default::default(), + }); + assert_ok!(asset_hub_polkadot_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(validate_call), + )); + + // THEN: operator can call purge_keys (session key management on AssetHub) + let purge_keys_call = + RuntimeCall::StakingRcClient(pallet_staking_async_rc_client::Call::purge_keys { + max_delivery_and_remote_execution_fee: None, + }); + assert_ok!(asset_hub_polkadot_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(purge_keys_call), + )); + + // THEN: operator CANNOT call bond (fund management is forbidden) + let bond_call = RuntimeCall::Staking(pallet_staking_async::Call::bond { + value: 10 * UNITS, + payee: pallet_staking_async::RewardDestination::Staked, + }); + assert_ok!(asset_hub_polkadot_runtime::Proxy::proxy( + RuntimeOrigin::signed(operator.clone()), + pure_stash.clone().into(), + None, + Box::new(bond_call), + )); + // Check that the proxied call failed due to filter (CallFiltered error) + frame_system::Pallet::::assert_last_event( + pallet_proxy::Event::ProxyExecuted { + result: Err(frame_system::Error::::CallFiltered.into()), + } + .into(), + ); + }); +} + +#[test] +fn slash_goes_to_dap_buffer_account() { + use asset_hub_polkadot_runtime::staking::DapPalletId; + use frame_support::{ + sp_runtime::traits::AccountIdConversion, + traits::{ + fungible::{Balanced, Inspect}, + OnUnbalanced, + }, + }; + use sp_runtime::BuildStorage; + + let dap_buffer: AccountId = DapPalletId::get().into_account_truncating(); + + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); + pallet_balances::GenesisConfig:: { + balances: vec![ + (AccountId::from(ALICE), 1_000 * UNITS), + (dap_buffer.clone(), ExistentialDeposit::get()), + ], + ..Default::default() + } + .assimilate_storage(&mut t) + .unwrap(); + + sp_io::TestExternalities::from(t).execute_with(|| { + let buffer = dap_buffer.clone(); + let ed = >::minimum_balance(); + + // Given: buffer account exists and has ED + assert!(frame_system::Pallet::::account_exists(&buffer)); + assert_eq!(Balances::free_balance(&buffer), ed); + + // When: a slash occurs (simulating staking slash via OnUnbalanced) + let slash_amount = 100 * UNITS; + let credit = >::issue(slash_amount); + Dap::on_unbalanced(credit); + + // Then: buffer has ED + slash amount + assert_eq!(Balances::free_balance(&buffer), ed + slash_amount); + + // When: another slash occurs + let slash_amount_2 = 50 * UNITS; + let credit2 = >::issue(slash_amount_2); + Dap::on_unbalanced(credit2); + + // Then: buffer accumulates both slashes + assert_eq!(Balances::free_balance(&buffer), ed + slash_amount + slash_amount_2); + }); +} + +#[test] +fn session_keys_are_compatible_between_ah_and_rc() { + use asset_hub_polkadot_runtime::staking::RelayChainSessionKeys; + use sp_runtime::traits::OpaqueKeys; + + // Verify the key type IDs match in order. + // This ensures that when keys are encoded on AssetHub and decoded on Polkadot (or vice versa), + // they map to the correct key types. + assert_eq!( + RelayChainSessionKeys::key_ids(), + polkadot_runtime::SessionKeys::key_ids(), + "Session key type IDs must match between AssetHub and Polkadot" + ); +} diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/Cargo.toml b/system-parachains/bridge-hubs/bridge-hub-kusama/Cargo.toml index a9bcb38861..12ddfe82f4 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/Cargo.toml +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/Cargo.toml @@ -106,6 +106,8 @@ pallet-bridge-relayers = { workspace = true } pallet-xcm-bridge-hub = { workspace = true } [dev-dependencies] +# TODO: Remove when https://github.com/paritytech/polkadot-sdk/issues/10962 is closed +assets-common = { workspace = true } bridge-hub-test-utils = { workspace = true } bridge-runtime-common = { features = [ "integrity-test", @@ -117,6 +119,7 @@ parachains-runtimes-test-utils = { workspace = true } [features] default = ["std"] std = [ + "assets-common/std", "bp-asset-hub-kusama/std", "bp-asset-hub-polkadot/std", "bp-bridge-hub-kusama/std", @@ -202,6 +205,7 @@ std = [ ] runtime-benchmarks = [ + "assets-common/runtime-benchmarks", "bp-asset-hub-kusama/runtime-benchmarks", "bp-asset-hub-polkadot/runtime-benchmarks", "bp-bridge-hub-kusama/runtime-benchmarks", @@ -228,6 +232,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", @@ -247,6 +252,7 @@ runtime-benchmarks = [ ] try-runtime = [ + "assets-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", "cumulus-pallet-weight-reclaim/try-runtime", diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs index 7e00512e7d..38194204cc 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/lib.rs @@ -345,7 +345,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -1149,7 +1148,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1186,7 +1185,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1296,8 +1295,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1307,7 +1307,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1436,7 +1436,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs index bd95887cce..b863b5dfd1 100644 --- a/system-parachains/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/bridge-hubs/bridge-hub-kusama/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ea1952f31244`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/bridge-hub-kusama-runtime/bridge_hub_kusama_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/bridge-hubs/bridge-hub-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1497` - // Minimum execution time: 6_230_000 picoseconds. - Weight::from_parts(6_630_000, 0) + // Minimum execution time: 6_072_000 picoseconds. + Weight::from_parts(6_318_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 17_219_000 picoseconds. - Weight::from_parts(19_410_333, 0) + // Minimum execution time: 14_112_000 picoseconds. + Weight::from_parts(14_784_765, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(641, 0).saturating_mul(n.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(330, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 14_650_000 picoseconds. - Weight::from_parts(18_215_552, 0) + // Minimum execution time: 12_122_000 picoseconds. + Weight::from_parts(15_245_612, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_074 - .saturating_add(Weight::from_parts(202_182, 0).saturating_mul(n.into())) + // Standard Error: 224 + .saturating_add(Weight::from_parts(125_615, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `264 + n * (1 ±0)` // Estimated: `3725 + n * (1 ±0)` - // Minimum execution time: 25_670_000 picoseconds. - Weight::from_parts(27_277_444, 0) + // Minimum execution time: 19_958_000 picoseconds. + Weight::from_parts(19_846_488, 0) .saturating_add(Weight::from_parts(0, 3725)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_832, 0).saturating_mul(n.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `117` // Estimated: `5487` - // Minimum execution time: 16_130_000 picoseconds. - Weight::from_parts(12_151_269, 0) + // Minimum execution time: 12_985_000 picoseconds. + Weight::from_parts(13_312_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 64_857 - .saturating_add(Weight::from_parts(44_910_850, 0).saturating_mul(n.into())) + // Standard Error: 15_876 + .saturating_add(Weight::from_parts(22_929_069, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33029` // Estimated: `36494` - // Minimum execution time: 281_399_000 picoseconds. - Weight::from_parts(284_580_000, 0) + // Minimum execution time: 176_967_000 picoseconds. + Weight::from_parts(178_211_000, 0) .saturating_add(Weight::from_parts(0, 36494)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `2767` - // Minimum execution time: 4_090_000 picoseconds. - Weight::from_parts(4_280_000, 0) + // Minimum execution time: 3_434_000 picoseconds. + Weight::from_parts(3_585_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `2767` - // Minimum execution time: 5_360_000 picoseconds. - Weight::from_parts(5_710_000, 0) + // Minimum execution time: 4_377_000 picoseconds. + Weight::from_parts(4_625_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_660_000 picoseconds. - Weight::from_parts(6_770_000, 0) + // Minimum execution time: 1_761_000 picoseconds. + Weight::from_parts(2_106_389, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 138 + .saturating_add(Weight::from_parts(12_824, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 111_990_000 picoseconds. - Weight::from_parts(113_490_000, 0) + // Minimum execution time: 67_742_000 picoseconds. + Weight::from_parts(68_842_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 67_079_000 picoseconds. - Weight::from_parts(68_430_000, 0) + // Minimum execution time: 42_765_000 picoseconds. + Weight::from_parts(43_833_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/Cargo.toml b/system-parachains/bridge-hubs/bridge-hub-polkadot/Cargo.toml index 2282eedd38..9044369f83 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/Cargo.toml +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/Cargo.toml @@ -123,8 +123,12 @@ snowbridge-outbound-queue-runtime-api = { workspace = true } snowbridge-outbound-queue-v2-runtime-api = { workspace = true } snowbridge-inbound-queue-primitives = { workspace = true } snowbridge-runtime-common = { workspace = true } +snowbridge-pallet-inbound-queue-fixtures = { workspace = true, optional = true } +snowbridge-pallet-inbound-queue-v2-fixtures = { workspace = true, optional = true } [dev-dependencies] +# TODO: Remove when https://github.com/paritytech/polkadot-sdk/issues/10962 is closed +assets-common = { workspace = true } bridge-hub-test-utils = { workspace = true } bridge-runtime-common = { features = [ "integrity-test", @@ -138,6 +142,7 @@ parachains-runtimes-test-utils = { workspace = true } [features] default = ["std"] std = [ + "assets-common/std", "bp-asset-hub-kusama/std", "bp-asset-hub-polkadot/std", "bp-bridge-hub-kusama/std", @@ -208,6 +213,8 @@ std = [ "snowbridge-outbound-queue-runtime-api/std", "snowbridge-outbound-queue-v2-runtime-api/std", "snowbridge-pallet-ethereum-client/std", + "snowbridge-pallet-inbound-queue-fixtures?/std", + "snowbridge-pallet-inbound-queue-v2-fixtures?/std", "snowbridge-pallet-inbound-queue-v2/std", "snowbridge-pallet-inbound-queue/std", "snowbridge-pallet-outbound-queue-v2/std", @@ -240,6 +247,7 @@ std = [ ] runtime-benchmarks = [ + "assets-common/runtime-benchmarks", "bp-asset-hub-kusama/runtime-benchmarks", "bp-asset-hub-polkadot/runtime-benchmarks", "bp-bridge-hub-kusama/runtime-benchmarks", @@ -266,6 +274,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", @@ -280,6 +289,10 @@ runtime-benchmarks = [ "snowbridge-inbound-queue-primitives/runtime-benchmarks", "snowbridge-pallet-ethereum-client-fixtures/runtime-benchmarks", "snowbridge-pallet-ethereum-client/runtime-benchmarks", + "snowbridge-pallet-inbound-queue-fixtures", + "snowbridge-pallet-inbound-queue-fixtures?/runtime-benchmarks", + "snowbridge-pallet-inbound-queue-v2-fixtures", + "snowbridge-pallet-inbound-queue-v2-fixtures?/runtime-benchmarks", "snowbridge-pallet-inbound-queue-v2/runtime-benchmarks", "snowbridge-pallet-inbound-queue/runtime-benchmarks", "snowbridge-pallet-outbound-queue-v2/runtime-benchmarks", @@ -297,6 +310,7 @@ runtime-benchmarks = [ ] try-runtime = [ + "assets-common/try-runtime", "cumulus-pallet-aura-ext/try-runtime", "cumulus-pallet-parachain-system/try-runtime", "cumulus-pallet-weight-reclaim/try-runtime", @@ -326,6 +340,7 @@ try-runtime = [ "parachain-info/try-runtime", "parachains-common/try-runtime", "polkadot-runtime-common/try-runtime", + "snowbridge-inbound-queue-primitives/try-runtime", "snowbridge-pallet-ethereum-client/try-runtime", "snowbridge-pallet-inbound-queue-v2/try-runtime", "snowbridge-pallet-inbound-queue/try-runtime", diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs index becd5b2e3b..381aee44f6 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/primitives/src/lib.rs @@ -166,6 +166,8 @@ pub mod snowbridge { parameter_types! { /// Should match the `ForeignAssets::create` index on Asset Hub. pub const CreateAssetCall: [u8;2] = [53, 0]; + /// Should match the `ForeignAssets::set_reserves` index on Asset Hub. + pub const SetReservesCall: [u8;2] = [53, 33]; /// The pallet index of the Ethereum inbound queue pallet in the BridgeHub runtime. pub const InboundQueuePalletInstance: u8 = 80; /// The pallet index of the Ethereum inbound queue v2 pallet in the BridgeHub runtime. diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs index 48391287e3..fedd39af79 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_ethereum_config.rs @@ -17,13 +17,14 @@ use crate::{ bridge_common_config::BridgeReward, xcm_config::{self, RelayNetwork, RelayTreasuryPalletAccount, RootLocation, UniversalLocation}, - Balances, BridgeRelayers, EthereumBeaconClient, EthereumInboundQueue, EthereumInboundQueueV2, - EthereumOutboundQueue, EthereumOutboundQueueV2, EthereumSystem, EthereumSystemV2, MessageQueue, - Runtime, RuntimeEvent, TransactionByteFee, + AggregateMessageOrigin, Balances, BridgeRelayers, EthereumBeaconClient, EthereumInboundQueue, + EthereumInboundQueueV2, EthereumOutboundQueue, EthereumOutboundQueueV2, EthereumSystem, + EthereumSystemV2, MessageQueue, Runtime, RuntimeEvent, TransactionByteFee, }; use bp_asset_hub_polkadot::SystemFrontendPalletInstance; use bp_bridge_hub_polkadot::snowbridge::{ - CreateAssetCall, InboundQueuePalletInstance, InboundQueueV2PalletInstance, Parameters, + CreateAssetCall as CreateAssetCallIndex, InboundQueuePalletInstance, + InboundQueueV2PalletInstance, Parameters, SetReservesCall, }; pub use bp_bridge_hub_polkadot::snowbridge::{EthereumLocation, EthereumNetwork}; use frame_support::{parameter_types, traits::Contains, weights::ConstantMultiplier}; @@ -34,7 +35,7 @@ use parachains_common::{AccountId, Balance}; use polkadot_runtime_constants::system_parachain::AssetHubParaId; use snowbridge_beacon_primitives::{Fork, ForkVersions}; use snowbridge_core::AllowSiblingsOnly; -use snowbridge_inbound_queue_primitives::v1::MessageToXcm; +use snowbridge_inbound_queue_primitives::{v1::MessageToXcm, v2::CreateAssetCallInfo}; use snowbridge_outbound_queue_primitives::{ v1::{ConstantGasMeter, EthereumBlobExporter}, v2::{ConstantGasMeter as ConstantGasMeterV2, EthereumBlobExporter as EthereumBlobExporterV2}, @@ -73,6 +74,12 @@ parameter_types! { pub InboundQueueV2Location: InteriorLocation = [PalletInstance(InboundQueueV2PalletInstance::get())].into(); pub const SnowbridgeReward: BridgeReward = BridgeReward::Snowbridge; pub SnowbridgeFrontendLocation: Location = Location::new(1, [Parachain(polkadot_runtime_constants::system_parachain::ASSET_HUB_ID), PalletInstance(SystemFrontendPalletInstance::get())]); + pub CreateAssetCall: CreateAssetCallInfo = CreateAssetCallInfo { + create_call: CreateAssetCallIndex::get(), + deposit: bp_asset_hub_polkadot::CreateForeignAssetDeposit::get(), + min_balance: 1, + set_reserves_call: SetReservesCall::get(), + }; } impl snowbridge_pallet_inbound_queue::Config for Runtime { @@ -88,7 +95,7 @@ impl snowbridge_pallet_inbound_queue::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] type Helper = Runtime; type MessageConverter = MessageToXcm< - CreateAssetCall, + CreateAssetCallIndex, bp_asset_hub_polkadot::CreateForeignAssetDeposit, InboundQueuePalletInstance, AccountId, @@ -120,14 +127,12 @@ impl snowbridge_pallet_inbound_queue_v2::Config for Runtime { type XcmExecutor = XcmExecutor; type MessageConverter = snowbridge_inbound_queue_primitives::v2::MessageToXcm< CreateAssetCall, - bp_asset_hub_polkadot::CreateForeignAssetDeposit, EthereumNetwork, + RelayNetwork, + EthereumGatewayAddress, InboundQueueV2Location, + AssetHubParaId, EthereumSystem, - EthereumGatewayAddress, - EthereumUniversalLocation, - AssetHubFromEthereum, - AssetHubUniversalLocation, AccountId, >; type AccountToLocation = xcm_builder::AliasesIntoAccountId32< @@ -176,6 +181,8 @@ impl snowbridge_pallet_outbound_queue_v2::Config for Runtime { type RewardKind = BridgeReward; type DefaultRewardKind = SnowbridgeReward; type RewardPayment = BridgeRelayers; + type AggregateMessageOrigin = AggregateMessageOrigin; + type OnNewCommitment = (); #[cfg(feature = "runtime-benchmarks")] type Helper = Runtime; } @@ -302,8 +309,11 @@ pub mod benchmark_helpers { use frame_support::{parameter_types, traits::fungible}; use hex_literal::hex; use snowbridge_beacon_primitives::BeaconHeader; + use snowbridge_inbound_queue_primitives::EventFixture; use snowbridge_pallet_inbound_queue::BenchmarkHelper; + use snowbridge_pallet_inbound_queue_fixtures::register_token::make_register_token_message; use snowbridge_pallet_inbound_queue_v2::BenchmarkHelper as InboundQueueBenchmarkHelperV2; + use snowbridge_pallet_inbound_queue_v2_fixtures::register_token::make_register_token_message as make_register_token_message_v2; use snowbridge_pallet_outbound_queue_v2::BenchmarkHelper as OutboundQueueBenchmarkHelperV2; use sp_core::{H160, H256}; use xcm::latest::{Assets, Location, SendError, SendResult, SendXcm, Xcm, XcmHash}; @@ -316,44 +326,38 @@ pub mod benchmark_helpers { } impl BenchmarkHelper for Runtime { - fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) { - initialize_storage_for_benchmarks( - EthereumGatewayAddressV1::get(), - beacon_header, - block_roots_root, - ); + fn initialize_storage() -> EventFixture { + let message = make_register_token_message(); + EthereumBeaconClient::store_finalized_header( + message.finalized_header, + message.block_roots_root, + ) + .unwrap(); + EthereumGatewayAddress::set(&EthereumGatewayAddressV1::get()); + message } } impl InboundQueueBenchmarkHelperV2 for Runtime { - fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) { - initialize_storage_for_benchmarks( - EthereumGatewayAddressV2::get(), - beacon_header, - block_roots_root, - ); + fn initialize_storage() -> EventFixture { + let message = make_register_token_message_v2(); + EthereumBeaconClient::store_finalized_header( + message.finalized_header, + message.block_roots_root, + ) + .unwrap(); + EthereumGatewayAddress::set(&EthereumGatewayAddressV2::get()); + message } } impl OutboundQueueBenchmarkHelperV2 for Runtime { fn initialize_storage(beacon_header: BeaconHeader, block_roots_root: H256) { - initialize_storage_for_benchmarks( - EthereumGatewayAddressV2::get(), - beacon_header, - block_roots_root, - ); + EthereumBeaconClient::store_finalized_header(beacon_header, block_roots_root).unwrap(); + EthereumGatewayAddress::set(&EthereumGatewayAddressV2::get()); } } - fn initialize_storage_for_benchmarks( - gateway_address: H160, - beacon_header: BeaconHeader, - block_roots_root: H256, - ) { - EthereumBeaconClient::store_finalized_header(beacon_header, block_roots_root).unwrap(); - EthereumGatewayAddress::set(&gateway_address); - } - pub struct DoNothingRouter; impl SendXcm for DoNothingRouter { type Ticket = Xcm<()>; diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_kusama_config.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_kusama_config.rs index 8c35f39791..b046070c64 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_kusama_config.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/bridge_to_kusama_config.rs @@ -102,7 +102,7 @@ parameter_types! { pub const ParachainPalletNameAtKusama: &'static str = bp_kusama::PARAS_PALLET_NAME; // see the `FEE_BOOST_PER_MESSAGE` constant to get the meaning of this value - pub PriorityBoostPerMessage: u64 = 3_641_799_307_958; + pub PriorityBoostPerMessage: u64 = 3_981_967_375_185; } /// Proof of messages, coming from Kusama. diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs index aa281502a6..eb6c6c6a3a 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/lib.rs @@ -355,7 +355,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -1004,9 +1003,9 @@ mod benches { bp_messages::LegacyLaneId, Balance, >::rewards_account(reward_kind); - Self::deposit_account(rewards_account, reward); + Self::deposit_account(rewards_account.clone(), reward); - None + Some(bridge_common_config::BridgeRewardBeneficiaries::LocalAccount(rewards_account)) } fn deposit_account(account: AccountId, balance: Balance) { @@ -1202,7 +1201,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1239,7 +1238,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1349,8 +1348,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1360,7 +1360,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1517,7 +1517,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 07d44e237e..616d98797f 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-09, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `3f7843ba8642`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/bridge-hub-polkadot-runtime/bridge_hub_polkadot_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `1497` - // Minimum execution time: 5_861_000 picoseconds. - Weight::from_parts(6_230_000, 0) + // Minimum execution time: 6_025_000 picoseconds. + Weight::from_parts(6_250_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `148` // Estimated: `5487` - // Minimum execution time: 17_970_000 picoseconds. - Weight::from_parts(15_668_287, 0) + // Minimum execution time: 14_157_000 picoseconds. + Weight::from_parts(15_035_847, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(977, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(321, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `148` // Estimated: `5487` - // Minimum execution time: 15_010_000 picoseconds. - Weight::from_parts(21_254_333, 0) + // Minimum execution time: 12_038_000 picoseconds. + Weight::from_parts(16_239_636, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 533 - .saturating_add(Weight::from_parts(218_677, 0).saturating_mul(n.into())) + // Standard Error: 199 + .saturating_add(Weight::from_parts(122_734, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `330 + n * (1 ±0)` // Estimated: `3791 + n * (1 ±0)` - // Minimum execution time: 26_930_000 picoseconds. - Weight::from_parts(22_935_532, 0) + // Minimum execution time: 20_661_000 picoseconds. + Weight::from_parts(20_184_889, 0) .saturating_add(Weight::from_parts(0, 3791)) - // Standard Error: 19 - .saturating_add(Weight::from_parts(2_282, 0).saturating_mul(n.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(989, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `183` // Estimated: `5487` - // Minimum execution time: 16_370_000 picoseconds. - Weight::from_parts(13_001_447, 0) + // Minimum execution time: 13_374_000 picoseconds. + Weight::from_parts(13_606_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 124_160 - .saturating_add(Weight::from_parts(61_932_126, 0).saturating_mul(n.into())) + // Standard Error: 16_441 + .saturating_add(Weight::from_parts(22_585_309, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33095` // Estimated: `36560` - // Minimum execution time: 321_669_000 picoseconds. - Weight::from_parts(330_789_000, 0) + // Minimum execution time: 178_730_000 picoseconds. + Weight::from_parts(180_215_000, 0) .saturating_add(Weight::from_parts(0, 36560)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `2767` - // Minimum execution time: 3_620_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 3_678_000 picoseconds. + Weight::from_parts(3_813_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `177` // Estimated: `2767` - // Minimum execution time: 5_020_000 picoseconds. - Weight::from_parts(5_320_000, 0) + // Minimum execution time: 4_500_000 picoseconds. + Weight::from_parts(4_696_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_450_000 picoseconds. - Weight::from_parts(6_610_000, 0) + // Minimum execution time: 1_704_000 picoseconds. + Weight::from_parts(2_007_469, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 94 + .saturating_add(Weight::from_parts(11_867, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65777` // Estimated: `69242` - // Minimum execution time: 135_250_000 picoseconds. - Weight::from_parts(138_090_000, 0) + // Minimum execution time: 66_772_000 picoseconds. + Weight::from_parts(67_784_000, 0) .saturating_add(Weight::from_parts(0, 69242)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65776` // Estimated: `69241` - // Minimum execution time: 69_140_000 picoseconds. - Weight::from_parts(71_549_000, 0) + // Minimum execution time: 42_570_000 picoseconds. + Weight::from_parts(43_293_000, 0) .saturating_add(Weight::from_parts(0, 69241)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_bridge_relayers.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_bridge_relayers.rs index 3493c35613..2d8e6f9c20 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_bridge_relayers.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_bridge_relayers.rs @@ -16,26 +16,36 @@ //! Autogenerated weights for `pallet_bridge_relayers` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2026-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `3f7843ba8642`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `MacBook-Pro-4.local`, CPU: `` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: -// frame-omni-bencher +// ./target/release/frame-omni-bencher // v1 // benchmark // pallet -// --extrinsic=* -// --runtime=target/production/wbuild/bridge-hub-polkadot-runtime/bridge_hub_polkadot_runtime.wasm -// --pallet=pallet_bridge_relayers -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt -// --output=./system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights -// --wasm-execution=compiled -// --steps=50 -// --repeat=20 -// --heap-pages=4096 +// --runtime +// /Users/claravanstaden/IdeaProjects/runtimes/target/release/wbuild/bridge-hub-polkadot-runtime/bridge_hub_polkadot_runtime.wasm +// -p +// pallet_bridge_relayers +// -e +// * +// --output +// /Users/claravanstaden/IdeaProjects/runtimes/system-parachains/bridge-hubs/bridge-hub-polkadot/src/weights/pallet_bridge_relayers.rs +// --header +// /Users/claravanstaden/IdeaProjects/runtimes/.github/scripts/cmd/file_header.txt +// -s +// 50 +// -r +// 20 +// --heap-pages +// 4096 +// --no-storage-info +// --no-min-squares +// --no-median-slopes #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,84 +58,52 @@ use core::marker::PhantomData; /// Weight functions for `pallet_bridge_relayers`. pub struct WeightInfo(PhantomData); impl pallet_bridge_relayers::WeightInfo for WeightInfo { - /// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1) - /// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn claim_rewards() -> Weight { // Proof Size summary in bytes: // Measured: `206` - // Estimated: `3593` - // Minimum execution time: 69_280_000 picoseconds. - Weight::from_parts(70_530_000, 0) - .saturating_add(Weight::from_parts(0, 3593)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `0` + // Minimum execution time: 38_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_rewards_to() -> Weight { // Proof Size summary in bytes: - // Measured: `0` + // Measured: `206` // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) + // Minimum execution time: 13_000_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `BridgeRelayers::RegisteredRelayers` (r:1 w:1) - /// Proof: `BridgeRelayers::RegisteredRelayers` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: UNKNOWN KEY `0x1e8445dc201eeb8560e5579a5dd54655` (r:1 w:0) - /// Proof: UNKNOWN KEY `0x1e8445dc201eeb8560e5579a5dd54655` (r:1 w:0) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `42` - // Estimated: `4714` - // Minimum execution time: 34_051_000 picoseconds. - Weight::from_parts(35_250_000, 0) - .saturating_add(Weight::from_parts(0, 4714)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `75` + // Estimated: `0` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `BridgeRelayers::RegisteredRelayers` (r:1 w:1) - /// Proof: `BridgeRelayers::RegisteredRelayers` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn deregister() -> Weight { // Proof Size summary in bytes: // Measured: `158` - // Estimated: `4714` - // Minimum execution time: 34_280_000 picoseconds. - Weight::from_parts(35_649_000, 0) - .saturating_add(Weight::from_parts(0, 4714)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `0` + // Minimum execution time: 19_000_000 picoseconds. + Weight::from_parts(20_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `BridgeRelayers::RegisteredRelayers` (r:1 w:1) - /// Proof: `BridgeRelayers::RegisteredRelayers` (`max_values`: None, `max_size`: Some(68), added: 2543, mode: `MaxEncodedLen`) - /// Storage: `Balances::Reserves` (r:1 w:1) - /// Proof: `Balances::Reserves` (`max_values`: None, `max_size`: Some(1249), added: 3724, mode: `MaxEncodedLen`) fn slash_and_deregister() -> Weight { // Proof Size summary in bytes: // Measured: `158` - // Estimated: `4714` - // Minimum execution time: 30_970_000 picoseconds. - Weight::from_parts(31_850_000, 0) - .saturating_add(Weight::from_parts(0, 4714)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Estimated: `0` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(17_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } - /// Storage: `BridgeRelayers::RelayerRewards` (r:1 w:1) - /// Proof: `BridgeRelayers::RelayerRewards` (`max_values`: None, `max_size`: Some(74), added: 2549, mode: `MaxEncodedLen`) fn register_relayer_reward() -> Weight { // Proof Size summary in bytes: // Measured: `3` - // Estimated: `3539` - // Minimum execution time: 7_630_000 picoseconds. - Weight::from_parts(7_890_000, 0) - .saturating_add(Weight::from_parts(0, 3539)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Estimated: `0` + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_000_000, 0) + .saturating_add(Weight::from_parts(0, 0)) } } diff --git a/system-parachains/bridge-hubs/bridge-hub-polkadot/tests/snowbridge.rs b/system-parachains/bridge-hubs/bridge-hub-polkadot/tests/snowbridge.rs index 5ac15c4ea0..d4ee1f7f3a 100644 --- a/system-parachains/bridge-hubs/bridge-hub-polkadot/tests/snowbridge.rs +++ b/system-parachains/bridge-hubs/bridge-hub-polkadot/tests/snowbridge.rs @@ -490,7 +490,7 @@ fn check_compatibility_for_token_id_stored_on_ethereum() { }, ], ), - foreign: hex!("2a8080362874bbfeb585d676eba3f06e3b878d7c5d5f98d2a092ebb375bd484c") + foreign: hex!("e63b941f18079384e8de0a0bd11b3e0043b7bd675a3c4d2167dea38234047e2a") .into(), }, ]; diff --git a/system-parachains/collectives/collectives-polkadot/Cargo.toml b/system-parachains/collectives/collectives-polkadot/Cargo.toml index 8137870c1e..58f7bca9a0 100644 --- a/system-parachains/collectives/collectives-polkadot/Cargo.toml +++ b/system-parachains/collectives/collectives-polkadot/Cargo.toml @@ -121,6 +121,7 @@ runtime-benchmarks = [ "pallet-referenda/runtime-benchmarks", "pallet-salary/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-treasury/runtime-benchmarks", diff --git a/system-parachains/collectives/collectives-polkadot/src/lib.rs b/system-parachains/collectives/collectives-polkadot/src/lib.rs index e79c3cc914..b78272bfc2 100644 --- a/system-parachains/collectives/collectives-polkadot/src/lib.rs +++ b/system-parachains/collectives/collectives-polkadot/src/lib.rs @@ -451,7 +451,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -1136,7 +1135,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1173,7 +1172,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1283,8 +1282,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1294,7 +1294,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1368,7 +1368,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 7c28ca312b..b999890104 100644 --- a/system-parachains/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/collectives/collectives-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `3f7843ba8642`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/collectives-polkadot-runtime/collectives_polkadot_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/collectives/collectives-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `1497` - // Minimum execution time: 5_700_000 picoseconds. - Weight::from_parts(6_620_000, 0) + // Minimum execution time: 6_186_000 picoseconds. + Weight::from_parts(6_338_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `184` // Estimated: `5487` - // Minimum execution time: 18_760_000 picoseconds. - Weight::from_parts(17_089_726, 0) + // Minimum execution time: 14_342_000 picoseconds. + Weight::from_parts(15_345_442, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_026, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `184` // Estimated: `5487` - // Minimum execution time: 15_620_000 picoseconds. - Weight::from_parts(27_402_312, 0) + // Minimum execution time: 12_136_000 picoseconds. + Weight::from_parts(16_445_873, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_119 - .saturating_add(Weight::from_parts(226_862, 0).saturating_mul(n.into())) + // Standard Error: 198 + .saturating_add(Weight::from_parts(125_155, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `367 + n * (1 ±0)` // Estimated: `3828 + n * (1 ±0)` - // Minimum execution time: 26_880_000 picoseconds. - Weight::from_parts(21_928_749, 0) + // Minimum execution time: 20_561_000 picoseconds. + Weight::from_parts(20_882_002, 0) .saturating_add(Weight::from_parts(0, 3828)) - // Standard Error: 14 - .saturating_add(Weight::from_parts(2_304, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(959, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `219` // Estimated: `5487` - // Minimum execution time: 16_771_000 picoseconds. - Weight::from_parts(12_345_130, 0) + // Minimum execution time: 13_415_000 picoseconds. + Weight::from_parts(13_880_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 128_980 - .saturating_add(Weight::from_parts(62_073_712, 0).saturating_mul(n.into())) + // Standard Error: 21_325 + .saturating_add(Weight::from_parts(22_557_384, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33132` // Estimated: `36597` - // Minimum execution time: 333_060_000 picoseconds. - Weight::from_parts(338_701_000, 0) + // Minimum execution time: 178_803_000 picoseconds. + Weight::from_parts(180_897_000, 0) .saturating_add(Weight::from_parts(0, 36597)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `142` // Estimated: `2767` - // Minimum execution time: 3_740_000 picoseconds. - Weight::from_parts(3_920_000, 0) + // Minimum execution time: 3_457_000 picoseconds. + Weight::from_parts(3_706_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `177` // Estimated: `2767` - // Minimum execution time: 7_141_000 picoseconds. - Weight::from_parts(7_780_000, 0) + // Minimum execution time: 4_409_000 picoseconds. + Weight::from_parts(4_649_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_230_000 picoseconds. - Weight::from_parts(9_510_000, 0) + // Minimum execution time: 1_763_000 picoseconds. + Weight::from_parts(2_051_337, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 99 + .saturating_add(Weight::from_parts(12_397, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65813` // Estimated: `69278` - // Minimum execution time: 138_460_000 picoseconds. - Weight::from_parts(150_700_000, 0) + // Minimum execution time: 67_082_000 picoseconds. + Weight::from_parts(67_977_000, 0) .saturating_add(Weight::from_parts(0, 69278)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65776` // Estimated: `69241` - // Minimum execution time: 68_700_000 picoseconds. - Weight::from_parts(71_119_000, 0) + // Minimum execution time: 42_371_000 picoseconds. + Weight::from_parts(43_247_000, 0) .saturating_add(Weight::from_parts(0, 69241)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/coretime/coretime-kusama/Cargo.toml b/system-parachains/coretime/coretime-kusama/Cargo.toml index 31d780cf60..6744f9cbd8 100644 --- a/system-parachains/coretime/coretime-kusama/Cargo.toml +++ b/system-parachains/coretime/coretime-kusama/Cargo.toml @@ -169,6 +169,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", diff --git a/system-parachains/coretime/coretime-kusama/src/lib.rs b/system-parachains/coretime/coretime-kusama/src/lib.rs index 37d9f1239c..9649b27ade 100644 --- a/system-parachains/coretime/coretime-kusama/src/lib.rs +++ b/system-parachains/coretime/coretime-kusama/src/lib.rs @@ -328,7 +328,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -963,7 +962,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1000,7 +999,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1110,8 +1109,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1121,7 +1121,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1181,7 +1181,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/coretime/coretime-kusama/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/coretime/coretime-kusama/src/weights/cumulus_pallet_xcmp_queue.rs index 5bb9b4b761..75d57a857d 100644 --- a/system-parachains/coretime/coretime-kusama/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/coretime/coretime-kusama/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ea1952f31244`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/coretime-kusama-runtime/coretime_kusama_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/coretime/coretime-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1497` - // Minimum execution time: 5_790_000 picoseconds. - Weight::from_parts(6_490_000, 0) + // Minimum execution time: 5_752_000 picoseconds. + Weight::from_parts(6_072_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 17_440_000 picoseconds. - Weight::from_parts(19_243_958, 0) + // Minimum execution time: 13_836_000 picoseconds. + Weight::from_parts(14_644_492, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 10 - .saturating_add(Weight::from_parts(681, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(317, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 14_200_000 picoseconds. - Weight::from_parts(19_941_559, 0) + // Minimum execution time: 11_646_000 picoseconds. + Weight::from_parts(16_211_986, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(200_499, 0).saturating_mul(n.into())) + // Standard Error: 167 + .saturating_add(Weight::from_parts(126_052, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `264 + n * (1 ±0)` // Estimated: `3725 + n * (1 ±0)` - // Minimum execution time: 26_880_000 picoseconds. - Weight::from_parts(28_560_485, 0) + // Minimum execution time: 19_911_000 picoseconds. + Weight::from_parts(19_965_404, 0) .saturating_add(Weight::from_parts(0, 3725)) - // Standard Error: 6 - .saturating_add(Weight::from_parts(1_755, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(963, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `117` // Estimated: `5487` - // Minimum execution time: 15_690_000 picoseconds. - Weight::from_parts(12_279_528, 0) + // Minimum execution time: 12_937_000 picoseconds. + Weight::from_parts(13_186_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 62_814 - .saturating_add(Weight::from_parts(45_048_060, 0).saturating_mul(n.into())) + // Standard Error: 17_130 + .saturating_add(Weight::from_parts(22_414_189, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33029` // Estimated: `36494` - // Minimum execution time: 279_149_000 picoseconds. - Weight::from_parts(281_880_000, 0) + // Minimum execution time: 178_534_000 picoseconds. + Weight::from_parts(182_651_000, 0) .saturating_add(Weight::from_parts(0, 36494)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `2767` - // Minimum execution time: 3_650_000 picoseconds. - Weight::from_parts(4_010_000, 0) + // Minimum execution time: 3_352_000 picoseconds. + Weight::from_parts(3_483_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `2767` - // Minimum execution time: 5_210_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 4_362_000 picoseconds. + Weight::from_parts(4_474_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_540_000 picoseconds. - Weight::from_parts(6_730_000, 0) + // Minimum execution time: 1_865_000 picoseconds. + Weight::from_parts(2_131_883, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 106 + .saturating_add(Weight::from_parts(12_080, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 113_270_000 picoseconds. - Weight::from_parts(127_130_000, 0) + // Minimum execution time: 67_197_000 picoseconds. + Weight::from_parts(68_184_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 68_090_000 picoseconds. - Weight::from_parts(70_360_000, 0) + // Minimum execution time: 42_532_000 picoseconds. + Weight::from_parts(43_819_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/coretime/coretime-polkadot/Cargo.toml b/system-parachains/coretime/coretime-polkadot/Cargo.toml index e61c93200c..91308f2a54 100644 --- a/system-parachains/coretime/coretime-polkadot/Cargo.toml +++ b/system-parachains/coretime/coretime-polkadot/Cargo.toml @@ -170,6 +170,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", diff --git a/system-parachains/coretime/coretime-polkadot/src/lib.rs b/system-parachains/coretime/coretime-polkadot/src/lib.rs index 2e939801a5..369ca809ea 100644 --- a/system-parachains/coretime/coretime-polkadot/src/lib.rs +++ b/system-parachains/coretime/coretime-polkadot/src/lib.rs @@ -334,7 +334,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -967,7 +966,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1004,7 +1003,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1114,8 +1113,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1125,7 +1125,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1185,7 +1185,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/coretime/coretime-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/coretime/coretime-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 5b8db2f6e3..635ad934dd 100644 --- a/system-parachains/coretime/coretime-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/coretime/coretime-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `3f7843ba8642`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/coretime-polkadot-runtime/coretime_polkadot_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/coretime/coretime-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1497` - // Minimum execution time: 5_590_000 picoseconds. - Weight::from_parts(5_900_000, 0) + // Minimum execution time: 5_800_000 picoseconds. + Weight::from_parts(6_088_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 17_190_000 picoseconds. - Weight::from_parts(14_928_851, 0) + // Minimum execution time: 14_221_000 picoseconds. + Weight::from_parts(14_740_820, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(987, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(311, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 14_180_000 picoseconds. - Weight::from_parts(25_654_674, 0) + // Minimum execution time: 11_335_000 picoseconds. + Weight::from_parts(15_554_009, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_107 - .saturating_add(Weight::from_parts(213_213, 0).saturating_mul(n.into())) + // Standard Error: 164 + .saturating_add(Weight::from_parts(123_285, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `264 + n * (1 ±0)` // Estimated: `3725 + n * (1 ±0)` - // Minimum execution time: 26_110_000 picoseconds. - Weight::from_parts(20_849_018, 0) + // Minimum execution time: 19_345_000 picoseconds. + Weight::from_parts(19_340_608, 0) .saturating_add(Weight::from_parts(0, 3725)) - // Standard Error: 15 - .saturating_add(Weight::from_parts(2_317, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(979, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `117` // Estimated: `5487` - // Minimum execution time: 15_950_000 picoseconds. - Weight::from_parts(10_699_788, 0) + // Minimum execution time: 12_469_000 picoseconds. + Weight::from_parts(12_599_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 112_593 - .saturating_add(Weight::from_parts(62_017_780, 0).saturating_mul(n.into())) + // Standard Error: 15_309 + .saturating_add(Weight::from_parts(22_526_463, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33029` // Estimated: `36494` - // Minimum execution time: 318_680_000 picoseconds. - Weight::from_parts(328_789_000, 0) + // Minimum execution time: 176_625_000 picoseconds. + Weight::from_parts(179_101_000, 0) .saturating_add(Weight::from_parts(0, 36494)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `2767` - // Minimum execution time: 3_480_000 picoseconds. - Weight::from_parts(3_780_000, 0) + // Minimum execution time: 3_347_000 picoseconds. + Weight::from_parts(3_462_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `2767` - // Minimum execution time: 4_960_000 picoseconds. - Weight::from_parts(5_240_000, 0) + // Minimum execution time: 4_214_000 picoseconds. + Weight::from_parts(4_431_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_390_000 picoseconds. - Weight::from_parts(6_531_000, 0) + // Minimum execution time: 1_726_000 picoseconds. + Weight::from_parts(2_024_311, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 110 + .saturating_add(Weight::from_parts(11_818, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 134_049_000 picoseconds. - Weight::from_parts(137_540_000, 0) + // Minimum execution time: 66_310_000 picoseconds. + Weight::from_parts(67_741_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 69_150_000 picoseconds. - Weight::from_parts(70_669_000, 0) + // Minimum execution time: 41_767_000 picoseconds. + Weight::from_parts(42_768_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/encointer/Cargo.toml b/system-parachains/encointer/Cargo.toml index 503a9a6b83..c2c4c4c898 100644 --- a/system-parachains/encointer/Cargo.toml +++ b/system-parachains/encointer/Cargo.toml @@ -152,6 +152,7 @@ runtime-benchmarks = [ "pallet-message-queue/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", diff --git a/system-parachains/encointer/src/lib.rs b/system-parachains/encointer/src/lib.rs index 0a866d0765..a25143e7c8 100644 --- a/system-parachains/encointer/src/lib.rs +++ b/system-parachains/encointer/src/lib.rs @@ -421,7 +421,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -1189,7 +1188,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -1225,7 +1224,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1312,8 +1311,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset: VersionedAssetId) -> Result { + // We do not allow exchanging assets for delivery fees currently (our communities do not need to send XCMs paying with CC). + PolkadotXcm::query_delivery_fees::<()>(destination, message, asset) } } @@ -1323,7 +1323,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1455,7 +1455,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect diff --git a/system-parachains/encointer/src/tests/mock.rs b/system-parachains/encointer/src/tests/mock.rs index 83cf231cde..5a20920673 100644 --- a/system-parachains/encointer/src/tests/mock.rs +++ b/system-parachains/encointer/src/tests/mock.rs @@ -130,6 +130,8 @@ impl pallet_assets::Config for Test { type AssetIdParameter = AssetIdForAssets; type CallbackHandle = (); type Holder = (); + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = (); } @@ -383,6 +385,7 @@ pub fn new_test_ext() -> sp_io::TestExternalities { (100, TreasuryAccountId::get(), INITIAL_BALANCE), ], next_asset_id: None, + reserves: vec![], } .assimilate_storage(&mut t) .unwrap(); diff --git a/system-parachains/encointer/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/encointer/src/weights/cumulus_pallet_xcmp_queue.rs index d2ffed5312..3803180000 100644 --- a/system-parachains/encointer/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/encointer/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ea1952f31244`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/encointer-kusama-runtime/encointer_kusama_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/encointer/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `42` // Estimated: `1497` - // Minimum execution time: 6_250_000 picoseconds. - Weight::from_parts(6_710_000, 0) + // Minimum execution time: 6_044_000 picoseconds. + Weight::from_parts(6_366_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `84` // Estimated: `5487` - // Minimum execution time: 17_670_000 picoseconds. - Weight::from_parts(19_131_995, 0) + // Minimum execution time: 14_205_000 picoseconds. + Weight::from_parts(15_138_274, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 3 - .saturating_add(Weight::from_parts(650, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(326, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `84` // Estimated: `5487` - // Minimum execution time: 14_870_000 picoseconds. - Weight::from_parts(21_985_836, 0) + // Minimum execution time: 12_084_000 picoseconds. + Weight::from_parts(16_909_883, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 464 - .saturating_add(Weight::from_parts(190_517, 0).saturating_mul(n.into())) + // Standard Error: 224 + .saturating_add(Weight::from_parts(125_982, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `267 + n * (1 ±0)` // Estimated: `3728 + n * (1 ±0)` - // Minimum execution time: 27_920_000 picoseconds. - Weight::from_parts(28_182_746, 0) + // Minimum execution time: 21_689_000 picoseconds. + Weight::from_parts(21_886_624, 0) .saturating_add(Weight::from_parts(0, 3728)) - // Standard Error: 9 - .saturating_add(Weight::from_parts(1_904, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(997, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `119` // Estimated: `5487` - // Minimum execution time: 16_349_000 picoseconds. - Weight::from_parts(17_440_000, 0) + // Minimum execution time: 13_298_000 picoseconds. + Weight::from_parts(13_698_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 50_398 - .saturating_add(Weight::from_parts(45_422_301, 0).saturating_mul(n.into())) + // Standard Error: 17_945 + .saturating_add(Weight::from_parts(22_604_514, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33032` // Estimated: `36497` - // Minimum execution time: 281_529_000 picoseconds. - Weight::from_parts(284_260_000, 0) + // Minimum execution time: 187_149_000 picoseconds. + Weight::from_parts(189_052_000, 0) .saturating_add(Weight::from_parts(0, 36497)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `42` // Estimated: `2767` - // Minimum execution time: 3_840_000 picoseconds. - Weight::from_parts(4_191_000, 0) + // Minimum execution time: 3_329_000 picoseconds. + Weight::from_parts(3_541_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `77` // Estimated: `2767` - // Minimum execution time: 5_440_000 picoseconds. - Weight::from_parts(5_589_000, 0) + // Minimum execution time: 4_365_000 picoseconds. + Weight::from_parts(4_593_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_671_000 picoseconds. - Weight::from_parts(6_880_000, 0) + // Minimum execution time: 1_955_000 picoseconds. + Weight::from_parts(2_221_080, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 103 + .saturating_add(Weight::from_parts(11_733, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65713` // Estimated: `69178` - // Minimum execution time: 114_370_000 picoseconds. - Weight::from_parts(115_919_000, 0) + // Minimum execution time: 67_278_000 picoseconds. + Weight::from_parts(68_166_000, 0) .saturating_add(Weight::from_parts(0, 69178)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65676` // Estimated: `69141` - // Minimum execution time: 67_310_000 picoseconds. - Weight::from_parts(69_270_000, 0) + // Minimum execution time: 42_129_000 picoseconds. + Weight::from_parts(43_088_000, 0) .saturating_add(Weight::from_parts(0, 69141)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/gluttons/glutton-kusama/src/lib.rs b/system-parachains/gluttons/glutton-kusama/src/lib.rs index 3fc7e80643..aa8dcd8852 100644 --- a/system-parachains/gluttons/glutton-kusama/src/lib.rs +++ b/system-parachains/gluttons/glutton-kusama/src/lib.rs @@ -196,7 +196,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberStrictlyIncreases; type ConsensusHook = cumulus_pallet_parachain_system::consensus_hook::ExpectParentIncluded; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -345,7 +344,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -383,7 +382,7 @@ impl_runtime_apis! { data.create_extrinsics() } - fn check_inherents(block: Block, data: sp_inherents::InherentData) -> sp_inherents::CheckInherentsResult { + fn check_inherents(block: ::LazyBlock, data: sp_inherents::InherentData) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) } } diff --git a/system-parachains/people/people-kusama/Cargo.toml b/system-parachains/people/people-kusama/Cargo.toml index 6326816f05..c1216878e7 100644 --- a/system-parachains/people/people-kusama/Cargo.toml +++ b/system-parachains/people/people-kusama/Cargo.toml @@ -172,6 +172,7 @@ runtime-benchmarks = [ "pallet-migrations/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", diff --git a/system-parachains/people/people-kusama/src/lib.rs b/system-parachains/people/people-kusama/src/lib.rs index 149cfa5472..454a3b7ac6 100644 --- a/system-parachains/people/people-kusama/src/lib.rs +++ b/system-parachains/people/people-kusama/src/lib.rs @@ -302,7 +302,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -912,7 +911,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -949,7 +948,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1059,8 +1058,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1070,7 +1070,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1130,7 +1130,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/people/people-kusama/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/people/people-kusama/src/weights/cumulus_pallet_xcmp_queue.rs index 1b4bc9502b..3de0dbe91a 100644 --- a/system-parachains/people/people-kusama/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/people/people-kusama/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 50.0.0 -//! DATE: 2025-09-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `ea1952f31244`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/people-kusama-runtime/people_kusama_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/people/people-kusama/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1497` - // Minimum execution time: 6_540_000 picoseconds. - Weight::from_parts(8_010_000, 0) + // Minimum execution time: 5_992_000 picoseconds. + Weight::from_parts(6_412_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 17_960_000 picoseconds. - Weight::from_parts(24_246_585, 0) + // Minimum execution time: 13_874_000 picoseconds. + Weight::from_parts(14_802_548, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 8 - .saturating_add(Weight::from_parts(559, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(328, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 14_170_000 picoseconds. - Weight::from_parts(17_662_190, 0) + // Minimum execution time: 11_558_000 picoseconds. + Weight::from_parts(16_035_601, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 1_863 - .saturating_add(Weight::from_parts(213_818, 0).saturating_mul(n.into())) + // Standard Error: 321 + .saturating_add(Weight::from_parts(124_903, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `264 + n * (1 ±0)` // Estimated: `3725 + n * (1 ±0)` - // Minimum execution time: 25_580_000 picoseconds. - Weight::from_parts(28_163_803, 0) + // Minimum execution time: 19_557_000 picoseconds. + Weight::from_parts(19_785_556, 0) .saturating_add(Weight::from_parts(0, 3725)) - // Standard Error: 7 - .saturating_add(Weight::from_parts(1_770, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_001, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `117` // Estimated: `5487` - // Minimum execution time: 16_140_000 picoseconds. - Weight::from_parts(16_560_000, 0) + // Minimum execution time: 12_825_000 picoseconds. + Weight::from_parts(13_019_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 54_627 - .saturating_add(Weight::from_parts(46_093_669, 0).saturating_mul(n.into())) + // Standard Error: 17_507 + .saturating_add(Weight::from_parts(22_743_917, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33029` // Estimated: `36494` - // Minimum execution time: 280_528_000 picoseconds. - Weight::from_parts(288_258_000, 0) + // Minimum execution time: 176_199_000 picoseconds. + Weight::from_parts(177_369_000, 0) .saturating_add(Weight::from_parts(0, 36494)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `2767` - // Minimum execution time: 3_899_000 picoseconds. - Weight::from_parts(4_301_000, 0) + // Minimum execution time: 3_307_000 picoseconds. + Weight::from_parts(3_551_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `2767` - // Minimum execution time: 5_530_000 picoseconds. - Weight::from_parts(5_789_000, 0) + // Minimum execution time: 4_263_000 picoseconds. + Weight::from_parts(4_558_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_440_000 picoseconds. - Weight::from_parts(6_689_000, 0) + // Minimum execution time: 1_858_000 picoseconds. + Weight::from_parts(2_130_652, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 84 + .saturating_add(Weight::from_parts(11_615, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 113_749_000 picoseconds. - Weight::from_parts(115_151_000, 0) + // Minimum execution time: 67_012_000 picoseconds. + Weight::from_parts(68_793_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 66_941_000 picoseconds. - Weight::from_parts(69_190_000, 0) + // Minimum execution time: 42_442_000 picoseconds. + Weight::from_parts(43_465_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/people/people-polkadot/Cargo.toml b/system-parachains/people/people-polkadot/Cargo.toml index c54531b8d1..ae000de5fd 100644 --- a/system-parachains/people/people-polkadot/Cargo.toml +++ b/system-parachains/people/people-polkadot/Cargo.toml @@ -184,6 +184,7 @@ runtime-benchmarks = [ "pallet-migrations/runtime-benchmarks", "pallet-multisig/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-session/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "pallet-transaction-payment/runtime-benchmarks", "pallet-utility/runtime-benchmarks", diff --git a/system-parachains/people/people-polkadot/src/assets.rs b/system-parachains/people/people-polkadot/src/assets.rs index 156bf1267f..d0b6c3d77c 100644 --- a/system-parachains/people/people-polkadot/src/assets.rs +++ b/system-parachains/people/people-polkadot/src/assets.rs @@ -48,6 +48,8 @@ impl pallet_assets::Config for Runtime { type WeightInfo = weights::pallet_assets::WeightInfo; type CallbackHandle = (); type AssetAccountDeposit = AssetAccountDeposit; + // TODO FIXME BEFORE 2.1.0: see https://github.com/sigurpol/runtimes/pull/5 + type ReserveData = (); type RemoveItemsLimit = frame_support::traits::ConstU32<1000>; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = xcm_config::XcmBenchmarkHelper; diff --git a/system-parachains/people/people-polkadot/src/lib.rs b/system-parachains/people/people-polkadot/src/lib.rs index fcfebedf09..2b501fd1d9 100644 --- a/system-parachains/people/people-polkadot/src/lib.rs +++ b/system-parachains/people/people-polkadot/src/lib.rs @@ -286,7 +286,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; type WeightInfo = weights::cumulus_pallet_parachain_system::WeightInfo; - type SelectCore = cumulus_pallet_parachain_system::DefaultCoreSelector; type RelayParentOffset = ConstU32<0>; } @@ -909,7 +908,7 @@ impl_runtime_apis! { VERSION } - fn execute_block(block: Block) { + fn execute_block(block: ::LazyBlock) { Executive::execute_block(block) } @@ -946,7 +945,7 @@ impl_runtime_apis! { } fn check_inherents( - block: Block, + block: ::LazyBlock, data: sp_inherents::InherentData, ) -> sp_inherents::CheckInherentsResult { data.check_extrinsics(&block) @@ -1056,8 +1055,9 @@ impl_runtime_apis! { PolkadotXcm::query_xcm_weight(message) } - fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>) -> Result { - PolkadotXcm::query_delivery_fees(destination, message) + fn query_delivery_fees(destination: VersionedLocation, message: VersionedXcm<()>, asset_id: VersionedAssetId) -> Result { + type AssetExchanger = ::AssetExchanger; + PolkadotXcm::query_delivery_fees::(destination, message, asset_id) } } @@ -1067,7 +1067,7 @@ impl_runtime_apis! { } fn dry_run_xcm(origin_location: VersionedLocation, xcm: VersionedXcm) -> Result, XcmDryRunApiError> { - PolkadotXcm::dry_run_xcm::(origin_location, xcm) + PolkadotXcm::dry_run_xcm::(origin_location, xcm) } } @@ -1127,7 +1127,7 @@ impl_runtime_apis! { } fn execute_block( - block: Block, + block: ::LazyBlock, state_root_check: bool, signature_check: bool, select: frame_try_runtime::TryStateSelect, diff --git a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs index 29b7f6a40c..1c4a3caf7d 100644 --- a/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs +++ b/system-parachains/people/people-polkadot/src/weights/cumulus_pallet_xcmp_queue.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `cumulus_pallet_xcmp_queue` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-10-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `3f7843ba8642`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/people-polkadot-runtime/people_polkadot_runtime.wasm // --pallet=cumulus_pallet_xcmp_queue -// --header=/_work/fellowship-001/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/people/people-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -54,8 +54,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `1497` - // Minimum execution time: 5_630_000 picoseconds. - Weight::from_parts(6_090_000, 0) + // Minimum execution time: 5_875_000 picoseconds. + Weight::from_parts(6_309_000, 0) .saturating_add(Weight::from_parts(0, 1497)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -75,11 +75,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 17_330_000 picoseconds. - Weight::from_parts(14_592_517, 0) + // Minimum execution time: 13_882_000 picoseconds. + Weight::from_parts(14_790_143, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_055, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(320, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -98,11 +98,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `82` // Estimated: `5487` - // Minimum execution time: 14_390_000 picoseconds. - Weight::from_parts(20_981_547, 0) + // Minimum execution time: 11_856_000 picoseconds. + Weight::from_parts(16_193_926, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 362 - .saturating_add(Weight::from_parts(210_994, 0).saturating_mul(n.into())) + // Standard Error: 288 + .saturating_add(Weight::from_parts(124_226, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(3)) } @@ -119,11 +119,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `264 + n * (1 ±0)` // Estimated: `3725 + n * (1 ±0)` - // Minimum execution time: 26_080_000 picoseconds. - Weight::from_parts(21_778_998, 0) + // Minimum execution time: 20_428_000 picoseconds. + Weight::from_parts(20_381_582, 0) .saturating_add(Weight::from_parts(0, 3725)) - // Standard Error: 15 - .saturating_add(Weight::from_parts(2_254, 0).saturating_mul(n.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(970, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -143,11 +143,11 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `117` // Estimated: `5487` - // Minimum execution time: 15_779_000 picoseconds. - Weight::from_parts(10_322_364, 0) + // Minimum execution time: 13_024_000 picoseconds. + Weight::from_parts(13_296_000, 0) .saturating_add(Weight::from_parts(0, 5487)) - // Standard Error: 90_166 - .saturating_add(Weight::from_parts(63_279_819, 0).saturating_mul(n.into())) + // Standard Error: 17_200 + .saturating_add(Weight::from_parts(22_582_843, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) @@ -164,8 +164,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `33029` // Estimated: `36494` - // Minimum execution time: 320_040_000 picoseconds. - Weight::from_parts(328_799_000, 0) + // Minimum execution time: 177_543_000 picoseconds. + Weight::from_parts(179_043_000, 0) .saturating_add(Weight::from_parts(0, 36494)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(2)) @@ -176,8 +176,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `76` // Estimated: `2767` - // Minimum execution time: 3_550_000 picoseconds. - Weight::from_parts(3_850_000, 0) + // Minimum execution time: 3_472_000 picoseconds. + Weight::from_parts(3_650_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -188,19 +188,22 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `111` // Estimated: `2767` - // Minimum execution time: 4_840_000 picoseconds. - Weight::from_parts(5_179_000, 0) + // Minimum execution time: 4_450_000 picoseconds. + Weight::from_parts(4_728_000, 0) .saturating_add(Weight::from_parts(0, 2767)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } - fn take_first_concatenated_xcm() -> Weight { + /// The range of component `n` is `[0, 92]`. + fn take_first_concatenated_xcm(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_360_000 picoseconds. - Weight::from_parts(6_629_000, 0) + // Minimum execution time: 1_725_000 picoseconds. + Weight::from_parts(2_024_240, 0) .saturating_add(Weight::from_parts(0, 0)) + // Standard Error: 89 + .saturating_add(Weight::from_parts(12_015, 0).saturating_mul(n.into())) } /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) @@ -220,8 +223,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65711` // Estimated: `69176` - // Minimum execution time: 138_030_000 picoseconds. - Weight::from_parts(139_969_000, 0) + // Minimum execution time: 66_792_000 picoseconds. + Weight::from_parts(68_455_000, 0) .saturating_add(Weight::from_parts(0, 69176)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(5)) @@ -234,8 +237,8 @@ impl cumulus_pallet_xcmp_queue::WeightInfo for WeightIn // Proof Size summary in bytes: // Measured: `65710` // Estimated: `69175` - // Minimum execution time: 69_900_000 picoseconds. - Weight::from_parts(71_800_000, 0) + // Minimum execution time: 42_103_000 picoseconds. + Weight::from_parts(43_541_000, 0) .saturating_add(Weight::from_parts(0, 69175)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) diff --git a/system-parachains/people/people-polkadot/src/weights/pallet_assets.rs b/system-parachains/people/people-polkadot/src/weights/pallet_assets.rs index c99a70d62c..cffbb484ac 100644 --- a/system-parachains/people/people-polkadot/src/weights/pallet_assets.rs +++ b/system-parachains/people/people-polkadot/src/weights/pallet_assets.rs @@ -16,10 +16,10 @@ //! Autogenerated weights for `pallet_assets` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 51.0.0 -//! DATE: 2025-12-02, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 53.0.0 +//! DATE: 2026-02-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `6857798a8d51`, CPU: `QEMU Virtual CPU version 2.5+` +//! HOSTNAME: `bm1-3`, CPU: `Intel(R) Xeon(R) E-2388G CPU @ 3.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 // Executed Command: @@ -30,7 +30,7 @@ // --extrinsic=* // --runtime=target/production/wbuild/people-polkadot-runtime/people_polkadot_runtime.wasm // --pallet=pallet_assets -// --header=/_work/ibp-interweb-gb2/runtimes/runtimes/.github/scripts/cmd/file_header.txt +// --header=/opt/actions-runner/_work/runtimes/runtimes/.github/scripts/cmd/file_header.txt // --output=./system-parachains/people/people-polkadot/src/weights // --wasm-execution=compiled // --steps=50 @@ -64,8 +64,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `6` // Estimated: `4273` - // Minimum execution time: 16_019_000 picoseconds. - Weight::from_parts(17_510_000, 0) + // Minimum execution time: 13_238_000 picoseconds. + Weight::from_parts(13_810_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -78,8 +78,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `325` // Estimated: `4273` - // Minimum execution time: 20_931_000 picoseconds. - Weight::from_parts(22_140_000, 0) + // Minimum execution time: 17_997_000 picoseconds. + Weight::from_parts(18_619_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -97,13 +97,13 @@ impl pallet_assets::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `159 + c * (208 ±0)` + // Measured: `289 + c * (208 ±0)` // Estimated: `4273 + c * (3207 ±0)` - // Minimum execution time: 20_780_000 picoseconds. - Weight::from_parts(21_180_000, 0) + // Minimum execution time: 16_776_000 picoseconds. + Weight::from_parts(17_003_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 69_987 - .saturating_add(Weight::from_parts(32_505_100, 0).saturating_mul(c.into())) + // Standard Error: 14_686 + .saturating_add(Weight::from_parts(23_040_112, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -119,11 +119,11 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `414 + a * (86 ±0)` // Estimated: `4273 + a * (3221 ±0)` - // Minimum execution time: 21_640_000 picoseconds. - Weight::from_parts(22_298_000, 0) + // Minimum execution time: 18_039_000 picoseconds. + Weight::from_parts(18_381_000, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 41_759 - .saturating_add(Weight::from_parts(20_555_848, 0).saturating_mul(a.into())) + // Standard Error: 5_476 + .saturating_add(Weight::from_parts(15_219_163, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1)) @@ -138,8 +138,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 17_909_000 picoseconds. - Weight::from_parts(19_720_000, 0) + // Minimum execution time: 15_081_000 picoseconds. + Weight::from_parts(15_426_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -152,8 +152,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 29_920_000 picoseconds. - Weight::from_parts(31_640_000, 0) + // Minimum execution time: 24_877_000 picoseconds. + Weight::from_parts(25_450_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -170,8 +170,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `393` // Estimated: `4273` - // Minimum execution time: 62_100_000 picoseconds. - Weight::from_parts(65_338_000, 0) + // Minimum execution time: 48_767_000 picoseconds. + Weight::from_parts(50_198_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -188,10 +188,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `AssetsHolder::Holds` (`max_values`: None, `max_size`: Some(703), added: 3178, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `432` + // Measured: `465` // Estimated: `7404` - // Minimum execution time: 81_259_000 picoseconds. - Weight::from_parts(87_299_000, 0) + // Minimum execution time: 63_397_000 picoseconds. + Weight::from_parts(64_539_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -206,10 +206,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `432` + // Measured: `465` // Estimated: `7404` - // Minimum execution time: 63_749_000 picoseconds. - Weight::from_parts(71_029_000, 0) + // Minimum execution time: 49_438_000 picoseconds. + Weight::from_parts(50_486_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(4)) @@ -226,10 +226,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `AssetsHolder::Holds` (`max_values`: None, `max_size`: Some(703), added: 3178, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `432` + // Measured: `465` // Estimated: `7404` - // Minimum execution time: 83_559_000 picoseconds. - Weight::from_parts(90_220_000, 0) + // Minimum execution time: 63_058_000 picoseconds. + Weight::from_parts(64_223_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -242,8 +242,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `4273` - // Minimum execution time: 21_850_000 picoseconds. - Weight::from_parts(31_839_000, 0) + // Minimum execution time: 17_630_000 picoseconds. + Weight::from_parts(18_106_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -256,8 +256,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `4273` - // Minimum execution time: 22_670_000 picoseconds. - Weight::from_parts(25_030_000, 0) + // Minimum execution time: 17_605_000 picoseconds. + Weight::from_parts(18_051_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -268,8 +268,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `277` // Estimated: `4273` - // Minimum execution time: 17_031_000 picoseconds. - Weight::from_parts(19_869_000, 0) + // Minimum execution time: 13_450_000 picoseconds. + Weight::from_parts(13_775_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -280,8 +280,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `277` // Estimated: `4273` - // Minimum execution time: 17_339_000 picoseconds. - Weight::from_parts(19_450_000, 0) + // Minimum execution time: 13_305_000 picoseconds. + Weight::from_parts(13_797_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -294,8 +294,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 19_720_000 picoseconds. - Weight::from_parts(24_850_000, 0) + // Minimum execution time: 15_436_000 picoseconds. + Weight::from_parts(16_087_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -306,25 +306,46 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 15_960_000 picoseconds. - Weight::from_parts(20_120_000, 0) + // Minimum execution time: 13_394_000 picoseconds. + Weight::from_parts(14_000_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(619), added: 3094, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 5]`. + fn set_reserves(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `4273` + // Minimum execution time: 14_211_000 picoseconds. + Weight::from_parts(14_893_107, 0) + .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 4_736 + .saturating_add(Weight::from_parts(33_277, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `Assets::Metadata` (r:1 w:1) /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(_n: u32, _s: u32, ) -> Weight { + fn set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 35_960_000 picoseconds. - Weight::from_parts(45_199_931, 0) + // Minimum execution time: 29_775_000 picoseconds. + Weight::from_parts(30_715_137, 0) .saturating_add(Weight::from_parts(0, 4273)) + // Standard Error: 688 + .saturating_add(Weight::from_parts(4_968, 0).saturating_mul(n.into())) + // Standard Error: 688 + .saturating_add(Weight::from_parts(3_209, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -336,8 +357,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407` // Estimated: `4273` - // Minimum execution time: 35_541_000 picoseconds. - Weight::from_parts(37_338_000, 0) + // Minimum execution time: 29_316_000 picoseconds. + Weight::from_parts(29_733_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -348,15 +369,17 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn force_set_metadata(_n: u32, s: u32, ) -> Weight { + fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `82` // Estimated: `4273` - // Minimum execution time: 15_960_000 picoseconds. - Weight::from_parts(19_159_770, 0) + // Minimum execution time: 13_738_000 picoseconds. + Weight::from_parts(14_456_190, 0) .saturating_add(Weight::from_parts(0, 4273)) - // Standard Error: 2_967 - .saturating_add(Weight::from_parts(3_366, 0).saturating_mul(s.into())) + // Standard Error: 456 + .saturating_add(Weight::from_parts(1_177, 0).saturating_mul(n.into())) + // Standard Error: 456 + .saturating_add(Weight::from_parts(2_207, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -368,8 +391,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `407` // Estimated: `4273` - // Minimum execution time: 35_919_000 picoseconds. - Weight::from_parts(38_939_000, 0) + // Minimum execution time: 28_548_000 picoseconds. + Weight::from_parts(29_269_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -380,8 +403,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 15_140_000 picoseconds. - Weight::from_parts(16_850_000, 0) + // Minimum execution time: 12_495_000 picoseconds. + Weight::from_parts(12_876_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -394,8 +417,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `277` // Estimated: `4273` - // Minimum execution time: 42_289_000 picoseconds. - Weight::from_parts(45_560_000, 0) + // Minimum execution time: 34_250_000 picoseconds. + Weight::from_parts(34_933_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -414,10 +437,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `AssetsHolder::Holds` (`max_values`: None, `max_size`: Some(703), added: 3178, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `602` + // Measured: `686` // Estimated: `7404` - // Minimum execution time: 107_459_000 picoseconds. - Weight::from_parts(110_848_000, 0) + // Minimum execution time: 86_286_000 picoseconds. + Weight::from_parts(87_690_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(7)) @@ -430,8 +453,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `447` // Estimated: `4273` - // Minimum execution time: 43_508_000 picoseconds. - Weight::from_parts(45_620_000, 0) + // Minimum execution time: 34_723_000 picoseconds. + Weight::from_parts(35_697_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -444,8 +467,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `447` // Estimated: `4273` - // Minimum execution time: 43_609_000 picoseconds. - Weight::from_parts(45_569_000, 0) + // Minimum execution time: 34_875_000 picoseconds. + Weight::from_parts(35_915_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -456,8 +479,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 16_390_000 picoseconds. - Weight::from_parts(16_880_000, 0) + // Minimum execution time: 13_717_000 picoseconds. + Weight::from_parts(14_231_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -470,10 +493,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `383` + // Measured: `417` // Estimated: `4273` - // Minimum execution time: 43_389_000 picoseconds. - Weight::from_parts(47_919_000, 0) + // Minimum execution time: 35_925_000 picoseconds. + Weight::from_parts(36_818_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(3)) @@ -486,8 +509,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `243` // Estimated: `4273` - // Minimum execution time: 41_559_000 picoseconds. - Weight::from_parts(43_980_000, 0) + // Minimum execution time: 33_397_000 picoseconds. + Weight::from_parts(34_321_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) @@ -504,10 +527,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `AssetsHolder::Holds` (`max_values`: None, `max_size`: Some(703), added: 3178, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `551` + // Measured: `585` // Estimated: `4273` - // Minimum execution time: 59_660_000 picoseconds. - Weight::from_parts(62_090_000, 0) + // Minimum execution time: 47_653_000 picoseconds. + Weight::from_parts(48_649_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(5)) @@ -524,8 +547,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `444` // Estimated: `4273` - // Minimum execution time: 55_769_000 picoseconds. - Weight::from_parts(57_910_000, 0) + // Minimum execution time: 45_323_000 picoseconds. + Weight::from_parts(45_835_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(4)) .saturating_add(T::DbWeight::get().writes(4)) @@ -538,8 +561,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `351` // Estimated: `4273` - // Minimum execution time: 22_410_000 picoseconds. - Weight::from_parts(24_559_000, 0) + // Minimum execution time: 17_551_000 picoseconds. + Weight::from_parts(17_941_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(1)) @@ -556,10 +579,10 @@ impl pallet_assets::WeightInfo for WeightInfo { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_all() -> Weight { // Proof Size summary in bytes: - // Measured: `432` + // Measured: `465` // Estimated: `7404` - // Minimum execution time: 101_628_000 picoseconds. - Weight::from_parts(104_668_000, 0) + // Minimum execution time: 77_955_000 picoseconds. + Weight::from_parts(79_660_000, 0) .saturating_add(Weight::from_parts(0, 7404)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(6)) @@ -570,8 +593,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `277` // Estimated: `4273` - // Minimum execution time: 6_639_000 picoseconds. - Weight::from_parts(7_620_000, 0) + // Minimum execution time: 4_962_000 picoseconds. + Weight::from_parts(5_207_000, 0) .saturating_add(Weight::from_parts(0, 4273)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -581,8 +604,8 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `151` // Estimated: `4197` - // Minimum execution time: 7_820_000 picoseconds. - Weight::from_parts(8_030_000, 0) + // Minimum execution time: 6_005_000 picoseconds. + Weight::from_parts(6_274_000, 0) .saturating_add(Weight::from_parts(0, 4197)) .saturating_add(T::DbWeight::get().reads(1)) } @@ -592,9 +615,23 @@ impl pallet_assets::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `246` // Estimated: `4211` - // Minimum execution time: 11_460_000 picoseconds. - Weight::from_parts(12_300_000, 0) + // Minimum execution time: 8_304_000 picoseconds. + Weight::from_parts(8_650_000, 0) .saturating_add(Weight::from_parts(0, 4211)) .saturating_add(T::DbWeight::get().reads(1)) } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `Assets::Reserves` (r:0 w:1) + /// Proof: `Assets::Reserves` (`max_values`: None, `max_size`: Some(619), added: 3094, mode: `MaxEncodedLen`) + fn migration_v2_foreign_asset_set_reserve_weight() -> Weight { + // Proof Size summary in bytes: + // Measured: `82` + // Estimated: `4273` + // Minimum execution time: 9_315_000 picoseconds. + Weight::from_parts(9_809_000, 0) + .saturating_add(Weight::from_parts(0, 4273)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/system-parachains/people/people-polkadot/src/xcm_config.rs b/system-parachains/people/people-polkadot/src/xcm_config.rs index f403f0fab7..3760765246 100644 --- a/system-parachains/people/people-polkadot/src/xcm_config.rs +++ b/system-parachains/people/people-polkadot/src/xcm_config.rs @@ -413,10 +413,11 @@ impl cumulus_pallet_xcm::Config for Runtime { /// Simple conversion of `u32` into an `AssetId` for use in benchmarking. pub struct XcmBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> Location { Location::new(1, Parachain(id)) } + fn create_reserve_id_parameter(_id: u32) {} } #[test]