diff --git a/runtimes/Cargo.lock b/runtimes/Cargo.lock index a0786a1..2e47e8a 100644 --- a/runtimes/Cargo.lock +++ b/runtimes/Cargo.lock @@ -884,7 +884,7 @@ dependencies = [ [[package]] name = "asset-hub-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "assets-common", "bp-asset-hub-kusama", @@ -912,7 +912,6 @@ dependencies = [ "hex-literal", "kusama-runtime-constants", "log", - "pallet-ah-migrator", "pallet-ah-ops", "pallet-asset-conversion", "pallet-asset-conversion-tx-payment", @@ -1049,7 +1048,7 @@ dependencies = [ [[package]] name = "asset-hub-polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "assets-common", "bp-asset-hub-kusama", @@ -1078,7 +1077,6 @@ dependencies = [ "hex-literal", "kusama-runtime-constants", "log", - "pallet-ah-migrator", "pallet-ah-ops", "pallet-asset-conversion", "pallet-asset-conversion-tx-payment", @@ -1178,9 +1176,9 @@ dependencies = [ [[package]] name = "assets-common" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7669aa4fc76e66f59e5dde1187b90dad60a8fd9de072f48e0d2949b139f366c2" +checksum = "e44df8294aa6bcc5793c23070d3bbe6f181d02c31947eb03ce818e7495af9561" dependencies = [ "cumulus-primitives-core", "ethereum-standards", @@ -1296,9 +1294,9 @@ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" [[package]] name = "binary-merkle-tree" -version = "16.1.0" +version = "16.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95c9f6900c9fd344d53fbdfb36e1343429079d73f4168c8ef48884bf15616dbd" +checksum = "a6d867f1ffee8b07e7bee466f4f33a043b91f868f5c7b1d22d8a02f86e92bee8" dependencies = [ "hash-db", "log", @@ -1495,7 +1493,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-kusama" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "bp-xcm-bridge-hub-router", "frame-support", @@ -1509,7 +1507,7 @@ dependencies = [ [[package]] name = "bp-asset-hub-polkadot" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "bp-xcm-bridge-hub-router", "frame-support", @@ -1522,9 +1520,9 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" -version = "0.27.0" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d563f70bc907c981e5f16222bf75783af18d8994fbcfacf5a3bd311efa3043e8" +checksum = "add75719767a983f13761a977be1fa8c3933ab5e33d7d901c44522e4a60011e3" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1540,7 +1538,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-kusama" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "bp-bridge-hub-cumulus", "bp-header-chain", @@ -1559,7 +1557,7 @@ dependencies = [ [[package]] name = "bp-bridge-hub-polkadot" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "bp-bridge-hub-cumulus", "bp-header-chain", @@ -1579,9 +1577,9 @@ dependencies = [ [[package]] name = "bp-header-chain" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c49aa0892b9a3286e22ff52c9025d8e62576fa4c91f91364738db791f05088f0" +checksum = "4986b30b44e2e80df5468e95d47d21026bdd028dfa6dd311813a2ae7295b5bd2" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1597,9 +1595,9 @@ dependencies = [ [[package]] name = "bp-messages" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad35c105fa3ef50f451bff0bdddda39d2fcb4c02d75f0e71b06e6538c98f89d3" +checksum = "d0a91e151f6d635ae1e31fbcf82f119facc9137420f46d8160b3ac7f900bc2ef" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1614,9 +1612,9 @@ dependencies = [ [[package]] name = "bp-parachains" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c60b4c35b8ebf4175666c47ff6e9fe4586903091c47d73677529c59578937aeb" +checksum = "4fadd0330c59a79ad688ced9c7d5a0f889ae84483fc546866c2ee23f348376bb" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1632,9 +1630,9 @@ dependencies = [ [[package]] name = "bp-polkadot-core" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c52d6962152e0aa5a20e020c4502bb47b8fd850a84a2955f523d10af68b26c8" +checksum = "f2b3a3975ba99e9b422efd0ec82278fb02ef43edee8f2f92f7396925b0c7eccb" dependencies = [ "bp-messages", "bp-runtime", @@ -1650,9 +1648,9 @@ dependencies = [ [[package]] name = "bp-relayers" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7137c42b06e131fbf995b3b462c454b3c3b7a51b0779f70869915445d9f3e60a" +checksum = "fcb01abc0666c1d929c5463c033dea39ebc0f8333b6bba4998cadd2e7b2827a9" dependencies = [ "bp-header-chain", "bp-messages", @@ -1669,9 +1667,9 @@ dependencies = [ [[package]] name = "bp-runtime" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bae52c333df27220b4b0a7603ec77f7daed48d28f8ce5146f9d2072440d739c" +checksum = "1a077b5cf7ef6437d7d61394a35419cf1b0f8dab77e7bafa3aafca04c61104b8" dependencies = [ "frame-support", "frame-system", @@ -1693,9 +1691,9 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.22.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5115500f8cc5c5bee2ba3ffe87072e812f31c7fda26ead9cb7e691a20068668b" +checksum = "84c0b71a00e16b2e43eb45da61d3111167f207d41229ee5e22656a806cdb14d0" dependencies = [ "parity-scale-codec", "scale-info", @@ -1899,7 +1897,7 @@ dependencies = [ [[package]] name = "collectives-polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "collectives-polkadot-runtime-constants", "cumulus-pallet-aura-ext", @@ -1978,7 +1976,7 @@ dependencies = [ [[package]] name = "collectives-polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" [[package]] name = "common-path" @@ -2127,7 +2125,7 @@ dependencies = [ [[package]] name = "coretime-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -2196,7 +2194,7 @@ dependencies = [ [[package]] name = "coretime-polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -2333,9 +2331,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82cb90cd9debf9f763c65f9e5cd5bd3592103592ed962da03635dcaa70346e25" +checksum = "6003f82320a41c7f52d9d531cb73eb5e1eba7198468db7e0bbd8246737bcbbe7" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2351,9 +2349,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25d8efadc9b4ad035b7fb55c768ce3d68941c1d7ef38840fa61624d34878e5e3" +checksum = "5ea5cb0fe1000137f7f94676001138caec7284d0ff41ddac61dad2fc411ebe80" dependencies = [ "array-bytes 6.2.3", "bytes", @@ -2361,6 +2359,8 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-primitives-proof-size-hostfunction", + "derive-where", + "docify", "environmental", "frame-benchmarking", "frame-support", @@ -2371,10 +2371,13 @@ dependencies = [ "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-primitives", "polkadot-runtime-parachains", "scale-info", + "sp-api", "sp-consensus-babe", "sp-core", + "sp-crypto-hashing", "sp-externalities", "sp-inherents", "sp-io", @@ -2390,9 +2393,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8734f642ff194055ba9905135a16fbfc16d143c4bebf3a9593d90caf75d10083" +checksum = "d919afb7cdf4722905ed70be154ca5007fdeb49df5d90518f046d270df6d33d4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2402,9 +2405,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca4ab47b9d17cc968f5ee89469a851bb2a2ba06a0b65398bf50c34ca0afb4eb0" +checksum = "8ff8d0c77bf779dab4812affeb0fd60bbe01174f6f8bf4d345441fb9d90b4482" dependencies = [ "frame-benchmarking", "frame-support", @@ -2416,9 +2419,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-weight-reclaim" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0259d53fe511c79be65f50cdb31b22837ebf804331c643ae2a155d91d8efd466" +checksum = "879349824c8662673c7c32f9d9c8e017e0849056a3ed6637347fe8058cfb5cba" dependencies = [ "cumulus-primitives-storage-weight-reclaim", "derive-where", @@ -2436,9 +2439,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ade68dc08dc31f1708b9d46ed1993c3b439cef8a30c56c05b6adf19e585020cc" +checksum = "58ebcb3391e8e60d4388436a4f6982f3ebfc29845eb63bb8a0d2ece68a7f1784" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2452,11 +2455,12 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94b2def9b1b6628c7af78291e80d189b7d77adc0a72bf0e47096333e79f7789" +checksum = "6fdd6068945450b7ebb79661aef08fe948da553424f499154112a27301ac17b1" dependencies = [ "approx", + "bitflags 1.3.2", "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", @@ -2479,9 +2483,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eadc09e2bd83a313202cc493bf6ed9f8328275fb688a7d9bbca0fd79514e8343" +checksum = "ef3f1a5bbfefcbc005e09ad027198c78c61d90ac7d92a48f16ca8ee1cf3bffdf" dependencies = [ "sp-api", "sp-consensus-aura", @@ -2489,9 +2493,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef73b695cc30fc5dd146fd32636f08fbfc725458f00cc776cb326c8846f5157a" +checksum = "8cc8e435e7fe94240399dc856ce2bce0fd4af696d64a53873867eeaa77e875d0" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2507,9 +2511,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dfc00f908f13d8a44d48086515f89c7f883454b18192d33bdae5808c25c85d1" +checksum = "4215b2e8bacf54f152c86eae6a47444d915f752d22246545862013421448187a" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2522,9 +2526,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "173cea3648f289194e2ed3a9501e7224f8bea4c4d38cce247ef681c3016ac3c1" +checksum = "2812a3bf842bc07b87bf5a8e45d548630af4921b04584db00391cd18bbb082f7" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2533,9 +2537,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-storage-weight-reclaim" -version = "16.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c6c35f19b372c4c00d7a22a23ebabfadeb8504126fe289d9c48659c51de5032" +checksum = "6ec737a8e29197cd18753563c4cfb9781f59e8d61cb09457ddbe5848d532c287" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", @@ -2551,9 +2555,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d789447d17b81063f3c2277c70d009a5c2d54dd505c090485500dfa23d5e1895" +checksum = "8fba4e756351a8a660b7c7a992020aeadc5166110db25528598aaa0e9abc0e8d" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2569,15 +2573,17 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.24.0" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ffc9d6ab662abed407a0f2737333daa653b647d3aa13c6693ccab7adcd0fc0f" +checksum = "ad6b2aa7f52ef4fa25e2c1b7aafe0a54645fa09e4d55ea4462038054c45217da" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", "sp-consensus-babe", "sp-core", + "sp-io", + "sp-keyring", "sp-runtime", "sp-state-machine", "sp-trie", @@ -3170,9 +3176,9 @@ dependencies = [ [[package]] name = "ethereum-standards" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5bb19a698ceb837a145395f230f1ee1c4ec751bc8038dfc616a669cfb4a01de" +checksum = "b156dce6f705a22ab532719e50ff5f7b3fe449b0f8bdeecc515436bf3a435446" dependencies = [ "alloy-core", ] @@ -3333,9 +3339,9 @@ checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" [[package]] name = "frame-benchmarking" -version = "45.0.3" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3226faf3dbf5311c1ab352850d680f487f4f675c4590b1c905572b0de611df" +checksum = "66bd6676f15dc0918f449d22531c31a266a3aefb28bbfa14635eb6b985baa2a0" dependencies = [ "frame-support", "frame-support-procedural", @@ -3358,16 +3364,18 @@ dependencies = [ [[package]] name = "frame-decode" -version = "0.8.3" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e56c0e51972d7b26ff76966c4d0f2307030df9daa5ce0885149ece1ab7ca5ad" +checksum = "c470df86cf28818dd3cd2fc4667b80dbefe2236c722c3dc1d09e7c6c82d6dfcd" dependencies = [ "frame-metadata", "parity-scale-codec", "scale-decode", + "scale-encode", "scale-info", "scale-type-resolver", "sp-crypto-hashing", + "thiserror 2.0.18", ] [[package]] @@ -3384,9 +3392,9 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c5549782e1b6e601405795d9207119ff22f9117e1aef20b93fd4a43c6516fb" +checksum = "1814d5380a301e46371abfafd1927cc721f5f98fd21ec2547c0d241667779545" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3402,9 +3410,9 @@ dependencies = [ [[package]] name = "frame-executive" -version = "45.0.1" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7110e75b540e49ebf54e368e8117c8bf25109a1eb619890c55715093f1a1e04f" +checksum = "6a22fff27d1dce5cb80df8d4dbfc2df6bcfdf7adae7b8db499e7ac66dc906e7d" dependencies = [ "aquamarine", "frame-support", @@ -3433,9 +3441,9 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" -version = "0.13.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70b849ff6fbe4e7e238293bf42bacbdcd9aaed4b2d98aec204de6fc221f74638" +checksum = "dc9522fcf64f45004d010a9eb7c21f9854706cfc545856f33f932cd57295bbcf" dependencies = [ "array-bytes 6.2.3", "const-hex", @@ -3450,9 +3458,9 @@ dependencies = [ [[package]] name = "frame-support" -version = "45.1.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3ac9c3d0a7e3669bfcd1d549bcbeae941fd0181aea9edc71447f8d785b567de" +checksum = "58bd7bff9c84759703668a6ec351aeba64be74873ed5ceb73e0c968b7ce8ed99" dependencies = [ "aquamarine", "array-bytes 6.2.3", @@ -3492,9 +3500,9 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "36.0.0" +version = "37.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "916d7474058f97fe1d6fc66c43c9891eeaed47e694cdd1aba8ec0f551cabca27" +checksum = "b63a57674ed6e5579b572ecae8729119d4cf05cd6ad0899f191523e1725b7254" dependencies = [ "Inflector", "cfg-expr", @@ -3537,9 +3545,9 @@ dependencies = [ [[package]] name = "frame-system" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c883a6b18af7be0fc756f8221927e9a58bbe3d3f950de1f5d377af9fbdcdcac" +checksum = "c9022562dcaec04a63a2b50502fd0feb831d618e7473f1f592b43d2d3362b857" dependencies = [ "cfg-if", "docify", @@ -3557,9 +3565,9 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ef073183476960babf0c7e5a169375c9698709b407c7beedb6c2dc8690d73f" +checksum = "a6770d24bb43ae51d462c27f6e8a82c0c8de297841b30365facf0810fea7693c" dependencies = [ "frame-benchmarking", "frame-support", @@ -3572,9 +3580,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8405cc4c9564cd87521065b7607a85a2a56bfab2c6f12afdf3df32c4da66f804" +checksum = "b17f28882e9930e6ec29450b6e1c38d6e9df95cbb80340e8fd5f09cee070b3da" dependencies = [ "docify", "parity-scale-codec", @@ -3583,9 +3591,9 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.51.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1745c6b30778a7c5aa682b87e59d6c0f6f1b00087cb4861f7ecd22fcda17f0" +checksum = "e78325d2dc4f425b2da921df6904b2703c64bb725fcee8738c33367364563824" dependencies = [ "frame-support", "parity-scale-codec", @@ -3784,7 +3792,7 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "glutton-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcm", @@ -4397,7 +4405,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "frame-support", "pallet-remote-proxy", @@ -4878,69 +4886,10 @@ dependencies = [ "sha2 0.10.9", ] -[[package]] -name = "pallet-ah-migrator" -version = "0.1.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" -dependencies = [ - "assets-common", - "cumulus-primitives-core", - "frame-benchmarking", - "frame-election-provider-support", - "frame-support", - "frame-system", - "hex", - "hex-literal", - "impl-trait-for-tuples", - "log", - "pallet-ah-ops", - "pallet-asset-rate", - "pallet-bags-list", - "pallet-balances", - "pallet-bounties", - "pallet-child-bounties", - "pallet-conviction-voting", - "pallet-delegated-staking", - "pallet-indices", - "pallet-message-queue", - "pallet-multisig", - "pallet-nomination-pools", - "pallet-preimage", - "pallet-proxy", - "pallet-rc-migrator", - "pallet-recovery", - "pallet-referenda", - "pallet-scheduler", - "pallet-society", - "pallet-staking", - "pallet-staking-async", - "pallet-state-trie-migration", - "pallet-timestamp", - "pallet-treasury", - "pallet-vesting", - "pallet-xcm", - "parachains-common", - "parity-scale-codec", - "polkadot-parachain-primitives", - "polkadot-runtime-common", - "polkadot-runtime-parachains", - "scale-info", - "serde", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", - "staging-xcm", - "staging-xcm-builder", - "staging-xcm-executor", -] - [[package]] name = "pallet-ah-ops" version = "0.1.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -4962,9 +4911,9 @@ dependencies = [ [[package]] name = "pallet-alliance" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2324da9a9e139327b11d6468c5b4d20ea2dbaea2b01e6d0c488d96f4323d713" +checksum = "128ea14a9be9cfc74737743f005e1b5cbafe3a3c326a8f4993bbca7ed6bcb142" dependencies = [ "frame-benchmarking", "frame-support", @@ -4982,9 +4931,9 @@ dependencies = [ [[package]] name = "pallet-asset-conversion" -version = "27.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e513b0bc7ca5df600338c2f2972560bce1cce5996837ff33f4e86832681dd4" +checksum = "ea2931507a1c898b9acb65a6f280b85fda587d9a95055b242b95d2c159eef8e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5001,9 +4950,9 @@ dependencies = [ [[package]] name = "pallet-asset-conversion-tx-payment" -version = "27.0.1" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a718a6b19c51a5461897ee048b7d9ae4740c8c68ca0e8fbacf22f4e80fa86d6f" +checksum = "c53ac40c78c89b4b7c73b0dcbe03790f948c2c6f65675808fa693c2e1e109da0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,9 +4966,9 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c4c9324c5c5ca4b6409790e7b37e6f169050992ff89f33bd78284ed33cf8f4f" +checksum = "c551c9a03e2a8389171e9efabfe37c421bbec22eeb706f95cdc4c23ba94102ef" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,9 +4981,9 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19cebd6f5415921af519d95b1fa18026d5b6b4935d6c70f1989958510e0c36df" +checksum = "f17b766267805b9679066c0f608ee4c05275bcceb9a210781f5d88218a5a0dd2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5049,9 +4998,9 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "48.1.0" +version = "49.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe32957ed431e041d4a5f6a964d2a385a4b7d27d22881c77d18fbd3971bf605c" +checksum = "1c80dd5920bbfbe4100e7d7e64265de790f1e51b47e3a2e13ffc9e7d39767169" dependencies = [ "frame-benchmarking", "frame-support", @@ -5066,9 +5015,9 @@ dependencies = [ [[package]] name = "pallet-assets-holder" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bc2b2b6b79d04434b827dc7ad9ee1bc984dff48a28644cdafa901579876782b" +checksum = "aad58bcf29d9475e363e03068181508678c6af8c5a86cea549281d89d96af2e2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5082,21 +5031,33 @@ dependencies = [ [[package]] name = "pallet-assets-precompiles" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66e0d360a50b3b946c9fdd738ac2206954cfccfa763ed907968bde68ba295d31" +checksum = "1b3e5bfb7ab1cc53e4682aa01ec1942c96b5148f3f9eca7698561a60b406e6b9" dependencies = [ + "const-crypto", "ethereum-standards", + "frame-benchmarking", "frame-support", + "frame-system", + "k256", + "log", "pallet-assets", "pallet-revive", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "staging-xcm", ] [[package]] name = "pallet-aura" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb444f29c9df8a1ea89b4c8b6a026a119b13e5f55fff8c6901103ec8de2a6ad8" +checksum = "1f7f6e0f4710b9ce1bfa7473624987365550b718eef6b7ab2f8daf807a08d38f" dependencies = [ "frame-support", "frame-system", @@ -5111,9 +5072,9 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d565050d67bc7755e99e744d9b767fa648464f5610717834641eab2f5ee6d81" +checksum = "83d498704709f9870a705c628fa67eaad6f0cb38cc29d9fb10d247a203220259" dependencies = [ "frame-support", "frame-system", @@ -5127,9 +5088,9 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b29d985ace541bb49bc34c955fa83103cfff6c661d4865fd7698521b0f596cb9" +checksum = "b0a0d099dbcb0bbb6b1a23c0eabc7b9055470b1455026206a590c3da2d5040b5" dependencies = [ "frame-support", "frame-system", @@ -5141,9 +5102,9 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f02265869cfa317bca14fb2511d3de4e910a55e7748454009273b79206e3e16" +checksum = "be9a4b98fd0ae83cddfcbe07c578627f7033612692e2f18894a4d912d5b3970e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5165,9 +5126,9 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "44.0.1" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc37f29bec2f5542ee709b9eca37aaf85641c1473288ceb4e0b4a66eb80defe5" +checksum = "295631cecc1a2c3b145093f56b4f695c61ba1c0080d79585474ae548dea8b6d9" dependencies = [ "aquamarine", "docify", @@ -5187,9 +5148,9 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "46.0.0" +version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1a8216eaf2a90707d761856ea3d7e31d9be8781ca44a5ec668e00be5e404698" +checksum = "5355bbb74a9c34990c1d2a4c5dde0effaef9410eef0b587868651bd38cb6f013" dependencies = [ "docify", "frame-benchmarking", @@ -5204,9 +5165,9 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "46.0.0" +version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e55697c95e26cc005080334f65efcd46f9a03bfce3e44512df7f0416b6c67bab" +checksum = "876778433cf31f594941fddfa7feff41a450c807dea6b7dd07250fbc46c9aa94" dependencies = [ "frame-support", "frame-system", @@ -5224,9 +5185,9 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "46.0.0" +version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91f8b06357b7b5c2697afb8906f02a086932c69087c23702dbcb57699250da5f" +checksum = "fbaf84716f631c8285313cd1ca0d3318ddab1ba9be166ba7bbdb9436a08123fe" dependencies = [ "array-bytes 6.2.3", "binary-merkle-tree", @@ -5250,9 +5211,9 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1856b3515f12225165567a3635c69321a3b049faf7cbf71114fe39055152e3f9" +checksum = "3639d43b5295d2d3be0e02d3dc679ee209684259115614efd3fbbfe5965d5f7b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5268,9 +5229,9 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.24.1" +version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b8fbceb96d0e45d055c5fab2f9e1746c63f2f7272e6428a7357ea2b57c1d475" +checksum = "0e9e25d33a8e04c937a63973ed62feb954983bc6a840ec753bfdedf0ec4b8ef8" dependencies = [ "bitvec", "frame-benchmarking", @@ -5287,9 +5248,9 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d679941857b5b9d56c4c3a3343f284bec16cc9bab9713046dfc5390390822f5e" +checksum = "b8b9fc6c3957593caf8c57146dcc8231d0312a573cf321e490b89e1973f8a835" dependencies = [ "frame-benchmarking", "frame-support", @@ -5306,10 +5267,11 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4befae2c37f2acc10181504ffcf7d1c6ec8c285cc593789f14c1c0d4b6ac326b" +checksum = "a5be380e91c82484852901035c9ed7d63f00ba3de599b349b72f35c820aac9a3" dependencies = [ + "cumulus-pallet-session-benchmarking", "frame-benchmarking", "frame-support", "frame-system", @@ -5326,9 +5288,9 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a6ab7b91882b9cceeda0efd67259ff18cac710272b21df801e014d15bbe0fe3" +checksum = "1257bd27a7c31bf8df9ec287bf1980e08e9ee4a36f934ff1fecf143bc8aa08f8" dependencies = [ "docify", "frame-benchmarking", @@ -5344,9 +5306,9 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36c21787730ec39818943b4572ea9cbff684e0e4de0ba1b4539798909bba6409" +checksum = "68557a6e7a42a3fb096d2200ce15ef0935b74c4a2a2a48187abde110a60c7537" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5361,9 +5323,9 @@ dependencies = [ [[package]] name = "pallet-core-fellowship" -version = "29.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7ab014dcb58bf2b45f8fc9026705a5e29ba1ce7e3661ff3b8d150f454dff715" +checksum = "492aee18ab50e5d8c6cb1969479426ce830cf6842db65d38469f477cc4bc1f3f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5380,9 +5342,9 @@ dependencies = [ [[package]] name = "pallet-dap" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66c49c6333a1b6a9dd43c8071a53ae699679b25a470806be2fbed8ce8752e686" +checksum = "79c0059e495cf1e7d3f77a1f680a2b4a452f3bab89e4eab89d1c7c42dd3f9e42" dependencies = [ "frame-benchmarking", "frame-support", @@ -5395,9 +5357,9 @@ dependencies = [ [[package]] name = "pallet-delegated-staking" -version = "12.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f725f8a8bbfae5889ef2ba555bda8db328c0c09b2a4f74e97b2db7e7e2ef8e" +checksum = "0432d5b33a8b00f88229c18ad84547797b0c0e538a2aa6d34cc118f6d54786d4" dependencies = [ "frame-support", "frame-system", @@ -5411,9 +5373,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-block" -version = "0.6.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41cc0e88ad48e53aa24847619741c3f70a975f3ae697f46c8a2a2bea0df0830d" +checksum = "0f267adfd1f386b670f6fce3d5be308645b5e333103faf95770a2e1d1c955684" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5433,9 +5395,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b841380ef768f88682f57c3c1aa999b9eb81003f85f6d543e5885d0b187d48d" +checksum = "2b82f6781107c0cbedc313ec57cc38f7a463a6645aaa08f9865c670204525d41" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5455,9 +5417,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "faa0e6c661d48cc7fa8a6e3b6c85d4ac8a44aaf352d16b5305152ae3d872297b" +checksum = "3626c21e39f4f430e55253090ec68ca88611cf046818cab957b8ae82503864dc" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5469,9 +5431,9 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "44.1.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "355110d0be6b3f0cd8c87171fd6658d3e9dd4c407ada9e63bfbf53e0cee85b75" +checksum = "1c4cdfddb1b7416ebf49a23d1a9fad8f810271f92734e64661b060a759a769eb" dependencies = [ "docify", "frame-benchmarking", @@ -5488,9 +5450,9 @@ dependencies = [ [[package]] name = "pallet-glutton" -version = "31.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d886dca277f0a7e02d493cdae771378201f4965d6519ea16716e32338ebbbe2" +checksum = "d97db8b628c128d28fc7e466a6e41e66ca4be6c2b243cf635534a8fccef0a500" dependencies = [ "blake2", "frame-benchmarking", @@ -5507,9 +5469,9 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fecc3218554b16baef5f794bd84e457f98bac1328f767571142228ab6e6ed4a4" +checksum = "3546e596001808dd1c371b5237a0f11a85679a98a861535de04f9d486a95722f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5530,9 +5492,9 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27cd00175e352b8db01de8d9264b95012cc0a649897e77858ba7a559faa09704" +checksum = "8242eef9db0e5dfe182dd620a06de6a48e6abc9bb6b6fb6272e7d244ab67d8dd" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5547,9 +5509,9 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d9703332095a821815caae7085736a63fc217f0763c71ec4ee868c1b12264ad" +checksum = "d68d78e0ffa487644035898b71d00509da1cf606f5cbe425f4ccd36a6293edc2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5567,9 +5529,9 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd543689836e94eade78c20ac877b55899b13e1f5c8af6a3c99e39d42b9cb009" +checksum = "22e62bb6d6ef419bfaf2df2133a78711101cc7410b5f49220989f6be61553ec9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5583,9 +5545,9 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "48.0.0" +version = "49.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8550d6fdb56dc584c65ea32a3e27bc9840f67b29cca80ce7e74ee60df9e069bc" +checksum = "9f7500c07d99cec54c41b85aa20b82200d272f17a8052f1e5b814d0ea1b4cb58" dependencies = [ "environmental", "frame-benchmarking", @@ -5603,9 +5565,9 @@ dependencies = [ [[package]] name = "pallet-migrations" -version = "15.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd16cd1a9369cca0dc787abdf396328dd9128b51a9c58c970052cfc4da5adb89" +checksum = "87f08c5d5f67497f2ac389ca0cf196f695cc9272d190754a98e844be2086bbd6" dependencies = [ "docify", "frame-benchmarking", @@ -5623,9 +5585,9 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7523cb0a62f8b6515df84c215e0d161a8426fcda904a04349e757fe15f394805" +checksum = "9eaf3976b788cd9b0bc2cf6fd122672d70d7355077c8a08eb6b38335445f17e2" dependencies = [ "log", "parity-scale-codec", @@ -5636,9 +5598,9 @@ dependencies = [ [[package]] name = "pallet-multi-asset-bounties" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec85c30618a85266b0f4e59e0d94c633421920e54e595d0bd25be39ea3d2a6bc" +checksum = "106394518f23f3cbbee6fb8496f927ac4e22481adfa3005d05dd7e25d5359638" dependencies = [ "docify", "frame-benchmarking", @@ -5654,9 +5616,9 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb5c61c65c78314405af4dd939e780f8ed107a2a3a6b660dc44efa5e1076f2cb" +checksum = "99f4771990e65dd266ffa755278ef5394f9146ecc57de84db72abf87eaac74d8" dependencies = [ "log", "parity-scale-codec", @@ -5666,9 +5628,9 @@ dependencies = [ [[package]] name = "pallet-nft-fractionalization" -version = "29.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b273ef43eaebfa201acbf838ec50edab2af47a3e287de48faf328a50b91bb8d" +checksum = "3001113ffda18314eae0e46da5b5904e315457482bee1a9f04ba2bccc9cdbb3e" dependencies = [ "log", "pallet-assets", @@ -5680,9 +5642,9 @@ dependencies = [ [[package]] name = "pallet-nfts" -version = "39.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193b5079a454f3f3e4c878ae8ad2e90136c67364fe92ed1cda9a6ad156f7e304" +checksum = "dfafe97bf97edef49c7deeee2a9cc30c91cc7eb5cc4a00624679133b85646e00" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5698,9 +5660,9 @@ dependencies = [ [[package]] name = "pallet-nfts-runtime-api" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0eeb454e3fcd1f5eb8db470834d309d2dc66550082a0803b17459c830da4f1" +checksum = "4bbc195178ec15d0a72786514c1a89b657c97678224622452f5208173e7e07af" dependencies = [ "parity-scale-codec", "sp-api", @@ -5708,9 +5670,9 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d60103fb001193d1e73cd75213739aab33cc3208f676f0efa2bfc1df6b7dd56d" +checksum = "7f6289edaf6458109179ba2e818598d93b17c124922a336c69731169cae162d2" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -5719,9 +5681,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "43.1.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "483e794532aaa7af4dbff671e4aff1d08a86a7b80ffdab6f824f613947cd5281" +checksum = "4a375e8c211bb6a462a8c2c47d8b973606a2b1ed34645f92644488338ceecceb" dependencies = [ "frame-support", "frame-system", @@ -5738,9 +5700,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "43.0.1" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dde9cb6c00dd2764e23541977d95ad3fccd450a275bbc7d6c2f257c230d4001a" +checksum = "cafb18bc6da561bdfc5af68e35ca32fe83c839d2e5ec8b99d457c8c59b6b48df" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5759,9 +5721,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "41.0.0" +version = "42.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5e99265cecc6dec385dc7e0292ee994c12483708ebcffb05164037bb937c8c" +checksum = "15ccfa965ce321dc7e826c70cc4ad9ee7ad2cd3bda1d8650a491de45d1c6383f" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -5770,9 +5732,9 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb7029dda1eb76c25cad8323b217b24021fdd103bdb10d66bd2376008ac95a1f" +checksum = "a7ed8f1dd97a4e2246c5c9bf5cf394c3b725396ad0d514340af37b798b68599b" dependencies = [ "frame-support", "frame-system", @@ -5786,9 +5748,9 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef85a73086dd5a4f5f845fcdf3c6170d247528e18ec5b7022b0b8cdda2a8f0b" +checksum = "1cf64ff1b8f5237ddd8e937212ff5d1371f93de8f2efb33529782a001b8a528c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5801,6 +5763,7 @@ dependencies = [ "pallet-im-online", "pallet-offences", "pallet-session", + "pallet-session-benchmarking", "pallet-staking", "parity-scale-codec", "scale-info", @@ -5810,9 +5773,9 @@ dependencies = [ [[package]] name = "pallet-parameters" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d65e700108d3a80361fef0ce3feb6f916f2e7f5514bb9695ea96bac444f0a0" +checksum = "ef9959e3c17e4c90e7810c1af0bba1e871f272a266ebed85c8397eab0938660d" dependencies = [ "docify", "frame-benchmarking", @@ -5828,9 +5791,9 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2d614776ca7e0411dd2d1a6cba525d389b4d81c4595a82db3f9d697bedfd367" +checksum = "e06841a0fa11ecc0c8bf1ad4a5ffc938732ec1a953665b3b2222a66889636977" dependencies = [ "frame-benchmarking", "frame-support", @@ -5845,9 +5808,9 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c105e47d4eedf14e4df1748c9e565494f5ad13b325ca288207838c4f2fb4defc" +checksum = "09ecf8ad569c664330c6b20fe08aefab6f5c0635760c357cc74cfab1d2d472ac" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -5856,9 +5819,9 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ea0209ecadc9a8b93d5d9a93ad1fd9abd760542892d833e199b40144725406d" +checksum = "2988271aadcd2995534a982f59c7492c6d6821969b7e7e5ba784383ef98e2a98" dependencies = [ "frame-benchmarking", "frame-support", @@ -5876,7 +5839,7 @@ dependencies = [ [[package]] name = "pallet-rc-migrator" version = "0.1.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5917,6 +5880,7 @@ dependencies = [ "polkadot-runtime-parachains", "scale-info", "serde", + "sp-api", "sp-core", "sp-io", "sp-runtime", @@ -5929,9 +5893,9 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff0e74f1f04c59885cb421ec85225135c63ee793d60411fdb36adfe2518ee1e9" +checksum = "92c12c1ebdef8c9928b298b05d6c63d47b3e75a12974133f650a05aa64e845f5" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -5940,9 +5904,9 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71ae4df35eb4e9f9183ad1a81842f0f74281d02cdd7fa512cbdb51bbbd9acca5" +checksum = "68e3e46d58a50449a2a807ec1aa691da6f2b097662509bb7db69c75fcefdad63" dependencies = [ "frame-benchmarking", "frame-support", @@ -5959,7 +5923,7 @@ dependencies = [ [[package]] name = "pallet-remote-proxy" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -5976,9 +5940,9 @@ dependencies = [ [[package]] name = "pallet-revive" -version = "0.12.2" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d209de33787726aec35a90e9d793c85a170303f9b76aa94d758b869d8262d4fb" +checksum = "f7d2952877d5334961e9fb5935b37112334e455b0e7802a0f417e7123eb179d0" dependencies = [ "alloy-consensus", "alloy-core", @@ -6005,7 +5969,7 @@ dependencies = [ "parity-scale-codec", "paste", "polkavm", - "polkavm-common 0.30.0", + "polkavm-common 0.31.0", "rand 0.8.5", "revm", "ripemd", @@ -6028,16 +5992,16 @@ dependencies = [ [[package]] name = "pallet-revive-fixtures" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cbc006536339cbfc059bb35714f460c2d480276db2e37e7729d598d9739639a" +checksum = "49e3c6c4a57034fdf13d20aed456a2d5c09f7fd564bebf766939c155edecd17f" dependencies = [ "alloy-core", "anyhow", "cargo_metadata", "hex", "pallet-revive-uapi", - "polkavm-linker", + "polkavm-linker 0.30.0", "serde_json", "sp-core", "sp-io", @@ -6046,9 +6010,9 @@ dependencies = [ [[package]] name = "pallet-revive-proc-macro" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5168bf2cfdd1307b832fedda9a48cab3ce56056e532e9407aba48657a7617c13" +checksum = "54d78626aaf92f2c5bd0e25f97a16815753e8e2e3328677986564b4155db7667" dependencies = [ "proc-macro2", "quote", @@ -6057,9 +6021,9 @@ dependencies = [ [[package]] name = "pallet-revive-uapi" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2000264018fdde239d46e9dbdcf881f633eeca2341c713b181380db59319aa3a" +checksum = "0b6fbad22d6e4ae82c0a1c1335eb2b5f05fda2eaca4cdb732ec2bf354628c9bf" dependencies = [ "alloy-core", "bitflags 1.3.2", @@ -6073,9 +6037,9 @@ dependencies = [ [[package]] name = "pallet-salary" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b656e0a06f7c64042a3ba261567e7df92885b860886f3a1b283e7246201c5a22" +checksum = "3e20b19635e007cf03fc673f85c04ef03baf691711962f5c88afee975b2a9a28" dependencies = [ "log", "pallet-ranked-collective", @@ -6086,9 +6050,9 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "46.0.0" +version = "47.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8ca0d512d335163b7d6d8d21534a849e9efe82ec1b0a6b7884cba56756135c" +checksum = "6842877ee48d5256ba0ac42728abea828f78a7010304a0d74d4787c3e74deda8" dependencies = [ "docify", "frame-benchmarking", @@ -6104,9 +6068,9 @@ dependencies = [ [[package]] name = "pallet-session" -version = "45.2.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d39362f12857e78d799689c68a9ac286013e121dbf51bbc8342800285efed0" +checksum = "714f6a0f4113534ac0be5e8800c469ed456b22d892ba18af81e630d4dcf88f51" dependencies = [ "frame-support", "frame-system", @@ -6127,9 +6091,9 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e07f8b3161092a067a633a03f0cc2a6cb2387ac7c4306be7ff8c66b6edebbe1" +checksum = "f98fa0794eb98a03998a8b277d110f594705d8d7aaadc062be1b15fad58050e0" dependencies = [ "frame-benchmarking", "frame-support", @@ -6144,9 +6108,9 @@ dependencies = [ [[package]] name = "pallet-society" -version = "45.1.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb738526ccaf243513c4d93879bfdcfacae3c8c482c0c7107bc84567fb6a539" +checksum = "7251a40722315651fe4fcedf947eff079eb5b28556d83daa92da6ce3d1acb958" dependencies = [ "frame-benchmarking", "frame-support", @@ -6162,9 +6126,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "45.1.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e13e8ac070c030c2502bf36500c69d0d1d559db62573eabc81f2614e32d352c" +checksum = "aef03a7c7078ffe2760fa937244d8c0b7bab7bd3562a0b7052488042c01e0044" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6184,16 +6148,15 @@ dependencies = [ [[package]] name = "pallet-staking-async" -version = "0.10.4" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1983c4fdcdf5437c5f00fcf17cc1b00b47f09c57ef4abd79dd7cec79dc93e098" +checksum = "36eba27f7af3b6bb1d0d1815b54ab6d8c1ca416b1ca52aa8951a0b05eda0e04e" 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", @@ -6210,9 +6173,9 @@ dependencies = [ [[package]] name = "pallet-staking-async-ah-client" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1b5e2596875837e03ce0d911a8bd6011c29164523daafaa2bab81002bfc69d2" +checksum = "cbfed4a065bcd2366fac6af7d393618eaeed54488205e299a6446b9d3ff8dd58" dependencies = [ "frame-benchmarking", "frame-support", @@ -6231,9 +6194,9 @@ dependencies = [ [[package]] name = "pallet-staking-async-rc-client" -version = "0.7.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a0e0dc41bb39c821ff4ef358686c85d76c1123e1647d6b204bbbff7aa84091" +checksum = "2b88591a93d65023ec21cc0f05efe81ae10c92d9798c1796c07ff35205c4b349" dependencies = [ "frame-benchmarking", "frame-support", @@ -6264,9 +6227,9 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "24.0.0" +version = "24.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2dddc795e22484cc18a6c25018d32fb4ad518491d9989edcd9cdd3090638512" +checksum = "e21dcd5108106cee3e8c513d15ea9eadde560dc9271c4475f7cb167f23105942" dependencies = [ "log", "sp-arithmetic", @@ -6274,9 +6237,9 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "30.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e483f688476415cc1e716755cb88ddd628705ec66fed8087674d0b9306e452b4" +checksum = "44971962494a7aaeeacec7f333b290f9c4285a6fdec609ef0baf502dbf8f1674" dependencies = [ "parity-scale-codec", "sp-api", @@ -6285,9 +6248,9 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "50.0.0" +version = "51.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3052d81fa0a8d4d562927a277446caae3c94d079ad57d9499a9db7f72ad903c" +checksum = "368619398063e5db5aad3f0a5ec471d78f09ac6bfa37de7235e97261e0eec88d" dependencies = [ "frame-benchmarking", "frame-support", @@ -6302,9 +6265,9 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad134ab6aa0cd61a3af61ca9b8e82ce40a2020608f0a4b5b816043663fe576d9" +checksum = "01818cacfcb6fd5b175faa6c822738081f63b945c7eb63d0bb5fba42d44cbe25" dependencies = [ "docify", "frame-benchmarking", @@ -6318,9 +6281,9 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a27830482ee21f4edea07afe13ed14ea04b58a8b2bef0ed7535544b660198bb" +checksum = "c72f687a8ee1d81ad37903541c468abd0f83041d110a3a629bf675d22c66a2c6" dependencies = [ "docify", "frame-benchmarking", @@ -6337,9 +6300,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6be8a43637711ad0bd344e6c6fced72cfcd0e8644b777bda0e2b48a72bf5c66c" +checksum = "a2d3a80999b9a2105794dfe28ca59553b68ba6e00b99ff1f93e82f475f5b28a7" dependencies = [ "frame-benchmarking", "frame-support", @@ -6354,9 +6317,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1748d7be740e04b69422053f45439b09d7842deb4522cbdb96431fd21aac52" +checksum = "299009c2f765323c1d45ee20e477fdc73e405db6d36557f77a3a89250dfcae66" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -6367,9 +6330,9 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "429eb24bd64fd9e15c726f767c78635c5f57ec0caae306bdb07144f86fe31698" +checksum = "b64e1010c6f0bd55702685a686d11298236b978ad3f554428598035dfffc5559" dependencies = [ "docify", "frame-benchmarking", @@ -6387,9 +6350,9 @@ dependencies = [ [[package]] name = "pallet-uniques" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0abfb02f788add7a8fdd68d25e777d87ebe08a79c21768a7900c03aa994c91" +checksum = "2db3b27b6d1aacb1a84e261181f274d85a85713792a8e9cf7cc90ed6a5086e48" dependencies = [ "frame-benchmarking", "frame-support", @@ -6402,9 +6365,9 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "002e4eb4830616c2e8bfbedbd8dbd65876700ad7dac00289ec66447e4c0d41ce" +checksum = "6f56ed0929cd5b774ec690eb77255f11ea207a637f0f80a841d0f2031ad40077" dependencies = [ "frame-benchmarking", "frame-support", @@ -6418,9 +6381,9 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8423e521125b0e54275766a092d56cc1be15fc0a1e8990d1d32a72c5424fb4c9" +checksum = "5d02b11d371d82862b3535d4983281efbe5629aab2155e545091182b098a7f54" dependencies = [ "frame-benchmarking", "frame-support", @@ -6433,9 +6396,9 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "174ef44f52d18e2edd69635dcd7ebd03fcbb0d9e75a7418cc44e53011ef9d791" +checksum = "72b883685a506fb80693725763c54efc679197f716ae2ce486da2ae738c600b9" dependencies = [ "parity-scale-codec", "polkadot-sdk-frame", @@ -6444,9 +6407,9 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcf774b5f3815ec75cb20e7e032c58d3a33bb33db2ca969a687c5533b51e8fc1" +checksum = "154d5c722510da6de379b77db69a04b1104dfcb6e3166dd00e6199b2284f9d36" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -6469,9 +6432,9 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7242f9a9e91af5732bb3809e3111d783c1dd9bc5bddf36643e61376350661afd" +checksum = "3ecef005b36b5e3d2ffb230c5daec5314aa0f4e8d4862912616e7d4823d20c22" dependencies = [ "frame-benchmarking", "frame-support", @@ -6487,9 +6450,9 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" -version = "0.23.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2f1b23da1de5f39524091b325ffc15b26b0bcd5a7043555634ae008261772ae" +checksum = "1cb5c7bb5fd695bb510e3a8ca4e6b9a9b3ff421049782a91b3f234973f960cab" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -6508,9 +6471,9 @@ dependencies = [ [[package]] name = "pallet-xcm-precompiles" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3049f7fe616c5e3400e74ba62e887c03efbf7637730cf1bff1767984a2dab865" +checksum = "7bab964381251e4b369460a9a83214eb6fc9d9813334848da71166a11f019a1e" dependencies = [ "frame-support", "pallet-revive", @@ -6523,9 +6486,9 @@ dependencies = [ [[package]] name = "parachains-common" -version = "27.1.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f8a0e76b4209e2244d5c9817e16d9faa3ac28c3fc570a38fee42671025d9184" +checksum = "64d25b1306dea2f28db555c1609df0a11a3a10ff9273d30d6b54e2de92e6a152" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -6540,6 +6503,7 @@ dependencies = [ "pallet-multi-asset-bounties", "pallet-treasury", "pallet-xcm", + "parachains-common-types", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-common", @@ -6555,10 +6519,15 @@ dependencies = [ ] [[package]] -name = "parity-bytes" -version = "0.1.2" +name = "parachains-common-types" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b56e3a2420138bdb970f84dfb9c774aea80fa0e7371549eedec0d80c209c67" +checksum = "abcf89556c148ca3285f53af72299f7f8893ff85f21eda8bd25d99acad310c5c" +dependencies = [ + "sp-consensus-aura", + "sp-core", + "sp-runtime", +] [[package]] name = "parity-scale-codec" @@ -6655,10 +6624,42 @@ dependencies = [ "base64ct", ] +[[package]] +name = "people-kusama-fuzzer" +version = "0.1.0" +dependencies = [ + "cumulus-pallet-parachain-system", + "cumulus-primitives-core", + "cumulus-primitives-parachain-inherent", + "cumulus-test-relay-sproof-builder", + "frame-metadata", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-identity", + "pallet-multisig", + "pallet-proxy", + "pallet-timestamp", + "pallet-utility", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "people-kusama-runtime", + "polkadot-parachain-primitives", + "polkadot-primitives", + "scale-info", + "sp-consensus-aura", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", + "ziggy", +] + [[package]] name = "people-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -6729,7 +6730,7 @@ dependencies = [ [[package]] name = "people-polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -6905,9 +6906,9 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "21.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc3e1e843b3bab4df488ae15f14822527e8f5003a49efd50b8cdfb55c503a7ee" +checksum = "935a6564a270c421cf44bbb1c1258e8451e657cc80a8ab42a356dc93c087829b" dependencies = [ "parity-scale-codec", "scale-info", @@ -6958,9 +6959,9 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "20.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4944ed05ba89885a746af800b34fcf96455601d9d38350666418675d607baf9" +checksum = "da7ad41b206f59740a569b02fba0fc7e1cf0fab8ac1c5d73c4420078da5223b8" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -6976,9 +6977,9 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "22.0.0" +version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a27f1d503aa4da18fdd9c97988624f14be87c38bfa036638babf748edc326fe" +checksum = "2c87e99a74666bd52dc0c20e84ca11ce4c9fcf05444bf42322dd88da1ccf1e96" dependencies = [ "bitvec", "bounded-collections", @@ -7007,7 +7008,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -7108,9 +7109,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e305084a36de957d83f3fb83601639e5f68b13501b3e334adf14fd37e90ef92" +checksum = "3f6e07ed01b33a926fa3abf3ec50473e56d67e476e1b8e0fc91999f0f5778f36" dependencies = [ "bitvec", "frame-benchmarking", @@ -7160,7 +7161,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "frame-support", "pallet-remote-proxy", @@ -7179,9 +7180,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96e9b2ff8f63290c2695dd956fb4b482ce8831ac99b7dffc98e74214ed0336f5" +checksum = "8a35c43d769accd579cbffcb88984739e103cc245363604282159d7a9f47e098" dependencies = [ "bs58", "frame-benchmarking", @@ -7192,9 +7193,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "24.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66f7b455b9aef20589c96a8a325c6ff0b6645e6b0abc169c21477d7eadf01f3f" +checksum = "40c4af4cf0ccb50b823289ab1f3ee524c2e178b43e5a21daf02d1cc8151413a1" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -7212,6 +7213,7 @@ dependencies = [ "pallet-message-queue", "pallet-mmr", "pallet-session", + "pallet-session-benchmarking", "pallet-staking", "pallet-timestamp", "parity-scale-codec", @@ -7240,9 +7242,9 @@ dependencies = [ [[package]] name = "polkadot-sdk-frame" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b43835ff8d1fd5cbe21b436b3a12771502a3916187927542726d388eac722967" +checksum = "cbb69b7c3aa7bbe73a7c98159ce9bfe5f84d099975a9f923ebbdce5e566cf1bb" dependencies = [ "docify", "frame-benchmarking", @@ -7276,38 +7278,41 @@ dependencies = [ [[package]] name = "polkavm" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4323d016144b2852da47cee55ca5fc33dfe7517be1f52395759f247ecc5695f6" +checksum = "34ddb26cbe473e21bf5c329723e72fdf9208b5f9674e54721bf436e2efdbb26f" dependencies = [ "libc", "log", "picosimd", "polkavm-assembler", - "polkavm-common 0.30.0", + "polkavm-common 0.31.0", "polkavm-linux-raw", ] [[package]] name = "polkavm-assembler" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a873fa7ace058d6507debf5fccb1d06bd3279f5b35dbaf70dc7fe94a6c415c" +checksum = "9f9006f0a135c6d035487fa88fa75b97b32a53d1d914c757f131c8e10a2af295" dependencies = [ "log", ] [[package]] name = "polkavm-common" -version = "0.26.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a5794b695626ba70d29e66e3f4f4835767452a6723f3a0bc20884b07088fe8" +checksum = "ed1b408db93d4f49f5c651a7844682b9d7a561827b4dc6202c10356076c055c9" +dependencies = [ + "picosimd", +] [[package]] name = "polkavm-common" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed1b408db93d4f49f5c651a7844682b9d7a561827b4dc6202c10356076c055c9" +checksum = "a0a3e43fa1a54b955a2f9422b1690c3cc29252ac8828c02a99d2370b9f2a188e" dependencies = [ "blake3", "log", @@ -7317,29 +7322,29 @@ dependencies = [ [[package]] name = "polkavm-derive" -version = "0.26.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95282a203ae1f6828a04ff334145c3f6dc718bba6d3959805d273358b45eab93" +checksum = "acb4463fb0b9dbfafdc1d1a1183df4bf7afa3350d124f29d5700c6bee54556b5" dependencies = [ - "polkavm-derive-impl-macro 0.26.0", + "polkavm-derive-impl-macro 0.30.0", ] [[package]] name = "polkavm-derive" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acb4463fb0b9dbfafdc1d1a1183df4bf7afa3350d124f29d5700c6bee54556b5" +checksum = "c3d944b6b4e792c2a120232b52bd6f2c9dd3071d3f48462afb2b5d00cb9f7ac9" dependencies = [ - "polkavm-derive-impl-macro 0.30.0", + "polkavm-derive-impl-macro 0.31.0", ] [[package]] name = "polkavm-derive-impl" -version = "0.26.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069dc7995cde6e612b868a02ce48b54397c6d2582bd1b97b63aabbe962cd779" +checksum = "993ff45b972e09babe68adce7062c3c38a84b9f50f07b7caf393a023eaa6c74a" dependencies = [ - "polkavm-common 0.26.0", + "polkavm-common 0.30.0", "proc-macro2", "quote", "syn 2.0.117", @@ -7347,11 +7352,11 @@ dependencies = [ [[package]] name = "polkavm-derive-impl" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993ff45b972e09babe68adce7062c3c38a84b9f50f07b7caf393a023eaa6c74a" +checksum = "57c14b030150f81dfde110997b6fafc19741998130908fdab85f1a66bb735025" dependencies = [ - "polkavm-common 0.30.0", + "polkavm-common 0.31.0", "proc-macro2", "quote", "syn 2.0.117", @@ -7359,21 +7364,21 @@ dependencies = [ [[package]] name = "polkavm-derive-impl-macro" -version = "0.26.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581d34cafec741dc5ffafbb341933c205b6457f3d76257a9d99fb56687219c91" +checksum = "0a4f5352e13c1ca5f0e4d7b4a804fbb85b0e02c45cae435d101fe71081bc8ed8" dependencies = [ - "polkavm-derive-impl 0.26.0", + "polkavm-derive-impl 0.30.0", "syn 2.0.117", ] [[package]] name = "polkavm-derive-impl-macro" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4f5352e13c1ca5f0e4d7b4a804fbb85b0e02c45cae435d101fe71081bc8ed8" +checksum = "f3fcadb13edfcc3b4046fcd2d292597782f5b7a2af140e6363fbf71fe196b425" dependencies = [ - "polkavm-derive-impl 0.30.0", + "polkavm-derive-impl 0.31.0", "syn 2.0.117", ] @@ -7393,11 +7398,27 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "polkavm-linker" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1ae3f7aff1af110dcd0f105d783b10ff25cd2837abe411ea4d88ae5cd193b49" +dependencies = [ + "dirs", + "gimli 0.31.1", + "hashbrown 0.14.5", + "log", + "object 0.36.7", + "polkavm-common 0.31.0", + "regalloc2", + "rustc-demangle", +] + [[package]] name = "polkavm-linux-raw" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604b23cdb201979304449f53d21bfd5fb1724c03e3ea889067c9a3bf7ae33862" +checksum = "cbcd9ed5f77c60f3878289001d3e789da301746249b622bfb2876e2d0fe32c0b" [[package]] name = "poly1305" @@ -7791,7 +7812,7 @@ checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "relay-common" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "pallet-staking-reward-fn", "polkadot-primitives", @@ -8551,15 +8572,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde-big-array" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd31f59f6fe2b0c055371bb2f16d7f0aa7d8881676c04a55b1596d1a17cd10a4" -dependencies = [ - "serde", -] - [[package]] name = "serde_bytes" version = "0.11.19" @@ -8768,9 +8780,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "21.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8438f5da8b5478363971a4d673bdfa6bc890517cda4b7c4507dfb809029bc17" +checksum = "e20ff1442e2ec0fc5a6f3412ddc0424b102b9fc2caddb42e9a345aeacc7c98b5" dependencies = [ "enumn", "parity-scale-codec", @@ -8799,9 +8811,9 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" -version = "0.18.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb028a97defaa9f17f81d802a9f3060fba79b7a5ee1cfd12b432c0d61d282530" +checksum = "564b8e407459bfba1cba8450d03e4b8a4b74e1340c3e29569b1e264655a8d928" dependencies = [ "byte-slice-cast", "frame-support", @@ -8810,7 +8822,6 @@ dependencies = [ "rlp 0.6.1", "scale-info", "serde", - "snowbridge-ethereum", "snowbridge-milagro-bls", "sp-core", "sp-io", @@ -8822,9 +8833,9 @@ dependencies = [ [[package]] name = "snowbridge-core" -version = "0.18.1" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fb58cba2820e72d795e2d75e027e418e969002d085f363909a1934c8b7b4ea4" +checksum = "1433a74db94e906dca4c31b6bfc65e03741a1f5ebcc0662216a77cb3c2c1a773" dependencies = [ "bp-relayers", "frame-support", @@ -8845,42 +8856,18 @@ dependencies = [ "tracing", ] -[[package]] -name = "snowbridge-ethereum" -version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0991a761b5d2e1edfb01ad74cf98bfad2c4a1dd176b7fc826170bac9ea60c1" -dependencies = [ - "alloy-consensus", - "alloy-core", - "alloy-primitives", - "alloy-rlp", - "ethabi-decode", - "ethbloom", - "ethereum-types", - "hex-literal", - "parity-bytes", - "parity-scale-codec", - "rlp 0.6.1", - "scale-info", - "serde", - "serde-big-array", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "snowbridge-inbound-queue-primitives" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d383c8c7e2dc6348280235ef2151ab204da3ad5a099c0c7d1f5d472cb5d5ae57" +checksum = "d1609ac1e617fae1163a9a121245e3248ac1ed7d8d02dd24b290d2da10c04dd9" dependencies = [ "alloy-core", "assets-common", "frame-support", "frame-system", "hex-literal", + "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "snowbridge-beacon-primitives", @@ -8913,9 +8900,9 @@ dependencies = [ [[package]] name = "snowbridge-outbound-queue-primitives" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20ba1371768bcf9d0e24a94bc64509226a1ea8d5d4cb413787eb6fd084a9ee3b" +checksum = "84b25b8ea84562dc59a86efa0e08326a740e3a81ab19038c65432e10dbe80120" dependencies = [ "alloy-core", "ethabi-decode", @@ -8940,9 +8927,9 @@ dependencies = [ [[package]] name = "snowbridge-pallet-system-frontend" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9ac1ddb2871ad24ce6e6c265b84c4293529cd6bec256d4dbb71dc3a0abe049f" +checksum = "a1d9f3f4376b844379689f9ea0dbcc423513ba6a6e608229394de0ff6afbf4bb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8962,9 +8949,9 @@ dependencies = [ [[package]] name = "snowbridge-runtime-common" -version = "0.19.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5154421ead4f2509ae6cd3514bdf59e0ecfcd53bdac7c671efcf5a44799fa05a" +checksum = "371788f30d41237083046ad82af54cbb60e24016aff4abe4ddff374d9011a80c" dependencies = [ "frame-support", "frame-system", @@ -8980,10 +8967,14 @@ dependencies = [ [[package]] name = "snowbridge-verification-primitives" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693e47ce3655db940100caedb027e1069710ca62dd355d86bae50da3af111627" +checksum = "f848fac78031e8fdb169bb66476291c85da202a2faf038643ed17d1dc839a66d" dependencies = [ + "alloy-consensus", + "alloy-primitives", + "alloy-rlp", + "alloy-trie", "frame-support", "parity-scale-codec", "scale-info", @@ -9004,9 +8995,9 @@ dependencies = [ [[package]] name = "sp-api" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de4eb4aada6284b59f42a8da445c729384a514963340af130b4eb01b4835da4d" +checksum = "187cf25fd6768df325bfc104148ef2945bf3ec3242698670637223abf4a763cc" dependencies = [ "docify", "hash-db", @@ -9027,9 +9018,9 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "26.0.0" +version = "27.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f2ae0305276704ca35c4499162a709413e4bca4e47a3c909df50a110930121f" +checksum = "32c95e3a2cadf60408a228d175d10bbacacdd2b1cd4a15115bc97e8d667ab0eb" dependencies = [ "Inflector", "blake2", @@ -9042,9 +9033,9 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c33baebe847fc50edccd36d0e0e86df21d4db93876b5d74aadae9d8e96ca35e2" +checksum = "47687573285619b845d812f3fca7ca3cf7ce7c8456765a7736476a218caa3070" dependencies = [ "parity-scale-codec", "scale-info", @@ -9055,9 +9046,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "28.0.0" +version = "28.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f4755af7cc57f4a2a830e134b403fc832caa5d93dacb970ffc7ac717f38c40" +checksum = "4e06588d1c43f60b9bb7f989785689842cc4cc8ce0e19d1c47686b1ff5fe9548" dependencies = [ "docify", "integer-sqrt", @@ -9070,9 +9061,9 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb086abf5450de480d9d815a393ec2c36295350bdb63ded1a9832dfb6757f0a2" +checksum = "5d53ee63efb5ce91b6c0696a41c9b38dd5be65559b0ee590ea7eddf8d907ad64" dependencies = [ "parity-scale-codec", "scale-info", @@ -9083,9 +9074,9 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2263a76570421410cc67e49d057700d2196d00e7c7e1c5b282cee5bd352de94f" +checksum = "6c2cc35ecc1c4978dfa007c887b23f8b6354c50c9b778bc1dcb484ede6bd13cc" dependencies = [ "sp-api", "sp-inherents", @@ -9094,9 +9085,9 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edb79fc4bf40bf12755a62b3bd201bb2f8de974b7393d81bee70cccecf40321f" +checksum = "4faf051693a9830c36e806da779d8e251f4e7019dc16b3bd9dc3734cf5de74d5" dependencies = [ "async-trait", "parity-scale-codec", @@ -9111,9 +9102,9 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fb7b73c605282232d12a7c5932fd7118dca87b096e0c053a81d780b3de6ca10" +checksum = "a0e7d258673de490bcca9ef735e84ce2a34aad780170d4884773a7ea8f1aa851" dependencies = [ "async-trait", "parity-scale-codec", @@ -9130,9 +9121,9 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "28.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "813b9f529dca0247d1fc184aebc493b704363e82f3e1d81a69f2f9569be965a0" +checksum = "8f4bf7929296255bf94696c5433b95b76882cad6fb0728513a9223d84044372f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9151,9 +9142,9 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "27.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e695150a413205139d93aea2112ff6d2bfdae77b6aae81fbd4aa8c9cee75a5" +checksum = "311ca4c8d49965b47100759a8678a7c19badd6f0eceb2323ee00b7ff0db9036f" dependencies = [ "finality-grandpa", "log", @@ -9169,9 +9160,9 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.46.0" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "740ac0574f072dc388239f78c4d19ca5dea530b24a84bfd1124834ec7dc58aea" +checksum = "b65d468f0ccd29f8435e1a01779a20b2ebdebd852c8c8acaa72b0b46a8ef4513" dependencies = [ "parity-scale-codec", "scale-info", @@ -9181,9 +9172,9 @@ dependencies = [ [[package]] name = "sp-core" -version = "39.0.0" +version = "40.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0f32d2a9af72fe90bec51076d0e109ef3c25aa1d2a1eef15cf3588acd4a23da" +checksum = "9182532d34684ad8852e7c5036469da9db38f318bc5ba70bb5e1e119d6154fc7" dependencies = [ "ark-vrf", "array-bytes 6.2.3", @@ -9254,10 +9245,11 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "14.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" +checksum = "d61809bf52be994e4d0a0485bb18a78509ed185e1418736c1ff9011bd1528999" dependencies = [ + "proc-macro-warning", "proc-macro2", "quote", "syn 2.0.117", @@ -9265,9 +9257,9 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76b67582d8eb400e730d4abaa9f8841898fa36782a2c6b7f61676e5dd6f8166c" +checksum = "ccab635fdf03594e8bec6213457df38389ad54ac15ce12fea22e9a88ba039c2f" dependencies = [ "environmental", "parity-scale-codec", @@ -9276,9 +9268,9 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd14bfa3d9980aab810acf6b0d326cddc72e37ab2ef9f0b17efb80d53c985a7" +checksum = "e1a51435d952ef0d838ed053eafab18ddd1e5d54bb2dcc8fdf911149bbcdb962" dependencies = [ "parity-scale-codec", "scale-info", @@ -9289,9 +9281,9 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5785f49653ece32f136b593a3a83cc0d81472d0eb94e6e8b84cc2635e907bb86" +checksum = "b6a2ce2df5f2a1a36420edb6434d87f759d548a2e6c6f0fe46df32df3e4d902e" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -9303,9 +9295,9 @@ dependencies = [ [[package]] name = "sp-io" -version = "44.0.0" +version = "45.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c3b7db2a4f180e3362e374754983e3ddc844b7a1cd2c2e5b71ab0bd3673dfe" +checksum = "1d7e77b0b5db4d20623ebcf0e8a130f2db0d8b45c3862fe4817eca6f77df77f4" dependencies = [ "bytes", "docify", @@ -9313,7 +9305,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", - "polkavm-derive 0.26.0", + "polkavm-derive 0.31.0", "rustversion", "secp256k1 0.28.2", "sp-core", @@ -9330,9 +9322,9 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d3ac79313643baacce1ffebfd0ae78b86ddc9529ef85fa0495e37ef75f13e1d" +checksum = "f2b2c7624805d3c93f70b98fb747ddda4cd2a1f8e5dd57f0c7594843a2c0553d" dependencies = [ "sp-core", "sp-runtime", @@ -9341,9 +9333,9 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.45.0" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc62157d26f8c6847e2827168f71edea83f9f2c3cc12b8fb694dbe58aefe5972" +checksum = "9662309b140264f45d8dfdfa605d7f6f050b4eb39059bf467f255dbda5f2decf" dependencies = [ "parity-scale-codec", "parking_lot", @@ -9374,9 +9366,9 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec94fa772252d86932a5f01bff70df3e7f170f350dfabf14417b26eb5c9e10c9" +checksum = "42eb6a1dd300f05fee8bce5b46f32ae6b4f749ccd5bcfbd7593b1d07d0540a20" dependencies = [ "log", "parity-scale-codec", @@ -9392,9 +9384,9 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9767c2808334b8a5932d314f4ffd16b2cb7b735a75f60231f4590fb50ffbd9bb" +checksum = "bd559dc3d5b3d07878e03d840596a4713248c57508d0903318a625455c8db347" dependencies = [ "parity-scale-codec", "scale-info", @@ -9406,9 +9398,9 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "122459d7edab703f86d192fde32338301b998aff9ef81d7a87ffe2cd3a190741" +checksum = "08b235543475ee2d8eff16ea4a78a66b7c6e19e73d0727d324376b148eae1d20" dependencies = [ "sp-api", "sp-core", @@ -9427,9 +9419,9 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "45.0.0" +version = "46.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f799c308ab442aa1c80b193db8c76f36dcc5a911408bf8861511987f4e4f2ee" +checksum = "86e3cfbb7a2c4388988868e4212e1a7b2c37fa8d4d562a8047309167f10b9f14" dependencies = [ "binary-merkle-tree", "bytes", @@ -9459,14 +9451,14 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "33.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22644a2fabb5c246911ecde30fdb7f0801c90f5e611b1147140055ad7b6dabab" +checksum = "97805f3fd193d473704b7d58bc08278d372bb35771811fb9c9c0050c2ab54efe" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", - "polkavm-derive 0.26.0", + "polkavm-derive 0.31.0", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -9478,9 +9470,9 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "20.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04178084ae654b3924934a56943ee73e3562db4d277e948393561b08c3b5b5fe" +checksum = "c7d9650b5186fd32bf5198adfe08d8fecc76f2ebe8a8927f28aaf2a537d75b2e" dependencies = [ "Inflector", "expander", @@ -9492,9 +9484,9 @@ dependencies = [ [[package]] name = "sp-session" -version = "42.0.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a79f3383169cb7cf58a0b8f76492ba934aa73c3c41a206fe2b47be0ac5a2d11" +checksum = "66476246edf0a2365dc825dc4d5618a702d36b93d206c1fc6a7296f3e39b65f6" dependencies = [ "parity-scale-codec", "scale-info", @@ -9507,9 +9499,9 @@ dependencies = [ [[package]] name = "sp-staking" -version = "42.2.0" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11c6b50d5b2b607d6d9d87c71ba2828143f8497be28922545a06d470fe4a4939" +checksum = "da13120b034f92c2ee5a2e079f058e6b49a35a61c90584341e724a1a0d7b7194" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -9521,9 +9513,9 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.49.0" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bfda052a2fe9be497139e0c5d0a51946873f3cd7c2ff81bdbcb8b446caa37" +checksum = "fe73c014eca2543dfbcdad714bc9ae1d746778a78187b741587037790fcaa7ef" dependencies = [ "hash-db", "log", @@ -9548,9 +9540,9 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" -version = "22.0.0" +version = "23.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee3b70ca340e41cde9d2e069d354508a6e37a6573d66f7cc38f11549002f64ec" +checksum = "e5e5c9fb0016b49765f89d23e4869ee616e1317de8f75b59babb721ccc27d2af" dependencies = [ "impl-serde", "parity-scale-codec", @@ -9561,9 +9553,9 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81f5dcc250a9b105e732ae43969ae956d88ba8c8de9e3dd3e73155cbc7ab2ead" +checksum = "59cd7895aac9073e3f740cf14d3e08ab43fdcacb7d08be622e3890157e35f23f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9587,9 +9579,9 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "40.0.0" +version = "41.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb825fac0981a640d025b7bbc8f3e11147a961df502d399b563a5688ffde1b96" +checksum = "3971b8d878b5f5a984f75a75e80a2fc26270a112bb5c8643ea101499ac678fb2" dependencies = [ "sp-api", "sp-runtime", @@ -9597,9 +9589,9 @@ dependencies = [ [[package]] name = "sp-trie" -version = "42.0.1" +version = "43.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6beed4d77d66f085443eac37171d88b2dbf6f7358d9d3451c11479ddfce60d6e" +checksum = "0566d4f76b5b6b0ababa1b6df67283642bcfa734a13e4cdbbb26aae1ae3a89c5" dependencies = [ "ahash", "foldhash 0.1.5", @@ -9623,15 +9615,16 @@ dependencies = [ [[package]] name = "sp-version" -version = "43.0.0" +version = "44.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd07f9e708698156d941b816582cb5298a3a406d230648fcc8840f118ac423a1" +checksum = "5ca119a22444fddd66531574bfd64e161e8857522cfd72312bffedd4c544f96a" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", + "sp-core", "sp-crypto-hashing-proc-macro", "sp-runtime", "sp-std", @@ -9666,9 +9659,9 @@ dependencies = [ [[package]] name = "sp-weights" -version = "33.2.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c34d353fdc6469da8fae9248ffc1f34faaf04bec8cabc43fd77681dcbc8517" +checksum = "364f93051b3b243c6221e51965e2bef465605f1de169a2ebd126fba2576dc3d9" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -9742,7 +9735,7 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "staging-kusama-runtime" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -9843,9 +9836,9 @@ dependencies = [ [[package]] name = "staging-parachain-info" -version = "0.25.0" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c878a6d9ad844a122ec17446b05a94c16a566e13250a52287f5eb8debf5d89c" +checksum = "aa56171c491509eba5db2aec7e2868edcac80e7783acedc5fca8f88071ac7e23" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -9857,9 +9850,9 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "21.0.0" +version = "22.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5da5a04bfec3911a3b5f497b3e6e3e0d4655960d5b6a1f9c28ef22d38ad0af31" +checksum = "ecb0dcfe26176c9a34b4ebca3bc0040e72ef5e6df0c9a577789881cf1bdc7044" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -9879,9 +9872,9 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "25.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736228eb2316473060b925a71bb626ec38bc88a106a1dc1fc3d012da16e89114" +checksum = "d4d8ebc5b31c6ab3581dcb072ac2636368c1858cf5d8e8a0f6ce44b533b9c567" dependencies = [ "environmental", "frame-support", @@ -9904,9 +9897,9 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "24.0.1" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e170ec1fc40070d7459aa3348a9e2dae9569aab99fd60986a61b76e3ff36470e" +checksum = "6da998fc8e31fbfacd626789067e2af3730ea8639d0f2a84d9ad6620a0eba886" dependencies = [ "environmental", "frame-benchmarking", @@ -9978,9 +9971,9 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca58ffd742f693dc13d69bdbb2e642ae239e0053f6aab3b104252892f856700a" +checksum = "d93affb0135879b1b67cbcf6370a256e1772f9eaaece3899ec20966d67ad0492" dependencies = [ "hmac", "pbkdf2", @@ -10023,9 +10016,9 @@ version = "0.1.0" [[package]] name = "substrate-wasm-builder" -version = "31.1.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2e84e19e2e219e108876cdf2adef2523670886ec4471d1526930f27cf9de8db" +checksum = "ae3e008946c060c6756a6090ae1d079c69dc0d07b6f97122115b53bf57a29b52" dependencies = [ "build-helper", "cargo_metadata", @@ -10033,7 +10026,7 @@ dependencies = [ "filetime", "jobserver", "parity-wasm", - "polkavm-linker", + "polkavm-linker 0.31.0", "shlex", "sp-maybe-compressed-blob", "strum 0.26.3", @@ -10051,9 +10044,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "subxt-core" -version = "0.43.0" +version = "0.44.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25338dd11ae34293b8d0c5807064f2e00194ba1bd84cccfa694030c8d185b941" +checksum = "002d360ac0827c882d5a808261e06c11a5e7ad2d7c295176d5126a9af9aa5f23" dependencies = [ "base58", "blake2", @@ -10081,9 +10074,9 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.43.0" +version = "0.44.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c134068711c0c46906abc0e6e4911204420331530738e18ca903a5469364d9f" +checksum = "1b2f2a52d97d7539febc0006d6988081150b1c1a3e4a357ca02ab5cdb34072bc" dependencies = [ "frame-decode", "frame-metadata", @@ -10096,9 +10089,9 @@ dependencies = [ [[package]] name = "subxt-signer" -version = "0.43.0" +version = "0.44.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a9bd240ae819f64ac6898d7ec99a88c8b838dba2fb9d83b843feb70e77e34c8" +checksum = "1bdcc9159fdcc81aca0f71f0c8c77829a671f7348958fc77fb2fb320ed59a13a" dependencies = [ "base64", "bip32", @@ -10161,7 +10154,7 @@ dependencies = [ [[package]] name = "system-parachains-common" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -10179,7 +10172,7 @@ dependencies = [ [[package]] name = "system-parachains-constants" version = "1.0.0" -source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.1.1#7c73a295ca55125d54fc07b89726feb66ce7b7c0" +source = "git+https://github.com/polkadot-fellows/runtimes.git?tag=v2.2.2#9797d3c68f4381ab6424c907090a2895ba363b81" dependencies = [ "array-bytes 9.3.0", "frame-support", @@ -10509,9 +10502,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c0670ab45a6b7002c7df369fee950a27cf29ae0474343fd3a15aa15f691e7a6" +checksum = "a7795f2df2ef744e4ffb2125f09325e60a21d305cc3ecece0adeef03f7a9e560" dependencies = [ "hash-db", "log", @@ -11330,9 +11323,9 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd4fdfa1a38598cb8f49012d2b1f5b0b07d46aaae7c2e19d96f0674c970c4eab" +checksum = "2caa2873b2898c648d123e19519f75a70fd2e99528178994ac0b35dceeef37d1" dependencies = [ "frame-support", "parity-scale-codec", diff --git a/runtimes/Cargo.toml b/runtimes/Cargo.toml index e142014..a9ce3d7 100644 --- a/runtimes/Cargo.toml +++ b/runtimes/Cargo.toml @@ -11,6 +11,7 @@ members = [ "asset-hub-kusama", "asset-hub-polkadot", "coretime-kusama", + "people-kusama", "polkadot", "runtime-call", ] @@ -19,80 +20,80 @@ members = [ ziggy = { version = "1.5.0", default-features = false } -polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -asset-hub-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +asset-hub-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } # bridge-hub-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.0.2", default-features = false } -collectives-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -coretime-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -people-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +collectives-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +coretime-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +people-polkadot-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } -staging-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -asset-hub-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +staging-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +asset-hub-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } # bridge-hub-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.0.2", default-features = false } -coretime-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +coretime-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } # encointer-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.0.2", default-features = false } -glutton-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -people-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +glutton-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +people-kusama-runtime = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } -system-parachains-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -polkadot-runtime-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -kusama-runtime-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } +system-parachains-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +polkadot-runtime-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +kusama-runtime-constants = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } codec = { version = "3.7.5", features = ["derive", "max-encoded-len"], default-features = false, package = "parity-scale-codec" } hex = "0.4.3" scale-info = { default-features = false, version = "2.11.6", features = ["std"] } -staging-xcm = { default-features = false , version = "21.0.0" } +staging-xcm = { default-features = false , version = "22.0.0" } -parachains-common = { default-features = false , version = "27.1.0" } +parachains-common = { default-features = false , version = "28.0.0" } -frame-support = { default-features = false, version = "45.1.0" } -frame-system = { default-features = false, version = "45.0.0" } +frame-support = { default-features = false, version = "46.0.0" } +frame-system = { default-features = false, version = "46.0.0" } frame-metadata = { default-features = false, version = "23.0.1", features = ["current", "decode", "std"] } -sp-runtime = { default-features = false, version = "45.0.0" } -sp-state-machine = { version = "0.49.0", default-features = false } -sp-consensus-aura = { default-features = false, version = "0.46.0" } -sp-trie = { default-features = false, version = "42.0.1" } -sp-core = { default-features = false, version = "39.0.0" } -sp-authority-discovery = { default-features = false, version = "40.0.0" } -sp-consensus-babe = { default-features = false, version = "0.46.0" } -sp-consensus-beefy = { default-features = false, version = "28.0.0" } -sp-application-crypto = { default-features = false, version = "44.0.0" } +sp-runtime = { default-features = false, version = "46.0.0" } +sp-state-machine = { version = "0.50.0", default-features = false } +sp-consensus-aura = { default-features = false, version = "0.47.0" } +sp-trie = { default-features = false, version = "43.0.0" } +sp-core = { default-features = false, version = "40.0.0" } +sp-authority-discovery = { default-features = false, version = "41.0.0" } +sp-consensus-babe = { default-features = false, version = "0.47.0" } +sp-consensus-beefy = { default-features = false, version = "29.0.0" } +sp-application-crypto = { default-features = false, version = "45.0.0" } -pallet-timestamp = { default-features = false, version = "44.0.0" } -pallet-balances = { default-features = false, version = "46.0.0" } -pallet-assets = { default-features = false, version = "48.1.0" } -pallet-uniques = { default-features = false, version = "45.0.0" } -pallet-xcm = { default-features = false, version = "25.0.0" } -pallet-utility = { default-features = false, version = "45.0.0" } -pallet-proxy = { default-features = false, version = "45.0.0" } -pallet-multisig = { default-features = false, version = "45.0.0" } -pallet-vesting = { default-features = false, version = "45.0.0" } -pallet-remote-proxy = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.1.1", default-features = false } -pallet-recovery = { default-features = false, version = "45.0.0" } -pallet-whitelist = { default-features = false, version = "44.0.0" } -pallet-broker = { default-features = false, version = "0.24.1" } -pallet-staking-async-ah-client = { default-features = false, version = "0.7.2" } -pallet-bags-list = { default-features = false, version = "44.0.1" } -pallet-bounties = { default-features = false, version = "44.0.0" } -pallet-grandpa = { default-features = false, version = "45.0.0" } -pallet-identity = { default-features = false, version = "45.0.0" } -pallet-referenda = { default-features = false, version = "45.0.0" } -pallet-society = { default-features = false, version = "45.1.0" } -pallet-staking = { default-features = false, version = "45.1.0" } -pallet-treasury = { default-features = false, version = "44.0.0" } -pallet-revive = { default-features = false, version = "0.12.2" } +pallet-timestamp = { default-features = false, version = "45.0.0" } +pallet-balances = { default-features = false, version = "47.0.0" } +pallet-assets = { default-features = false, version = "49.0.1" } +pallet-uniques = { default-features = false, version = "46.0.0" } +pallet-xcm = { default-features = false, version = "26.0.0" } +pallet-utility = { default-features = false, version = "46.0.0" } +pallet-proxy = { default-features = false, version = "46.0.0" } +pallet-multisig = { default-features = false, version = "46.0.0" } +pallet-vesting = { default-features = false, version = "46.0.0" } +pallet-remote-proxy = { git = "https://github.com/polkadot-fellows/runtimes.git", tag = "v2.2.2", default-features = false } +pallet-recovery = { default-features = false, version = "46.0.0" } +pallet-whitelist = { default-features = false, version = "45.0.0" } +pallet-broker = { default-features = false, version = "0.25.0" } +pallet-staking-async-ah-client = { default-features = false, version = "0.8.0" } +pallet-bags-list = { default-features = false, version = "45.0.0" } +pallet-bounties = { default-features = false, version = "45.0.0" } +pallet-grandpa = { default-features = false, version = "46.0.0" } +pallet-identity = { default-features = false, version = "46.0.0" } +pallet-referenda = { default-features = false, version = "46.0.0" } +pallet-society = { default-features = false, version = "46.0.0" } +pallet-staking = { default-features = false, version = "46.0.0" } +pallet-treasury = { default-features = false, version = "45.0.0" } +pallet-revive = { default-features = false, version = "0.13.0" } -cumulus-primitives-core = { default-features = false , version = "0.23.0" } -cumulus-primitives-parachain-inherent = { default-features = false , version = "0.23.0" } -cumulus-pallet-parachain-system = { default-features = false, version = "0.25.0" } -cumulus-test-relay-sproof-builder = { default-features = false , version = "0.24.0" } +cumulus-primitives-core = { default-features = false , version = "0.24.0" } +cumulus-primitives-parachain-inherent = { default-features = false , version = "0.24.0" } +cumulus-pallet-parachain-system = { default-features = false, version = "0.26.0" } +cumulus-test-relay-sproof-builder = { default-features = false , version = "0.25.0" } -polkadot-parachain-primitives = { default-features = false, version = "20.0.0" } -polkadot-primitives = { default-features = false, version = "22.0.0" } -polkadot-runtime-parachains = { version = "24.0.0", default-features = false } -polkadot-runtime-common = { version = "24.0.0", default-features = false } +polkadot-parachain-primitives = { default-features = false, version = "21.0.0" } +polkadot-primitives = { default-features = false, version = "23.0.0" } +polkadot-runtime-parachains = { version = "25.0.0", default-features = false } +polkadot-runtime-common = { version = "25.0.0", default-features = false } [patch.crates-io] -ark-vrf = { git = "https://github.com/davxy/ark-vrf", tag = "v0.1.0" } +ark-vrf = { git = "https://github.com/davxy/ark-vrf", tag = "v0.1.0" } \ No newline at end of file diff --git a/runtimes/asset-hub-kusama/src/main.rs b/runtimes/asset-hub-kusama/src/main.rs index 23d4654..f7677f7 100644 --- a/runtimes/asset-hub-kusama/src/main.rs +++ b/runtimes/asset-hub-kusama/src/main.rs @@ -158,19 +158,19 @@ fn process_input(accounts: &[AccountId], genesis: &Storage, data: &[u8]) { iter::from_fn(|| DecodeLimit::decode_with_depth_limit(64, &mut extrinsic_data).ok()) .filter(|(_, _, x): &(_, _, RuntimeCall)| { !recursively_find_call(x.clone(), |call| { - matches!(&call, RuntimeCall::AhMigrator(_)) - // || matches!(call.clone(), RuntimeCall::NominationPools(_)) - || matches!( - &call, - RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) - ) || matches!( - &call, - RuntimeCall::PolkadotXcm(pallet_xcm::Call::execute { .. }) - ) - || matches!( - &call, - RuntimeCall::Referenda(pallet_referenda::Call::submit { .. }) - ) + matches!( + &call, + RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) + ) || matches!( + &call, + RuntimeCall::PolkadotXcm(pallet_xcm::Call::execute { .. }) + ) || matches!( + &call, + RuntimeCall::Referenda(pallet_referenda::Call::submit { .. }) + ) || matches!( + &call, + RuntimeCall::Revive(pallet_revive::Call::instantiate_with_code { .. }) + ) }) }) .collect(); diff --git a/runtimes/asset-hub-polkadot/src/main.rs b/runtimes/asset-hub-polkadot/src/main.rs index 7bd2fc8..b8c5841 100644 --- a/runtimes/asset-hub-polkadot/src/main.rs +++ b/runtimes/asset-hub-polkadot/src/main.rs @@ -90,7 +90,11 @@ fn generate_genesis(accounts: &[AccountId]) -> Storage { claims: ClaimsConfig::default(), indices: IndicesConfig::default(), multi_block_election_verifier: MultiBlockElectionVerifierConfig::default(), - nomination_pools: NominationPoolsConfig::default(), + nomination_pools: NominationPoolsConfig { + min_create_bond: 1 << 43, + min_join_bond: 1 << 42, + ..Default::default() + }, staking: StakingConfig::default(), treasury: TreasuryConfig::default(), revive: ReviveConfig::default(), @@ -179,11 +183,13 @@ fn process_input(accounts: &[AccountId], genesis: &Storage, data: &[u8]) { iter::from_fn(|| DecodeLimit::decode_with_depth_limit(64, &mut extrinsic_data).ok()) .filter(|(_, _, x): &(_, _, RuntimeCall)| { !recursively_find_call(x.clone(), |call| { - matches!(&call, RuntimeCall::AhMigrator(_)) - || matches!( - &call, - RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) - ) + matches!( + &call, + RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) + ) || matches!( + &call, + RuntimeCall::Revive(pallet_revive::Call::instantiate_with_code { .. }) + ) }) }) .collect(); @@ -366,7 +372,7 @@ fn check_invariants(block: u32, initial_total_issuance: Balance) { let counted_issuance = counted_free + counted_reserved; // The reason we do not simply use `!=` here is that some balance might be transfered to another chain via XCM. // If we find some kind of workaround for this, we could replace `<` by `!=` here and make the check stronger. - assert!(total_issuance <= counted_issuance,); + assert!(total_issuance >= counted_issuance,); assert!(total_issuance <= initial_total_issuance,); let account_42 = AccountId32::from([42; 32]); assert_eq!(Assets::balance(42, account_42), 42); diff --git a/runtimes/coretime-kusama/src/main.rs b/runtimes/coretime-kusama/src/main.rs index 5145bfd..62f84cb 100644 --- a/runtimes/coretime-kusama/src/main.rs +++ b/runtimes/coretime-kusama/src/main.rs @@ -117,6 +117,9 @@ fn recursively_find_call(call: RuntimeCall, matches_on: fn(RuntimeCall) -> bool) return true; } } + } else if let RuntimeCall::Utility(pallet_utility::Call::if_else { main, fallback }) = call { + return recursively_find_call(*main, matches_on) + || recursively_find_call(*fallback, matches_on); } else if let RuntimeCall::Multisig(pallet_multisig::Call::as_multi_threshold_1 { call, .. }) @@ -333,7 +336,7 @@ fn check_invariants(block: u32, initial_total_issuance: Balance) { let total_issuance = TotalIssuance::::get(); let counted_issuance = counted_free + counted_reserved; assert!( - total_issuance <= counted_issuance, + total_issuance >= counted_issuance, "Inconsistent total issuance: {total_issuance} but counted {counted_issuance}" ); assert!( diff --git a/runtimes/kusama/src/main.rs b/runtimes/kusama/src/main.rs index 0bb6aad..c97d4c6 100644 --- a/runtimes/kusama/src/main.rs +++ b/runtimes/kusama/src/main.rs @@ -368,7 +368,7 @@ fn check_invariants(block: u32, initial_total_issuance: Balance) { let total_issuance = TotalIssuance::::get(); let counted_issuance = counted_free + counted_reserved; assert!( - total_issuance == counted_issuance, + total_issuance >= counted_issuance, "Inconsistent total issuance: {total_issuance} but counted {counted_issuance}" ); assert!( diff --git a/runtimes/people-kusama/Cargo.toml b/runtimes/people-kusama/Cargo.toml new file mode 100644 index 0000000..ee94eeb --- /dev/null +++ b/runtimes/people-kusama/Cargo.toml @@ -0,0 +1,70 @@ +[package] +name = "people-kusama-fuzzer" +version = "0.1.0" +edition = "2021" +publish = false + +[dependencies] +ziggy = { workspace = true } + +people-kusama-runtime = { workspace = true } + +parachains-common = { workspace = true } + +codec = { workspace = true } +scale-info = { workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } +frame-metadata = { workspace = true } + +sp-runtime = { workspace = true } +sp-state-machine = { workspace = true } +sp-consensus-aura = { workspace = true } +sp-trie = { workspace = true } +sp-core = { workspace = true } + +pallet-timestamp = { workspace = true } +pallet-balances = { workspace = true } +pallet-xcm = { workspace = true } +pallet-utility = { workspace = true } +pallet-proxy = { workspace = true } +pallet-multisig = { workspace = true } +pallet-identity = { workspace = true } + +cumulus-primitives-core = { workspace = true } +cumulus-primitives-parachain-inherent = { workspace = true } +cumulus-pallet-parachain-system = { workspace = true } +cumulus-test-relay-sproof-builder = { workspace = true } + +polkadot-parachain-primitives = { workspace = true } +polkadot-primitives = { workspace = true } + +[features] +default = ["std", "try-runtime"] +fuzzing = [] +std = [ + "people-kusama-runtime/std", + "parachains-common/std", + "codec/std", + "frame-support/std", + "frame-system/std", + "sp-runtime/std", + "sp-state-machine/std", + "sp-consensus-aura/std", + "pallet-timestamp/std", + "pallet-balances/std", + "cumulus-primitives-core/std", + "cumulus-primitives-parachain-inherent/std", + "cumulus-pallet-parachain-system/std", + "cumulus-test-relay-sproof-builder/std", + "polkadot-parachain-primitives/std", + "sp-trie/std", +] +try-runtime = [ + "people-kusama-runtime/try-runtime", + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", + "pallet-timestamp/try-runtime", +] diff --git a/runtimes/people-kusama/allowlist.txt b/runtimes/people-kusama/allowlist.txt new file mode 100644 index 0000000..c6ad77f --- /dev/null +++ b/runtimes/people-kusama/allowlist.txt @@ -0,0 +1 @@ +*pallet_* diff --git a/runtimes/people-kusama/src/bin/seedgen.rs b/runtimes/people-kusama/src/bin/seedgen.rs new file mode 100644 index 0000000..46d3c94 --- /dev/null +++ b/runtimes/people-kusama/src/bin/seedgen.rs @@ -0,0 +1,127 @@ +#![warn(clippy::pedantic)] +use codec::{Decode, Encode}; +use frame_metadata::{RuntimeMetadata, RuntimeMetadataPrefixed}; +use frame_support::traits::GetCallMetadata; +use people_kusama_runtime::{Runtime, RuntimeCall}; +use scale_info::TypeDef; +use sp_state_machine::BasicExternalities; +use std::{collections::BTreeMap, fs, path::Path}; + +fn main() { + let seeds = build_seeds(); + + let out_dir = Path::new("seedgen"); + fs::create_dir_all(out_dir).expect("create seedgen dir"); + for (name, seed) in &seeds { + let path = out_dir.join(format!("{name}.seed")); + fs::write(&path, seed).expect("write seed file"); + } + + println!("wrote {} seeds to {}", seeds.len(), out_dir.display()); +} + +fn build_seeds() -> Vec<(String, Vec)> { + let mut seeds: Vec<(String, Vec)> = Vec::new(); + + let metadata = load_metadata_v14(); + let call_map = build_call_map(&metadata); + for (pallet, calls) in call_map { + let expected = + pallet_call_variant_count(&metadata, pallet.as_str()).expect("pallet call count"); + let actual = calls.len(); + println!("created {actual}/{expected} seeds for {pallet}"); + if actual != expected { + println!( + " skipped {} calls in {pallet} (unencodable with only zeroes)", + expected - actual + ); + } + + for call in calls { + let meta = call.get_call_metadata(); + let name = format!( + "{}_{}", + meta.pallet_name.to_ascii_lowercase(), + meta.function_name + ); + seeds.push((name, (0u8, 0u8, call).encode())); + } + } + + seeds +} + +fn build_call_map( + metadata: &frame_metadata::v14::RuntimeMetadataV14, +) -> BTreeMap> { + let mut map: BTreeMap> = BTreeMap::new(); + for pallet in &metadata.pallets { + let calls = pallet.calls.as_ref(); + if calls.is_none() { + continue; + } + let calls = calls.expect("checked"); + let mut runtime_calls = Vec::new(); + let call_def = metadata + .types + .resolve(calls.ty.id) + .expect("resolve pallet call type"); + let TypeDef::Variant(variants) = &call_def.type_def else { + continue; + }; + for variant in &variants.variants { + if variant.name == "__Ignore" { + continue; + } + if let Some(call) = runtime_call_from_metadata(metadata, pallet, variant) { + runtime_calls.push(call); + } + } + map.insert(pallet.name.clone(), runtime_calls); + } + map +} + +fn load_metadata_v14() -> frame_metadata::v14::RuntimeMetadataV14 { + let bytes: Vec = BasicExternalities::default().execute_with(|| Runtime::metadata().into()); + let metadata = RuntimeMetadataPrefixed::decode(&mut &bytes[..]).expect("decode metadata"); + match metadata.1 { + RuntimeMetadata::V14(m) => m, + _ => panic!("unsupported metadata version"), + } +} + +fn runtime_call_from_metadata( + metadata: &frame_metadata::v14::RuntimeMetadataV14, + pallet: &frame_metadata::v14::PalletMetadata, + variant: &scale_info::Variant, +) -> Option { + let calls = pallet.calls.as_ref()?; + let call_def = metadata.types.resolve(calls.ty.id)?; + let TypeDef::Variant(_) = &call_def.type_def else { + return None; + }; + let mut bytes = pallet.index.encode(); + bytes.extend_from_slice(&variant.index.encode()); + bytes.extend_from_slice(&[0u8; 1024]); + RuntimeCall::decode(&mut &bytes[..]).ok() +} + +fn pallet_call_variant_count( + metadata: &frame_metadata::v14::RuntimeMetadataV14, + pallet_name: &str, +) -> Option { + let pallet = metadata.pallets.iter().find(|p| p.name == pallet_name)?; + let calls = pallet.calls.as_ref()?; + let ty = metadata.types.resolve(calls.ty.id)?; + let TypeDef::Variant(variants) = &ty.type_def else { + return None; + }; + Some( + variants + .variants + .iter() + .filter(|variant| variant.name != "__Ignore") + .count(), + ) +} diff --git a/runtimes/people-kusama/src/main.rs b/runtimes/people-kusama/src/main.rs new file mode 100644 index 0000000..7f2d29a --- /dev/null +++ b/runtimes/people-kusama/src/main.rs @@ -0,0 +1,309 @@ +#![warn(clippy::pedantic)] +use codec::{DecodeLimit, Encode}; +use cumulus_primitives_core::relay_chain::Header; +use frame_support::{ + dispatch::GetDispatchInfo, + pallet_prelude::Weight, + traits::{IntegrityTest, TryState, TryStateSelect}, + weights::constants::WEIGHT_REF_TIME_PER_SECOND, +}; +use frame_system::Account; +use pallet_balances::{Freezes, Holds, TotalIssuance}; +use parachains_common::{AccountId, Balance, SLOT_DURATION}; +use people_kusama_runtime::{ + AllPalletsWithSystem, Balances, Executive, ParachainSystem, Runtime, RuntimeCall, + RuntimeOrigin, Timestamp, +}; +use sp_consensus_aura::{Slot, AURA_ENGINE_ID}; +use sp_runtime::{ + testing::H256, + traits::{Dispatchable, Header as _}, + Digest, DigestItem, Storage, +}; +use sp_state_machine::BasicExternalities; +use std::{ + iter, + time::{Duration, Instant}, +}; + +fn main() { + let accounts: Vec = (0..5).map(|i| [i; 32].into()).collect(); + let genesis = generate_genesis(&accounts); + + ziggy::fuzz!(|data: &[u8]| { + process_input(&accounts, &genesis, data); + }); +} + +fn generate_genesis(accounts: &[AccountId]) -> Storage { + use people_kusama_runtime::{ + AuraConfig, AuraExtConfig, BalancesConfig, CollatorSelectionConfig, ParachainInfoConfig, + ParachainSystemConfig, PolkadotXcmConfig, RuntimeGenesisConfig, SessionConfig, SessionKeys, + SystemConfig, TransactionPaymentConfig, + }; + use sp_consensus_aura::sr25519::AuthorityId as AuraId; + use sp_runtime::app_crypto::ByteArray; + use sp_runtime::BuildStorage; + + let initial_authorities: Vec<(AccountId, AuraId)> = + vec![([0; 32].into(), AuraId::from_slice(&[0; 32]).unwrap())]; + + RuntimeGenesisConfig { + system: SystemConfig::default(), + balances: BalancesConfig { + balances: accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), + dev_accounts: None, + }, + aura: AuraConfig::default(), + session: SessionConfig { + keys: initial_authorities + .iter() + .map(|x| (x.0.clone(), x.0.clone(), SessionKeys { aura: x.1.clone() })) + .collect::>(), + non_authority_keys: vec![], + }, + collator_selection: CollatorSelectionConfig { + invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(), + candidacy_bond: 1 << 57, + desired_candidates: 1, + }, + aura_ext: AuraExtConfig::default(), + parachain_info: ParachainInfoConfig::default(), + parachain_system: ParachainSystemConfig::default(), + polkadot_xcm: PolkadotXcmConfig::default(), + transaction_payment: TransactionPaymentConfig::default(), + } + .build_storage() + .unwrap() +} + +fn recursively_find_call(call: RuntimeCall, matches_on: fn(RuntimeCall) -> bool) -> bool { + if let RuntimeCall::Utility( + pallet_utility::Call::batch { calls } + | pallet_utility::Call::force_batch { calls } + | pallet_utility::Call::batch_all { calls }, + ) = call + { + for call in calls { + if recursively_find_call(call, matches_on) { + return true; + } + } + } else if let RuntimeCall::Utility(pallet_utility::Call::if_else { main, fallback }) = call { + return recursively_find_call(*main, matches_on) + || recursively_find_call(*fallback, matches_on); + } else if let RuntimeCall::Multisig(pallet_multisig::Call::as_multi_threshold_1 { + call, .. + }) + | RuntimeCall::Utility( + pallet_utility::Call::as_derivative { call, .. } + | pallet_utility::Call::dispatch_as { call, .. } + | pallet_utility::Call::with_weight { call, .. } + | pallet_utility::Call::dispatch_as_fallible { call, .. }, + ) + | RuntimeCall::Proxy( + pallet_proxy::Call::proxy { call, .. } | pallet_proxy::Call::proxy_announced { call, .. }, + ) = call + { + return recursively_find_call(*call, matches_on); + } else if matches_on(call.clone()) { + return true; + } + false +} + +fn process_input(accounts: &[AccountId], genesis: &Storage, data: &[u8]) { + let mut extrinsic_data = data; + + let mut block: u32 = 1; + let mut weight: Weight = Weight::zero(); + let mut elapsed: Duration = Duration::ZERO; + + BasicExternalities::execute_with_storage(&mut genesis.clone(), || { + let extrinsics: Vec<(bool, u8, RuntimeCall)> = + iter::from_fn(|| DecodeLimit::decode_with_depth_limit(64, &mut extrinsic_data).ok()) + .filter(|(_, _, x): &(_, _, RuntimeCall)| { + !recursively_find_call(x.clone(), |call| { + matches!( + &call, + RuntimeCall::PolkadotXcm(pallet_xcm::Call::execute { .. }) + ) + }) + }) + .collect(); + + if extrinsics.is_empty() { + return; + } + + let initial_total_issuance = pallet_balances::TotalIssuance::::get(); + + initialize_block(block, None); + + for (advance_block, origin, extrinsic) in extrinsics { + if advance_block { + let prev_header = finalize_block(elapsed); + + block += 1; + weight = Weight::zero(); + elapsed = Duration::ZERO; + + initialize_block(block, Some(&prev_header)); + } + + let pre_weight = extrinsic.get_dispatch_info().call_weight; + let cumulative_weight = weight.saturating_add(pre_weight); + if cumulative_weight.ref_time() >= 2 * WEIGHT_REF_TIME_PER_SECOND { + #[cfg(not(feature = "fuzzing"))] + println!("Extrinsic would exhaust block weight, skipping"); + continue; + } + weight = cumulative_weight; + + let origin = accounts[origin as usize % accounts.len()].clone(); + + #[cfg(not(feature = "fuzzing"))] + println!("\n origin: {origin:?}"); + #[cfg(not(feature = "fuzzing"))] + println!(" call: {extrinsic:?}"); + + let now = Instant::now(); + let res = extrinsic.dispatch(RuntimeOrigin::signed(origin)); + elapsed += now.elapsed(); + + #[cfg(not(feature = "fuzzing"))] + println!(" result: {res:?}"); + + let actual_weight = res.unwrap_or_else(|e| e.post_info).actual_weight; + let post_weight = actual_weight.unwrap_or_default(); + assert!(pre_weight.ref_time().saturating_mul(2) >= post_weight.ref_time(), "Pre-dispatch weight ref time ({}) is smaller than post-dispatch weight ref time ({})", pre_weight.ref_time(), post_weight.ref_time()); + assert!(pre_weight.proof_size().saturating_mul(2) >= post_weight.proof_size(), "Pre-dispatch weight proof size ({}) is smaller than post-dispatch weight proof size ({})", pre_weight.proof_size(), post_weight.proof_size()); + } + + finalize_block(elapsed); + + check_invariants(block, initial_total_issuance); + }); +} + +fn initialize_block(block: u32, prev_header: Option<&Header>) { + #[cfg(not(feature = "fuzzing"))] + println!("\ninitializing block {block}"); + + let pre_digest = Digest { + logs: vec![DigestItem::PreRuntime( + AURA_ENGINE_ID, + Slot::from(2 * u64::from(block)).encode(), + )], + }; + let parent_header = &Header::new( + block, + H256::default(), + H256::default(), + prev_header.map(Header::hash).unwrap_or_default(), + pre_digest, + ); + Executive::initialize_block(parent_header); + + #[cfg(not(feature = "fuzzing"))] + println!(" setting timestamp"); + Timestamp::set(RuntimeOrigin::none(), u64::from(block) * SLOT_DURATION).unwrap(); + + #[cfg(not(feature = "fuzzing"))] + println!(" setting parachain validation data"); + let parachain_validation_data = { + use cumulus_pallet_parachain_system::parachain_inherent::BasicParachainInherentData; + use cumulus_primitives_core::relay_chain::HeadData; + use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; + + let parent_head = HeadData(prev_header.unwrap_or(parent_header).encode()); + let sproof_builder = RelayStateSproofBuilder { + para_id: 100.into(), + current_slot: cumulus_primitives_core::relay_chain::Slot::from(2 * u64::from(block)), + included_para_head: Some(parent_head.clone()), + ..Default::default() + }; + + let relay_parent_offset = 1; + let (relay_parent_storage_root, relay_chain_state, relay_parent_descendants) = + sproof_builder.into_state_root_proof_and_descendants(relay_parent_offset); + BasicParachainInherentData { + validation_data: polkadot_primitives::PersistedValidationData { + parent_head, + relay_parent_number: block, + relay_parent_storage_root, + max_pov_size: 1000, + }, + relay_chain_state, + collator_peer_id: None, + relay_parent_descendants, + } + }; + let inbound_message_data = { + use cumulus_pallet_parachain_system::parachain_inherent::{ + AbridgedInboundMessagesCollection, InboundMessagesData, + }; + InboundMessagesData::new( + AbridgedInboundMessagesCollection::default(), + AbridgedInboundMessagesCollection::default(), + ) + }; + ParachainSystem::set_validation_data( + RuntimeOrigin::none(), + parachain_validation_data, + inbound_message_data, + ) + .unwrap(); +} + +fn finalize_block(elapsed: Duration) -> Header { + #[cfg(not(feature = "fuzzing"))] + println!("\n time spent: {elapsed:?}"); + assert!(elapsed.as_secs() <= 2, "block execution took too much time"); + + #[cfg(not(feature = "fuzzing"))] + println!("finalizing block"); + Executive::finalize_block() +} + +fn check_invariants(block: u32, initial_total_issuance: Balance) { + let mut counted_free = 0; + let mut counted_reserved = 0; + for (account, info) in Account::::iter() { + let consumers = info.consumers; + let providers = info.providers; + assert!(!(consumers > 0 && providers == 0), "Invalid c/p state"); + counted_free += info.data.free; + counted_reserved += info.data.reserved; + let max_lock: Balance = Balances::locks(&account) + .iter() + .map(|l| l.amount) + .max() + .unwrap_or(0); + let max_freeze = Freezes::::get(&account) + .iter() + .map(|freeze| freeze.amount) + .max() + .unwrap_or(0); + assert_eq!( + info.data.frozen, + max_lock.max(max_freeze), + "Frozen balance should be the max of the max lock and max freeze" + ); + let sum_holds: Balance = Holds::::get(&account) + .iter() + .map(|l| l.amount) + .sum(); + assert!( + sum_holds <= info.data.reserved, + "Sum of all holds ({sum_holds}) should be less than or equal to reserved balance {}", + info.data.reserved + ); + } + let total_issuance = TotalIssuance::::get(); + let counted_issuance = counted_free + counted_reserved; + assert!(total_issuance <= counted_issuance,); + assert!(total_issuance <= initial_total_issuance,); + AllPalletsWithSystem::integrity_test(); + AllPalletsWithSystem::try_state(block, TryStateSelect::All).unwrap(); +} diff --git a/runtimes/polkadot/src/main.rs b/runtimes/polkadot/src/main.rs index edd1af2..b787fe7 100644 --- a/runtimes/polkadot/src/main.rs +++ b/runtimes/polkadot/src/main.rs @@ -367,7 +367,7 @@ fn check_invariants(block: u32, initial_total_issuance: Balance) { let total_issuance = TotalIssuance::::get(); let counted_issuance = counted_free + counted_reserved; assert!( - total_issuance == counted_issuance, + total_issuance >= counted_issuance, "Inconsistent total issuance: {total_issuance} but counted {counted_issuance}" ); assert!(