diff --git a/Cargo.lock b/Cargo.lock index 30daa2294e..9ab9727cc6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -120,7 +120,7 @@ dependencies = [ "bytes", "cfg-if", "const-hex", - "derive_more", + "derive_more 0.99.17", "hex-literal", "itoa", "proptest", @@ -243,9 +243,7 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3" +version = "1.0.93" [[package]] name = "approx" @@ -567,8 +565,6 @@ dependencies = [ [[package]] name = "assert_matches" version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "asset-hub-kusama-emulated-chain" @@ -609,7 +605,7 @@ dependencies = [ "parachains-common", "parity-scale-codec", "polkadot-runtime-common", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -689,7 +685,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -745,7 +741,7 @@ dependencies = [ "polkadot-runtime", "polkadot-runtime-common", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -782,6 +778,7 @@ dependencies = [ "hex-literal", "kusama-runtime-constants", "log", + "pallet-ahm-controller", "pallet-asset-conversion", "pallet-asset-conversion-tx-payment", "pallet-assets", @@ -789,6 +786,7 @@ dependencies = [ "pallet-authorship", "pallet-balances", "pallet-collator-selection", + "pallet-indices", "pallet-message-queue", "pallet-multisig", "pallet-nfts", @@ -823,7 +821,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -842,8 +840,6 @@ dependencies = [ [[package]] name = "asset-test-utils" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ccc232efa79f7f180856e9bc8535dbb2d813b62418cda7bf154a713adb9ea36" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -861,7 +857,7 @@ dependencies = [ "parachains-runtimes-test-utils", "parity-scale-codec", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-parachain-info", "staging-xcm", @@ -873,8 +869,6 @@ dependencies = [ [[package]] name = "assets-common" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4e2360c96927aa33b3fef7190eabf2aa4129fe3505c11dfa860ada0f27fd1b1" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -886,7 +880,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -1179,9 +1173,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b5c0fd4282c30c05647e1052d71bf1a0c8067ab1e9a8fc6d0c292dce0ecb237" +version = "15.0.1" dependencies = [ "hash-db", "log", @@ -1408,8 +1400,6 @@ dependencies = [ [[package]] name = "bp-bridge-hub-cumulus" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48cca10dce1c6d2914e48594f13add2da4a5b7c3ed54fd0fa324054dfb8569a" dependencies = [ "bp-messages", "bp-polkadot-core", @@ -1432,7 +1422,7 @@ dependencies = [ "kusama-runtime-constants", "polkadot-runtime-constants", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "system-parachains-constants", ] @@ -1450,7 +1440,7 @@ dependencies = [ "polkadot-runtime-constants", "snowbridge-core", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "system-parachains-constants", @@ -1459,8 +1449,6 @@ dependencies = [ [[package]] name = "bp-header-chain" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57cac4b71008e46d43e346476ed1be85cf7b505efacee17dad84d687344bf1b1" dependencies = [ "bp-runtime", "finality-grandpa", @@ -1470,15 +1458,13 @@ dependencies = [ "serde", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "bp-kusama" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00615c1d380587c2e211a2d4d1c1ee490a743e32f478b1bba8deda76958d68ff" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1491,8 +1477,6 @@ dependencies = [ [[package]] name = "bp-messages" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97eec00a98efeb052ac9fc9676d9fccf5acd19e3b18530f3d72af1a1faf21ec" dependencies = [ "bp-header-chain", "bp-runtime", @@ -1507,8 +1491,6 @@ dependencies = [ [[package]] name = "bp-parachains" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60c0bde723a5daf39f4f02816483c9ac049818990b06858dff751736636a4ea2" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1518,15 +1500,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "bp-polkadot" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7612420844a580cb268ea1846fe82fb4bd1825b53e9b6dcd56904b3d7f7ea7c" dependencies = [ "bp-header-chain", "bp-polkadot-core", @@ -1539,8 +1519,6 @@ dependencies = [ [[package]] name = "bp-polkadot-bulletin" version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb5b3cd885b40b52bf96e52ffbec92d0c435f7303fc11374ccfcfa5bebfbc4f" dependencies = [ "bp-header-chain", "bp-messages", @@ -1551,15 +1529,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "bp-polkadot-core" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ef2272823ecfee580c00f6542dfcab3ec7abdb00857af853429736847c3a2d9" dependencies = [ "bp-messages", "bp-runtime", @@ -1570,30 +1546,26 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "bp-relayers" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a589f5bb70baa4377a798823be752042aa6c220d51afc559716667e29b0203d" dependencies = [ "bp-messages", "bp-runtime", "frame-support", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "bp-runtime" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904644c23b437dde65741f3148067624ed0b4d8360f68adf9e92273aeb970814" dependencies = [ "frame-support", "frame-system", @@ -1606,7 +1578,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -1629,7 +1601,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -1646,20 +1618,16 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7dae4d1ec894ee920195dd39070b279ef3c1d4d078c3fcf7336c93a1d502a9d" dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "bridge-hub-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd1e0c182cdd2ce204425d011965d2c6344360b48dd9aa3f4c470713cfaae9ba" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -1668,7 +1636,7 @@ dependencies = [ "scale-info", "snowbridge-core", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -1716,7 +1684,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-router-primitives", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -1798,7 +1766,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -1858,7 +1826,7 @@ dependencies = [ "snowbridge-pallet-system", "snowbridge-router-primitives", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -1951,7 +1919,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keyring", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -1971,8 +1939,6 @@ dependencies = [ [[package]] name = "bridge-hub-test-utils" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf6c88899f02bc16e383de957a17e01ad7c29d7e51e9c35fa4b70de3fa521f57" dependencies = [ "asset-test-utils", "bp-header-chain", @@ -2001,7 +1967,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-xcm", @@ -2012,8 +1978,6 @@ dependencies = [ [[package]] name = "bridge-runtime-common" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "639591635551f94b6e310852430b669495bd99cfd2af20b00a00f6cc7169e70d" dependencies = [ "bp-header-chain", "bp-messages", @@ -2038,7 +2002,7 @@ dependencies = [ "sp-api", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", "staging-xcm", @@ -2301,9 +2265,7 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80c21025abd42669a92efc996ef13cfb2c5c627858421ea58d5c3b331a6c134f" +version = "4.5.13" dependencies = [ "clap_builder", "clap_derive", @@ -2311,9 +2273,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.0" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "458bf1f341769dfcf849846f65dffdf9146daa56bcd2a47cb4e1de9915567c99" +checksum = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" dependencies = [ "anstream", "anstyle", @@ -2323,11 +2285,11 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.0" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.65", @@ -2390,7 +2352,7 @@ dependencies = [ "polkadot-runtime-constants", "polkadot-system-emulated-network", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "system-parachains-constants", @@ -2460,7 +2422,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -2644,7 +2606,7 @@ dependencies = [ "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -2705,7 +2667,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -2753,7 +2715,7 @@ dependencies = [ "polkadot-runtime-constants", "polkadot-runtime-parachains", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -2814,7 +2776,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -3064,8 +3026,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e8af48090936c45483d489ee681acb54277763586b53fa3dbd17173aa474fc" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -3076,15 +3036,13 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "cumulus-pallet-parachain-system" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d5509bd8ac95bafe158fa475278315175a4eb0422c2cd82e08e8b9dde035c" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -3107,7 +3065,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3132,23 +3090,19 @@ dependencies = [ [[package]] name = "cumulus-pallet-session-benchmarking" version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "506daacefa861aa2909b64f26e76495ce029227fd8355b97e074cc1d5dc54ab2" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "parity-scale-codec", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "cumulus-pallet-xcm" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d5224285f60e5159bab549f458079d606a7f95ef779def8b89f1a244dc7cf81" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3156,7 +3110,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -3164,8 +3118,6 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0adf5409618b21e754fef0ac70f257878d22d61c48fdeefcab666835dcb8e0f0" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -3181,7 +3133,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -3191,23 +3143,19 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7977947ad43a4cbc532ca33abcde136ae3deffdc7168b2ae253d73ccd371e4" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", "sp-api", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "cumulus-primitives-core" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "751e64b89a839d5cfabebc1c797936e5eee791d0fa2322d91e86f8440a743ddb" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -3215,7 +3163,7 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", "staging-xcm", @@ -3233,7 +3181,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3253,8 +3201,6 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05742c520065e3870d419683113ed7f6d35de66f0c80af6828e7878d1bb0ea94" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -3264,7 +3210,7 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-parachains", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -3280,7 +3226,7 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", "sp-trie 36.0.0", @@ -3549,6 +3495,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.65", +] + [[package]] name = "difflib" version = "0.4.0" @@ -3793,8 +3759,6 @@ dependencies = [ [[package]] name = "emulated-integration-tests-common" version = "11.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef7c980b99bb2e4edfc9535d4096c1d0b5c8e3b52aab38a497a79563e6005f7" dependencies = [ "asset-test-utils", "bp-messages", @@ -3819,7 +3783,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "xcm-emulator", ] @@ -3842,8 +3806,6 @@ dependencies = [ [[package]] name = "encointer-balances-tx-payment" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e0a21785d37fcc1d2bc52c4b962ed0ecc1ea0ad7b1421c84c57edb9e11a3d34" dependencies = [ "encointer-primitives", "frame-support", @@ -3853,14 +3815,12 @@ dependencies = [ "pallet-encointer-balances", "pallet-encointer-ceremonies", "pallet-transaction-payment", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "encointer-balances-tx-payment-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449bca6d70a53456d223f2da58189e56a69eff96249b3d660d7d6123d0c824e9" dependencies = [ "encointer-primitives", "frame-support", @@ -3877,7 +3837,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b698a2f681dee5795ef660661df3165d3287807ba4e78fcc874880b18b3f7ec" dependencies = [ "encointer-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -3954,7 +3914,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-transaction-pool", @@ -3978,15 +3938,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "encointer-primitives" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66f3cfb30d32e288aee27656132ebac5cc30b82ffb7e82eba92e568cdd0b1f25" dependencies = [ "bs58 0.5.0", "crc", @@ -3998,7 +3956,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "substrate-geohash", ] @@ -4029,18 +3987,16 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +version = "0.7.10" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", @@ -4090,7 +4046,7 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "substrate-fixed", ] @@ -4381,8 +4337,6 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "709b26657ebbba53dc7bb616577375ca462b20fef1b00e8d9b20d2435e87f7bc" dependencies = [ "frame-support", "frame-support-procedural", @@ -4397,7 +4351,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-std", "sp-storage 21.0.0", @@ -4419,8 +4373,6 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1ec289ebad5e601bb165cf7eb6ec2179ae34280ee310d0710a3111d4f8f8f94" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -4430,15 +4382,13 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "frame-executive" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d878830330eaa9e8b886279c338556b05702d0059989cb51cfb226b70bf3fa4" dependencies = [ "aquamarine", "frame-support", @@ -4449,7 +4399,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", ] @@ -4480,8 +4430,6 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf37fc730bf4b51e82a34c6357eebe32c04dbacf6525e0a7b9726f6a17ec9427" dependencies = [ "array-bytes", "docify", @@ -4490,7 +4438,7 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -4508,7 +4456,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "spinners", "substrate-rpc-client", @@ -4518,9 +4466,7 @@ dependencies = [ [[package]] name = "frame-support" -version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512b517645f29d76c79e4c97bf8b0f4dcb6708a2af3be24b1956085dcdcf6ce5" +version = "36.0.1" dependencies = [ "aquamarine", "array-bytes", @@ -4548,7 +4494,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-metadata-ir", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-state-machine 0.42.0", "sp-std", @@ -4604,9 +4550,7 @@ dependencies = [ [[package]] name = "frame-system" -version = "36.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19f388280c14dbabcee2a817e1123c59c55847c6d07a5b5ca901b34a5910093" +version = "36.1.0" dependencies = [ "cfg-if", "docify", @@ -4617,7 +4561,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-version", "sp-weights 31.0.0", @@ -4626,8 +4570,6 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15afc91c7780e18274dcea58ed1edb700c48d10e086a9785e3f6708099cd3250" dependencies = [ "frame-benchmarking", "frame-support", @@ -4635,15 +4577,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "frame-system-rpc-runtime-api" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9e2b7b85e451e367f4fb85ff3295bd039e17f64de1906154d3976e2638ee8" dependencies = [ "parity-scale-codec", "sp-api", @@ -4652,13 +4592,11 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae6ba8b36a52775ad39ccfb45ff4ad814c3cb45ec74d0a4271889e00bd791c6c" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -4914,7 +4852,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -5044,9 +4982,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -5063,8 +5001,6 @@ checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20" [[package]] name = "hex-literal" version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hkdf" @@ -6119,7 +6055,7 @@ dependencies = [ "polkadot-runtime-common", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", "staging-xcm-builder", ] @@ -6780,9 +6716,7 @@ dependencies = [ [[package]] name = "log" -version = "0.4.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +version = "0.4.22" [[package]] name = "lru" @@ -6996,13 +6930,14 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.10" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ + "hermit-abi", "libc", "wasi", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -7420,6 +7355,12 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -7604,11 +7545,24 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "pallet-ahm-controller" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "pallet-balances", + "pallet-indices", + "parity-scale-codec", + "scale-info", + "sp-io 37.0.0", + "sp-runtime 38.0.1", + "staging-xcm", +] + [[package]] name = "pallet-alliance" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6c2c92855904f34ce42de688cc9411ffcb4c3f13751af2dafd52474d540b158" dependencies = [ "array-bytes", "frame-benchmarking", @@ -7622,15 +7576,13 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-asset-conversion" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f726ebb59401c1844a4a8703047bdafcd99a1827cd5d8b2c82abeb8948a7f25b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7642,15 +7594,13 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-asset-conversion-tx-payment" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0fde03a96382f4dbe37ef95cb4ef7aade7c0be410cb6c888eda911c94af3eaf" dependencies = [ "frame-support", "frame-system", @@ -7658,15 +7608,13 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-asset-rate" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e806842bec955190ec64f8b2179f74f5355137c4cadf04f3269e6196cd19caf9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7674,15 +7622,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-asset-tx-payment" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "100a180dfbf30a1c872100ec2dae8a61c0f5e8b3f2d3a5cbb34093826293e2ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7693,15 +7639,13 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-assets" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79ef6a7763fc08177f014052469ee12aefcdad0d99a747372360c2f648d2cc4" dependencies = [ "frame-benchmarking", "frame-support", @@ -7711,15 +7655,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-aura" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0861b2a1ad6526948567bb59a3fdc4c7f02ee79b07be8b931a544350ec35ab0c" dependencies = [ "frame-support", "frame-system", @@ -7729,15 +7671,13 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-consensus-aura", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-authority-discovery" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2c3666a476132f5846fe4d5e1961a923a58a0f54d873d84566f24ffaa3684f" dependencies = [ "frame-support", "frame-system", @@ -7746,30 +7686,26 @@ dependencies = [ "scale-info", "sp-application-crypto 37.0.0", "sp-authority-discovery", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-authorship" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38885846dbcf03b025fdbd7edb3649046dbc68fa0b419ffe8837ef853a10d31f" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-babe" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b23d2d814e3cb793659fcf84533f66fdf0ed9cccb66cb2225851f482843ed096" dependencies = [ "frame-benchmarking", "frame-support", @@ -7784,7 +7720,7 @@ dependencies = [ "sp-consensus-babe", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -7793,8 +7729,6 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af34fa3fb6a0abe3577e435988039a9e441f6705ae2d3ad627a23e3f705baa2d" dependencies = [ "aquamarine", "docify", @@ -7808,7 +7742,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", ] @@ -7816,25 +7750,23 @@ dependencies = [ [[package]] name = "pallet-balances" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6878e240962d3887f0e0654ac343a18845adb95ad493c9d4d5e803c015d4a4c3" dependencies = [ "docify", + "either", "frame-benchmarking", "frame-support", "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-io 37.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-beefy" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "715dfcd1bf3f1f37af6335d4eb3cef921e746ac54721e2258c4fd968b61eb009" dependencies = [ "frame-support", "frame-system", @@ -7845,7 +7777,7 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -7854,8 +7786,6 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d70c6f872eb3f2635355ccbea944a4f9ea411c0aa25f6f1a15219e8da11ad2" dependencies = [ "array-bytes", "binary-merkle-tree", @@ -7872,7 +7802,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-std", ] @@ -7880,8 +7810,6 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0566499e74ba4b7ccbd1b667eef0dab76ca28402a8d501e22b73a363717b05a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -7892,15 +7820,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-bridge-grandpa" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61d30a4860bb12559dc28b2d46dd865e2066bce83239230f748e2c569a3cadf4" dependencies = [ "bp-header-chain", "bp-runtime", @@ -7913,7 +7839,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-consensus-grandpa", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -7921,8 +7847,6 @@ dependencies = [ [[package]] name = "pallet-bridge-messages" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3c0fcb1b9ae50ece73cbe36b72c2778f5d4637e4fb0cfac30cb16f7d4b61d5e" dependencies = [ "bp-messages", "bp-runtime", @@ -7933,15 +7857,13 @@ dependencies = [ "num-traits", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-bridge-parachains" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3974fb658cf1b9ca8c2d3c77bf080b2f94c054c2b466b709ef29f6d3726f2231" dependencies = [ "bp-header-chain", "bp-parachains", @@ -7954,7 +7876,7 @@ dependencies = [ "pallet-bridge-grandpa", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-trie 36.0.0", ] @@ -7962,8 +7884,6 @@ dependencies = [ [[package]] name = "pallet-bridge-relayers" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c92383f4c7d1eaced8413e39b948227a527a0136f705660580c57753dc11568" dependencies = [ "bp-messages", "bp-relayers", @@ -7976,15 +7896,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic 26.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-broker" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd0d652c399b6ed776ee3322e60f40e323f86b413719d7696eddb8f64c368ac0" dependencies = [ "bitvec", "frame-benchmarking", @@ -7996,15 +7914,13 @@ dependencies = [ "sp-api", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-child-bounties" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38e351f103ebbdd1eb095da8c2379caccc82ebc59a740c2731693d2204286b83" dependencies = [ "frame-benchmarking", "frame-support", @@ -8016,15 +7932,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-collator-selection" version = "17.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f660cc09f2f277a3976da2eef856b5c725ab7ad1192902ef7f4e4bafd992f04f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8036,7 +7950,7 @@ dependencies = [ "parity-scale-codec", "rand", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8044,8 +7958,6 @@ dependencies = [ [[package]] name = "pallet-collective" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771bf7f6c76c3ea5e965fee0bf1d8a8c79c8c52d75ead65ed3c4d385f333756f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8055,15 +7967,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-conviction-voting" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9033f0d23500bbc39298fd50c07b89a2f2d9f07300139b4df8005995ef683875" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8073,15 +7983,13 @@ dependencies = [ "scale-info", "serde", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-core-fellowship" version = "20.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99f3caf5d750236fce5f59fa464a9ca5bbefedd97f2570caa96cf7bdd2ec5261" dependencies = [ "frame-benchmarking", "frame-support", @@ -8093,7 +8001,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -8107,7 +8015,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8115,8 +8023,6 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd1090fdc6ccdd8ff08c60000c970428baaaf0b33e7a6b01a91ec8b697a650a3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8131,7 +8037,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "strum 0.26.3", ] @@ -8139,23 +8045,19 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93475989d2f6900caf8f1c847a55d909295c156525a7510c5f1dde176ec7c714" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-balances" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85fe03301d9f19ce476b6ce91e0531c6c91b6cb26df88ff4a490ab7493afe026" dependencies = [ "approx", "encointer-primitives", @@ -8167,15 +8069,13 @@ dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-bazaar" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10d38c490fdd90b649b3ec68a8bb25d3cdfaa11223122482737114e00e29f8a5" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8192,8 +8092,6 @@ dependencies = [ [[package]] name = "pallet-encointer-bazaar-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdfc381df1d6346e244994d4a5729b79b60f964ba4c13e29ea2f057627e1db25" dependencies = [ "encointer-primitives", "frame-support", @@ -8205,8 +8103,6 @@ dependencies = [ [[package]] name = "pallet-encointer-ceremonies" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b76d07f98908e1528413fc4f07162adaaadec0ebe8043fe1beb23ccd2b571b7a" dependencies = [ "encointer-ceremonies-assignment", "encointer-meetup-validation", @@ -8224,15 +8120,13 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-ceremonies-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c186e855a19f98ba75ef8d674e71533584620a3d7a8ff653631c391f7a4a9b79" dependencies = [ "encointer-primitives", "frame-support", @@ -8244,8 +8138,6 @@ dependencies = [ [[package]] name = "pallet-encointer-communities" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbd4cb15599fc47c662234cfdb2c1c63f39106c4099383d84c981fe5c40af0e" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8257,15 +8149,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-communities-rpc-runtime-api" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bf0ab6667ef6adb7712810f90301e3047e2b7d18ef0e81017dfc9b823d8696f" dependencies = [ "encointer-primitives", "parity-scale-codec", @@ -8276,8 +8166,6 @@ dependencies = [ [[package]] name = "pallet-encointer-democracy" version = "13.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a85ffc73a3a0f927873ff96116cb994bc68f9fac509a556eb0b053265232724" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8295,15 +8183,13 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-faucet" version = "13.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3493685d55804d44c674429c7f6eae641700542a4295eea9604677a006ecd46" dependencies = [ "approx", "encointer-primitives", @@ -8316,15 +8202,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-reputation-commitments" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb74f5a90b77739db9829a5aa640afc002fd9ebe05ecf07dd61898a98909d5d" dependencies = [ "approx", "encointer-primitives", @@ -8339,15 +8223,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-scheduler" version = "13.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc3be9d4a09bd65fad4968354b320cd3cd1913950891293e00fbc879fc09b5d6" dependencies = [ "encointer-primitives", "frame-benchmarking", @@ -8358,15 +8240,13 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-treasuries" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65f42991fce5d96f04106e5d27d4c12c77250d70da9ac95497e8fb17a3ebe99f" dependencies = [ "approx", "encointer-primitives", @@ -8379,15 +8259,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-encointer-treasuries-rpc-runtime-api" version = "13.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8bcfc738dde3b75aba337d33ffb9cc109ac5c9f3fed24ce32f1f8c0ee39ab0" dependencies = [ "encointer-primitives", "frame-support", @@ -8400,8 +8278,6 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9155f4f762513e0287320411415c76a647152799ad33db1785c9b71c36a14575" dependencies = [ "docify", "frame-benchmarking", @@ -8412,7 +8288,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8420,8 +8296,6 @@ dependencies = [ [[package]] name = "pallet-glutton" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9947ef904cd7662b80f8dee58e03431ee409dacada26d394c34a7bb642d3eeea" dependencies = [ "blake2 0.10.6", "frame-benchmarking", @@ -8433,15 +8307,13 @@ dependencies = [ "sp-core 34.0.0", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-grandpa" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8244b686d5cae6a8af1557ed0f49db08f812f0e7942a8d2da554b4da8a69daf0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8455,7 +8327,7 @@ dependencies = [ "sp-consensus-grandpa", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -8464,8 +8336,6 @@ dependencies = [ [[package]] name = "pallet-identity" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4555795a3e0e3aa49ea432b7afecb9c71a7db8793a99c68bd8dd3a52a12571f3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8475,15 +8345,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-im-online" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa761292e95020304b58b50e5187f8bb82f557c8c2d013e3c96ab41d611873b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8495,7 +8363,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8503,41 +8371,36 @@ dependencies = [ [[package]] name = "pallet-indices" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b183880ad5efae06afe6066e76f2bac5acf67f34b3cfab7352ceec46accf4b45" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-insecure-randomness-collective-flip" version = "24.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30555c1b6d76cca7266b639f127a055a4974f5a0796859933cbfebc9a75753a2" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "safe-mix", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-membership" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34006cf047f47edbef33874cc64895918e2c5d7562795209068d5fb388c53a30" dependencies = [ "frame-benchmarking", "frame-support", @@ -8547,15 +8410,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-message-queue" -version = "39.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20e65a37881d1998546254a5e50a1f768b3f82deabe774e750f4ea95aba8030c" +version = "39.0.1" dependencies = [ "environmental", "frame-benchmarking", @@ -8567,7 +8428,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -8575,8 +8436,6 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf8ccec82827413f031689fef4c714fdb0213d58c7a6e208d33f5eab80483770" dependencies = [ "frame-benchmarking", "frame-support", @@ -8587,15 +8446,13 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-mmr-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-multisig" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be58483d827602eb8353ecf36aed65c857f0974db5d27981831e5ebf853040bd" dependencies = [ "frame-benchmarking", "frame-support", @@ -8604,15 +8461,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-nft-fractionalization" version = "18.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dcaa330221f60feaf3b23d495cccc3bf2a3d6254c596b3c032273c2b46d4078" dependencies = [ "frame-benchmarking", "frame-support", @@ -8622,15 +8477,13 @@ dependencies = [ "pallet-nfts", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-nfts" version = "30.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e1cd476809de3840e19091a083d5a79178af1f108ad489706e1f9e04c8836a4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8641,15 +8494,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-nfts-runtime-api" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0ca7a0446d2d3c27f726a016c6366218df2e0bfef9ed35886b252cfa9757f6c" dependencies = [ "pallet-nfts", "parity-scale-codec", @@ -8660,8 +8511,6 @@ dependencies = [ [[package]] name = "pallet-nis" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e77cba0e15749c8de2be65efffa51e02bd051b4e6fcf23360d43c3b6a859187c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8670,15 +8519,13 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-nomination-pools" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f8c994eb7298a394b58f98afd520b521b5d46f6f39eade4657eeaac9962471" dependencies = [ "frame-support", "frame-system", @@ -8688,7 +8535,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", "sp-tracing 17.0.0", @@ -8697,8 +8544,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39ee599f2861e55fc6113c01e9b14d6e85fda46bac36a906b5dd5a951fa0455c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8710,7 +8555,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-staking", "sp-std", @@ -8719,8 +8564,6 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "31.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2906899d8f029780f0d9da77b90ae86f42bcfda5ac402c931406cd84852012ed" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8731,8 +8574,6 @@ dependencies = [ [[package]] name = "pallet-offences" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4859e7bb2af46d2e0f137c2f777adf39f0e5d4d188226158d599f1cfcfb76b9e" dependencies = [ "frame-support", "frame-system", @@ -8741,7 +8582,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8749,8 +8590,6 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4351b0edafcdf3240f0471c638b39d2c981bde9d17c0172536a0aa3b7c3097ef" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8766,7 +8605,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -8774,8 +8613,6 @@ dependencies = [ [[package]] name = "pallet-parameters" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58d9a81a93202105a660e6aa3d3f81638bdd109ca0497f3e528529cd52d034db" dependencies = [ "docify", "frame-benchmarking", @@ -8786,15 +8623,13 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-preimage" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ac726abc5b1bcd6c8f783514b8e1a48be32c7d15e0b263e4bc28cc1e4e7763" dependencies = [ "frame-benchmarking", "frame-support", @@ -8804,15 +8639,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-proxy" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4e12680e176607815a78a0cd10a52af50790292cb950404f30a885e2a7229e9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8820,15 +8653,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-ranked-collective" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "862ea8d386ed5737e859470c43cbfd9652c81398cad29e03ae7846c21aaee4c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8840,15 +8671,13 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-recovery" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b24d4131bc79fee0b07550136ca6329faa84c1c3e76ae62a74aef6b1da0b95b4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8856,15 +8685,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-referenda" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2c906a9c4573eb58de4134ec7180bf12c6769df2b9859dae8adcbc5fce78add" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8876,15 +8703,13 @@ dependencies = [ "serde", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-salary" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6246871441f85b32d67f70ef13726ac195b05f8e9297df7c46a95a397b8df42" dependencies = [ "frame-benchmarking", "frame-support", @@ -8896,15 +8721,13 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-scheduler" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b170d6aa191197d3f50b1193925546972ffc394376ead4d2739eb40909b73c85" dependencies = [ "docify", "frame-benchmarking", @@ -8914,7 +8737,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -8922,8 +8745,6 @@ dependencies = [ [[package]] name = "pallet-session" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c92b24c911c2cfa5351616edc7f2f93427ea6f4f95efdb13f0f5d51997939c3" dependencies = [ "frame-support", "frame-system", @@ -8934,7 +8755,7 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-state-machine 0.42.0", @@ -8945,8 +8766,6 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd02aaf5f10734670346677042ece94fae20dcd5436eafeb9b429d8d6d5b6385" dependencies = [ "frame-benchmarking", "frame-support", @@ -8955,7 +8774,7 @@ dependencies = [ "pallet-staking", "parity-scale-codec", "rand", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", ] @@ -8963,8 +8782,6 @@ dependencies = [ [[package]] name = "pallet-society" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66b60b1d726532317f9965bab4995aa49b73f9b7ca3b9a0f75d158bd84686c5f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8975,15 +8792,13 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-staking" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbebdb060417654f215fc6f03675e5f44cfc83837d9e523e1b8fd9a4a2e1bdc2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8998,7 +8813,7 @@ dependencies = [ "serde", "sp-application-crypto 37.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -9006,8 +8821,6 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "12.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db5e6b1d8ee9d3f6894c5abd8c3e17737ed738c9854f87bfd16239741b7f4d5d" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -9018,8 +8831,6 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "22.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "988a7ebeacc84d4bdb0b12409681e956ffe35438447d8f8bc78db547cffb6ebc" dependencies = [ "log", "sp-arithmetic 26.0.0", @@ -9028,8 +8839,6 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3350ef1795b832f4adc464e88fb6d44827bd3f98701b0b0bbee495267b444a92" dependencies = [ "parity-scale-codec", "sp-api", @@ -9039,8 +8848,6 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e07f8626f4ff62ac79d6ad0bd01fab7645897ce35706ddb95fa084e75be9306d" dependencies = [ "frame-benchmarking", "frame-support", @@ -9050,15 +8857,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-sudo" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd2a8797c1bb3d3897b4f87a7716111da5eeb8561345277b6e6d70349ec8b35" dependencies = [ "docify", "frame-benchmarking", @@ -9067,15 +8872,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-timestamp" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae789d344be857679b0b98b28a67c747119724847f81d704d3fd03ee13fb6841" dependencies = [ "docify", "frame-benchmarking", @@ -9086,7 +8889,7 @@ dependencies = [ "scale-info", "sp-inherents", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-storage 21.0.0", "sp-timestamp", @@ -9095,8 +8898,6 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74fb6114223c8d967c3c2f21cbc845e8ea604ff7e21a8e59d119d5a9257ba886" dependencies = [ "frame-support", "frame-system", @@ -9105,28 +8906,24 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4bad1700ad7eb5ab254189e1df894d1d16b3626a3c4b9c45259ec4d9efc262c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", ] [[package]] name = "pallet-treasury" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c502615bb4fdd02856a131cb2a612ad40c26435ec938f65f11cae4ff230812b" dependencies = [ "docify", "frame-benchmarking", @@ -9138,15 +8935,13 @@ dependencies = [ "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-uniques" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a59e8599a8c19908e934645f845b5cb546cef1f08745319db7e5b9c24f9e0e4" dependencies = [ "frame-benchmarking", "frame-support", @@ -9154,15 +8949,13 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-utility" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3238fe6ad00da6a137be115904c39cab97eb5c7f03da0bb1a20de1bef03f0c71" dependencies = [ "frame-benchmarking", "frame-support", @@ -9171,15 +8964,13 @@ dependencies = [ "scale-info", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-vesting" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78f7f0f4fe5e1d851e85d81e5e73b6f929f0c35af786ce8be9c9e3363717c136" dependencies = [ "frame-benchmarking", "frame-support", @@ -9187,15 +8978,13 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-whitelist" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4f27640279229eb73fde0cb06e98b799305e6b0bc724f4dfbef2001ab4ad00" dependencies = [ "frame-benchmarking", "frame-support", @@ -9203,15 +8992,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "pallet-xcm" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe7409458b7fedc5c7d46459da154ccc2dc22a843ce08e8ab6c1743ef5cf972c" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -9224,7 +9011,7 @@ dependencies = [ "serde", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9235,8 +9022,6 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f177a171203cc0bec3cff1bdd5d3b926abfbd0ecf347e044b147194e664f717" dependencies = [ "frame-benchmarking", "frame-support", @@ -9245,7 +9030,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9255,8 +9040,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub" version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b663d0aca0364d576464bd3c976c72ebfe51b3d5f5367686eb7da72c6cb71f23" dependencies = [ "bp-messages", "bp-runtime", @@ -9269,7 +9052,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9279,8 +9062,6 @@ dependencies = [ [[package]] name = "pallet-xcm-bridge-hub-router" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f48bd38d4061a51f263f4c08021e66100e16cbda9978fba163d2544637b31dab" dependencies = [ "bp-xcm-bridge-hub-router", "frame-benchmarking", @@ -9290,7 +9071,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -9299,8 +9080,6 @@ dependencies = [ [[package]] name = "parachains-common" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9319e656eebdf161666e54a4d8e24f73137f702f01600247f7be650bc4d46167" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9320,7 +9099,7 @@ dependencies = [ "sp-consensus-aura", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-parachain-info", "staging-xcm", @@ -9331,8 +9110,6 @@ dependencies = [ [[package]] name = "parachains-runtimes-test-utils" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c778447d2e71a418b083c0458579d0f8d13872f43c63142d9e5157edea000bdd" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -9351,7 +9128,7 @@ dependencies = [ "sp-consensus-aura", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-parachain-info", @@ -9514,9 +9291,7 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +version = "1.0.15" [[package]] name = "pbkdf2" @@ -9565,8 +9340,6 @@ dependencies = [ [[package]] name = "penpal-runtime" version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e9e9644360684706e3f4abcc85ccec611d142d5f7c2b72c12e7c0d28c49de1" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -9611,7 +9384,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9657,7 +9430,7 @@ dependencies = [ "parity-scale-codec", "people-kusama-runtime", "polkadot-runtime-common", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-kusama-runtime", "staging-xcm", "staging-xcm-executor", @@ -9718,7 +9491,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9766,7 +9539,7 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-constants", "polkadot-system-emulated-network", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-xcm", "staging-xcm-executor", "xcm-runtime-apis", @@ -9825,7 +9598,7 @@ dependencies = [ "sp-genesis-builder", "sp-inherents", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-std", "sp-storage 21.0.0", @@ -9985,13 +9758,11 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17c72ee63bcf920f963cd7ac066759b0b649350c8ab3781a85a6aac87b1488f2" dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -10010,23 +9781,21 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "polkadot-parachain-primitives" version = "13.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f61070d0ff28f596890def0e0d03c231860796130b2a43e293106fa86a50c9a9" dependencies = [ "bounded-collections", - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", ] @@ -10034,8 +9803,6 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a4879609f4340138930c3c7313256941104a3ff6f7ecb2569d15223da9b35b2" dependencies = [ "bitvec", "hex-literal", @@ -10054,7 +9821,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", "sp-std", ] @@ -10076,6 +9843,7 @@ dependencies = [ "frame-try-runtime", "hex-literal", "log", + "pallet-ahm-controller", "pallet-asset-rate", "pallet-authority-discovery", "pallet-authorship", @@ -10148,7 +9916,7 @@ dependencies = [ "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -10169,8 +9937,6 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "15.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28fdcb41bb21c7b14d0341a9a17364ccc04ad34de05d41e7938cb03acbc11066" dependencies = [ "bitvec", "frame-benchmarking", @@ -10208,7 +9974,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-npos-elections", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -10227,7 +9993,7 @@ dependencies = [ "polkadot-runtime-common", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-weights 31.0.0", "staging-xcm-builder", ] @@ -10254,7 +10020,7 @@ checksum = "a6cb1cf1fa41c64b0b515a33d7bd388c3af0de31e5f93bd4c2b220e408f7f968" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more", + "derive_more 0.99.17", "frame-benchmarking", "frame-support", "frame-system", @@ -10286,7 +10052,7 @@ dependencies = [ "sp-inherents", "sp-io 37.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -10548,8 +10314,6 @@ dependencies = [ [[package]] name = "primitive-types" version = "0.12.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", @@ -11178,7 +10942,7 @@ dependencies = [ "polkadot-primitives", "scale-info", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -11581,7 +11345,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" dependencies = [ "byteorder", - "derive_more", + "derive_more 0.99.17", "twox-hash", ] @@ -11653,15 +11417,13 @@ dependencies = [ "sp-blockchain", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-trie 36.0.0", ] [[package]] name = "sc-chain-spec" version = "35.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04100ec7ff9cf1f2052b05086c77cc216ff7268b8c4fe41007de420bc1f70be" dependencies = [ "array-bytes", "docify", @@ -11680,7 +11442,7 @@ dependencies = [ "sp-crypto-hashing", "sp-genesis-builder", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-tracing 17.0.0", ] @@ -11717,7 +11479,7 @@ dependencies = [ "sp-core 34.0.0", "sp-database", "sp-externalities 0.29.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "sp-statement-store", "sp-storage 21.0.0", @@ -11744,7 +11506,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "substrate-prometheus-endpoint", "thiserror", @@ -11790,7 +11552,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", ] @@ -11890,15 +11652,13 @@ dependencies = [ "sp-core 34.0.0", "sp-keystore 0.40.0", "sp-mixnet", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] [[package]] name = "sc-network" version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04be75f35cea819bae84be99cde138872b17494acf0e54f5f0ae8b0ed3fbe51a" dependencies = [ "array-bytes", "async-channel 1.9.0", @@ -11935,7 +11695,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-blockchain", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -11962,7 +11722,7 @@ dependencies = [ "sc-network-types", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -11980,7 +11740,7 @@ dependencies = [ "sc-network-sync", "sc-network-types", "schnellru", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "tracing", ] @@ -12016,7 +11776,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "substrate-prometheus-endpoint", "thiserror", "tokio", @@ -12057,7 +11817,7 @@ dependencies = [ "serde_json", "sp-core 34.0.0", "sp-rpc", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-version", "thiserror", ] @@ -12096,7 +11856,7 @@ dependencies = [ "serde", "sp-blockchain", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] @@ -12144,7 +11904,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afc79ba56a1c742f5aeeed1f1801f3edf51f7e818f0a54582cac6f131364ea7b" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "primitive-types", "scale-bits 0.5.0", @@ -12159,7 +11919,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b12ebca36cec2a3f983c46295b282b35e5f8496346fb859a8776dad5389e5389" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "scale-bits 0.6.0", "scale-type-resolver 0.2.0", @@ -12184,7 +11944,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "628800925a33794fb5387781b883b5e14d130fece9af5a63613867b8de07c5c7" dependencies = [ - "derive_more", + "derive_more 0.99.17", "parity-scale-codec", "primitive-types", "scale-bits 0.5.0", @@ -12208,13 +11968,11 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +version = "2.11.5" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-info-derive", "serde", @@ -12222,14 +11980,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "46385cc24172cf615450267463f937c10072516359b3ff1cb24228a4a08bf951" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.65", ] [[package]] @@ -12269,7 +12027,7 @@ checksum = "c07ccfee963104335c971aaf8b7b0e749be8569116322df23f1f75c4ca9e4a28" dependencies = [ "base58", "blake2 0.10.6", - "derive_more", + "derive_more 0.99.17", "either", "frame-metadata 15.1.0", "parity-scale-codec", @@ -12485,14 +12243,10 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "separator" version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f97841a747eef040fcd2e7b3b9a220a7205926e60488e673d9e4926d27772ce5" [[package]] name = "serde" -version = "1.0.197" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +version = "1.0.210" dependencies = [ "serde_derive", ] @@ -12527,9 +12281,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.197" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -12538,11 +12292,10 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.114" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +version = "1.0.132" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] @@ -12756,15 +12509,13 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "smallvec" version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -12798,7 +12549,7 @@ dependencies = [ "bs58 0.5.0", "chacha20", "crossbeam-queue", - "derive_more", + "derive_more 0.99.17", "ed25519-zebra 4.0.3", "either", "event-listener 4.0.0", @@ -12848,7 +12599,7 @@ dependencies = [ "async-lock 3.2.0", "base64 0.21.6", "blake2-rfc", - "derive_more", + "derive_more 0.99.17", "either", "event-listener 4.0.0", "fnv", @@ -12904,8 +12655,6 @@ dependencies = [ [[package]] name = "snowbridge-beacon-primitives" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0ad61e3ab1c48d4c8060c7ef8571c5b6007df26687e8dbfdb6c857d840cfd2c" dependencies = [ "byte-slice-cast", "frame-support", @@ -12918,7 +12667,7 @@ dependencies = [ "snowbridge-milagro-bls", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "ssz_rs", "ssz_rs_derive", @@ -12927,8 +12676,6 @@ dependencies = [ [[package]] name = "snowbridge-core" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668cd71582305168ed51cb0357a4b4ea814c68c7db3898a9ba4d492f712c54e1" dependencies = [ "ethabi-decode", "frame-support", @@ -12942,7 +12689,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-builder", @@ -12965,7 +12712,7 @@ dependencies = [ "serde", "serde-big-array", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -12993,14 +12740,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "snowbridge-outbound-queue-runtime-api" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab6b34950a2abce198fe008ac6a199598053fedcbde2c40fedf981bc55f85dc7" dependencies = [ "frame-support", "parity-scale-codec", @@ -13013,8 +12758,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-ethereum-client" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0040c2f5a66bcef85e125968af172200cd01d8558c8b3cb9c2e3f1b72abf7dc1" dependencies = [ "frame-benchmarking", "frame-support", @@ -13031,7 +12774,7 @@ dependencies = [ "snowbridge-pallet-ethereum-client-fixtures", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "static_assertions", ] @@ -13052,8 +12795,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bd92623ca85fe55e317654254acac72e5a324676c52f0993b0980c90a3544f8" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -13072,7 +12813,7 @@ dependencies = [ "snowbridge-router-primitives", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -13081,8 +12822,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-inbound-queue-fixtures" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0fd4aebc8d5c244d9e658e911d1a84a06676fd05d9c15fb350bc2e653423ec" dependencies = [ "hex-literal", "snowbridge-beacon-primitives", @@ -13094,8 +12833,6 @@ dependencies = [ [[package]] name = "snowbridge-pallet-outbound-queue" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cfbea7729bcbea661b323c6090d971afcb2ff14a88d9861aab384705415f9d6" dependencies = [ "bridge-hub-common", "ethabi-decode", @@ -13110,15 +12847,13 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] [[package]] name = "snowbridge-pallet-system" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f726d9d2bc15b2683995e6f6ae707d2db20085742860acd32d8fb246251681f2" dependencies = [ "frame-benchmarking", "frame-support", @@ -13129,7 +12864,7 @@ dependencies = [ "snowbridge-core", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -13138,8 +12873,6 @@ dependencies = [ [[package]] name = "snowbridge-router-primitives" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8e6707ced1308d763117bfe68f85e3f22fcdca7987b32e438c0485570f6ac7" dependencies = [ "frame-support", "hex-literal", @@ -13149,7 +12882,7 @@ dependencies = [ "snowbridge-core", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", "staging-xcm-executor", @@ -13158,8 +12891,6 @@ dependencies = [ [[package]] name = "snowbridge-runtime-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c033e7905056434638a068dca713ec9d15708af6c7590396fc95a216ec64b40b" dependencies = [ "frame-support", "log", @@ -13175,8 +12906,6 @@ dependencies = [ [[package]] name = "snowbridge-runtime-test-common" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5bbae06a0abb1ba5ffad59b929263c68cc47b8a286794a7389e781eba20f3481" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -13198,7 +12927,7 @@ dependencies = [ "sp-core 34.0.0", "sp-io 37.0.0", "sp-keyring", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "staging-parachain-info", "staging-xcm", "staging-xcm-executor", @@ -13207,8 +12936,6 @@ dependencies = [ [[package]] name = "snowbridge-system-runtime-api" version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca4900b139bfb1c052358b6084aa61658b261900d117aa8996e833a1b344399" dependencies = [ "parity-scale-codec", "snowbridge-core", @@ -13270,8 +12997,6 @@ dependencies = [ [[package]] name = "sp-api" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e43fbf034e9dbaa8ffc6a238a22808777eb38c580f66fc6736d8511631789e" dependencies = [ "hash-db", "log", @@ -13281,7 +13006,7 @@ dependencies = [ "sp-core 34.0.0", "sp-externalities 0.29.0", "sp-metadata-ir", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "sp-state-machine 0.42.0", "sp-std", @@ -13322,8 +13047,6 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "37.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d96d1fc0f1c741bbcbd0dd5470eff7b66f011708cc1942b088ebf0d4efb3d93" dependencies = [ "parity-scale-codec", "scale-info", @@ -13351,8 +13074,6 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "26.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46d0d0a4c591c421d3231ddd5e27d828618c24456d51445d21a1f79fcee97c23" dependencies = [ "docify", "integer-sqrt", @@ -13374,18 +13095,16 @@ dependencies = [ "scale-info", "sp-api", "sp-application-crypto 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "sp-block-builder" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cf199dc4f9f77abd3fd91c409759118159ce6ffcd8bc90b229b684ccc8c981f" dependencies = [ "sp-api", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13402,7 +13121,7 @@ dependencies = [ "sp-api", "sp-consensus", "sp-database", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "thiserror", ] @@ -13418,7 +13137,7 @@ dependencies = [ "log", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-state-machine 0.42.0", "thiserror", ] @@ -13426,8 +13145,6 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ebb90bf00f331b898eb729a1f707251846c1d5582d7467f083884799a69b89" dependencies = [ "async-trait", "parity-scale-codec", @@ -13436,7 +13153,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-consensus-slots", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-timestamp", ] @@ -13455,7 +13172,7 @@ dependencies = [ "sp-consensus-slots", "sp-core 34.0.0", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-timestamp", ] @@ -13476,7 +13193,7 @@ dependencies = [ "sp-io 37.0.0", "sp-keystore 0.40.0", "sp-mmr-primitives", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "strum 0.26.3", ] @@ -13495,7 +13212,7 @@ dependencies = [ "sp-application-crypto 37.0.0", "sp-core 34.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13513,8 +13230,6 @@ dependencies = [ [[package]] name = "sp-core" version = "31.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26d7a0fd8f16dcc3761198fc83be12872f823b37b749bc72a3a6a1f702509366" dependencies = [ "array-bytes", "bitflags 1.3.2", @@ -13642,8 +13357,6 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", @@ -13676,35 +13389,29 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcd065854d96fd81521c103d0aaa287d4f08b9b15c9fae2a3bfb208b0812bf44" dependencies = [ "parity-scale-codec", "scale-info", "serde_json", "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "sp-inherents" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53407ba38ec22ca4a16381722c4bd0b559a0428bc1713079b0d5163ada63186a" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] [[package]] name = "sp-io" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" dependencies = [ "bytes", "ed25519-dalek", @@ -13757,11 +13464,9 @@ dependencies = [ [[package]] name = "sp-keyring" version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03536e1ff3ec2bd8181eeaa26c0d682ebdcbd01548a055cf591077188b8c3f0" dependencies = [ "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "strum 0.26.3", ] @@ -13836,33 +13541,29 @@ dependencies = [ "sp-api", "sp-core 34.0.0", "sp-debug-derive", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] [[package]] name = "sp-npos-elections" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b0c51a7b60cd663f2661e6949069eb316b092f22c239691d5272a4d0cfca0fb" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-arithmetic 26.0.0", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "sp-offchain" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbe721c367760bddf10fcfa24fb48edd64c442f71db971f043c8ac73f51aa6e9" dependencies = [ "sp-api", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -13914,9 +13615,7 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "38.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89ef409c414546b655ec1e94aaea178e4a97e21284a91b24c762aebf836d3b49" +version = "38.0.1" dependencies = [ "docify", "either", @@ -13936,6 +13635,7 @@ dependencies = [ "sp-io 37.0.0", "sp-std", "sp-weights 31.0.0", + "tracing", ] [[package]] @@ -13995,30 +13695,26 @@ dependencies = [ [[package]] name = "sp-session" version = "34.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4daf2e40ffc7e7e8de08efb860eb9534faf614a49c53dc282f430faedb4aed13" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-core 34.0.0", "sp-keystore 0.40.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-staking", ] [[package]] name = "sp-staking" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a0b7abfe66c07a3b6eb99e1286dfa9b6f3b057b0e986e7da2ccbf707f6c781a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -14083,7 +13779,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-externalities 0.29.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-runtime-interface 28.0.0", "thiserror", "x25519-dalek", @@ -14092,8 +13788,6 @@ dependencies = [ [[package]] name = "sp-std" version = "14.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" @@ -14112,8 +13806,6 @@ dependencies = [ [[package]] name = "sp-storage" version = "21.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99c82989b3a4979a7e1ad848aad9f5d0b4388f1f454cc131766526601ab9e8f8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14131,15 +13823,13 @@ dependencies = [ "async-trait", "parity-scale-codec", "sp-inherents", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "thiserror", ] [[package]] name = "sp-tracing" version = "16.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0351810b9d074df71c4514c5228ed05c250607cba131c1c9d1526760ab69c05c" dependencies = [ "parity-scale-codec", "sp-std", @@ -14163,18 +13853,14 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "33.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3c9d1604aadc15b70e95f4388d0b1aa380215520b7ddfd372531a6d8262269c" dependencies = [ "sp-api", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] name = "sp-trie" version = "32.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" dependencies = [ "ahash 0.8.8", "hash-db", @@ -14222,8 +13908,6 @@ dependencies = [ [[package]] name = "sp-version" version = "36.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bccf96fefae339dee7c4453f91be64eb28cce4c2fe82130445cf096b18b2c081" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14231,7 +13915,7 @@ dependencies = [ "scale-info", "serde", "sp-crypto-hashing-proc-macro", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-version-proc-macro", "thiserror", @@ -14279,8 +13963,6 @@ dependencies = [ [[package]] name = "sp-weights" version = "30.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -14342,9 +14024,7 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +version = "1.51.0" dependencies = [ "Inflector", "num-format", @@ -14472,7 +14152,7 @@ dependencies = [ "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-session", "sp-staking", "sp-std", @@ -14501,7 +14181,7 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", ] @@ -14540,7 +14220,7 @@ dependencies = [ "scale-info", "sp-arithmetic 26.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", "staging-xcm", @@ -14563,7 +14243,7 @@ dependencies = [ "sp-arithmetic 26.0.0", "sp-core 34.0.0", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-weights 31.0.0", "staging-xcm", @@ -14572,8 +14252,6 @@ dependencies = [ [[package]] name = "static_assertions" version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "str0m" @@ -14724,7 +14402,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", ] [[package]] @@ -14740,8 +14418,6 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "23.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dc993ad871b63fbba60362f3ea86583f5e7e1256e8fdcb3b5b249c9ead354bf" dependencies = [ "array-bytes", "build-helper", @@ -14781,8 +14457,6 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" version = "0.35.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd68bef23f4de5e513ab4c29af69053e232b098f9c87ab552d7ea153b4a1fbc5" dependencies = [ "async-trait", "base58", @@ -14875,7 +14549,7 @@ version = "0.35.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc10c54028d079a9f1be65188707cd29e5ffd8d0031a2b1346a0941d57b7ab7e" dependencies = [ - "derive_more", + "derive_more 0.99.17", "frame-metadata 16.0.0", "hashbrown 0.14.3", "parity-scale-codec", @@ -14891,7 +14565,7 @@ checksum = "6ccb59a38fe357fab55247756174435e8626b93929864e8a498635a15e779df8" dependencies = [ "bip39", "cfg-if", - "derive_more", + "derive_more 0.99.17", "hex", "hmac 0.12.1", "parity-scale-codec", @@ -15002,7 +14676,7 @@ dependencies = [ "polkadot-runtime-constants", "smallvec", "sp-core 34.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "staging-xcm", ] @@ -15090,12 +14764,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.30" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -15110,10 +14785,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.15" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] @@ -15143,21 +14819,18 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +version = "1.41.0" dependencies = [ "backtrace", "bytes", "libc", "mio", - "num_cpus", "parking_lot 0.12.3", "pin-project-lite 0.2.13", "signal-hook-registry", "socket2 0.5.7", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -15172,9 +14845,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", @@ -15472,8 +15145,6 @@ dependencies = [ [[package]] name = "tracing-subscriber" version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" dependencies = [ "ansi_term", "chrono", @@ -15646,8 +15317,6 @@ dependencies = [ [[package]] name = "tuplex" version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "676ac81d5454c4dcf37955d34fa8626ede3490f744b86ca14a7b90168d2a08aa" [[package]] name = "twox-hash" @@ -16687,8 +16356,6 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be630e9b41c5d19d227162afe4cf642be24058b179fb1edbfe132f6328c7bde8" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -16712,7 +16379,7 @@ dependencies = [ "sp-core 34.0.0", "sp-crypto-hashing", "sp-io 37.0.0", - "sp-runtime 38.0.0", + "sp-runtime 38.0.1", "sp-std", "sp-tracing 17.0.0", "staging-xcm", @@ -16734,8 +16401,6 @@ dependencies = [ [[package]] name = "xcm-runtime-apis" version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30fffcd9128a46abd836c37dd001c2cbe122aeb8904cd7b9bac8358564fb7b56" dependencies = [ "frame-support", "parity-scale-codec", @@ -16923,8 +16588,6 @@ dependencies = [ [[package]] name = "zombienet-sdk" version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d629add7e175261c047c9dc038b4b23fefb174edaf2868f858c5ff1b682f6541" dependencies = [ "async-trait", "futures", diff --git a/Cargo.toml b/Cargo.toml index 3c70df0ac5..c1a61f47f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ repository = "https://github.com/polkadot-fellows/runtimes.git" license = "GPL-3.0-only" # TODO [workspace.dependencies] +pallet-ahm-controller = { path = "ahm-controller", default-features = false } assert_matches = { version = "1.5.0" } asset-hub-kusama-emulated-chain = { path = "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama" } asset-hub-kusama-runtime = { path = "system-parachains/asset-hubs/asset-hub-kusama" } @@ -254,6 +255,7 @@ ss58-registry = { version = "1.47.0" } resolver = "2" members = [ + "ahm-controller", "chain-spec-generator", "integration-tests/emulated/chains/parachains/assets/asset-hub-kusama", "integration-tests/emulated/chains/parachains/assets/asset-hub-polkadot", @@ -314,3 +316,205 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[profile.testnet] +inherits = "release" +debug = 1 # debug symbols are useful for profilers +debug-assertions = true +overflow-checks = true + +[patch.crates-io] +assert_matches = { path = "../vendor/assert_matches" } +asset-test-utils = { path = "../vendor/asset-test-utils" } +assets-common = { path = "../vendor/assets-common" } +binary-merkle-tree = { path = "../vendor/binary-merkle-tree" } +bp-bridge-hub-cumulus = { path = "../vendor/bp-bridge-hub-cumulus" } +bp-header-chain = { path = "../vendor/bp-header-chain" } +bp-kusama = { path = "../vendor/bp-kusama" } +bp-messages = { path = "../vendor/bp-messages" } +bp-parachains = { path = "../vendor/bp-parachains" } +bp-polkadot = { path = "../vendor/bp-polkadot" } +bp-polkadot-bulletin = { path = "../vendor/bp-polkadot-bulletin" } +bp-polkadot-core = { path = "../vendor/bp-polkadot-core" } +bp-relayers = { path = "../vendor/bp-relayers" } +bp-runtime = { path = "../vendor/bp-runtime" } +bp-xcm-bridge-hub-router = { path = "../vendor/bp-xcm-bridge-hub-router" } +bridge-hub-common = { path = "../vendor/bridge-hub-common" } +bridge-hub-test-utils = { path = "../vendor/bridge-hub-test-utils" } +bridge-runtime-common = { path = "../vendor/bridge-runtime-common" } +clap = { path = "../vendor/clap" } +cumulus-pallet-aura-ext = { path = "../vendor/cumulus-pallet-aura-ext" } +cumulus-pallet-parachain-system = { path = "../vendor/cumulus-pallet-parachain-system" } +cumulus-pallet-session-benchmarking = { path = "../vendor/cumulus-pallet-session-benchmarking" } +cumulus-pallet-xcm = { path = "../vendor/cumulus-pallet-xcm" } +cumulus-pallet-xcmp-queue = { path = "../vendor/cumulus-pallet-xcmp-queue" } +cumulus-primitives-aura = { path = "../vendor/cumulus-primitives-aura" } +cumulus-primitives-core = { path = "../vendor/cumulus-primitives-core" } +cumulus-primitives-utility = { path = "../vendor/cumulus-primitives-utility" } +emulated-integration-tests-common = { path = "../vendor/emulated-integration-tests-common" } +encointer-balances-tx-payment = { path = "../vendor/encointer-balances-tx-payment" } +encointer-balances-tx-payment-rpc-runtime-api = { path = "../vendor/encointer-balances-tx-payment-rpc-runtime-api" } +encointer-primitives = { path = "../vendor/encointer-primitives" } +enumflags2 = { path = "../vendor/enumflags2" } +frame-benchmarking = { path = "../vendor/frame-benchmarking" } +frame-election-provider-support = { path = "../vendor/frame-election-provider-support" } +frame-executive = { path = "../vendor/frame-executive" } +frame-support = { path = "../vendor/frame-support" } +frame-system = { path = "../vendor/frame-system" } +frame-system-benchmarking = { path = "../vendor/frame-system-benchmarking" } +frame-system-rpc-runtime-api = { path = "../vendor/frame-system-rpc-runtime-api" } +frame-try-runtime = { path = "../vendor/frame-try-runtime" } +hex-literal = { path = "../vendor/hex-literal" } +log = { path = "../vendor/log" } +pallet-alliance = { path = "../vendor/pallet-alliance" } +pallet-asset-conversion = { path = "../vendor/pallet-asset-conversion" } +pallet-asset-conversion-tx-payment = { path = "../vendor/pallet-asset-conversion-tx-payment" } +pallet-asset-rate = { path = "../vendor/pallet-asset-rate" } +pallet-asset-tx-payment = { path = "../vendor/pallet-asset-tx-payment" } +pallet-assets = { path = "../vendor/pallet-assets" } +pallet-aura = { path = "../vendor/pallet-aura" } +pallet-authority-discovery = { path = "../vendor/pallet-authority-discovery" } +pallet-authorship = { path = "../vendor/pallet-authorship" } +pallet-babe = { path = "../vendor/pallet-babe" } +pallet-bags-list = { path = "../vendor/pallet-bags-list" } +pallet-balances = { path = "../vendor/pallet-balances" } +pallet-beefy = { path = "../vendor/pallet-beefy" } +pallet-beefy-mmr = { path = "../vendor/pallet-beefy-mmr" } +pallet-bounties = { path = "../vendor/pallet-bounties" } +pallet-bridge-grandpa = { path = "../vendor/pallet-bridge-grandpa" } +pallet-bridge-messages = { path = "../vendor/pallet-bridge-messages" } +pallet-bridge-parachains = { path = "../vendor/pallet-bridge-parachains" } +pallet-bridge-relayers = { path = "../vendor/pallet-bridge-relayers" } +pallet-broker = { path = "../vendor/pallet-broker" } +pallet-child-bounties = { path = "../vendor/pallet-child-bounties" } +pallet-collator-selection = { path = "../vendor/pallet-collator-selection" } +pallet-collective = { path = "../vendor/pallet-collective" } +pallet-conviction-voting = { path = "../vendor/pallet-conviction-voting" } +pallet-core-fellowship = { path = "../vendor/pallet-core-fellowship" } +pallet-election-provider-multi-phase = { path = "../vendor/pallet-election-provider-multi-phase" } +pallet-election-provider-support-benchmarking = { path = "../vendor/pallet-election-provider-support-benchmarking" } +pallet-encointer-balances = { path = "../vendor/pallet-encointer-balances" } +pallet-encointer-bazaar = { path = "../vendor/pallet-encointer-bazaar" } +pallet-encointer-bazaar-rpc-runtime-api = { path = "../vendor/pallet-encointer-bazaar-rpc-runtime-api" } +pallet-encointer-ceremonies = { path = "../vendor/pallet-encointer-ceremonies" } +pallet-encointer-ceremonies-rpc-runtime-api = { path = "../vendor/pallet-encointer-ceremonies-rpc-runtime-api" } +pallet-encointer-communities = { path = "../vendor/pallet-encointer-communities" } +pallet-encointer-communities-rpc-runtime-api = { path = "../vendor/pallet-encointer-communities-rpc-runtime-api" } +pallet-encointer-democracy = { path = "../vendor/pallet-encointer-democracy" } +pallet-encointer-faucet = { path = "../vendor/pallet-encointer-faucet" } +pallet-encointer-reputation-commitments = { path = "../vendor/pallet-encointer-reputation-commitments" } +pallet-encointer-scheduler = { path = "../vendor/pallet-encointer-scheduler" } +pallet-encointer-treasuries = { path = "../vendor/pallet-encointer-treasuries" } +pallet-encointer-treasuries-rpc-runtime-api = { path = "../vendor/pallet-encointer-treasuries-rpc-runtime-api" } +pallet-fast-unstake = { path = "../vendor/pallet-fast-unstake" } +pallet-glutton = { path = "../vendor/pallet-glutton" } +pallet-grandpa = { path = "../vendor/pallet-grandpa" } +pallet-identity = { path = "../vendor/pallet-identity" } +pallet-im-online = { path = "../vendor/pallet-im-online" } +pallet-indices = { path = "../vendor/pallet-indices" } +pallet-insecure-randomness-collective-flip = { path = "../vendor/pallet-insecure-randomness-collective-flip" } +pallet-membership = { path = "../vendor/pallet-membership" } +pallet-message-queue = { path = "../vendor/pallet-message-queue" } +pallet-mmr = { path = "../vendor/pallet-mmr" } +pallet-multisig = { path = "../vendor/pallet-multisig" } +pallet-nft-fractionalization = { path = "../vendor/pallet-nft-fractionalization" } +pallet-nfts = { path = "../vendor/pallet-nfts" } +pallet-nfts-runtime-api = { path = "../vendor/pallet-nfts-runtime-api" } +pallet-nis = { path = "../vendor/pallet-nis" } +pallet-nomination-pools = { path = "../vendor/pallet-nomination-pools" } +pallet-nomination-pools-benchmarking = { path = "../vendor/pallet-nomination-pools-benchmarking" } +pallet-nomination-pools-runtime-api = { path = "../vendor/pallet-nomination-pools-runtime-api" } +pallet-offences = { path = "../vendor/pallet-offences" } +pallet-offences-benchmarking = { path = "../vendor/pallet-offences-benchmarking" } +pallet-parameters = { path = "../vendor/pallet-parameters" } +pallet-preimage = { path = "../vendor/pallet-preimage" } +pallet-proxy = { path = "../vendor/pallet-proxy" } +pallet-ranked-collective = { path = "../vendor/pallet-ranked-collective" } +pallet-recovery = { path = "../vendor/pallet-recovery" } +pallet-referenda = { path = "../vendor/pallet-referenda" } +pallet-salary = { path = "../vendor/pallet-salary" } +pallet-scheduler = { path = "../vendor/pallet-scheduler" } +pallet-session = { path = "../vendor/pallet-session" } +pallet-session-benchmarking = { path = "../vendor/pallet-session-benchmarking" } +pallet-society = { path = "../vendor/pallet-society" } +pallet-staking = { path = "../vendor/pallet-staking" } +pallet-staking-reward-curve = { path = "../vendor/pallet-staking-reward-curve" } +pallet-staking-reward-fn = { path = "../vendor/pallet-staking-reward-fn" } +pallet-staking-runtime-api = { path = "../vendor/pallet-staking-runtime-api" } +pallet-state-trie-migration = { path = "../vendor/pallet-state-trie-migration" } +pallet-sudo = { path = "../vendor/pallet-sudo" } +pallet-timestamp = { path = "../vendor/pallet-timestamp" } +pallet-transaction-payment = { path = "../vendor/pallet-transaction-payment" } +pallet-transaction-payment-rpc-runtime-api = { path = "../vendor/pallet-transaction-payment-rpc-runtime-api" } +pallet-treasury = { path = "../vendor/pallet-treasury" } +pallet-uniques = { path = "../vendor/pallet-uniques" } +pallet-utility = { path = "../vendor/pallet-utility" } +pallet-vesting = { path = "../vendor/pallet-vesting" } +pallet-whitelist = { path = "../vendor/pallet-whitelist" } +pallet-xcm = { path = "../vendor/pallet-xcm" } +pallet-xcm-benchmarks = { path = "../vendor/pallet-xcm-benchmarks" } +pallet-xcm-bridge-hub = { path = "../vendor/pallet-xcm-bridge-hub" } +pallet-xcm-bridge-hub-router = { path = "../vendor/pallet-xcm-bridge-hub-router" } +parachains-common = { path = "../vendor/parachains-common" } +parachains-runtimes-test-utils = { path = "../vendor/parachains-runtimes-test-utils" } +paste = { path = "../vendor/paste" } +penpal-runtime = { path = "../vendor/penpal-runtime" } +polkadot-core-primitives = { path = "../vendor/polkadot-core-primitives" } +polkadot-parachain-primitives = { path = "../vendor/polkadot-parachain-primitives" } +polkadot-primitives = { path = "../vendor/polkadot-primitives" } +polkadot-runtime-common = { path = "../vendor/polkadot-runtime-common" } +primitive-types = { path = "../vendor/primitive-types" } +frame-metadata-hash-extension = { path = "../vendor/frame-metadata-hash-extension" } +sc-chain-spec = { path = "../vendor/sc-chain-spec" } +sc-network = { path = "../vendor/sc-network" } +scale-info = { path = "../vendor/scale-info" } +separator = { path = "../vendor/separator" } +serde = { path = "../vendor/serde" } +serde_json = { path = "../vendor/serde_json" } +smallvec = { path = "../vendor/smallvec" } +snowbridge-beacon-primitives = { path = "../vendor/snowbridge-beacon-primitives" } +snowbridge-core = { path = "../vendor/snowbridge-core" } +snowbridge-outbound-queue-runtime-api = { path = "../vendor/snowbridge-outbound-queue-runtime-api" } +snowbridge-pallet-ethereum-client = { path = "../vendor/snowbridge-pallet-ethereum-client" } +snowbridge-pallet-inbound-queue = { path = "../vendor/snowbridge-pallet-inbound-queue" } +snowbridge-pallet-inbound-queue-fixtures = { path = "../vendor/snowbridge-pallet-inbound-queue-fixtures" } +snowbridge-pallet-outbound-queue = { path = "../vendor/snowbridge-pallet-outbound-queue" } +snowbridge-pallet-system = { path = "../vendor/snowbridge-pallet-system" } +snowbridge-router-primitives = { path = "../vendor/snowbridge-router-primitives" } +snowbridge-runtime-common = { path = "../vendor/snowbridge-runtime-common" } +snowbridge-runtime-test-common = { path = "../vendor/snowbridge-runtime-test-common" } +snowbridge-system-runtime-api = { path = "../vendor/snowbridge-system-runtime-api" } +sp-api = { path = "../vendor/sp-api" } +sp-application-crypto = { path = "../vendor/sp-application-crypto" } +sp-arithmetic = { path = "../vendor/sp-arithmetic" } +sp-block-builder = { path = "../vendor/sp-block-builder" } +sp-consensus-aura = { path = "../vendor/sp-consensus-aura" } +sp-core = { path = "../vendor/sp-core-31.0.0" } +sp-debug-derive = { path = "../vendor/sp-debug-derive" } +sp-genesis-builder = { path = "../vendor/sp-genesis-builder" } +sp-inherents = { path = "../vendor/sp-inherents" } +sp-io = { path = "../vendor/sp-io-33.0.0" } +sp-keyring = { path = "../vendor/sp-keyring" } +sp-npos-elections = { path = "../vendor/sp-npos-elections" } +sp-offchain = { path = "../vendor/sp-offchain" } +sp-runtime = { path = "../vendor/sp-runtime" } +sp-session = { path = "../vendor/sp-session" } +sp-staking = { path = "../vendor/sp-staking" } +sp-std = { path = "../vendor/sp-std" } +sp-storage = { path = "../vendor/sp-storage" } +sp-tracing = { path = "../vendor/sp-tracing-16.0.0" } +sp-transaction-pool = { path = "../vendor/sp-transaction-pool" } +sp-trie = { path = "../vendor/sp-trie-32.0.0" } +sp-version = { path = "../vendor/sp-version" } +sp-weights = { path = "../vendor/sp-weights-30.0.0" } +static_assertions = { path = "../vendor/static_assertions" } +substrate-wasm-builder = { path = "../vendor/substrate-wasm-builder" } +tokio = { path = "../vendor/tokio" } +xcm-emulator = { path = "../vendor/xcm-emulator" } +xcm-runtime-apis = { path = "../vendor/xcm-runtime-apis" } +anyhow = { path = "../vendor/anyhow" } +subxt = { path = "../vendor/subxt" } +tracing-subscriber = { path = "../vendor/tracing-subscriber-0.2.25" } +zombienet-sdk = { path = "../vendor/zombienet-sdk" } +tuplex = { path = "../vendor/tuplex" } +ss58-registry = { path = "../vendor/ss58-registry" } diff --git a/ahm-controller/Cargo.toml b/ahm-controller/Cargo.toml new file mode 100644 index 0000000000..4890ac5df3 --- /dev/null +++ b/ahm-controller/Cargo.toml @@ -0,0 +1,45 @@ +[package] +name = "pallet-ahm-controller" +repository.workspace = true +version.workspace = true +authors.workspace = true +edition.workspace = true +license.workspace = true + +[dependencies] +codec = { features = ["derive", "max-encoded-len"], workspace = true } +scale-info = { features = ["derive"], workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } +xcm = { workspace = true } +sp-io = { workspace = true } +sp-runtime = { workspace = true } + +pallet-indices = { workspace = true } +pallet-balances = { workspace = true } + +[features] +default = ["std"] +std = [ + "codec/std", + "frame-support/std", + "frame-system/std", + "scale-info/std", + "sp-io/std", + "xcm/std", + "pallet-indices/std", + "pallet-balances/std" +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-indices/try-runtime", + "pallet-balances/try-runtime" +] +runtime-benchmarks = [ + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-indices/runtime-benchmarks", + "pallet-balances/runtime-benchmarks" +] diff --git a/ahm-controller/src/lib.rs b/ahm-controller/src/lib.rs new file mode 100644 index 0000000000..2e1f8eb3b4 --- /dev/null +++ b/ahm-controller/src/lib.rs @@ -0,0 +1,294 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#![cfg_attr(not(feature = "std"), no_std)] + +#[cfg(not(feature = "std"))] +extern crate alloc; +#[cfg(not(feature = "std"))] +use alloc::{vec, vec::Vec}; + +use frame_support::pallet_prelude::*; +use frame_system::pallet_prelude::*; +use sp_io::hashing::blake2_256; + +use frame_support::storage::TransactionOutcome; +use xcm::{ + prelude::{send_xcm, Instruction, Junction, Location, OriginKind, SendXcm, WeightLimit, Xcm}, + v4::{ + Asset, + AssetFilter::Wild, + AssetId, Assets, Error as XcmError, + Fungibility::Fungible, + Instruction::{DepositAsset, ReceiveTeleportedAsset}, + Junctions::Here, + Reanchorable, + WildAsset::AllCounted, + XcmContext, + }, +}; +use frame_support::weights::constants::WEIGHT_REF_TIME_PER_MILLIS; + +pub use pallet::*; + +#[cfg(test)] +mod mock_relay; + +#[derive(Encode, Decode, MaxEncodedLen, TypeInfo, PartialEq, Eq)] +pub enum Role { + Relay, + AssetHub, +} + +#[derive(Encode, Decode, MaxEncodedLen, TypeInfo)] +pub enum Phases { + MigrateBalancesEds { next_account: Option>> }, + + AllDone, +} + +/// WARNING EXTREMLY IMPORTANT THAT THESE INDICES ARE CORRECT +#[derive(Encode, Decode)] +enum AssetHubPalletConfig { + #[codec(index = 5)] + Indices(pallet_indices::Call), + #[codec(index = 10)] + Balances(pallet_balances::Call), + #[codec(index = 244)] + AhmController(AhmCall), +} + +/// Call encoding for the calls needed from the Broker pallet. +#[derive(Encode, Decode)] +enum AhmCall { + #[codec(index = 0)] + EmitHey, +} + +/*#[derive(Encode, Decode)] +enum AhIndicesCall { + #[codec(index = 5)] + MigrateInNext(::AccountIndex, T::AccountId, BalanceOf, bool), +}*/ + +#[frame_support::pallet] +pub mod pallet { + use super::*; + + #[pallet::config] + pub trait Config: frame_system::Config + pallet_indices::Config + pallet_balances::Config { + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + #[pallet::constant] + type Role: Get; + + /// Send UMP or DMP message - depending on our `Role`. + type SendXcm: SendXcm; + } + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::storage] + pub type Phase = StorageValue<_, super::Phases>; + + /// Set of accounts that we placed a sufficient reference on. + #[pallet::storage] + pub type SufficientAccounts = StorageMap<_, Twox64Concat, T::AccountId, ()>; + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + Hey, + + SentDownward, + ErrorSendingDownward, + + PalletIndicesFinished, + } + + #[pallet::error] + pub enum Error {} + + #[pallet::hooks] + impl Hooks> for Pallet { + fn on_initialize(now: BlockNumberFor) -> Weight { + match T::Role::get() { + Role::Relay => { + Self::relay_on_init(now); + }, + Role::AssetHub => { + Self::ah_on_init(now); + }, + }; + + Weight::zero() + } + } + + #[pallet::call] + impl Pallet { + #[pallet::call_index(0)] + #[pallet::weight(123)] + pub fn hey(_origin: OriginFor) -> DispatchResult { + Self::deposit_event(Event::Hey); + + Ok(()) + } + } + + impl Pallet { + fn ah_on_init(_now: BlockNumberFor) { + + } + + fn relay_on_init(now: BlockNumberFor) { + if now < 3u32.into() { + return; + } + + // Phase init + let phase = match Phase::::get() { + None => Phases::MigrateBalancesEds { next_account: None }, + Some(phase) => phase, + }; + + //pallet + + // Phase handling and transistion + /*let phase = match phase { + Phases::MigrateBalancesEds { mut next_account } => { + Self::migrate_eds(&mut next_account); + + if next_account.is_some() { + Phases::MigrateBalancesEds { next_account } + } else { + Phases::AllDone + } + }, + other => other, + }; + // Write back + Phase::::put(phase);*/ + + for _ in 0..10 { + match Self::migrate_indices() { + Ok(false) => break, + Err(_) => break, + _ => (), + } + } + } + + // Just to make the BoundedVec compiler stuff work... + fn migrate_eds(next_acc: &mut Option>>) { + let Ok(new) = Self::do_migrate_eds(next_acc.clone().map(|v| v.into_inner())) else { + // TODO what do? + return; + }; + let Some(new) = new else { + *next_acc = None; + return; + }; + + let Ok(new_bounded) = BoundedVec::try_from(new) else { + defensive!("Very bad: could not store next cursor"); + // TODO yikes + return; + }; + *next_acc = Some(new_bounded); + } + + fn do_migrate_eds(next_acc: Option>) -> Result>, ()> { + frame_support::storage::transactional::with_transaction_opaque_err::>, (), _>(|| { + let Some((next_key, call, weight)) = pallet_balances::Pallet::::migrate_ed(next_acc, 1300) else { + return TransactionOutcome::Commit(Ok(None)); + }; + + // Issue: Inbound Downward message was too long + + let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Balances( + call, + ).encode().into(); + + let message = Xcm(vec![ + Instruction::UnpaidExecution { + weight_limit: WeightLimit::Unlimited, + check_origin: None, + }, + Instruction::Transact { + origin_kind: OriginKind::Superuser, + require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO + call: ah_call, + }, + ]); + + match send_xcm::( + Location::new(0, [Junction::Parachain(1000)]), + message.clone(), + ) { + Ok(_) => { + Self::deposit_event(Event::SentDownward); + TransactionOutcome::Commit(Ok(next_key)) + }, + Err(_) => { + Self::deposit_event(Event::ErrorSendingDownward); + TransactionOutcome::Commit(Err(())) + }, + } + })? + } + + pub fn migrate_indices() -> Result { + frame_support::storage::transactional::with_transaction_opaque_err::(|| { + let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(1000) else { + return TransactionOutcome::Commit(Ok(false)); + }; + + let ah_call: xcm::DoubleEncoded<()> = AssetHubPalletConfig::::Indices( + call, + ).encode().into(); + + let message = Xcm(vec![ + Instruction::UnpaidExecution { + weight_limit: WeightLimit::Unlimited, + check_origin: None, + }, + Instruction::Transact { + origin_kind: OriginKind::Superuser, + require_weight_at_most: Weight::from_parts(10 * WEIGHT_REF_TIME_PER_MILLIS, 30000), // TODO + call: ah_call, + }, + ]); + + match send_xcm::( + Location::new(0, [Junction::Parachain(1000)]), + message.clone(), + ) { + Ok(_) => { + Self::deposit_event(Event::SentDownward); + TransactionOutcome::Commit(Ok(true)) + }, + Err(_) => { + Self::deposit_event(Event::ErrorSendingDownward); + TransactionOutcome::Commit(Err(())) + }, + } + })? + } + } +} diff --git a/ahm-controller/src/mock_relay.rs b/ahm-controller/src/mock_relay.rs new file mode 100644 index 0000000000..c479377e26 --- /dev/null +++ b/ahm-controller/src/mock_relay.rs @@ -0,0 +1,24 @@ +use crate::{pallet as ahm_controller, Role}; + +use frame::testing_prelude::*; + +construct_runtime!( + pub enum Runtime { + System: frame_system, + AhmController: ahm_controller, + } +); + +#[derive_impl(frame_system::config_preludes::TestDefaultConfig)] +impl frame_system::Config for Runtime { + type Block = MockBlock; +} + +parameter_types! { + pub const OurRole: Role = Role::Relay; +} + +impl ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; +} diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 586ccfd7d7..e48c63719c 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -333,6 +333,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_indices::WeightInfo; + type AhReserveMigrator = frame_support::ahm::NoopMigrator<(), Self::AccountId, Balance>; } parameter_types! { diff --git a/relay/polkadot/Cargo.toml b/relay/polkadot/Cargo.toml index 4cad587ce0..9fcfb9cfd8 100644 --- a/relay/polkadot/Cargo.toml +++ b/relay/polkadot/Cargo.toml @@ -13,6 +13,7 @@ scale-info = { features = ["derive"], workspace = true } serde_json = { features = ["alloc"], workspace = true } log = { workspace = true } +pallet-ahm-controller = { workspace = true } authority-discovery-primitives = { workspace = true } babe-primitives = { workspace = true } beefy-primitives = { workspace = true } @@ -221,6 +222,7 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "pallet-ahm-controller/std" ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -273,6 +275,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "pallet-ahm-controller/runtime-benchmarks" ] try-runtime = [ "frame-election-provider-support/try-runtime", @@ -321,6 +324,7 @@ try-runtime = [ "polkadot-runtime-common/try-runtime", "runtime-parachains/try-runtime", "sp-runtime/try-runtime", + "pallet-ahm-controller/try-runtime" ] # Enable metadata hash generation at compile time for the `CheckMetadataHash` extension. diff --git a/relay/polkadot/src/genesis_config_presets.rs b/relay/polkadot/src/genesis_config_presets.rs index 8d8afb6ad0..2f5169a900 100644 --- a/relay/polkadot/src/genesis_config_presets.rs +++ b/relay/polkadot/src/genesis_config_presets.rs @@ -155,6 +155,12 @@ fn polkadot_testnet_genesis( const ENDOWMENT: u128 = 1_000_000 * DOT; const STASH: u128 = 100 * DOT; + let mut indices = Vec::<(AccountIndex, AccountId)>::new(); + for i in 0..1000 { + let who = get_account_id_from_seed::(&format!("//Alice/{}", i)); + indices.push((i, who)); + } + serde_json::json!({ "balances": { "balances": endowed_accounts.iter().map(|k| (k.clone(), ENDOWMENT)).collect::>(), @@ -192,6 +198,9 @@ fn polkadot_testnet_genesis( "babe": { "epochConfig": Some(BABE_GENESIS_EPOCH_CONFIG), }, + "indices": { + "indices": indices, + }, "configuration": { "config": default_parachains_host_configuration(), }, diff --git a/relay/polkadot/src/lib.rs b/relay/polkadot/src/lib.rs index 2cbd6adf81..b17411b9c8 100644 --- a/relay/polkadot/src/lib.rs +++ b/relay/polkadot/src/lib.rs @@ -281,7 +281,7 @@ impl pallet_preimage::Config for Runtime { parameter_types! { pub EpochDuration: u64 = prod_or_fast!( EPOCH_DURATION_IN_SLOTS as u64, - 2 * MINUTES as u64, + (MINUTES as u64) / 3, "DOT_EPOCH_DURATION" ); pub const ExpectedBlockTime: Moment = MILLISECS_PER_BLOCK; @@ -320,6 +320,7 @@ impl pallet_indices::Config for Runtime { type Deposit = IndexDeposit; type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_indices::WeightInfo; + type AhReserveMigrator = Balances; } parameter_types! { @@ -1612,6 +1613,18 @@ impl OnSwap for SwapLeases { } } +use pallet_ahm_controller::Role; + +parameter_types! { + pub const OurRole: Role = Role::Relay; +} + +impl pallet_ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; + type SendXcm = crate::xcm_config::XcmRouter; +} + construct_runtime! { pub enum Runtime { @@ -1722,6 +1735,8 @@ construct_runtime! { // refer to block. See issue #160 for details. Mmr: pallet_mmr = 201, BeefyMmrLeaf: pallet_beefy_mmr = 202, + + AhmController: pallet_ahm_controller = 244, } } diff --git a/relay/polkadot/tests/ahm_tests.rs b/relay/polkadot/tests/ahm_tests.rs new file mode 100644 index 0000000000..2e372cd3ba --- /dev/null +++ b/relay/polkadot/tests/ahm_tests.rs @@ -0,0 +1,104 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . + +//! Asset hub migration tests. + +use frame_support::traits::tokens::ConversionFromAssetBalance; +use polkadot_runtime::AssetRateWithNative; +use polkadot_runtime_common::impls::VersionedLocatableAsset; +use xcm::prelude::*; +use remote_externalities::OfflineConfig; +use remote_externalities::Builder; +use polkadot_runtime::Block; +use remote_externalities::RemoteExternalities; +use remote_externalities::Mode; +use polkadot_runtime::Runtime as T; +use polkadot_runtime::AhmController; +use polkadot_runtime::System; +use frame_support::sp_runtime::traits::Dispatchable; + +#[tokio::test] +async fn ahm_indices_out() { + let Some(mut ext) = remote_ext_test_setup().await else { return; }; + let mut calls = Vec::new(); + + ext.execute_with(|| { + frame_system::Pallet::::set_block_number(1); + total_issuance_correct(); + let ti = pallet_balances::TotalIssuance::::get(); + + loop { + let Some((call, weight)) = pallet_indices::Pallet::::migrate_next(1000) else { + break; + }; + calls.push(call); + + log::error!("Number of events: {:?}", System::events().len()); + for event in System::events() { + log::error!("Event: {:?}", event); + } + System::reset_events(); + } + + log::error!("Dispatched {} calls", calls.len()); + for call in calls { + let runtime_call: polkadot_runtime::RuntimeCall = call.into(); + runtime_call.dispatch(frame_system::RawOrigin::Root.into()).unwrap(); + } + + log::error!("Number of events: {:?}", System::events().len()); + for event in System::events() { + log::error!("Event: {:?}", event); + } + + total_issuance_correct(); + let ti2 = pallet_balances::TotalIssuance::::get(); + assert_eq!(ti, ti2, "Total issuance must be the same after migration"); + }); +} + +fn total_issuance_correct() { + println!("Checkig TI"); + let mut total = 0; + for acc in frame_system::Account::::iter_values() { + total += acc.data.free + acc.data.reserved; + } + + let known_bad_diff = 15153004468955758308u128 - 15152788105929904271u128; + let ti = pallet_balances::TotalIssuance::::get(); + assert_eq!(total + known_bad_diff, ti, "Total issuance must be the same as sum of all account balances"); +} + +async fn remote_ext_test_setup() -> Option> { + sp_tracing::try_init_simple(); + let Some(snap) = std::env::var("SNAP").ok() else{ + return None; + }; + let abs = std::path::absolute(snap.clone()); + + let ext = Builder::::default() + .mode(Mode::Offline( + OfflineConfig { state_snapshot: snap.clone().into() }, + )) + .build() + .await + .map_err(|e| { + eprintln!("Could not load from snapshot: {:?}: {:?}", abs, e); + }) + .unwrap(); + + Some(ext) +} diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml index 1f207ce943..811fa68a7e 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml +++ b/system-parachains/asset-hubs/asset-hub-polkadot/Cargo.toml @@ -16,6 +16,7 @@ scale-info = { features = ["derive"], workspace = true } serde_json = { features = ["alloc"], workspace = true } # Local +pallet-ahm-controller = { workspace = true } bp-asset-hub-kusama = { workspace = true } bp-asset-hub-polkadot = { workspace = true } bp-bridge-hub-kusama = { workspace = true } @@ -39,6 +40,7 @@ pallet-assets = { workspace = true } pallet-aura = { workspace = true } pallet-authorship = { workspace = true } pallet-balances = { workspace = true } +pallet-indices = { workspace = true } pallet-message-queue = { workspace = true } pallet-multisig = { workspace = true } pallet-nfts = { workspace = true } @@ -148,6 +150,8 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "xcm-executor/runtime-benchmarks", "xcm-runtime-apis/runtime-benchmarks", + "pallet-ahm-controller/runtime-benchmarks", + "pallet-indices/runtime-benchmarks" ] try-runtime = [ "cumulus-pallet-aura-ext/try-runtime", @@ -180,6 +184,8 @@ try-runtime = [ "parachain-info/try-runtime", "polkadot-runtime-common/try-runtime", "sp-runtime/try-runtime", + "pallet-ahm-controller/try-runtime", + "pallet-indices/try-runtime" ] std = [ "assets-common/std", @@ -259,6 +265,8 @@ std = [ "xcm-executor/std", "xcm-runtime-apis/std", "xcm/std", + "pallet-ahm-controller/std", + "pallet-indices/std" ] # Enable metadata hash generation at compile time for the `CheckMetadataHash` extension. diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs index 87bcd43d17..fea702d117 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/lib.rs @@ -650,7 +650,7 @@ impl pallet_message_queue::Config for Runtime { type HeapSize = sp_core::ConstU32<{ 64 * 1024 }>; type MaxStale = sp_core::ConstU32<8>; type ServiceWeight = MessageQueueServiceWeight; - type IdleMaxServiceWeight = MessageQueueIdleServiceWeight; + type IdleMaxServiceWeight = (); } impl cumulus_pallet_aura_ext::Config for Runtime {} @@ -959,6 +959,31 @@ impl pallet_asset_conversion::Config for Runtime { >; } +parameter_types! { + pub const IndexDeposit: Balance = (10 * DOLLARS) / 100; +} + +impl pallet_indices::Config for Runtime { + type AccountIndex = parachains_common::AccountIndex; // FAIL-CI double check + type Currency = Balances; + type Deposit = IndexDeposit; + type RuntimeEvent = RuntimeEvent; + type WeightInfo = pallet_indices::weights::SubstrateWeight; // FAIL-CI + type AhReserveMigrator = Balances; +} + +use pallet_ahm_controller::Role; + +parameter_types! { + pub const OurRole: Role = Role::AssetHub; +} + +impl pallet_ahm_controller::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Role = OurRole; + type SendXcm = crate::xcm_config::XcmRouter; +} + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime @@ -969,6 +994,7 @@ construct_runtime!( // RandomnessCollectiveFlip = 2 removed Timestamp: pallet_timestamp = 3, ParachainInfo: parachain_info = 4, + Indices: pallet_indices = 5, // Monetary stuff. Balances: pallet_balances = 10, @@ -1003,6 +1029,8 @@ construct_runtime!( ForeignAssets: pallet_assets:: = 53, PoolAssets: pallet_assets:: = 54, AssetConversion: pallet_asset_conversion = 55, + + AhmController: pallet_ahm_controller = 244, } );