From de2ac9c50594edf3b8dd172a9df9eee31f45e4fc Mon Sep 17 00:00:00 2001 From: brenzi Date: Tue, 2 Apr 2024 15:58:52 +0200 Subject: [PATCH] upgrade to polkadot 1.9.0 (#284) * initially adding paseo-local and zombienet cfg * revert bogus sdk upgrade * adapt zombienet config * try 4th validator * zombienet paseo works * psvn bump 1.9.0 * remove all orml stuff. maybe temporary * XCMv4 shizzle * overwritten node from template. xcm fixes * builds * cargo fix * fmt * zombienet cfg which produces blocks incl asset hub. but needs fixing spec * bump versions --- Cargo.lock | 2169 +++++++++-------- Cargo.toml | 232 +- polkadot-parachains/Cargo.toml | 2 +- polkadot-parachains/common/src/xcm_config.rs | 83 + .../integritee-runtime/Cargo.toml | 13 +- .../integritee-runtime/src/lib.rs | 14 +- .../src/weights/pallet_asset_registry.rs | 16 +- .../src/weights/pallet_balances.rs | 7 + .../src/weights/pallet_scheduler.rs | 207 +- .../src/weights/pallet_xcm.rs | 159 +- .../integritee-runtime/src/xcm_config.rs | 221 +- polkadot-parachains/shell-runtime/Cargo.toml | 9 +- polkadot-parachains/shell-runtime/src/lib.rs | 5 +- .../shell-runtime/src/xcm_config.rs | 126 +- polkadot-parachains/src/cli.rs | 10 +- polkadot-parachains/src/command.rs | 45 +- polkadot-parachains/src/main.rs | 2 + polkadot-parachains/src/service.rs | 10 +- polkadot-parachains/src/service_shell.rs | 9 +- ...o-local-with-integritee-and-asset-hub.toml | 71 + 20 files changed, 1858 insertions(+), 1552 deletions(-) create mode 100644 zombienet/paseo-local-with-integritee-and-asset-hub.toml diff --git a/Cargo.lock b/Cargo.lock index 382cce1f..d0db22bb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,7 @@ version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli", + "gimli 0.27.3", ] [[package]] @@ -27,7 +27,7 @@ version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" dependencies = [ - "gimli", + "gimli 0.27.3", ] [[package]] @@ -68,7 +68,7 @@ dependencies = [ "cipher 0.4.4", "ctr", "ghash", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -205,9 +205,23 @@ dependencies = [ [[package]] name = "aquamarine" -version = "0.4.0" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1da02abba9f9063d786eab1509833ebb2fac0f966862ca59439c76b9c566760" +dependencies = [ + "include_dir", + "itertools 0.10.5", + "proc-macro-error", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "aquamarine" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "074b80d14d0240b6ce94d68f059a2d26a5d77280ae142662365a21ef6e2594ef" +checksum = "21cc1548309245035eb18aa7f0967da6bc65587005170c56e6ef2788a4cf3f4e" dependencies = [ "include_dir", "itertools 0.10.5", @@ -343,7 +357,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", ] [[package]] @@ -373,12 +387,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -447,16 +455,15 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "assets-common" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7d2d5b75d36daec8ffad11f121f581cc3aec2b7b117d8ab68f6e3ac914a5569" +checksum = "573d81782f93ad0825201cc0de6a62018e1f0f75e93df353aecd3f8fe8ee43dc" dependencies = [ "cumulus-primitives-core", "frame-support", "impl-trait-for-tuples", "log", "pallet-asset-conversion", - "pallet-asset-tx-payment", "pallet-xcm", "parachains-common", "parity-scale-codec", @@ -729,9 +736,9 @@ dependencies = [ [[package]] name = "binary-merkle-tree" -version = "13.0.0" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bf2706ac2641485d35ed06ebfe0b3b2c43e19a7ad8a90215580a91dd1766114" +checksum = "4b5c0fd4282c30c05647e1052d71bf1a0c8067ab1e9a8fc6d0c292dce0ecb237" dependencies = [ "hash-db", "log", @@ -773,19 +780,31 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ - "bitcoin_hashes", - "rand 0.8.5", - "rand_core 0.6.4", - "serde", - "unicode-normalization", + "bitcoin_hashes 0.11.0", ] +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin_hashes" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -877,18 +896,6 @@ dependencies = [ "constant_time_eq 0.3.0", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -907,15 +914,6 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "blocking" version = "1.5.1" @@ -934,9 +932,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -955,9 +953,9 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" -version = "0.6.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f58cd5d7880f4bc8fc569e5bb0174302cd3f7e18a322e0fec2a4733cced35cb" +checksum = "7366e856da4c5f49e1ef94c3ea401854fe52310696561e24b7509d2f963d7210" dependencies = [ "parity-scale-codec", "scale-info", @@ -1222,7 +1220,7 @@ dependencies = [ [[package]] name = "claims-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "parity-scale-codec", "rustc-hex", @@ -1354,7 +1352,7 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "common-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "derive_more", "parity-scale-codec", @@ -1516,10 +1514,10 @@ dependencies = [ "cranelift-codegen-shared", "cranelift-entity", "cranelift-isle", - "gimli", + "gimli 0.27.3", "hashbrown 0.13.2", "log", - "regalloc2", + "regalloc2 0.6.1", "smallvec", "target-lexicon", ] @@ -1669,7 +1667,7 @@ checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -1701,17 +1699,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle 2.4.1", -] - -[[package]] -name = "crypto-mac" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" -dependencies = [ - "generic-array 0.14.7", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -1725,9 +1713,9 @@ dependencies = [ [[package]] name = "cumulus-client-cli" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88972dcd58e7d411ebfd9d82d7399aad567afe737ba8ad0943abfaf1a8b3903b" +checksum = "d2b5137986e7a4374bf410e4e11ce02c9807c5d3200d590960056220963ecdbf" dependencies = [ "clap", "parity-scale-codec", @@ -1743,9 +1731,9 @@ dependencies = [ [[package]] name = "cumulus-client-collator" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab9d9114479da745e34b1a4529dca9e51a61860593b61681107249bc68024bd4" +checksum = "9f7dde39268c86d2975bdd608d114dd52cd8803618196bc7606e684b9090d24d" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1767,9 +1755,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00378c991116820c354713b3d3be2c9789f84bfb86d0a3c97676cc9e8a39c174" +checksum = "8fbbba68555835c2e2d7f1c17060d3cd6fafafdb16597a2e680e7376f71dec51" dependencies = [ "async-trait", "cumulus-client-collator", @@ -1810,9 +1798,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "385c403c208f654e276f6d7ae30316d3d64f0975c9e19a18ed5943a963cc48c6" +checksum = "8b6ff3972c798e87b918e3065d7b52aabb3fc871136b7dde7c708d20567b509f" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1840,9 +1828,9 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614b239940f64843c65ec19e157ee769c556f74f084077dc2f0425f0a671e9ba" +checksum = "cf2ff43b5735f8f1a306aa8c44d9efe5bb50c3a3b29afa18728e7a5321a6ba70" dependencies = [ "anyhow", "async-trait", @@ -1856,9 +1844,9 @@ dependencies = [ [[package]] name = "cumulus-client-network" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee9b8802b76850237bbf2c1afb869a9673b49ef9545b31698e1bffbffcaa4254" +checksum = "f10d8141b3de22f002b94fafd9a372f351ee55ad41e1c40ad6534024f176f5bb" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -1880,9 +1868,9 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" -version = "0.1.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bcc095540bb3ad848b1d5cd8708d8b493729370d4671df5a0c38ea53382e46b" +checksum = "6ebeda41b913144e0dbaf57a9537fed6f37ee14c5f31f1bd23808f87e8515ec7" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1893,7 +1881,7 @@ dependencies = [ "sc-client-api", "scale-info", "sp-api", - "sp-core", + "sp-crypto-hashing", "sp-inherents", "sp-runtime", "sp-state-machine", @@ -1905,9 +1893,9 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd12cbdd57209ffc68d167b0c22c90d5680185b57d03e4c2436aef7dfd918a2" +checksum = "1cf51e1e7cfe82e68a93a4f3221181f8258664f0c4113e4d7c846e449b3596f3" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -1919,7 +1907,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-client-api", "sc-consensus", "sp-consensus", @@ -1930,9 +1918,9 @@ dependencies = [ [[package]] name = "cumulus-client-service" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5be0615943319f8750eb54793f8ec8721b2081852c23ed450da54cfcf6aca97" +checksum = "ebb334fbaedca019671b900bba71fb7cf70244d9436a832b1c5d67491569359d" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -1967,9 +1955,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8100a3283be2c46905345141e9a063f092949c6630a1fb70993b04c97f309e55" +checksum = "47ec277f09a2c2b693bca6283eb6bc10aede2eaee43a7c395911235d8b632dab" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -1986,9 +1974,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-dmp-queue" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f461956a4a85c053657fe64e73852940c8a52e7d8fc20ccb4f91688e73f0820b" +checksum = "28e34c35fdd757c548cabaf8b65cabe5ae1c0fab7e143e85a99ab69ec58ad35f" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -2005,9 +1993,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a1a0e6800ea92447eab2c9170cc77d21987fd0e61ed79a6e1318f7b127b3e2c" +checksum = "a19c40a5d04f60562fb38195766104deeb8cec71c11ec77796ee9373cccdb325" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2023,6 +2011,7 @@ dependencies = [ "pallet-message-queue", "parity-scale-codec", "polkadot-parachain-primitives", + "polkadot-runtime-common", "polkadot-runtime-parachains", "scale-info", "sp-core", @@ -2052,9 +2041,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9e5e8dd3f9c98620e32cbb1783725a3e75a3147cb351b43de37663824311cd9" +checksum = "7610ae16cac552adc823ba68deb26e5d3a9de189ef79ae26c79e43ddcfeabef1" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2069,9 +2058,9 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "439cdba45813623e7f45374f160f3356d27fb1aaca2536dd7f60ef2a7e9b30cd" +checksum = "6614dcdbe6c24fcc8677bf158a8c627a3467d262acdc8a0e7d8a3d3d767a757c" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2095,9 +2084,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ad9d2b1454d6957a92b3f8755d7bfa2b5b70ab2fa7751215f6897de5ac4cf6" +checksum = "1b70d13f3fca1dfaeb868f4fff79c58fef8fa4f8e381a9002d93c50c23683abf" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2110,9 +2099,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "036b64697b5fd04c8039ccf15b9891104c496afb6c418c2cea1234d4898d0a28" +checksum = "617d02361f5c7df87b6be98b4974241b6836fbaa7d9e786db80eb38bc8636751" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2128,9 +2117,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cb6fe06744fed6e84682c48816181ad63652003570c2135c425481440fcd2f2" +checksum = "87d64a55b7b9c3a945e543712630708f36407ab49ad8a2fa9f3d1404093a3e8e" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2144,9 +2133,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" -version = "0.2.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a132e17ac2c79436bc5004b0d56cb35ca65b966434f14e5ff8a9bc1afcfca5a4" +checksum = "764e27968dce7d5c455dbaf9ba81c037fc5690afc085aa4aa2a4cdfe53716b74" dependencies = [ "sp-externalities", "sp-runtime-interface", @@ -2155,9 +2144,9 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6d1d900bd9e76607a4a0734cbb2b004d86177d2d6938b5d25eb812c6c1b7500" +checksum = "abf270c68a2cbf68b31cb4e8c4b5fc43665627ec6960cde04c393120e053ccef" dependencies = [ "cumulus-primitives-core", "futures", @@ -2169,14 +2158,14 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99542836a3b341249f4b4f54eca7cd5d42a99d38fd7dc6974d19899a90b2f82d" +checksum = "beeca40e85d6da3751343a3fc8dd5b335c9a06ba9897a5b36f726d139b7646de" dependencies = [ "cumulus-primitives-core", "frame-support", "log", - "pallet-xcm-benchmarks", + "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", "polkadot-runtime-parachains", @@ -2190,9 +2179,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6801c53e543614ce1b9f87cfca8ed69aab5318ba51439c0db8a910c8c3d77a15" +checksum = "2ec58113249ac91ceb4da1c846f6474cd4b6616100d0b29a86845b177caad52f" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2215,9 +2204,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdf9bd710caacdee77f50f01a40f37f8c9af1040e895de3e0b421f2c4ad0a291" +checksum = "cbb531263c11cfd73f17090106fff2385ca7b02b39102c367f4c13fb1251e9dd" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2234,9 +2223,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b1e0847e45d6a5090ee32b4dc3497cb0671b9a6a9259f9a263a769560c5b60e" +checksum = "e1a416b2e6a5c99d78049b91425dbdb844f4351fd9fb61da47b70c2f90cf2ed4" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -2257,6 +2246,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", + "polkadot-service", "sc-authority-discovery", "sc-client-api", "sc-network", @@ -2276,9 +2266,9 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cb8a4c98335aeac261bde9b21e7518c099bfacc96592a052750051cebda158c" +checksum = "e011f8da350318316e80356dca70bee537d8f8fb29bb99d1765348b0ab6f6d88" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2290,7 +2280,7 @@ dependencies = [ "parity-scale-codec", "pin-project", "polkadot-overseer", - "rand 0.8.5", + "rand", "sc-client-api", "sc-rpc-api", "sc-service", @@ -2316,9 +2306,9 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ec12490a40b00427119fd1e12a6d1fe0652d2df3e992dea1bc4f331effed12" +checksum = "d1e730a7524f50acb03c24476323c4dad35690baf85175ad0f91a2dffed85b39" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -2329,19 +2319,6 @@ dependencies = [ "sp-trie", ] -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.4.1", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "3.2.0" @@ -2351,7 +2328,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -2368,7 +2345,7 @@ dependencies = [ "fiat-crypto", "platforms", "rustc_version", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -2440,6 +2417,19 @@ dependencies = [ "syn 2.0.53", ] +[[package]] +name = "dashmap" +version = "5.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "lock_api", + "once_cell", + "parking_lot_core 0.9.8", +] + [[package]] name = "data-encoding" version = "2.4.0" @@ -2581,7 +2571,7 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -2725,6 +2715,7 @@ dependencies = [ "digest 0.10.7", "elliptic-curve", "rfc6979", + "serdect", "signature", "spki 0.7.2", ] @@ -2750,7 +2741,7 @@ dependencies = [ "rand_core 0.6.4", "serde", "sha2 0.10.7", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -2804,14 +2795,15 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle 2.4.1", + "serdect", + "subtle 2.5.0", "zeroize", ] [[package]] name = "enclave-bridge-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "common-primitives", "log", @@ -2992,16 +2984,16 @@ dependencies = [ ] [[package]] -name = "fake-simd" -version = "0.1.2" +name = "fallible-iterator" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" +checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" [[package]] name = "fallible-iterator" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649" [[package]] name = "fastrand" @@ -3060,7 +3052,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -3114,7 +3106,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -3183,9 +3175,9 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b16f7f853f64ec6fbc981b3e224cc3400752662da140ec62c160b5b859bab68" +checksum = "9fee087c6a7ddbc6dcfb6a6015d4b2787ecbb2113ed8b8bee8ff15f2bdf93f94" dependencies = [ "frame-support", "frame-support-procedural", @@ -3209,9 +3201,9 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" -version = "32.0.0" +version = "35.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69fec078a73892cb5a7146671cf76e3abf23201fefe431a013399ac2e5b03b54" +checksum = "9b7edd9a74e34122245fe91248ca384221c7c3abd7f528e78c092ea444a7a7a2" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3228,7 +3220,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "rand 0.8.5", + "rand", "rand_pcg", "sc-block-builder", "sc-cli", @@ -3270,9 +3262,9 @@ dependencies = [ [[package]] name = "frame-election-provider-support" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c596d956c4eedaffbe2fd6f75562e63e3e60001222bc6f8cc45fa77f3ea51791" +checksum = "d651327ec98d12fbdb0d25346de929e3ea2ab8a1ef85570794d9d8d54f204f28" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3288,10 +3280,11 @@ dependencies = [ [[package]] name = "frame-executive" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5247e367912fe95f813e96542921ab4edf671860fd557625b55f40155abf90" +checksum = "e3d4502dd4218aaf90240527adb789b9620fcada2af76f4751a8a852583eb0c2" dependencies = [ + "aquamarine 0.3.3", "frame-support", "frame-system", "frame-try-runtime", @@ -3319,9 +3312,9 @@ dependencies = [ [[package]] name = "frame-remote-externalities" -version = "0.35.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26ac8b505de5aa10e9c9548a3642fc708fc47fe3843b840992e6e6ab139f39d0" +checksum = "c935bea33258c329e9ad4784a720aa4b1faff8c5af474f14e0898db11b7cb8ab" dependencies = [ "futures", "indicatif", @@ -3330,6 +3323,7 @@ dependencies = [ "parity-scale-codec", "serde", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-runtime", "sp-state-machine", @@ -3341,11 +3335,11 @@ dependencies = [ [[package]] name = "frame-support" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e48b00bb3e82c465a435b08827e7abe5144345bc1a998848bdd7ce72fa203bb5" +checksum = "81aecbbc1c62055e8ce472283bc655bf6c0f968a4d22d504bf6aad4ea44ccbc4" dependencies = [ - "aquamarine", + "aquamarine 0.5.0", "array-bytes 6.2.2", "bitflags 1.3.2", "docify", @@ -3365,7 +3359,7 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-core", - "sp-core-hashing-proc-macro", + "sp-crypto-hashing-proc-macro", "sp-debug-derive", "sp-genesis-builder", "sp-inherents", @@ -3383,9 +3377,9 @@ dependencies = [ [[package]] name = "frame-support-procedural" -version = "23.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0be717139a0da9b31b559356db73f6ce48876d331e833ebdc32de3a9ad581e15" +checksum = "b082f09f6b96dd767c32588f4ee336a77e4ef87e5528e24b7b17298808629078" dependencies = [ "Inflector", "cfg-expr", @@ -3397,15 +3391,15 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "sp-core-hashing", + "sp-crypto-hashing", "syn 2.0.53", ] [[package]] name = "frame-support-procedural-tools" -version = "10.0.0" +version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3363df38464c47a73eb521a4f648bfcc7537a82d70347ef8af3f73b6d019e910" +checksum = "5be30b1ce0b477476a3fe13cd8ff479007582340d14f0ddea9e832b01e706a07" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -3416,9 +3410,9 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" -version = "11.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68672b9ec6fe72d259d3879dc212c5e42e977588cdac830c76f54d9f492aeb58" +checksum = "ed971c6435503a099bdac99fe4c5bea08981709e5b5a0a8535a1856f48561191" dependencies = [ "proc-macro2", "quote", @@ -3427,9 +3421,9 @@ dependencies = [ [[package]] name = "frame-system" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "983b3215c8d97775b90dc1db88f858c46401682bd2fb8572bdd102ff8c2ca2a6" +checksum = "f7537b5e23f584bf54f26c6297e0260b54fac5298be43a115176a310f256a4ab" dependencies = [ "cfg-if", "docify", @@ -3448,9 +3442,9 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f78a2fe203b01b596156b2514e0b890b4a628dbdb50925316e755aa623b6fe53" +checksum = "ea3c6bd0f5700363a845d4c0f83ea3478cdfcfe404d08f35865b78ebc5d37c0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -3464,9 +3458,9 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d183819ea7df1d89acd61fe423ae6bec24a29d87db5c18182339a751c0837a" +checksum = "7ae4e8decf1630ed6731e8912d1ed4ac3986d86c68f59580f2a9f61909150c41" dependencies = [ "parity-scale-codec", "sp-api", @@ -3474,9 +3468,9 @@ dependencies = [ [[package]] name = "frame-try-runtime" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5b3dab79d14d2e8f6329d7e5cb49f2bdb81b9ef3019b1c405d94defa137a353" +checksum = "bad42234b76beabf35bbc9a54566f0060b8d3d4fe93726007f02896e8beb91e3" dependencies = [ "frame-support", "parity-scale-codec", @@ -3716,7 +3710,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand 0.8.5", + "rand", "rand_core 0.6.4", ] @@ -3736,11 +3730,21 @@ version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ - "fallible-iterator", + "fallible-iterator 0.2.0", "indexmap 1.9.3", "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +dependencies = [ + "fallible-iterator 0.3.0", + "stable_deref_trait", +] + [[package]] name = "glob" version = "0.3.1" @@ -3748,16 +3752,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] -name = "globset" -version = "0.4.11" +name = "governor" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1391ab1f92ffcc08911957149833e682aa3fe252b9f45f966d2ef972274c97df" +checksum = "68a7f542ee6b35af73b06abc0dad1c1bae89964e4e253bc4b587b91c9637867b" dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", + "cfg-if", + "dashmap", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.1", + "portable-atomic", + "quanta", + "rand", + "smallvec", + "spinning_top", ] [[package]] @@ -3768,7 +3779,7 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -3792,9 +3803,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.3.7" +version = "5.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", @@ -3881,6 +3892,12 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-conservative" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ed443af458ccb6d81c1e7e661545f94d3176752fb1df2f543b902a1e0f51e2" + [[package]] name = "hex-literal" version = "0.4.1" @@ -3906,16 +3923,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.1", - "digest 0.9.0", -] - [[package]] name = "hmac" version = "0.12.1" @@ -4028,10 +4035,9 @@ dependencies = [ "hyper", "log", "rustls 0.21.10", - "rustls-native-certs", + "rustls-native-certs 0.6.3", "tokio", - "tokio-rustls", - "webpki-roots 0.25.4", + "tokio-rustls 0.24.1", ] [[package]] @@ -4241,7 +4247,7 @@ dependencies = [ [[package]] name = "integritee-collator" -version = "1.9.4" +version = "1.9.5" dependencies = [ "assert_cmd", "async-trait", @@ -4348,7 +4354,7 @@ dependencies = [ [[package]] name = "integritee-runtime" -version = "1.9.50" +version = "1.9.51" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", @@ -4371,10 +4377,6 @@ dependencies = [ "hex-literal", "integritee-parachains-common", "log", - "orml-traits", - "orml-xcm", - "orml-xcm-support", - "orml-xtokens", "pallet-asset-conversion", "pallet-asset-registry", "pallet-assets", @@ -4532,9 +4534,9 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "367a292944c07385839818bb71c8d76611138e2dedb0677d035b8da21d29c78b" +checksum = "3cdbb7cb6f3ba28f5b212dd250ab4483105efc3e381f5c8bb90340f14f0a2cc3" dependencies = [ "jsonrpsee-core", "jsonrpsee-http-client", @@ -4542,105 +4544,107 @@ dependencies = [ "jsonrpsee-server", "jsonrpsee-types", "jsonrpsee-ws-client", + "tokio", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8b3815d9f5d5de348e5f162b316dc9cdf4548305ebb15b4eb9328e66cf27d7a" +checksum = "9ab2e14e727d2faf388c99d9ca5210566ed3b044f07d92c29c3611718d178380" dependencies = [ "futures-util", "http", "jsonrpsee-core", - "jsonrpsee-types", "pin-project", - "rustls-native-certs", + "rustls-native-certs 0.7.0", + "rustls-pki-types 1.4.1", "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.25.0", "tokio-util", "tracing", - "webpki-roots 0.25.4", + "url", ] [[package]] name = "jsonrpsee-core" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b5dde66c53d6dcdc8caea1874a45632ec0fcf5b437789f1e45766a1512ce803" +checksum = "71962a1c49af43adf81d337e4ebc93f3c915faf6eccaa14d74e255107dfd7723" dependencies = [ "anyhow", - "arrayvec 0.7.4", - "async-lock 2.7.0", + "async-lock 3.3.0", "async-trait", "beef", - "futures-channel", "futures-timer", "futures-util", - "globset", "hyper", "jsonrpsee-types", "parking_lot 0.12.1", - "rand 0.8.5", + "pin-project", + "rand", "rustc-hash", "serde", "serde_json", - "soketto", "thiserror", "tokio", + "tokio-stream", "tracing", ] [[package]] name = "jsonrpsee-http-client" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" +checksum = "8c13987da51270bda2c1c9b40c19be0fe9b225c7a0553963d8f17e683a50ce84" dependencies = [ "async-trait", "hyper", "hyper-rustls", "jsonrpsee-core", "jsonrpsee-types", - "rustc-hash", "serde", "serde_json", "thiserror", "tokio", + "tower", "tracing", + "url", ] [[package]] name = "jsonrpsee-proc-macros" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44e8ab85614a08792b9bff6c8feee23be78c98d0182d4c622c05256ab553892a" +checksum = "1d7c2416c400c94b2e864603c51a5bbd5b103386da1f5e58cbf01e7bb3ef0833" dependencies = [ "heck 0.4.1", - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.53", ] [[package]] name = "jsonrpsee-server" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4d945a6008c9b03db3354fb3c83ee02d2faa9f2e755ec1dfb69c3551b8f4ba" +checksum = "4882e640e70c2553e3d9487e6f4dddd5fd11918f25e40fa45218f9fe29ed2152" dependencies = [ - "futures-channel", "futures-util", "http", "hyper", "jsonrpsee-core", "jsonrpsee-types", + "pin-project", + "route-recognizer", "serde", "serde_json", "soketto", + "thiserror", "tokio", "tokio-stream", "tokio-util", @@ -4650,28 +4654,28 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245ba8e5aa633dd1c1e4fae72bce06e71f42d34c14a2767c6b4d173b57bee5e5" +checksum = "1e53c72de6cd2ad6ac1aa6e848206ef8b736f92ed02354959130373dfa5b3cbd" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror", - "tracing", ] [[package]] name = "jsonrpsee-ws-client" -version = "0.16.3" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e1b3975ed5d73f456478681a417128597acd6a2487855fdb7b4a3d4d195bf5e" +checksum = "c8a07ab8da9a283b906f6735ddd17d3680158bb72259e853441d1dd0167079ec" dependencies = [ "http", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", + "url", ] [[package]] @@ -4684,6 +4688,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "once_cell", + "serdect", "sha2 0.10.7", ] @@ -4857,7 +4862,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "quick-protobuf", - "rand 0.8.5", + "rand", "rw-stream-sink", "smallvec", "thiserror", @@ -4913,7 +4918,7 @@ dependencies = [ "multiaddr", "multihash 0.17.0", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.7", "thiserror", "zeroize", @@ -4938,7 +4943,7 @@ dependencies = [ "libp2p-swarm", "log", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.7", "smallvec", "thiserror", @@ -4960,7 +4965,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.9", "tokio", @@ -4996,7 +5001,7 @@ dependencies = [ "log", "once_cell", "quick-protobuf", - "rand 0.8.5", + "rand", "sha2 0.10.7", "snow", "static_assertions", @@ -5018,7 +5023,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.8.5", + "rand", "void", ] @@ -5038,7 +5043,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "quinn-proto", - "rand 0.8.5", + "rand", "rustls 0.20.8", "thiserror", "tokio", @@ -5056,7 +5061,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand 0.8.5", + "rand", "smallvec", ] @@ -5075,7 +5080,7 @@ dependencies = [ "libp2p-identity", "libp2p-swarm-derive", "log", - "rand 0.8.5", + "rand", "smallvec", "tokio", "void", @@ -5157,7 +5162,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5201,7 +5206,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -5215,7 +5220,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -5488,6 +5493,15 @@ dependencies = [ "libc", ] +[[package]] +name = "memmap2" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" +dependencies = [ + "libc", +] + [[package]] name = "memoffset" version = "0.6.5" @@ -5524,18 +5538,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -5555,7 +5557,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69672161530e8aeca1d1400fbf3f1a1747ff60ea604265a4e906c2442df20532" dependencies = [ "futures", - "rand 0.8.5", + "rand", "thrift", ] @@ -5602,19 +5604,19 @@ dependencies = [ "lioness", "log", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_distr", - "subtle 2.4.1", + "subtle 2.5.0", "thiserror", "zeroize", ] [[package]] name = "mmr-gadget" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d0ba6676a84f182dabd7c3ec2c92f0e882fe4e4179ddf76f02ac132e6eb0ab" +checksum = "59b5265ecba4e5fc2c242798fc7795f6bf7ce7c9ab909ecea7df3f8242fa74af" dependencies = [ "futures", "log", @@ -5632,11 +5634,10 @@ dependencies = [ [[package]] name = "mmr-rpc" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19066d17147f6819ec25f5f6fc3b9fca2008ae745ac7fa2d55ddb1d207119eae" +checksum = "dfab619df48bac956375483e4d57e995fbfaec310c86cfbc420e905506b67002" dependencies = [ - "anyhow", "jsonrpsee", "parity-scale-codec", "serde", @@ -5856,7 +5857,7 @@ version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ - "rand 0.8.5", + "rand", ] [[package]] @@ -5957,12 +5958,29 @@ dependencies = [ ] [[package]] -name = "no-std-net" -version = "0.6.0" +name = "nix" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" - -[[package]] +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +dependencies = [ + "bitflags 2.4.2", + "cfg-if", + "libc", +] + +[[package]] +name = "no-std-compat" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b93853da6d84c2e3c7d730d6473e8817692dd89be387eb01b94d7f108ecb5b8c" + +[[package]] +name = "no-std-net" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43794a0ace135be66a25d3ae77d41b91615fb68ae937f904090203e81f755b65" + +[[package]] name = "nodrop" version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -5984,6 +6002,12 @@ dependencies = [ "minimal-lexical", ] +[[package]] +name = "nonzero_ext" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38bf9645c8b145698bb0b18a4637dcacbc421ea49bef2317e4fd8065a387cf21" + [[package]] name = "normalize-line-endings" version = "0.3.0" @@ -6100,6 +6124,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + [[package]] name = "oid-registry" version = "0.6.1" @@ -6151,7 +6184,7 @@ dependencies = [ "futures-timer", "orchestra-proc-macro", "pin-project", - "prioritized-metered-channel 0.6.1", + "prioritized-metered-channel", "thiserror", "tracing", ] @@ -6181,100 +6214,11 @@ dependencies = [ "num-traits", ] -[[package]] -name = "orml-traits" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f4617d5262e9a8f3b5e7ab5961e8d0a3d4e25ef0c9d34e6ff87766c406898b" -dependencies = [ - "frame-support", - "impl-trait-for-tuples", - "num-traits", - "orml-utilities", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", -] - -[[package]] -name = "orml-utilities" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1756d8ca7c433fdb538ff14bbb60a343fc6cf7b0684af4a73889f89de364e18f" -dependencies = [ - "frame-support", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - -[[package]] -name = "orml-xcm" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c3bdb23468f0532c78941c122a37c4f3d8629bb8fc69810ecf3b5f20fa7f81" -dependencies = [ - "frame-support", - "frame-system", - "pallet-xcm", - "parity-scale-codec", - "scale-info", - "sp-std", - "staging-xcm", -] - -[[package]] -name = "orml-xcm-support" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb61790b9ce5698f7026bbf9ebd932df782a425b3551e9dd04300cb4eace179" -dependencies = [ - "frame-support", - "orml-traits", - "parity-scale-codec", - "sp-runtime", - "sp-std", - "staging-xcm", - "staging-xcm-executor", -] - -[[package]] -name = "orml-xtokens" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18d1f2b938ce3c789a749e2214ec23a946e5110e0df16c605d1f75a1b852afa6" -dependencies = [ - "frame-support", - "frame-system", - "log", - "orml-traits", - "orml-xcm-support", - "pallet-xcm", - "parity-scale-codec", - "scale-info", - "serde", - "sp-io", - "sp-runtime", - "sp-std", - "staging-xcm", - "staging-xcm-executor", -] - [[package]] name = "pallet-asset-conversion" -version = "10.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2139677a59351fbd8513ddd92be4a7443d7d92f8f6897b2bbc78f55d1c6b8a" +checksum = "4dbd5ff1c6f662d330beb109f6180ee66ed9cd7710cad28f3d15c444556fcce4" dependencies = [ "frame-benchmarking", "frame-support", @@ -6291,9 +6235,9 @@ dependencies = [ [[package]] name = "pallet-asset-rate" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e6f4917bc6c9ed6864813bbb828e94c63e1878a21af89d25dd0ff7da742f53e" +checksum = "a5a492d16d0f7423cb2d7ca6fa6b4d423a4f4e2f67d2dc92d84d5988fcc33cfb" dependencies = [ "frame-benchmarking", "frame-support", @@ -6308,7 +6252,7 @@ dependencies = [ [[package]] name = "pallet-asset-registry" version = "0.0.1" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "frame-benchmarking", "frame-support", @@ -6325,9 +6269,9 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e967664d86219ca9f7d33504e8d914225cdb92e9e793d35edaab1fd2574f162f" +checksum = "cfcf34819002b9d6c8d7a28d89207498f63288de6689061fe9c1fb7c55454ff8" dependencies = [ "frame-benchmarking", "frame-support", @@ -6344,9 +6288,9 @@ dependencies = [ [[package]] name = "pallet-assets" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aca79db2bc70c269170893604d8a56d0f32d52c75a23a3d887b6b4df132366b7" +checksum = "805543c2ea1f10f14bc767f156b8ec80785345b683eaa59dea84d28745a87ee3" dependencies = [ "frame-benchmarking", "frame-support", @@ -6361,9 +6305,9 @@ dependencies = [ [[package]] name = "pallet-aura" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10c6ecf016520a6883df14b2f1d469d98166377eba4b299af7b76eee0130e3a6" +checksum = "e3f1176f435a94b510b99bc2aaaa84788d60f8c5352c5f34f165b37523e448a1" dependencies = [ "frame-support", "frame-system", @@ -6379,9 +6323,9 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" -version = "28.0.0" +version = "31.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9224b0a0bb4fa721d51f56947c73d4189710691b4cb40e7f7a8abf59795759a" +checksum = "6a9c124d86227da7ae9073cc2984c0384c7830f7fa61450c0990c56837335da2" dependencies = [ "frame-support", "frame-system", @@ -6396,9 +6340,9 @@ dependencies = [ [[package]] name = "pallet-authorship" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "817b0420f9c14bd9bfbaf9e2f769a7e8124ab4fe3da0d07c80485c0901947ab8" +checksum = "8168348a94c479b7da001b3f0d1100210704eda8ce72c58aac456f1d866d7d67" dependencies = [ "frame-support", "frame-system", @@ -6411,9 +6355,9 @@ dependencies = [ [[package]] name = "pallet-babe" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ba445228a941062d7c4d6295810a359df7757d6182c36ddb824f8c3bf350380" +checksum = "37353294183655c76cdc56ffc5edf777b1e2275af59ae73c8aa255b6d941b362" dependencies = [ "frame-benchmarking", "frame-support", @@ -6436,11 +6380,11 @@ dependencies = [ [[package]] name = "pallet-bags-list" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00b0d7b6922a6bed960591efb49da6637312c034337faf4c85d8b35f2e2c611a" +checksum = "dc3f838e96a2cbd06731beb72b755ccc5bd05bcc696717a1148bdddfe9062e93" dependencies = [ - "aquamarine", + "aquamarine 0.5.0", "docify", "frame-benchmarking", "frame-election-provider-support", @@ -6459,10 +6403,11 @@ dependencies = [ [[package]] name = "pallet-balances" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8406b5616e468d80972b6365f3cd8211d0dbf4d107b379fac85fddcfdf0b5562" +checksum = "d3565d525dd88e07da5b2309cd6ffe7447ddc5406eeaa2cb26157d35787a69a7" dependencies = [ + "docify", "frame-benchmarking", "frame-support", "frame-system", @@ -6475,9 +6420,9 @@ dependencies = [ [[package]] name = "pallet-beefy" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03f71d32d9681e9d78102dad00377629cac24b4bf43f6371c0dc7e5b25981eb4" +checksum = "a1371a2f241fd33b794b0e824f28be9de76e7544a2602421e1c4a58cb0eccef6" dependencies = [ "frame-support", "frame-system", @@ -6496,9 +6441,9 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b8eaa5c053d9cbf20faa397f21b80b9b5bafbe428890b0171fd1bba16f52ce" +checksum = "c32a1e978b043f4bf7cfcdb130a51dda4dbade1de5b85d2d634082edbc08f9cb" dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", @@ -6522,9 +6467,9 @@ dependencies = [ [[package]] name = "pallet-bounties" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5d421e3228bc4e8170d817d657aa87761b77ee4675a9e16328e1ca070cb4c41" +checksum = "e23273ffc30d94c725cb37ac1f45a40e308d8e8bfab251a299d4ed1fa9e8e46f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6541,9 +6486,9 @@ dependencies = [ [[package]] name = "pallet-broker" -version = "0.6.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "904983f117ff92ee24b251f2a883ff01b6f8e9063649877f3892ecbb516e3cbd" +checksum = "c1b05f01c3d279cd661eba2c391844bac03fa5f979b9de821e6eb1cbe6069dfc" dependencies = [ "bitvec", "frame-benchmarking", @@ -6559,9 +6504,9 @@ dependencies = [ [[package]] name = "pallet-child-bounties" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb62c44d3ab8dcbf106b22acc138eaea6e51563d16a8d4a246303f2e20eeb9e5" +checksum = "46f1f5d1f6420b72e7fff2fa9146f1f13f68e3a3d293b421d9b9d34ad0dfa134" dependencies = [ "frame-benchmarking", "frame-support", @@ -6580,7 +6525,7 @@ dependencies = [ [[package]] name = "pallet-claims" version = "0.9.12" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "claims-primitives", "frame-benchmarking", @@ -6599,9 +6544,9 @@ dependencies = [ [[package]] name = "pallet-collator-selection" -version = "9.0.0" +version = "12.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4199122c135e161d2e2f4cbc9339c54a11ac4b11e0beb67e53b49a3c90d566b" +checksum = "e777e84455b11e0a8798466566ebb23939f196145183665f5e67e94706ffa112" dependencies = [ "frame-benchmarking", "frame-support", @@ -6610,7 +6555,7 @@ dependencies = [ "pallet-authorship", "pallet-session", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-runtime", "sp-staking", @@ -6619,9 +6564,9 @@ dependencies = [ [[package]] name = "pallet-collective" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ed22cf9d91c120695063cfa95ae0ffabcadefdf2581657ddb5fd68555b3a2e0" +checksum = "241ffbf21673fca6bf8caa2ee35088a18704b95d174e32280cb7569f58af7c61" dependencies = [ "frame-benchmarking", "frame-support", @@ -6637,9 +6582,9 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a189b5fb4a473edc7b2d52109fe10d0017b9b56f7c0324018b5970125db3ce3" +checksum = "f51344679f168ecc258bf52d0a9578f6c3043e2aff4b9147004c7b8429460370" dependencies = [ "assert_matches", "frame-benchmarking", @@ -6655,9 +6600,9 @@ dependencies = [ [[package]] name = "pallet-democracy" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b687c8a22b37f9b8444a29959f9cd0cf0be2f8efb8cd9bf91860d5dbafdab8b3" +checksum = "1603fc7a149fd1f8bc43349035a69370a024acc95d6a10a37d3b9e1f22cc58ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -6674,9 +6619,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc5e1f80bb4ce08b27f5a8a733d5c2d72d083a7d48afa4bdbb1ef3594a31e353" +checksum = "da78b2feeba1286b66ac20cbfbcd321fe9d1d2bc15e9e31292023e9a66dbb819" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6685,7 +6630,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sp-arithmetic", "sp-core", @@ -6698,9 +6643,9 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "193a8592c5fd534d56d07b2abe14e830d23947fb66f31867083e4f3ef80c8caa" +checksum = "e1b20f98b9a1497a59d2b0eca0051c5ada89851bf29b26fda3a2cfe934a32116" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6713,9 +6658,9 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dd2f70c57cbb3dcde39f141721dd34a8c852e0caaf61ae6b0bbd23138b6e1d3" +checksum = "de22659bdd6190e4f94936f0d338e67dde80e537fe22c30eb96ceab9f0d9914f" dependencies = [ "frame-benchmarking", "frame-support", @@ -6734,7 +6679,7 @@ dependencies = [ [[package]] name = "pallet-enclave-bridge" version = "0.12.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -6758,9 +6703,9 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd6e0b51b82075b046792cdde2d4a2f6c9301f3deba44c26d30ab152060b9028" +checksum = "24717c932bd68705e3a5b6b9311a31e57b354274de1c373feb9ca920f6a3e439" dependencies = [ "docify", "frame-benchmarking", @@ -6778,9 +6723,9 @@ dependencies = [ [[package]] name = "pallet-grandpa" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "935e91fa8936381aff2b88d8a7dad38ac30a1c8d2310340d73ce1c07b5ae72ce" +checksum = "d9f8a78e4f5e2399596fa918f22e588e034d78c13a46925313abb4b152a9d919" dependencies = [ "frame-benchmarking", "frame-support", @@ -6802,9 +6747,9 @@ dependencies = [ [[package]] name = "pallet-identity" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3259bb87d50529027fa40267c3662dc80c683f253f121f391c032b019c88fcb" +checksum = "33bca13843a11add3909a8c4bffae547ba9fa3a11c07ac2f8afd670acd85cb15" dependencies = [ "enumflags2", "frame-benchmarking", @@ -6820,9 +6765,9 @@ dependencies = [ [[package]] name = "pallet-im-online" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4be3f0165158828e4e77fae106a93bc1f48cc751755bdb012edb3ac0ef1d246" +checksum = "39cb6cbcef9e9ab68a5e79429a1f32ebc8114e4c9c2c2b0356c1db212e3e0bc2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6841,9 +6786,9 @@ dependencies = [ [[package]] name = "pallet-indices" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ead239524e40e55d172f024ff6795998068a2ba1c0950e74c4db7f347cfa91e" +checksum = "a3e23345544e9b6635d296195c355a768c82a9e1d82138378ef5b80102828664" dependencies = [ "frame-benchmarking", "frame-support", @@ -6859,9 +6804,9 @@ dependencies = [ [[package]] name = "pallet-membership" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2dfdff5a7e5b21355b34245312ba2ea687444d9003960e7b876e1df518dab" +checksum = "b8bb958b03ec28b6e7e97abfca28acb1c1d8e91ad5194537f6550c348fc60f54" dependencies = [ "frame-benchmarking", "frame-support", @@ -6877,9 +6822,9 @@ dependencies = [ [[package]] name = "pallet-message-queue" -version = "31.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab6302efb264a65fd175f3082b72004df125f646a3c68b72fd08e657a468c0d6" +checksum = "063b2e7912fbbe67985e68e460f2f242b90de48a63a1f03dd2ae022154ba25e9" dependencies = [ "environmental", "frame-benchmarking", @@ -6898,9 +6843,9 @@ dependencies = [ [[package]] name = "pallet-mmr" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6565b91d1d585047648793feece7c2c70080b37e1f55ab3a4fb50b4c1bec86" +checksum = "44f5356b869f71205d53ed686846075ebb7d67824f334289ebbe6c61766c90c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -6917,9 +6862,9 @@ dependencies = [ [[package]] name = "pallet-multisig" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14dbcdea9d3d7963aab57078a5bd6f3596186bfcf181d666db6ea2bfdc0184ec" +checksum = "284ff5c6675ac6438c2f4a20d75627ad4b6d7c78bb5fd911198e34ce48bc7cf2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6934,9 +6879,9 @@ dependencies = [ [[package]] name = "pallet-nis" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86c541b2785051ebe1ae378be4b086055fbb8b13ee18fd949dfcf68dbd1c3325" +checksum = "948a11c933d345bfd7750e92b5650656e4d967f4fbcf7e36200ef7063985b9c6" dependencies = [ "frame-benchmarking", "frame-support", @@ -6951,9 +6896,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" -version = "25.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4eca0c1399f1c48b3051b33d6624021ae2b3791139461427cfc99a1e64f0cb8" +checksum = "781148c86c07aca84f471d06b449d7098e94d76bc08dd7e69bcb2572264d1b20" dependencies = [ "frame-support", "frame-system", @@ -6971,9 +6916,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d01847415cd33a92c65e8d13cb0041a32b2f2523c84d9d944287ae5c0d920c82" +checksum = "d267d96d52b7bb17b5bd1333375f86a58595a457218ddc82ddec32c194806713" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -6992,9 +6937,9 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" -version = "23.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a64b17d862b833ca07a375646ecc80e164e5618c3aed4e5631816aa7288bf9b1" +checksum = "cc2055f407f235071239494548d86f4f6d5c6ec24968fd8dcac553e00e08588d" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -7004,9 +6949,9 @@ dependencies = [ [[package]] name = "pallet-offences" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de7b17230f58ff6b1ec2a70b3c639c49f585841dacf63f30c78db6387a833e0b" +checksum = "8f42b47ac29f107f30213d259cc0f73e1270743b66909fc7c9079d691a891b5a" dependencies = [ "frame-support", "frame-system", @@ -7022,9 +6967,9 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "060483993358293d041e5173635082c68c7783a800c0874e8df87c324232f0d1" +checksum = "2d0745d6fd98a6ef7b19139470a28f9b9530b425c03dc02fbd773c989fe0a96b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7047,9 +6992,9 @@ dependencies = [ [[package]] name = "pallet-preimage" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce688c68f117b1916a844579aa5a945d786059b119a1cc80ace370afd1e50da4" +checksum = "6d01a900fe79c5f0762ccc29a11dda2799830ce233aa5384b2f13d9cc28e2e70" dependencies = [ "frame-benchmarking", "frame-support", @@ -7065,9 +7010,9 @@ dependencies = [ [[package]] name = "pallet-proxy" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3162924576a70509136eb4d8513497fb640a8b3ea753883fe29bd454c511485" +checksum = "61918227f99ed2b322bf9050337773c8a40908b2f6a800352a20485e5ba0ef1c" dependencies = [ "frame-benchmarking", "frame-support", @@ -7081,13 +7026,14 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86c6d11592a6ba9039bd3486dba15f0cb045889b2746f4619f5ec78188fdd151" +checksum = "47fbdfc5da0a70c788be3ea594153c825b4e79ae6a83499f38c251cdb5a726c0" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", @@ -7100,9 +7046,9 @@ dependencies = [ [[package]] name = "pallet-recovery" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8649310b8f00e3b2983331cdb7173d1e66e5eeb3a3d21479e7a65386244f883" +checksum = "7cf473e4b04cd9ba40ed8963a03499de0a1a84c8eb9343b569b15bab6bb47a79" dependencies = [ "frame-benchmarking", "frame-support", @@ -7116,9 +7062,9 @@ dependencies = [ [[package]] name = "pallet-referenda" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6645c0c09ff8484c6c7ac1546d908202ed555b18169ea956955e4e2d77b210" +checksum = "b515fdbcade5b8a507e1a8ffc8b5a59725b1c8c71cfc6f8f5ae490e4a33f732c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7136,9 +7082,9 @@ dependencies = [ [[package]] name = "pallet-root-testing" -version = "4.0.0" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7bd13ad045bda70f0d2023333d36620bd7b48172646274572332dc9f62fd3c8" +checksum = "7926eb378bda52162a713aca44a6faab5fc7d6867f82ac14ba375df2b33eaa7f" dependencies = [ "frame-support", "frame-system", @@ -7152,9 +7098,9 @@ dependencies = [ [[package]] name = "pallet-scheduler" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc26a27b77170c18261af7be04a6569e3d0d58788255b9f283ccd089aac37887" +checksum = "44f81ff1151067225c2c359a132880e084a1c72656457fe443147ed2e6daaac2" dependencies = [ "docify", "frame-benchmarking", @@ -7171,9 +7117,9 @@ dependencies = [ [[package]] name = "pallet-session" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e23ca2bfcffb5194de952050557bdd1fe9bce18b2bc81e8f8c01c8a3c3c3e5d8" +checksum = "17951aa288869e5afe5815eedc7038dd50b9741d215b66323ff4a12f5686ac15" dependencies = [ "frame-support", "frame-system", @@ -7194,9 +7140,9 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc660786028d46e03fb0a419d6a15df3fa556db7ce74efebf5a35037b32b4bc4" +checksum = "118d0e5a8c09dbb1c7326021335aab36546846c678b3ce79301ace02cec260f7" dependencies = [ "frame-benchmarking", "frame-support", @@ -7204,7 +7150,7 @@ dependencies = [ "pallet-session", "pallet-staking", "parity-scale-codec", - "rand 0.8.5", + "rand", "sp-runtime", "sp-session", "sp-std", @@ -7213,7 +7159,7 @@ dependencies = [ [[package]] name = "pallet-sidechain" version = "0.11.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "enclave-bridge-primitives", "frame-benchmarking", @@ -7239,9 +7185,9 @@ dependencies = [ [[package]] name = "pallet-society" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c19c1f5a410c0b03dc1e3245ffc0269e6c9085e6f6a64ee023f7515b6f8d9b" +checksum = "7f3255dc30ce7ebfd7ee59b1890d1f0091f416f486532d4eaf795dc209e3c28e" dependencies = [ "frame-benchmarking", "frame-support", @@ -7258,9 +7204,9 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8883bbca2bd6ee41f81382418372ce44fd771ac53591ce9be4018ea43f8c5eda" +checksum = "baeb3d22e737307280e2047cba983cc9aa477a6f4c3001e8c1f07077d148c8f7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7294,9 +7240,9 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" -version = "19.0.0" +version = "21.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e23336e4da87101633f95f9932946564c926ca7f87499654b38923b1579c605e" +checksum = "1e341c47481040b68edcf166ad34633c4c5da20d1559413e68387da935a6ae18" dependencies = [ "log", "sp-arithmetic", @@ -7304,9 +7250,9 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" -version = "14.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e27156b772eccb539cb1a1ea1b1b6e98d9c6589e18b913a30f67913fcf67fe7e" +checksum = "b398bbc910ed6e7e2fd76251910a8895e7c3343023e2279124568a1c860cab54" dependencies = [ "parity-scale-codec", "sp-api", @@ -7315,9 +7261,9 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a48713905a318b0307e523fd3d3ca4b197ce74b2520203ded0d02e8a6c6bbd7" +checksum = "de51e792bcf770a00c5adf8db67f35dae450f445d36fa4b650980017063a62aa" dependencies = [ "frame-benchmarking", "frame-support", @@ -7333,9 +7279,9 @@ dependencies = [ [[package]] name = "pallet-sudo" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053dae9119d2d828af80e8ac98f497dc27155d6b5d42264dab8fae40f2314c41" +checksum = "a00abb554e916fd31ffbc792bff01e2dd9961a0a4bb781d27ef5f30c908ac2f6" dependencies = [ "docify", "frame-benchmarking", @@ -7351,7 +7297,7 @@ dependencies = [ [[package]] name = "pallet-teeracle" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7375,7 +7321,7 @@ dependencies = [ [[package]] name = "pallet-teerex" version = "0.10.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7400,9 +7346,9 @@ dependencies = [ [[package]] name = "pallet-timestamp" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688b89bdd377609b592bd094b304ebca33f4767fe72935465e2fd7db0e797968" +checksum = "bb766403f8cabcedb1725326befd7253de3e4c1d3b3d5f7c40adc49ebee5040c" dependencies = [ "docify", "frame-benchmarking", @@ -7421,9 +7367,9 @@ dependencies = [ [[package]] name = "pallet-tips" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "facf64cab7f7a4762c57e5827597b2ca073755de4c9716444cf0847db34836df" +checksum = "fee0ebf5ee31239f9017785cecd54b46be26edef126b6369af477d67f5088ffb" dependencies = [ "frame-benchmarking", "frame-support", @@ -7441,9 +7387,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18b4ca7a1af9b1f091900a354a96319c7614d7a32106ba86cb7f0b6f90239065" +checksum = "12df1de833ad0abff5daa53f80594d6ef66d250cc1ae073c01e406ce37bbf25e" dependencies = [ "frame-support", "frame-system", @@ -7458,9 +7404,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" -version = "30.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba1486d58f38892df779a7812f28ff962d0b0632b955ea3c348f605caa01ba6d" +checksum = "17b3e7cc2ef454af06e0d73e180d2f22c7f6714dca7c1d4a3cc95786041e42c2" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -7475,9 +7421,9 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdfd7c882439b8198c99ece57b5bf785965545a6fa6d0bb7b56b264df1e437a" +checksum = "4e060567db5e59e3f26cc274cb9fc5db5af160ac67062d61e488f7887fef5470" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -7488,9 +7434,9 @@ dependencies = [ [[package]] name = "pallet-treasury" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75cb7498228e1a150fa09ce64acafe7105ff39b75dae1c266ba58b7e3eb225e" +checksum = "174da255855136b4bf7174a1499ddf20134efe75d59fac4709244fe813534656" dependencies = [ "docify", "frame-benchmarking", @@ -7508,9 +7454,9 @@ dependencies = [ [[package]] name = "pallet-utility" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "384c1d740c019410f6b40586cc387726c2e3c417c0e3e6f7e4774cd46bc6c1d0" +checksum = "73c54ec28e67769b35a650d497ddd10bf0dd783d14965a1034cdcb71ae1d1442" dependencies = [ "frame-benchmarking", "frame-support", @@ -7525,9 +7471,9 @@ dependencies = [ [[package]] name = "pallet-vesting" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55f3ac517a10c14beee86a737b9ea5d592af9ab21cc5354474bc5f7019210358" +checksum = "4a5627016e1cb40d02bf589507429558208c05948d1399ab405307bfe3b1d967" dependencies = [ "frame-benchmarking", "frame-support", @@ -7541,9 +7487,9 @@ dependencies = [ [[package]] name = "pallet-whitelist" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de259e3329422bf3eb10b7e966f4b1c5caadcb29cd2d45af3a000cb2d184e60d" +checksum = "a68e2271ffe7a20565b7539931b9c01f29039ab151ac14fd93032e81f250727f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7557,9 +7503,9 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "7.0.0" +version = "10.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee3520e03ac679125e8dcaa00ce4afeeb106a9623e79b5acf970d72af7f5d02" +checksum = "bd52ee00a54f8b6ff3a90e97622b2403667ef25105dd08d71d45a7075c0ba478" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -7581,9 +7527,9 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2846fe0a9fe3e103dea417da9d41d4f59e32aa2f2ee79e9bf424d1c99e4ba1" +checksum = "3af346fe874360fdd3e36a63cac72a891283b63a2865b28f8afccaa63472fd40" dependencies = [ "frame-benchmarking", "frame-support", @@ -7602,7 +7548,7 @@ dependencies = [ [[package]] name = "pallet-xcm-transactor" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "cumulus-primitives-core", "frame-benchmarking", @@ -7621,16 +7567,15 @@ dependencies = [ [[package]] name = "parachains-common" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ceadd4f51620023871ece5eeda64734acd17d84d49b45473d335e900a012fdde" +checksum = "5539fb10c2901cf120d3db87f6ee1568696ccce30cea1a0d0cdee31f64f1da37" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", "frame-support", "frame-system", "log", - "num-traits", "pallet-asset-tx-payment", "pallet-assets", "pallet-authorship", @@ -7639,11 +7584,8 @@ dependencies = [ "pallet-message-queue", "pallet-xcm", "parity-scale-codec", - "polkadot-core-primitives", "polkadot-primitives", - "rococo-runtime-constants", "scale-info", - "smallvec", "sp-consensus-aura", "sp-core", "sp-io", @@ -7651,10 +7593,21 @@ dependencies = [ "sp-std", "staging-parachain-info", "staging-xcm", - "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", - "westend-runtime-constants", +] + +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -7670,9 +7623,9 @@ dependencies = [ "libc", "log", "lz4", - "memmap2", + "memmap2 0.5.10", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "siphasher", "snap", "winapi", @@ -7778,19 +7731,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] -name = "paste" -version = "1.0.14" +name = "password-hash" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle 2.5.0", +] [[package]] -name = "pbkdf2" -version = "0.8.0" +name = "paste" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.1", -] +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pbkdf2" @@ -7799,6 +7754,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "password-hash", ] [[package]] @@ -7949,9 +7905,9 @@ checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" [[package]] name = "polkadot-approval-distribution" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98fd276eccca3ada04cb274f4b8c51f669087d8b334c775f1231a9194d5260d0" +checksum = "c71bcf7eaa793354f996553b9b472833f761d9cd9e9bf6b2123895da4df6a25b" dependencies = [ "bitvec", "futures", @@ -7964,15 +7920,15 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51c43e54e0cc47dfb4f7c3917a774ccc796524087515b212d9fe109bde71846e" +checksum = "9b156f5a0a20ffcd852e266b865ad9149c6180a4cf1af07f334567c3b86f0fec" dependencies = [ "always-assert", "futures", @@ -7981,15 +7937,15 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121ded25722b8505335b05a77f1def84278802ed3f4774c7fe6ab7c961affe06" +checksum = "156b913d3eb7981ac8d540bacef09d5dac3a5d0584fa5a27fc8971870a02040a" dependencies = [ "derive_more", "fatality", @@ -8001,7 +7957,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "schnellru", "sp-core", "sp-keystore", @@ -8011,9 +7967,9 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3902495dbba25e7526168c8f88b26cc0dbb96cfe10813238a650c67b34bf9f31" +checksum = "d736bca91fe70f303d09a1e251b7d3cb39164c94948d95a7769256ece066a3ed" dependencies = [ "async-trait", "fatality", @@ -8025,7 +7981,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-network", "schnellru", "thiserror", @@ -8035,9 +7991,9 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93cafe0d136732ad69bce9cd82a34a7b1ff0cd2268d84309aeb673622d40a013" +checksum = "5509ed80ddcbb63c88b9f346b22f4b663e52dadf475118ec06406a0688817c55" dependencies = [ "cfg-if", "clap", @@ -8057,6 +8013,7 @@ dependencies = [ "sp-io", "sp-keyring", "sp-maybe-compressed-blob", + "sp-runtime", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -8064,9 +8021,9 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a70007b246c3679ee43f11123bda6d715f659f7b6d4134d0fcbe8980e049386b" +checksum = "c82682bdd0aea251ab8f31a1b06f4c2c1c494e80fed4fc13ca9bc7622870bc82" dependencies = [ "bitvec", "fatality", @@ -8087,9 +8044,9 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda2b0f0c580c38f12445a4af10e0a23acf48381b2a95653e0be48ba787e10e5" +checksum = "44c2f38f3195108e9da39b9845895bb3dff76f1c7b31409143febeb1560cd276" dependencies = [ "parity-scale-codec", "scale-info", @@ -8100,15 +8057,15 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a9b173e02d1f600a422269b3b5a1db203d39f436f7db7d7e41ef6dda6f42e0" +checksum = "f5331cccd51a1593bc26a1619964f49876629589139cdf46151c21a6308c6bad" dependencies = [ "derive_more", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.0.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8126,9 +8083,9 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff8347b3528fe94e47ec1b818b06bf821010a5f180d0ac5c89138da0d382debc" +checksum = "4842b32ecf4ab29521f1f9dd199c35398cd101883912f74e070658cd465037af" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -8141,9 +8098,9 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4de739371a4b5f036848de5c7185dfee88587016d2bb32af07f38fb909b80d8" +checksum = "3165cced1fd975f43d21e8a0701b19461d07131ace5feae2bfeb8ea005953683" dependencies = [ "futures", "futures-timer", @@ -8151,21 +8108,22 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "sc-network", "sc-network-common", "sp-application-crypto", "sp-core", + "sp-crypto-hashing", "sp-keystore", "tracing-gum", ] [[package]] name = "polkadot-network-bridge" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4598c9d00dbc017c0f01e82a7c0740805cc500c3b8946ad0b7945ab4d68dd7ee" +checksum = "48f34d1b7dde0d43c37aeacb37c199cbfc1c541a3ff03317fcb6bcc2d69501f6" dependencies = [ "always-assert", "async-trait", @@ -8187,9 +8145,9 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba987629ab789f529426d6187dbafaa8209f5ee479c645184e4c1e33a59e2135" +checksum = "1060f6954c43f120751ad3f2a54155541893fcf9a966f4a9ce5192ee7888fa1f" dependencies = [ "futures", "parity-scale-codec", @@ -8206,9 +8164,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5910fa99def47accbb4505bef91f74614f62347bc0c53c11296d5ce70d8e255" +checksum = "427edaa41cc878f0d22b3248e900d1f65760a92f6e230e7a54ff6118b8ef9c79" dependencies = [ "bitvec", "derive_more", @@ -8216,7 +8174,7 @@ dependencies = [ "futures-timer", "itertools 0.10.5", "kvdb", - "merlin 3.0.0", + "merlin", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -8224,7 +8182,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_core 0.6.4", "sc-keystore", @@ -8240,9 +8198,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ab1583533dc82a719607323432c013e01c2a8c971eb7e7703ff5eadd762f4e3" +checksum = "669f4ba3485a915853e94db99cf0dc5af9bccacd76b4d6f06550c5ecbd33d4aa" dependencies = [ "bitvec", "futures", @@ -8263,9 +8221,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7b5468fa618ccbeb4611b073d2c28b9440b51f4012e69c117e43192f9de8b17" +checksum = "307ec8006475fd2f5f878bbfd7c74368f4fde0fd10096925a85b5e027ace4889" dependencies = [ "bitvec", "fatality", @@ -8276,6 +8234,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", + "schnellru", "sp-keystore", "thiserror", "tracing-gum", @@ -8283,9 +8242,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4975e2ecc81d34605748781e9449a7b7ff956c385b46496005257a1a7dd56f0d" +checksum = "b8133ce90b5bfc6d81c8d124dd26ec86624eb88bb33e57c0fb59d1262c9224ea" dependencies = [ "futures", "polkadot-node-subsystem", @@ -8299,9 +8258,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcfd720b86c1ddf6616cf083a2cb273147687521c1d13a7f3c991b1d5ae03444" +checksum = "1a4335b31f5d7dd3c59a7a061ca32061d290244fde416186fd22bee5093cf4bb" dependencies = [ "async-trait", "futures", @@ -8321,9 +8280,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9f00bd39f433a2e8281524529853a3be54970e799a451e2c14fc5b75cf226f" +checksum = "23b25733a45754fa4f049d26289994e379be21b132ca36982378604b53341104" dependencies = [ "futures", "polkadot-node-metrics", @@ -8336,9 +8295,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea28475a96dfb6419432314d8021780e5c5b0f50a5525fd332e8b2a947a2deb5" +checksum = "c77a7c69bd67b0840c0f97c61637b798f6ec49c6a1c4cf153e4d8e8b22e34c45" dependencies = [ "futures", "futures-timer", @@ -8354,9 +8313,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ad9cfb3e775dc4c611a79e294549fe4b244052ddaacf14133380e793c25a99f" +checksum = "ea6fb7b632e37b5eff4d3ceb246a6d7277c82bb573cbc2360c37719a5e00df82" dependencies = [ "fatality", "futures", @@ -8374,9 +8333,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb2535ef374a218b1e9d05b98a903edbdddf4eea47f9e137fcc09c8e1bc199dd" +checksum = "8c904246202cb80fc3e3872e142d74958903515c3b91d3d4d88907cf8bca46e2" dependencies = [ "async-trait", "futures", @@ -8392,9 +8351,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" -version = "6.0.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15a8876cc0aa627190f1d41c01061a7acee9621703501d9a60118d35e81579f9" +checksum = "d343298e502e687bc2f8ae837cad538a9b5d60ce714ace58120cb91aeb41d1c1" dependencies = [ "bitvec", "fatality", @@ -8410,9 +8369,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25c88b17b93bf410a72bfb4543b1ae01bb0d33fd6cba9af1f0e74c4ef2b906ad" +checksum = "f9be87118cc96f05bd5a35bee2f8c495b894d23fbff1c954b15d7dbe4516564c" dependencies = [ "bitvec", "fatality", @@ -8422,15 +8381,16 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", + "schnellru", "thiserror", "tracing-gum", ] [[package]] name = "polkadot-node-core-pvf" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c80f2810b2eb843f3282b11e7ce1624866b6dd1ee6a95541b5882b5df3f36f25" +checksum = "99c07e2dad8712e1e5978c6404aca20d2c7f1b5d6151d60277f49ce949b3ed5d" dependencies = [ "always-assert", "array-bytes 6.2.2", @@ -8449,7 +8409,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-parachain-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "slotmap", "sp-core", "sp-maybe-compressed-blob", @@ -8462,9 +8422,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14d8ddb21cb3ad1868967b116fbf289610880cb95313b2798762cdd8653d36b7" +checksum = "1536bf89078dca39061f2a4d742e11dc14da38ffa5b6ce84e5c454cf9fd9b151" dependencies = [ "futures", "polkadot-node-primitives", @@ -8479,15 +8439,16 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80bbf311b112a8552e89e5be55b0305d86328ba04528e47d3203cd27751405bc" +checksum = "2781bf5b07873b37ed5a76b28866367ea2529d4b91497c3db560c0eb59b2a2d9" dependencies = [ "cfg-if", "cpu-time", "futures", "landlock", "libc", + "nix 0.27.1", "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-primitives", @@ -8496,6 +8457,7 @@ dependencies = [ "sc-executor-wasmtime", "seccompiler", "sp-core", + "sp-crypto-hashing", "sp-externalities", "sp-io", "sp-tracing", @@ -8505,9 +8467,9 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17345f76b7ebcf2f1e1be5411a6420971ef60d69070f115e459b2f017f91bcb5" +checksum = "7065d7dd209b05ceaf3781ca0a7cdfcb0071c3a61a8357e37dff8587a94928d2" dependencies = [ "futures", "polkadot-node-metrics", @@ -8521,9 +8483,9 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b099624af4597bac5d1617a3cab057785ee47e657de7ad078957bfa397d82c4" +checksum = "e14e65e3d9990d1f8f793a23c05c6aa82a551e551225ab86d2625474afef748f" dependencies = [ "lazy_static", "log", @@ -8540,9 +8502,9 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2b5b00a9646875f22ab45e61ede04f623a3fbbc03bae52263b3d558c964bc32" +checksum = "a4ca58a67371546b66a011f0e27551094a8499a53223b16c164e769d25d981d0" dependencies = [ "bs58 0.5.0", "futures", @@ -8550,7 +8512,7 @@ dependencies = [ "log", "parity-scale-codec", "polkadot-primitives", - "prioritized-metered-channel 0.5.1", + "prioritized-metered-channel", "sc-cli", "sc-service", "sc-tracing", @@ -8560,9 +8522,9 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e420ba9220abaa468a393ff2834b7c2b4d7d87b6d903d9046dfd682c97d35d4c" +checksum = "67c3b078794c9c383ee3ceff65f2713ec81c033c6d8785ead5f7797e914c1fe3" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -8575,7 +8537,7 @@ dependencies = [ "polkadot-node-jaeger", "polkadot-node-primitives", "polkadot-primitives", - "rand 0.8.5", + "rand", "sc-authority-discovery", "sc-network", "strum 0.24.1", @@ -8585,9 +8547,9 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "366d18f1498426975c610246063149ad84788eb1e924cab6ee44a4d8958ecf61" +checksum = "1d9521abb7028ce7040f66a0786423bee2cdb7725ca46e5cee1f86191bcb2ed3" dependencies = [ "bitvec", "bounded-vec", @@ -8609,9 +8571,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "831cf07bf6588d7d8ab872f8f214b4b24b2c4243faf8028534f8a11a3f03c466" +checksum = "c7865c507f0eab9d816c40b1d4e2acb4e8f77db9efc8c0af23942d6b0f50e6f6" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -8620,9 +8582,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd132afdfcdf2e30f7924c9561bbc1208b0838ab9c2275bf0ef32525f63b8bd0" +checksum = "bf0e971c1377901212059b794b48acac9a855cac83f2e07dc1b708ca0e77ba64" dependencies = [ "async-trait", "bitvec", @@ -8649,9 +8611,9 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32c2f2027689777bd61681d769ed5ec726144905c4e3cb16c5f8a4edb55250a" +checksum = "4937553bd1a5f9ee9343a1a227ae07237b48a29c99ecd53217b090ca84b753c6" dependencies = [ "async-trait", "derive_more", @@ -8672,8 +8634,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-overseer", "polkadot-primitives", - "prioritized-metered-channel 0.5.1", - "rand 0.8.5", + "prioritized-metered-channel", + "rand", "sc-client-api", "schnellru", "sp-application-crypto", @@ -8685,9 +8647,9 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9aa0b71f50f0be1959bcb10a46105ca66b9c6868d549385a247750e5b7a45c77" +checksum = "97415bc09e9dd20d44a019eaf0bb803ab3239a7eca20820b181e53901966fdbc" dependencies = [ "async-trait", "futures", @@ -8708,9 +8670,9 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" -version = "6.0.0" +version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b37c55955147479e7b2f3c2e5385db4846ac3e3b997cd4a4ad52344524b5447" +checksum = "4b87dda07862f2b16f2c2b7d315f2b4549c896562d973d466b6d19de36aba30d" dependencies = [ "bounded-collections", "derive_more", @@ -8726,12 +8688,13 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8aefd230a654f5b2aee18ebbd9c081835def0e1898ee6c018501dd77c18f5929" +checksum = "7e01b525a35852e2861397eecbdb4a03dda69f14f7ca04968f2e06d6cba51dfb" dependencies = [ "bitvec", "hex-literal", + "log", "parity-scale-codec", "polkadot-core-primitives", "polkadot-parachain-primitives", @@ -8753,9 +8716,9 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "382eada9005c73375778e1dca58116e0660431cf90989fe0dde54ebe1f621a1e" +checksum = "9bf68469a4e01a0c8a16869fde6de3071fbebdf836058c8afe8396470ef2c462" dependencies = [ "jsonrpsee", "mmr-rpc", @@ -8787,9 +8750,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4641a850b7415a42e56bd262aba243ed77a9280cb2b825a427c425bdc8961d70" +checksum = "b1abd7bff20e17e025a4e001aff55dfefcfd7ef8a8ae138de44998a012e227f2" dependencies = [ "bitvec", "frame-benchmarking", @@ -8814,7 +8777,6 @@ dependencies = [ "pallet-transaction-payment", "pallet-treasury", "pallet-vesting", - "pallet-xcm-benchmarks", "parity-scale-codec", "polkadot-primitives", "polkadot-runtime-parachains", @@ -8840,9 +8802,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ac3c6ee03f38556274b26049c51c5c7095abfd4ebfd11cd492918a4344f2851" +checksum = "4fed9088becfd874b6dbf064f9d1dd1bfa2e3c2188459a572aac2e689c028772" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -8854,9 +8816,9 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d253ef2952097398d98ed12729e47f9328bcd1baa92c3acc1524a4baca7d1ac" +checksum = "8ce601c5f1005ff1d315c1e5c161a73e63e54bf23527f98c2bfa3ffc5b22f5e6" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -8881,7 +8843,7 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-metrics", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rustc-hex", "scale-info", @@ -8904,11 +8866,12 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75bf984471c2608905176b62726b3552bbfdc3e04ebdc7fe75e5179ff215588" +checksum = "322db94a98084bf62ac2c58194856d823455ceb74000c9602f817b8b738a8f78" dependencies = [ "async-trait", + "bitvec", "frame-benchmarking", "frame-benchmarking-cli", "frame-support", @@ -9023,16 +8986,16 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82b48ff9204ea663ccccde78aefa8a524958aadff5c84a4f1fd773c291057d" +checksum = "38a4ef148c9bbed26f8630311ac26c9df1c07195a46a84fb5e8e7e7122e90248" dependencies = [ "arrayvec 0.7.4", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 1.9.3", + "indexmap 2.0.0", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -9047,15 +9010,136 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "478dea03265eb2465010dae149616e4f28fe858e103671b1a96dc19e9e388c8f" +checksum = "a18144720acd47e1243b60c20bfb03f73dc67cbaf61bf2820991961e1ebb803b" dependencies = [ "parity-scale-codec", "polkadot-primitives", "sp-core", + "tracing-gum", +] + +[[package]] +name = "polkavm" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a3693e5efdb2bf74e449cd25fd777a28bd7ed87e41f5d5da75eb31b4de48b94" +dependencies = [ + "libc", + "log", + "polkavm-assembler", + "polkavm-common 0.9.0", + "polkavm-linux-raw", +] + +[[package]] +name = "polkavm-assembler" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fa96d6d868243acc12de813dd48e756cbadcc8e13964c70d272753266deadc1" +dependencies = [ + "log", ] +[[package]] +name = "polkavm-common" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92c99f7eee94e7be43ba37eef65ad0ee8cbaf89b7c00001c3f6d2be985cb1817" + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" +dependencies = [ + "log", +] + +[[package]] +name = "polkavm-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79fa916f7962348bd1bb1a65a83401675e6fc86c51a0fdbcf92a3108e58e6125" +dependencies = [ + "polkavm-derive-impl-macro 0.8.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro 0.9.0", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c10b2654a8a10a83c260bfb93e97b262cf0017494ab94a65d389e0eda6de6c9c" +dependencies = [ + "polkavm-common 0.8.0", + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common 0.9.0", + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" +dependencies = [ + "polkavm-derive-impl 0.8.0", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl 0.9.0", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-linker" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c7be503e60cf56c0eb785f90aaba4b583b36bff00e93997d93fef97f9553c39" +dependencies = [ + "gimli 0.28.1", + "hashbrown 0.14.3", + "log", + "object 0.32.2", + "polkavm-common 0.9.0", + "regalloc2 0.9.3", + "rustc-demangle", +] + +[[package]] +name = "polkavm-linux-raw" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26e85d3456948e650dff0cfc85603915847faf893ed1e66b020bb82ef4557120" + [[package]] name = "polling" version = "2.8.0" @@ -9197,22 +9281,6 @@ dependencies = [ "uint", ] -[[package]] -name = "prioritized-metered-channel" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e99f0c89bd88f393aab44a4ab949351f7bc7e7e1179d11ecbfe50cbe4c47e342" -dependencies = [ - "coarsetime", - "crossbeam-queue", - "derive_more", - "futures", - "futures-timer", - "nanorand", - "thiserror", - "tracing", -] - [[package]] name = "prioritized-metered-channel" version = "0.6.1" @@ -9345,7 +9413,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" dependencies = [ "bytes", - "prost-derive", + "prost-derive 0.11.9", +] + +[[package]] +name = "prost" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "146c289cda302b98a28d40c8b3b90498d6e526dd24ac2ecea73e4e491685b94a" +dependencies = [ + "bytes", + "prost-derive 0.12.3", ] [[package]] @@ -9362,7 +9440,7 @@ dependencies = [ "multimap", "petgraph", "prettyplease 0.1.25", - "prost", + "prost 0.11.9", "prost-types", "regex", "syn 1.0.109", @@ -9383,13 +9461,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prost-derive" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "efb6c9a1dd1def8e2124d17e83a20af56f1570d6c2d2bd9e266ccb768df3840e" +dependencies = [ + "anyhow", + "itertools 0.11.0", + "proc-macro2", + "quote", + "syn 2.0.53", +] + [[package]] name = "prost-types" version = "0.11.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" dependencies = [ - "prost", + "prost 0.11.9", ] [[package]] @@ -9421,6 +9512,21 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "quanta" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ca0b7bac0b97248c40bb77288fc52029cf1459c0461ea1b05ee32ccf011de2c" +dependencies = [ + "crossbeam-utils", + "libc", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-error" version = "1.2.3" @@ -9467,7 +9573,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c956be1b23f4261676aed05a0046e204e8a6836e50203902683a718af0797989" dependencies = [ "bytes", - "rand 0.8.5", + "rand", "ring 0.16.20", "rustc-hash", "rustls 0.20.8", @@ -9493,19 +9599,6 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] - [[package]] name = "rand" version = "0.8.5" @@ -9562,25 +9655,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand 0.8.5", + "rand", ] [[package]] -name = "rand_hc" -version = "0.2.0" +name = "rand_pcg" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" dependencies = [ - "rand_core 0.5.1", + "rand_core 0.6.4", ] [[package]] -name = "rand_pcg" -version = "0.3.1" +name = "raw-cpuid" +version = "11.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" +checksum = "9d86a7c4638d42c44551f4791a20e687dbb4c3de1f33c43dd71e355cd429def1" dependencies = [ - "rand_core 0.6.4", + "bitflags 2.4.2", ] [[package]] @@ -9654,13 +9747,12 @@ dependencies = [ [[package]] name = "reed-solomon-novelpoly" -version = "1.0.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58130877ca403ab42c864fbac74bb319a0746c07a634a92a5cfc7f54af272582" +checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ "derive_more", "fs-err", - "itertools 0.11.0", "static_init", "thiserror", ] @@ -9697,6 +9789,19 @@ dependencies = [ "smallvec", ] +[[package]] +name = "regalloc2" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad156d539c879b7a24a363a2016d77961786e71f48f2e2fc8302a92abd2429a6" +dependencies = [ + "hashbrown 0.13.2", + "log", + "rustc-hash", + "slice-group-by", + "smallvec", +] + [[package]] name = "regex" version = "1.9.1" @@ -9758,7 +9863,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -9836,9 +9941,9 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e5ae118c3f3189a376703a4ca8569eb51ce1b121bc6b571c051b68c31e10a16" +checksum = "165988588402ce7dc2d32dfba280cbbd59befc444d8f95579b999ecd8575ef27" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -9933,9 +10038,9 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b5b507493a19b5061eb2860c394847261216c7ea7f8f62ba2cb02e55c27d611" +checksum = "0033b0335cd7cb691fbcd16346e151ffb21ad4e2a8675eda06b48275b8f52549" dependencies = [ "frame-support", "polkadot-primitives", @@ -9948,6 +10053,12 @@ dependencies = [ "staging-xcm-builder", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rpassword" version = "7.2.0" @@ -10085,6 +10196,20 @@ dependencies = [ "sct", ] +[[package]] +name = "rustls" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99008d7ad0bbbea527ec27bddbc0e432c5b87d8175178cee68d2eec9c4a1813c" +dependencies = [ + "log", + "ring 0.17.3", + "rustls-pki-types 1.4.1", + "rustls-webpki 0.102.2", + "subtle 2.5.0", + "zeroize", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -10092,7 +10217,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.3", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.1", + "rustls-pki-types 1.4.1", "schannel", "security-framework", ] @@ -10106,12 +10244,28 @@ dependencies = [ "base64 0.21.2", ] +[[package]] +name = "rustls-pemfile" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +dependencies = [ + "base64 0.21.2", + "rustls-pki-types 1.4.1", +] + [[package]] name = "rustls-pki-types" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a47003264dea418db67060fa420ad16d0d2f8f0a0360d825c00e177ac52cb5d8" +[[package]] +name = "rustls-pki-types" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecd36cc4259e3e4514335c4a138c6b43171a8d61d8f5c9348f9fc7529416f247" + [[package]] name = "rustls-webpki" version = "0.101.7" @@ -10128,7 +10282,18 @@ version = "0.102.0-alpha.3" source = "git+https://github.com/rustls/webpki?rev=da923ed#da923edaab56f599971e58773617fb574cd019dc" dependencies = [ "ring 0.16.20", - "rustls-pki-types", + "rustls-pki-types 0.2.1", + "untrusted 0.9.0", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +dependencies = [ + "ring 0.17.3", + "rustls-pki-types 1.4.1", "untrusted 0.9.0", ] @@ -10186,9 +10351,9 @@ dependencies = [ [[package]] name = "sc-allocator" -version = "23.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b05714bc70605d5f8983612d1643d875cd4782ef53a8720907a0eb75070cba" +checksum = "4715fddb2bd1862aa21f6312528ab339b7d03ef5ec654e3aa200a3119392392f" dependencies = [ "log", "sp-core", @@ -10198,9 +10363,9 @@ dependencies = [ [[package]] name = "sc-authority-discovery" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1c23040352415cdcc22203d3b18e56f3516e51865f106f8bbf7efa95b411a59" +checksum = "f987a536468e06b66fe3cac296b27dc532f301199e0278bc42ac32b8eb3a4a9d" dependencies = [ "async-trait", "futures", @@ -10211,9 +10376,9 @@ dependencies = [ "multihash 0.18.1", "multihash-codetable", "parity-scale-codec", - "prost", + "prost 0.12.3", "prost-build", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sp-api", @@ -10228,9 +10393,9 @@ dependencies = [ [[package]] name = "sc-basic-authorship" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c016e38155386e23649a4a995ea67c55a1fe25a54c7cc7509954d454ee75eb3b" +checksum = "295be922b93bd4bc77edadffe66ac85a09436284afe7f12c1efd4d01ec530d07" dependencies = [ "futures", "futures-timer", @@ -10251,9 +10416,9 @@ dependencies = [ [[package]] name = "sc-block-builder" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "656b85de8aad8dd758f2e5f250f300e4711f294f238c9299064fbd624cb263f7" +checksum = "033b5ee0fa6d770c9db8cd59f6d1f88e792c088238278fcb836b5c851936a62d" dependencies = [ "parity-scale-codec", "sp-api", @@ -10267,14 +10432,14 @@ dependencies = [ [[package]] name = "sc-chain-spec" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7f6a6926973e084fe9b23ffee9784cd41d84ea0627c605891542661bd9ff958" +checksum = "499fd59f6df4213edaf9b84aaebc466588b69dedf490c2bae3bc910fc37fbc42" dependencies = [ "array-bytes 6.2.2", "docify", "log", - "memmap2", + "memmap2 0.9.4", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", @@ -10285,6 +10450,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-core", + "sp-crypto-hashing", "sp-genesis-builder", "sp-io", "sp-runtime", @@ -10305,12 +10471,11 @@ dependencies = [ [[package]] name = "sc-cli" -version = "0.36.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9819b656041094ca4e97402be145c2bcf3f47d00d854708b25ecd3211eafcd62" +checksum = "20c2eae4d9396b19403f89f058a6a684066b58e051b1310f246eb9b41a7b54fe" dependencies = [ "array-bytes 6.2.2", - "bip39", "chrono", "clap", "fdlimit", @@ -10319,8 +10484,9 @@ dependencies = [ "libp2p-identity", "log", "names", + "parity-bip39", "parity-scale-codec", - "rand 0.8.5", + "rand", "regex", "rpassword", "sc-client-api", @@ -10347,9 +10513,9 @@ dependencies = [ [[package]] name = "sc-client-api" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af05565a0f6467ebe0b430f3a44524fecee9e4aff621647ea5eab8833f775b6f" +checksum = "08db275ca98f1fe44db2e2058893b182b85ef11cee7cf271edffd449a1179fc4" dependencies = [ "fnv", "futures", @@ -10375,9 +10541,9 @@ dependencies = [ [[package]] name = "sc-client-db" -version = "0.35.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9fbd18eb275120fdf2e9558a5006a69022405abb9c260c91d218ddb05db39" +checksum = "6bd93f124c30ec885696128a639e190293bee2a6430cc04248d656093b5d4f42" dependencies = [ "hash-db", "kvdb", @@ -10402,9 +10568,9 @@ dependencies = [ [[package]] name = "sc-consensus" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0409758bb01f2e975b01c7cb2203aa27746e9796a483b18c57123e6e78fae5" +checksum = "4da51746e9689ecee65d6c1ac32e89a7b0452ee1ce377485e94c285e9690dcfd" dependencies = [ "async-trait", "futures", @@ -10428,9 +10594,9 @@ dependencies = [ [[package]] name = "sc-consensus-aura" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cc4ebc06768af3e5457a5780aa6dbebeefe27131e70d11b62cfc8136e41747a" +checksum = "988701c58dcd9521412cfcbb54457b17546bb4363f021ee8131af409a027b879" dependencies = [ "async-trait", "futures", @@ -10458,9 +10624,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a7d698d9d2bde7e0b80e7ada57ede9255a6382da79d2ad9a4e9e70805c40e74" +checksum = "a65da2a2d198d0c06be3614eabc254b40ebb27516dd17bee56d24cbe08d0c19e" dependencies = [ "async-trait", "fork-tree", @@ -10485,6 +10651,7 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-slots", "sp-core", + "sp-crypto-hashing", "sp-inherents", "sp-keystore", "sp-runtime", @@ -10494,9 +10661,9 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f55379d0ce6f87026f896f03bce33862b57f77a46fbb4fb7e974182d20d458" +checksum = "ec114d8e12b82b298abdfbca76e7aac3af42865510dfb0f92fd3992e7edbb383" dependencies = [ "futures", "jsonrpsee", @@ -10517,9 +10684,9 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" -version = "13.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3664a3cddc718187e058f67d9075ef9078c8f8347c0408304ead8565d4ba8164" +checksum = "5a49993da0847cf1ef84184e24e8d95f71efac2e940556678bf9e45a8fd0a47f" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -10542,6 +10709,7 @@ dependencies = [ "sp-consensus", "sp-consensus-beefy", "sp-core", + "sp-crypto-hashing", "sp-keystore", "sp-mmr-primitives", "sp-runtime", @@ -10553,9 +10721,9 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" -version = "13.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4e3602efe1e206032164772c24365642e3dab807c5f8db0af166f6ef63af3e" +checksum = "179b561aa302c0a5a572c5484a50f85e4ccd55025fc14daddabf5fe16e8150e1" dependencies = [ "futures", "jsonrpsee", @@ -10573,9 +10741,9 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d0befddf2ca16d5f222968fceeab8625532f2d49303fafd17ae2e5d0e939da6" +checksum = "e892ae8bf5faa9042b6ec46396db1b4d9ded180a5f82afe3236fdebe0195f850" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10587,9 +10755,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" -version = "0.19.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a824457a3384e7bc19d7ee587dffa5b646deb81a2351be0dd075c2110a3d677a" +checksum = "e19945689693bbea950220bf7af1c79a2f70f5f37b97f7e6d136dcaf2b34f4a5" dependencies = [ "ahash 0.8.11", "array-bytes 6.2.2", @@ -10602,7 +10770,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -10622,6 +10790,7 @@ dependencies = [ "sp-consensus", "sp-consensus-grandpa", "sp-core", + "sp-crypto-hashing", "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", @@ -10630,9 +10799,9 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" -version = "0.19.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "694328880bf11fce67f5e066d7884dbdf1f2a41c42a7dfce9b0a6bc6b90448a1" +checksum = "68cd632a2a33d82e67cfd57dda6d966a6e25df08a4698c8d6ea7010515c5aebc" dependencies = [ "finality-grandpa", "futures", @@ -10651,9 +10820,9 @@ dependencies = [ [[package]] name = "sc-consensus-slots" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6649665fcf91d89c16bfb08e9326baf6547e5fe719d6438197434e5b642d716b" +checksum = "80b431251c43b5af64b0f2758a387061f53fa045bdbf97d7353fe06aa9ddfb7b" dependencies = [ "async-trait", "futures", @@ -10675,13 +10844,14 @@ dependencies = [ [[package]] name = "sc-executor" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3129f8af1f8aa5b05829ffec942feff61163054a536704ba48fdcc2276f6042a" +checksum = "7b8f8ddc63df8219768b729f9098ecd4362d2756b40784071cd44c3041f1d51d" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", + "sc-executor-polkavm", "sc-executor-wasmtime", "schnellru", "sp-api", @@ -10698,10 +10868,11 @@ dependencies = [ [[package]] name = "sc-executor-common" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0285a4a14c0d2c1d04380ff83cddd79181ded510c605d36804cb9c6eb3bbf2ae" +checksum = "00308c10173ec6446ccc2b96cd3a3037e64c94a424f94daa8c96f288794f4d34" dependencies = [ + "polkavm", "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", @@ -10710,10 +10881,22 @@ dependencies = [ ] [[package]] -name = "sc-executor-wasmtime" +name = "sc-executor-polkavm" version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c2ba6ea0e68400caf4847fbcfca6123952b05a817e06f024e9cbafa665ac9d8" +checksum = "63b9c814d3a94df7a323d728a6961a3b9ec8c5c5979eb858ec098ddf2838cfc0" +dependencies = [ + "log", + "polkavm", + "sc-executor-common", + "sp-wasm-interface", +] + +[[package]] +name = "sc-executor-wasmtime" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa37286464bd16146c612e3193a56df728815d23f9bf0faac7df898c0944c87f" dependencies = [ "anyhow", "cfg-if", @@ -10730,9 +10913,9 @@ dependencies = [ [[package]] name = "sc-informant" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e07d2dde727c30974767aed4cddd241447c0a800b702662b529dd2e32a10db1" +checksum = "2e9005c37100c6ea2b06668f72ba5bc927b5a2445ed26b008ddf1875998dea41" dependencies = [ "ansi_term", "futures", @@ -10748,9 +10931,9 @@ dependencies = [ [[package]] name = "sc-keystore" -version = "25.0.0" +version = "28.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93acb7f7c6e5e4be067e78b782a35d1a6d34dafcd955975a1aec05cab9dbf8fe" +checksum = "3ef7283da5d643ef89ed094e1b23451ec70386a9474d337cdaa0ef81870bb2d4" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", @@ -10763,9 +10946,9 @@ dependencies = [ [[package]] name = "sc-mixnet" -version = "0.4.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cac7d7145c712c4a8b184b3979fe1a154c200ebb1b9f11f1e4e39db97a389f8" +checksum = "248d9be75de68e34f6490065c398b8177ff967902d93e6b88527a0e8c00903ad" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -10793,9 +10976,9 @@ dependencies = [ [[package]] name = "sc-network" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2f49eccabc1de61ff976a184f5380a230f07baa5cb075a31c8ec9459fcd076" +checksum = "4067423488686ff78561ed0d32ac7e2617edd31219088b1322e85e945e62de29" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -10815,7 +10998,7 @@ dependencies = [ "parking_lot 0.12.1", "partial_sort", "pin-project", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network-common", "sc-utils", @@ -10837,16 +11020,16 @@ dependencies = [ [[package]] name = "sc-network-bitswap" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2779d97eff742c1ebcce812bfd154a7273c2c2eb02e11fad76cf7eb583365834" +checksum = "8dacf210f4e36e53dc3d3ff1cfd72e4378eb973568c261e7c62bc8daaec9f945" dependencies = [ "async-channel 1.9.0", "cid", "futures", "libp2p-identity", "log", - "prost", + "prost 0.12.3", "prost-build", "sc-client-api", "sc-network", @@ -10858,9 +11041,9 @@ dependencies = [ [[package]] name = "sc-network-common" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b798acc12d5b3120b2d5e8a078fcec39d6732089261136ac31c993235ade917" +checksum = "551dba7ce65d136788c3154044fb425e2cb6e883d20c3cd25c0720a5b5251ed4" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -10876,9 +11059,9 @@ dependencies = [ [[package]] name = "sc-network-gossip" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd92792f3a04fcb1f21018c9f8a5d6d438d705a2548ffcdc7730280c667b8386" +checksum = "06e36f8665cba733bd0690e864ef59cb87627120e57607b768e6e7cf30cecd20" dependencies = [ "ahash 0.8.11", "futures", @@ -10896,9 +11079,9 @@ dependencies = [ [[package]] name = "sc-network-light" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34e7a126492850dbbd5cf0b77ec3ad350422c2822d165941ddbe618a76af0153" +checksum = "d4c4a77832e7d86e2b8f579339a47ebc16eec560bb4d62c42f0daad10700a512" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -10906,7 +11089,7 @@ dependencies = [ "libp2p-identity", "log", "parity-scale-codec", - "prost", + "prost 0.12.3", "prost-build", "sc-client-api", "sc-network", @@ -10918,9 +11101,9 @@ dependencies = [ [[package]] name = "sc-network-sync" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4c92fd35c49f748abf0bf420e1e99aa76b0f48ab43c183ea5dacef951116d7e" +checksum = "b7dfdaf49edeaa23ae0da1a9bf6ea3e308c11822cb3a853996f1203b06249411" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -10932,7 +11115,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost", + "prost 0.12.3", "prost-build", "sc-client-api", "sc-consensus", @@ -10955,9 +11138,9 @@ dependencies = [ [[package]] name = "sc-network-transactions" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99a1af3b9e158fa91df0cd92916b3ee5d8b8a14a2b61eb5dd9e36e045808f644" +checksum = "1b3824e7a1aa29ed3d2294810c8e018a6df3798eec236f3043a62945daf7d9b1" dependencies = [ "array-bytes 6.2.2", "futures", @@ -10975,9 +11158,9 @@ dependencies = [ [[package]] name = "sc-offchain" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd5408dbdc3fe345813e983bd2b7ecf8f20e996141fa39a36336f511ab1859bb" +checksum = "d9d03fd90a535f30badaee9763a2124b9c68dae406e29497f406bfd45cbc7eac" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -10992,7 +11175,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "sc-client-api", "sc-network", "sc-network-common", @@ -11010,9 +11193,9 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb8dadb2ae5a316e4d08cad6aacd5de1dec792f3bd94e3960795ff7ffd07211c" +checksum = "f680a0bed67dab19898624246376ba85d5f70a89859ba030830aacd079c28d3c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -11020,9 +11203,9 @@ dependencies = [ [[package]] name = "sc-rpc" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ac0d83b9117c9c004e58331a593a28044eaf6414e5b3c605d1571b4a6981966" +checksum = "6d796d75b22785b09c58478f1418b75c9787d598a0d2ab8edbd0072731ec4aaa" dependencies = [ "futures", "jsonrpsee", @@ -11053,9 +11236,9 @@ dependencies = [ [[package]] name = "sc-rpc-api" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630e81a436f32487452ae1a57ad0ba31f320ddf864bb7faefd7490fe16b3e139" +checksum = "3705feca378ef3f3f84fb337480405a611a15c8637b2449ed514ca63765e421b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11074,11 +11257,14 @@ dependencies = [ [[package]] name = "sc-rpc-server" -version = "11.0.0" +version = "14.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b623908525a2f22aafa079080aa7fbce8b58ca8de53b9f31e3cc8547e0ad8b2" +checksum = "65f705946ae375fc47ee9a2e2df0b7e339a1fb8c8eb5c9eb6f206619d27946a7" dependencies = [ + "futures", + "governor", "http", + "hyper", "jsonrpsee", "log", "serde_json", @@ -11090,9 +11276,9 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a54150c808fa10364b73faedd97aff0977a911a521d1caa8bad2bdc7943ad579" +checksum = "66dcea3fe5f0bcbaf08d6a42e877ae8f50b9cdbc87f65f7c79fbe5003e3969dc" dependencies = [ "array-bytes 6.2.2", "futures", @@ -11102,8 +11288,10 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", + "rand", "sc-chain-spec", "sc-client-api", + "sc-rpc", "sc-transaction-pool-api", "sc-utils", "serde", @@ -11120,9 +11308,9 @@ dependencies = [ [[package]] name = "sc-service" -version = "0.35.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "703bd8b1fc0a137185bfa0b654e04283a58a1d8a2751380e7a0eca919961f150" +checksum = "42678fb737ea101658a8288cd3fcc0bff59ef40cd1a1c4f4d4042c3fa17bae41" dependencies = [ "async-trait", "directories", @@ -11134,7 +11322,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -11157,6 +11345,7 @@ dependencies = [ "sc-transaction-pool", "sc-transaction-pool-api", "sc-utils", + "schnellru", "serde", "serde_json", "sp-api", @@ -11184,9 +11373,9 @@ dependencies = [ [[package]] name = "sc-state-db" -version = "0.30.0" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fac20128b09ac6305aaf482a72c918b35400f3955d7032971df499b0661a5e76" +checksum = "9863fb81595a25b908d7143c1a3e162d237e67890088363df4a121fe37c49d08" dependencies = [ "log", "parity-scale-codec", @@ -11196,9 +11385,9 @@ dependencies = [ [[package]] name = "sc-storage-monitor" -version = "0.16.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "838d31b4316424d1c2c3a2f06f4e76cd56b53f38d366fc9882444d4ce8faabec" +checksum = "d54aa61816b82fbe136f3c39b40ecb27bc7302c0c9039cc426b2c6f492666ac5" dependencies = [ "clap", "fs4", @@ -11210,9 +11399,9 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb310dce9d2474a74152605dc0ca0f81a46f61ba4e7a39752f1203121f47c0c6" +checksum = "8fa4c5d5add3ee03e2b0aa02c827b8e3bc307be7c403eb534f95d5c81d372f78" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -11230,30 +11419,31 @@ dependencies = [ [[package]] name = "sc-sysinfo" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfc9a5da78281735c6ff3b8d0287e95dcf32fc001415ac20cb2844c0ab4e6d05" +checksum = "f098da1a83dc5b4e69ef66f7dfc5c0a82bc63defe8dcb0aaa1819e9b2bd6d744" dependencies = [ "derive_more", "futures", "libc", "log", - "rand 0.8.5", + "rand", "rand_pcg", "regex", "sc-telemetry", "serde", "serde_json", "sp-core", + "sp-crypto-hashing", "sp-io", "sp-std", ] [[package]] name = "sc-telemetry" -version = "15.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96841bdc22e1ad5931e6cb7557b06ef33aeda7f5eef3864653359840f9fd025a" +checksum = "6c6807ebd9f43ab628931842d3aaa9404ddfd07013e9c7027ca603f496939577" dependencies = [ "chrono", "futures", @@ -11261,7 +11451,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "sc-utils", "serde", "serde_json", @@ -11271,9 +11461,9 @@ dependencies = [ [[package]] name = "sc-tracing" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90864e5e042d1238bcb082b0fa73ce58b7eb4897127783dae1dd66eee59cdaef" +checksum = "83e8f5e8eb36f887dba06e1392717e27e4edf12d23d5220dba8ee851de8b174e" dependencies = [ "ansi_term", "chrono", @@ -11314,9 +11504,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7985fab634814ee28fe3ecd2131fa2cb4c8eee88a7e60f1cd59dc0afa826fe2" +checksum = "d56300f466670067cca98a931b0b6cbc8b018c0d296eb915c1473bac45b7cd73" dependencies = [ "async-trait", "futures", @@ -11332,6 +11522,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-core", + "sp-crypto-hashing", "sp-runtime", "sp-tracing", "sp-transaction-pool", @@ -11341,9 +11532,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3402336f81a52fd6b1fd5a16fa3f4279032de1e113fe4a973865bf0b0e28679c" +checksum = "3609025d39a1b75f1ee4f490dc52e000de144948a73cacd788f5995df5ebe8bf" dependencies = [ "async-trait", "futures", @@ -11358,9 +11549,9 @@ dependencies = [ [[package]] name = "sc-utils" -version = "14.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4d5d1f106d670dd0c56fe540e8b0916aaeff6960bb39440ed8f3c80b52f8d4" +checksum = "1863d482be044f4768ef5de6119dc70b5e31e6e9f71ad225c177474d6540e424" dependencies = [ "async-channel 1.9.0", "futures", @@ -11418,24 +11609,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "getrandom 0.1.16", - "merlin 2.0.1", - "rand 0.7.3", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle 2.4.1", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.10.2" @@ -11445,7 +11618,7 @@ dependencies = [ "arrayref", "arrayvec 0.7.4", "curve25519-dalek-ng", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "sha2 0.9.9", "subtle-ng", @@ -11463,11 +11636,11 @@ dependencies = [ "arrayvec 0.7.4", "curve25519-dalek 4.1.1", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.7", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -11503,7 +11676,8 @@ dependencies = [ "der 0.7.8", "generic-array 0.14.7", "pkcs8", - "subtle 2.4.1", + "serdect", + "subtle 2.5.0", "zeroize", ] @@ -11639,10 +11813,20 @@ dependencies = [ "serde", ] +[[package]] +name = "serdect" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" +dependencies = [ + "base16ct", + "serde", +] + [[package]] name = "sgx-verify" version = "0.1.4" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "base64 0.13.1", "chrono", @@ -11688,18 +11872,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha2" version = "0.9.9" @@ -11745,7 +11917,7 @@ dependencies = [ [[package]] name = "shell-runtime" -version = "1.9.15" +version = "1.9.16" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -11765,9 +11937,6 @@ dependencies = [ "hex-literal", "integritee-parachains-common", "log", - "orml-traits", - "orml-xcm", - "orml-xcm-support", "pallet-aura", "pallet-balances", "pallet-message-queue", @@ -11813,7 +11982,7 @@ checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" [[package]] name = "sidechain-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "parity-scale-codec", "scale-info", @@ -11885,9 +12054,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "slot-range-helper" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d9bb569dc58f1e139c20f532a2ad13d54795060c0000c2c49dc812b17684197" +checksum = "ada4c82b85daa6134837918889b341716e4918c608b3cc5345ae67ea85a187c6" dependencies = [ "enumn", "parity-scale-codec", @@ -11955,16 +12124,16 @@ dependencies = [ "hmac 0.12.1", "itertools 0.11.0", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", "num-rational", "num-traits", - "pbkdf2 0.12.2", + "pbkdf2", "pin-project", "poly1305", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "ruzstd", "schnorrkel 0.10.2", @@ -12007,7 +12176,7 @@ dependencies = [ "no-std-net", "parking_lot 0.12.1", "pin-project", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "serde", "serde_json", @@ -12038,7 +12207,7 @@ dependencies = [ "ring 0.17.3", "rustc_version", "sha2 0.10.7", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -12074,15 +12243,15 @@ dependencies = [ "http", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-api" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dea138c6dbf282ab57756492f0232ea0a08575ca9cbe2b7b1ead49000f238a7" +checksum = "cb3fb2cdf7ee9b8d6ec7c2d8740b1a506e393dc18c7c2776764b47136d72dce7" dependencies = [ "hash-db", "log", @@ -12093,6 +12262,7 @@ dependencies = [ "sp-externalities", "sp-metadata-ir", "sp-runtime", + "sp-runtime-interface", "sp-state-machine", "sp-std", "sp-trie", @@ -12102,9 +12272,9 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" -version = "15.0.0" +version = "17.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0694be2891593450916d6b53a274d234bccbc86bcbada36ba23fc356989070c7" +checksum = "f313c5a62b352b0a89935be68059919b8c1cc15f774b1abe0a651929b68dc9db" dependencies = [ "Inflector", "blake2 0.10.6", @@ -12117,9 +12287,9 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "30.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4fe7a9b7fa9da76272b201e2fb3c7900d97d32a46b66af9a04dad457f73c71" +checksum = "13ca6121c22c8bd3d1dce1f05c479101fd0d7b159bef2a3e8c834138d839c75c" dependencies = [ "parity-scale-codec", "scale-info", @@ -12131,9 +12301,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "23.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f42721f072b421f292a072e8f52a3b3c0fbc27428f0c9fe24067bc47046bad63" +checksum = "910c07fa263b20bf7271fdd4adcb5d3217dfdac14270592e0780223542e7e114" dependencies = [ "integer-sqrt", "num-traits", @@ -12146,9 +12316,9 @@ dependencies = [ [[package]] name = "sp-authority-discovery" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a740c05e9096eb17e93b5ab6aa5fe8ce0c9b4243777826d92133b3dd682e14" +checksum = "5ab47c385784b3f9646a21d5dcb236399083d77420a1269e70c04772336c519f" dependencies = [ "parity-scale-codec", "scale-info", @@ -12160,9 +12330,9 @@ dependencies = [ [[package]] name = "sp-block-builder" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d2aa0943101367b955f5806c3ecea2e23df7c90059708107470dbfb9d3d7ab" +checksum = "97e155e388d7e41c39a27f40f50c2517facdbf20dde4a73f40ec8f1f30ce190e" dependencies = [ "sp-api", "sp-inherents", @@ -12172,9 +12342,9 @@ dependencies = [ [[package]] name = "sp-blockchain" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9adee5ddcf0682d0302ed640a285b9f922d933a205b63c7819a74d6092b6f78" +checksum = "d00084ddd62a3bad1fc4c04cdb1cdbcbb55d813dbd4e42d52e42e8b6599fb210" dependencies = [ "futures", "log", @@ -12191,9 +12361,9 @@ dependencies = [ [[package]] name = "sp-consensus" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcac16e85f78db9c99c9424659bb25790be079a0b758a3674ee8e1e7ef635b0" +checksum = "ed6f1ae58a74d619bd2c1d7939b4aa805f4226c7454ec3591c8a59fb0cc6477f" dependencies = [ "async-trait", "futures", @@ -12207,9 +12377,9 @@ dependencies = [ [[package]] name = "sp-consensus-aura" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ab8e878a116b0885eaefd068235657737cb72fdce60a8c080dfd092f7d645cc" +checksum = "334d0088b7de70a94d58e7e93acd8d5101b35fadca7e19fa26788203b22e309b" dependencies = [ "async-trait", "parity-scale-codec", @@ -12225,9 +12395,9 @@ dependencies = [ [[package]] name = "sp-consensus-babe" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebfedfdea5b22fb3625cd664e72503dcbd1087373181d5be0d092b3e7b4c61f5" +checksum = "eb593ec8ec674a583d6fc5386b7f8964a9db78dcaabc0595559145a4053c9f6c" dependencies = [ "async-trait", "parity-scale-codec", @@ -12245,9 +12415,9 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" -version = "13.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e09a424196a673f0e6b5fe79e4ab97da416491cfecab7bc835fa595134ac1b5c" +checksum = "7e2b03bc552702dd20fd3dad01631b13ca3e62e814ad278fe3012f5e3bb3e100" dependencies = [ "lazy_static", "parity-scale-codec", @@ -12256,7 +12426,9 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-core", + "sp-crypto-hashing", "sp-io", + "sp-keystore", "sp-mmr-primitives", "sp-runtime", "sp-std", @@ -12265,9 +12437,9 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" -version = "13.0.0" +version = "16.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a906b20409a5a69b1d9580848f502af20cf2c51a1ae028ba208375eb11f332b" +checksum = "71df706a104a752101b52f12cca7f5b7ffe1ca6ce9b4b1eb8c5d04356f248fa5" dependencies = [ "finality-grandpa", "log", @@ -12284,9 +12456,9 @@ dependencies = [ [[package]] name = "sp-consensus-slots" -version = "0.32.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc5c1620d81196391daa15e78ea20cc11c59f08c509381c276d5d6a3d4d36af" +checksum = "e0a5c47c52ad58aa349f7c13cb356ab45c32964ee28354c27fd6e4b417cb2644" dependencies = [ "parity-scale-codec", "scale-info", @@ -12297,12 +12469,11 @@ dependencies = [ [[package]] name = "sp-core" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f230cb12575455070da0fc174815958423a0b9a641d5e304a9457113c7cb4007" +checksum = "26d7a0fd8f16dcc3761198fc83be12872f823b37b749bc72a3a6a1f702509366" dependencies = [ "array-bytes 6.2.2", - "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -12314,20 +12485,22 @@ dependencies = [ "hash256-std-hasher", "impl-serde", "itertools 0.10.5", + "k256", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", + "parity-bip39", "parity-scale-codec", "parking_lot 0.12.1", "paste", "primitive-types", - "rand 0.8.5", + "rand", "scale-info", "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", - "sp-core-hashing", + "sp-crypto-hashing", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -12342,10 +12515,10 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "15.0.0" +name = "sp-crypto-hashing" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0f4990add7b2cefdeca883c0efa99bb4d912cb2196120e1500c0cc099553b0" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", @@ -12356,13 +12529,13 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing-proc-macro" -version = "15.0.0" +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7527f8dda7667c41009b2cd0efaddcb81709b9741bd5ee6d17b11bad835cc698" +checksum = "b85d0f1f1e44bd8617eb2a48203ee854981229e3e79e6f468c7175d5fd37489b" dependencies = [ "quote", - "sp-core-hashing", + "sp-crypto-hashing", "syn 2.0.53", ] @@ -12389,9 +12562,9 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.25.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63867ec85950ced90d4ab1bba902a47db1b1efdf2829f653945669b2bb470a9c" +checksum = "a1d6a4572eadd4a63cff92509a210bf425501a0c5e76574b30a366ac77653787" dependencies = [ "environmental", "parity-scale-codec", @@ -12401,9 +12574,9 @@ dependencies = [ [[package]] name = "sp-genesis-builder" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfdc79df83221ec5a279cbbd08fd6f8be164b9b081c8e84593ce2c2ebd5d66c0" +checksum = "16a1192b502d38c6d17b1005a7b3e7a6ab835df996803968ae3be9e8f7399ee4" dependencies = [ "serde_json", "sp-api", @@ -12413,9 +12586,9 @@ dependencies = [ [[package]] name = "sp-inherents" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3caf2d1288549d7e6c32b453f2d4855d498bb88600101011e35653e022a6f2" +checksum = "3b5e46ccc5848542648dcf05f882e41de2e341d0eeca97ff2b7dfad0f38e8500" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12428,18 +12601,20 @@ dependencies = [ [[package]] name = "sp-io" -version = "30.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55f26d89feedaf0faf81688b6e1e1e81329cd8b4c6a4fd6c5b97ed9dd068b8a" +checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" dependencies = [ "bytes", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive 0.9.1", "rustversion", "secp256k1", "sp-core", + "sp-crypto-hashing", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -12453,9 +12628,9 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "31.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98165ce7c625a8cdb88d39c6bbd56fe8b32ada64ed0894032beba99795f557da" +checksum = "a07a31da596d705b3a3458d784a897af7fd2f8090de436dc386a112e8ea7f34f" dependencies = [ "sp-core", "sp-runtime", @@ -12464,15 +12639,14 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96806a28a62ed9ddecd0b28857b1344d029390f7c5c42a2ff9199cbf5638635c" +checksum = "bdbab8b61bd61d5f8625a0c75753b5d5a23be55d3445419acd42caf59cf6236b" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sp-core", "sp-externalities", - "thiserror", ] [[package]] @@ -12499,9 +12673,9 @@ dependencies = [ [[package]] name = "sp-mixnet" -version = "0.4.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85ed83d2f899484bde61c72cbae6edfb25708d43e6b19934e206f3c706df67df" +checksum = "22d9da31673ad5771faf8cd0e62ab0c183ea71a630d187b926bc52af379cb1de" dependencies = [ "parity-scale-codec", "scale-info", @@ -12512,9 +12686,9 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7526a73d518c03fa2447588b1544019a194a4f113cf34d2610d3b5925c80c86" +checksum = "518fcd8710618d104e04c9e63e697d3406180afbe55cc5400168019647fc5880" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -12531,9 +12705,9 @@ dependencies = [ [[package]] name = "sp-npos-elections" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa8efff28b504b4b928288976e5f72c00c7ece9d2348a7ca2496c77849dd4c8f" +checksum = "e03ec553bc1a0f4d3aa902d3c5b3cdbe76f8218c642cbca0305722b3f8bbc826" dependencies = [ "parity-scale-codec", "scale-info", @@ -12546,9 +12720,9 @@ dependencies = [ [[package]] name = "sp-offchain" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb45b3e397dc9c7b81cb2d8d641d0bcb1f525b60e83835783413ba73b3f61ac9" +checksum = "c041d932d7debf1d2e073ecece1425aadae7482689cd4bf148d5886b28bd10d7" dependencies = [ "sp-api", "sp-core", @@ -12568,9 +12742,9 @@ dependencies = [ [[package]] name = "sp-rpc" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a55f2c7660b579627d22932ecfe2e5f001a7671d2fa77667387517c7f80e6fb" +checksum = "b26650747f5c204afd8c637df5e882ea912a890cf974fe67c36b430318fc451c" dependencies = [ "rustc-hash", "serde", @@ -12579,9 +12753,9 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "31.0.1" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3bb49a4475d390198dfd3d41bef4564ab569fbaf1b5e38ae69b35fc01199d91" +checksum = "ec3cb126971e7db2f0fcf8053dce740684c438c7180cfca1959598230f342c58" dependencies = [ "docify", "either", @@ -12590,7 +12764,7 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", "simple-mermaid", @@ -12604,13 +12778,14 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "24.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f66b66d8cec3d785fa6289336c1d9cbd4305d5d84f7134378c4d79ed7983e6fb" +checksum = "e48a675ea4858333d4d755899ed5ed780174aa34fec15953428d516af5452295" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive 0.8.0", "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -12623,9 +12798,9 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "17.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfaf6e85b2ec12a4b99cd6d8d57d083e30c94b7f1b0d8f93547121495aae6f0c" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" dependencies = [ "Inflector", "expander 2.0.0", @@ -12637,9 +12812,9 @@ dependencies = [ [[package]] name = "sp-session" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8048981db53d4f5171e6003f5e11fbfc27a8c196b0827619907a4214746a623b" +checksum = "6a61ea4ca90f644da2c25edee711b53b1c0b8d50628ceef372224ea24d252b57" dependencies = [ "parity-scale-codec", "scale-info", @@ -12653,9 +12828,9 @@ dependencies = [ [[package]] name = "sp-staking" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0e68be3fff84dd8ee552f9d13dd2e9eab3663e0bddfc6c6c88de02aaca1e311" +checksum = "4114cde17987eaa2f17b8850a8c856b90364666cdbc920d511e7a1cde0574d24" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -12668,15 +12843,15 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.35.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718c779ad1d6fcc0be64c7ce030b33fa44b5c8914b3a1319ef63bb5f27fb98df" +checksum = "1eae0eac8034ba14437e772366336f579398a46d101de13dbb781ab1e35e67c5" dependencies = [ "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "smallvec", "sp-core", "sp-externalities", @@ -12690,21 +12865,22 @@ dependencies = [ [[package]] name = "sp-statement-store" -version = "10.0.0" +version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee6d4ceb2513f180e6e017fd6d6f3c9a1a122dcedee5fc8e4254d8a7ecf793d" +checksum = "b90e8440d72e0ae5d273374af3ebe16768d05b40dff1f487835dd2f826ee9568" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand 0.8.5", + "rand", "scale-info", "sha2 0.10.7", "sp-api", "sp-application-crypto", "sp-core", + "sp-crypto-hashing", "sp-externalities", "sp-runtime", "sp-runtime-interface", @@ -12721,9 +12897,9 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" -version = "19.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb92d7b24033a8a856d6e20dd980b653cbd7af7ec471cc988b1b7c1d2e3a32b" +checksum = "8dba5791cb3978e95daf99dad919ecb3ec35565604e88cd38d805d9d4981e8bd" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12735,9 +12911,9 @@ dependencies = [ [[package]] name = "sp-timestamp" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "347eaddd5b07856ccec69ac3300e72e392a5efc3aea5fb4b7230888a0b447b9e" +checksum = "64d51fcd008fd5a79d61dba98c7ae89c2460a49dff07001bf1e9b12535d49536" dependencies = [ "async-trait", "parity-scale-codec", @@ -12762,9 +12938,9 @@ dependencies = [ [[package]] name = "sp-transaction-pool" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97c4052e69eacdb7a411e050c56a838f460b8a879071125451e9bb2d4814df34" +checksum = "0484eaf40c2abda75bda9688298cc8f6e02161176e3aab501207c8ccf4d4b3e1" dependencies = [ "sp-api", "sp-runtime", @@ -12772,9 +12948,9 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" -version = "26.0.0" +version = "29.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b2a2c693bc7ca363c9d2cd412276582aef10c794399aaffbd1fe2351099a1a5" +checksum = "ba0c99e0852ddd18159c2dc6100c2b5852e49211d8afe373cbce33d1da0050dd" dependencies = [ "async-trait", "parity-scale-codec", @@ -12788,9 +12964,9 @@ dependencies = [ [[package]] name = "sp-trie" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4d24d84a0beb44a71dcac1b41980e1edf7fb722c7f3046710136a283cd479b" +checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" dependencies = [ "ahash 0.8.11", "hash-db", @@ -12799,7 +12975,7 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "scale-info", "schnellru", "sp-core", @@ -12813,16 +12989,16 @@ dependencies = [ [[package]] name = "sp-version" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "afd1b053394347e22f541696bca4a9ac3ec848b50d1b86f5018d2b771f39f11a" +checksum = "1c0219b1aeb89e36d13bd43a718920a9087dbb66c567e672c4639cefb2fefc05" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", + "sp-crypto-hashing-proc-macro", "sp-runtime", "sp-std", "sp-version-proc-macro", @@ -12857,9 +13033,9 @@ dependencies = [ [[package]] name = "sp-weights" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e874bdf9dd3fd3242f5b7867a4eaedd545b02f29041a46d222a9d9d5caaaa5c" +checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -12894,6 +13070,15 @@ dependencies = [ "strum 0.24.1", ] +[[package]] +name = "spinning_top" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d96d2d1d716fb500937168cc09353ffdc7a012be8475ac7308e1bdf0e3923300" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" version = "0.6.0" @@ -12937,9 +13122,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad554ffd27fbcafd82e234d7e7188e458e51bfe2b3b5000dd236dce762e3e95f" +checksum = "4df1c48ca2892cb0694c7e10fbcfc8d15fe0fd0b763d61fbc587a870fbb97147" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -12952,9 +13137,9 @@ dependencies = [ [[package]] name = "staging-xcm" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0df18af00766d22926916bb443f14742c65cc6b2f0fe997b8f26da0d0f9ee9ca" +checksum = "e6ee775f7fc9dfae15d9d5a806efa7d3215f7b7b1cfd225809285a0281addeab" dependencies = [ "array-bytes 6.2.2", "bounded-collections", @@ -12971,9 +13156,9 @@ dependencies = [ [[package]] name = "staging-xcm-builder" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7a45adc5b85ac35d2245833967772cc74af10899143ebfa4df3c7eb494edb0" +checksum = "41c905c7e545eb80efdbf62470575a37935260503494453ffa3c1ac6207d06c9" dependencies = [ "frame-support", "frame-system", @@ -12994,9 +13179,9 @@ dependencies = [ [[package]] name = "staging-xcm-executor" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2493cf438497734b64cdeb55dbee9872bd598f7b08649e9a3bd56d7939360a80" +checksum = "e30434a78d4392b698bc7854c00f52d83c1c544da4be1912f898958c3e32f062" dependencies = [ "environmental", "frame-benchmarking", @@ -13057,7 +13242,7 @@ dependencies = [ "bitflags 1.3.2", "byteorder", "keccak", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -13110,14 +13295,14 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.4" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" +checksum = "a2b564c293e6194e8b222e52436bcb99f60de72043c7f845cf6c4406db4df121" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.9.1", - "sha2 0.9.9", + "hmac 0.12.1", + "pbkdf2", + "schnorrkel 0.11.4", + "sha2 0.10.7", "zeroize", ] @@ -13141,9 +13326,9 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcee7812a1e1cec85e3095c5d1c1627ceb084c0c81e66c2f9df7cb7b3a5938f3" +checksum = "3c0da351445855b0d5bff2721c64508dc790d5cc0804d1d395074c8dafeb2170" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -13174,9 +13359,9 @@ dependencies = [ [[package]] name = "substrate-rpc-client" -version = "0.33.0" +version = "0.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9076480cc6f480429b081bf93607d32183bdac4d6f0d2969d5e08de08bea1701" +checksum = "e71c3305c6159e3f4cfc158f88ceefb94dd86b2c92c6120ad51a9d9c31c0dce6" dependencies = [ "async-trait", "jsonrpsee", @@ -13188,9 +13373,9 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c92c25dcb3e4aee5559c2bd9b4d105786220cad116719d7ebb39e4f359865d44" +checksum = "ff3afa7be8eca9226448012fa58eeaaab9c42be60214471d304658ac4856052b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -13216,15 +13401,16 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" -version = "17.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac08d23ff4da66fe6cb0300f249be010d78e5abeafef0390cae39736a374e6cd" +checksum = "f55ed4ff2945faa132b9658cb581a3a5cf14dd90b5e217b3e16724eb202ed6c6" dependencies = [ - "ansi_term", "build-helper", "cargo_metadata", + "console", "filetime", "parity-wasm", + "polkavm-linker", "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", @@ -13241,9 +13427,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subtle-ng" @@ -13321,7 +13507,7 @@ checksum = "1d2faeef5759ab89935255b1a4cd98e0baf99d1085e37d36599c625dac49ae8e" [[package]] name = "teeracle-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "common-primitives", "sp-std", @@ -13331,7 +13517,7 @@ dependencies = [ [[package]] name = "teerex-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "common-primitives", "derive_more", @@ -13385,7 +13571,7 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "test-utils" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "log", "sgx-verify", @@ -13579,7 +13765,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand 0.8.5", + "rand", "tokio", ] @@ -13593,6 +13779,17 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.3", + "rustls-pki-types 1.4.1", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" @@ -13702,6 +13899,10 @@ version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite 0.2.13", "tower-layer", "tower-service", "tracing", @@ -13783,9 +13984,9 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f134d9dda0e872989ddf57b90ca73bcad27f1fba2cc19cfada7b76549c590b0" +checksum = "461fe686e103f3afc4c93a56474193ffc46d4b2770f8df5d56e025e8bb54960c" dependencies = [ "coarsetime", "polkadot-primitives", @@ -13888,7 +14089,7 @@ dependencies = [ "idna 0.2.3", "ipnet", "lazy_static", - "rand 0.8.5", + "rand", "smallvec", "socket2 0.4.9", "thiserror", @@ -13926,9 +14127,9 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" -version = "0.38.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb82b8de45dabaaba00c8c7394f18c6f97dd0e27954d4de08b352a24886d8407" +checksum = "80765dc36d90e9f2112dccc6e5d70df50ab1239dba8e004bcc70cc77b3a9712d" dependencies = [ "async-trait", "clap", @@ -13975,7 +14176,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -14043,7 +14244,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -14126,7 +14327,7 @@ dependencies = [ "arrayref", "constcat", "digest 0.10.7", - "rand 0.8.5", + "rand", "rand_chacha 0.3.1", "rand_core 0.6.4", "sha2 0.10.7", @@ -14249,9 +14450,9 @@ checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" [[package]] name = "wasm-instrument" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" +checksum = "2a47ecb37b9734d1085eaa5ae1a81e60801fd8c28d4cabdd8aedb982021918bc" dependencies = [ "parity-wasm", ] @@ -14430,7 +14631,7 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.27.3", "log", "object 0.30.4", "target-lexicon", @@ -14449,7 +14650,7 @@ dependencies = [ "anyhow", "cranelift-codegen", "cranelift-native", - "gimli", + "gimli 0.27.3", "object 0.30.4", "target-lexicon", "wasmtime-environ", @@ -14463,7 +14664,7 @@ checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", "cranelift-entity", - "gimli", + "gimli 0.27.3", "indexmap 1.9.3", "log", "object 0.30.4", @@ -14485,7 +14686,7 @@ dependencies = [ "bincode", "cfg-if", "cpp_demangle", - "gimli", + "gimli 0.27.3", "log", "object 0.30.4", "rustc-demangle", @@ -14536,7 +14737,7 @@ dependencies = [ "memfd", "memoffset 0.8.0", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.16", "wasmtime-asm-macros", "wasmtime-environ", @@ -14585,17 +14786,11 @@ dependencies = [ "webpki", ] -[[package]] -name = "webpki-roots" -version = "0.25.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" - [[package]] name = "westend-runtime" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "390ccc949904980061c181f0a1507ceb793f3b57f8f930ef60222839e08cb2ca" +checksum = "3ef1f629f711d7d110a1d13a12d3b4ab8fdc4ec3f97abbe9d1f0d248014a9e72" dependencies = [ "binary-merkle-tree", "bitvec", @@ -14700,9 +14895,9 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "7.0.0" +version = "10.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c410b8a17b87e5228f9c27ba4a8020e7ece4a8afb0f452b989834623afe84a2" +checksum = "38ee9606d7d954aef2b22107e80fc128a467cd8d6f1d347f64e417f88b2833c8" dependencies = [ "frame-support", "polkadot-primitives", @@ -15116,7 +15311,7 @@ dependencies = [ [[package]] name = "xcm-primitives" version = "0.0.1" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "frame-support", "sp-runtime", @@ -15127,9 +15322,9 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "7.0.0" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7998facd751c42ec9b11a4cf71fcdb41fb147c5c8db8bcd1281fe84f8760d515" +checksum = "f4717a97970a9cda70d7db53cf50d2615c2f6f6b7c857445325b4a39ea7aa2cd" dependencies = [ "Inflector", "proc-macro2", @@ -15140,7 +15335,7 @@ dependencies = [ [[package]] name = "xcm-transactor-primitives" version = "0.1.0" -source = "git+https://github.com/integritee-network/pallets.git?branch=polkadot-v1.6.0#0b49d445fd96181e6ce92595cac879c3c13ad100" +source = "git+https://github.com/integritee-network/pallets.git?branch=ab/polkadot-v1.9.0#0805e66451ec510a727d9e47c7a3e0c58ca62e6a" dependencies = [ "common-primitives", "cumulus-primitives-core", @@ -15209,7 +15404,7 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.8.5", + "rand", "static_assertions", ] diff --git a/Cargo.toml b/Cargo.toml index 02ab7316..f557ab1a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,139 +12,135 @@ panic = "unwind" [workspace.dependencies] async-trait = "0.1.73" -clap = { version = "4.4.10", features = ["derive"] } +clap = { version = "4.5.1", features = ["derive"] } parity-scale-codec = { version = "3.6.5", default-features = false, features = ["derive"] } color-print = "0.3.4" futures = "0.3.28" hex-literal = "0.4.1" log = { version = "0.4.20", default-features = false } scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } -serde = { version = "1.0.195", features = ["derive"] } +serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0" smallvec = "1.11.0" # num-traits feature needed for dex integer sq root: primitive-types = { version = "0.12.1", default-features = false, features = ["codec", "num-traits", "scale-info"] } # integritee pallets -pallet-asset-registry = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-enclave-bridge = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -pallet-xcm-transactor = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -xcm-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } -xcm-transactor-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "polkadot-v1.6.0" } +pallet-asset-registry = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-claims = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-enclave-bridge = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-sidechain = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-teeracle = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-teerex = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +pallet-xcm-transactor = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +xcm-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } +xcm-transactor-primitives = { default-features = false, git = "https://github.com/integritee-network/pallets.git", branch = "ab/polkadot-v1.9.0" } # Polkadot-sdk and ecosystem crates [no_std] -assets-common = { version = "0.7.0", default-features = false } -cumulus-pallet-aura-ext = { version = "0.7.0", default-features = false } -cumulus-pallet-dmp-queue = { version = "0.7.0", default-features = false } -cumulus-pallet-parachain-system = { version = "0.7.0", default-features = false } -cumulus-pallet-xcm = { version = "0.7.0", default-features = false } -cumulus-pallet-xcmp-queue = { version = "0.7.0", default-features = false } -cumulus-primitives-core = { version = "0.7.0", default-features = false } -cumulus-primitives-timestamp = { version = "0.7.0", default-features = false } -cumulus-primitives-utility = { version = "0.7.0", default-features = false } -frame-benchmarking = { version = "28.0.0", default-features = false } -frame-executive = { version = "28.0.0", default-features = false } -frame-support = { version = "28.0.0", default-features = false } -frame-system = { version = "28.0.0", default-features = false } -frame-system-benchmarking = { version = "28.0.0", default-features = false } -frame-system-rpc-runtime-api = { version = "26.0.0", default-features = false } -frame-try-runtime = { version = "0.34.0", default-features = false } -orml-traits = { version = "0.7", default-features = false } -orml-xcm = { version = "0.7", default-features = false } -orml-xcm-support = { version = "0.7", default-features = false } -orml-xtokens = { version = "0.7", default-features = false } -pallet-asset-conversion = { version = "10.0.0", default-features = false } -pallet-assets = { version = "29.0.0", default-features = false } -pallet-aura = { version = "27.0.0", default-features = false } -pallet-authorship = { version = "28.0.0", default-features = false } -pallet-balances = { version = "28.0.0", default-features = false } -pallet-bounties = { version = "27.0.0", default-features = false } -pallet-child-bounties = { version = "27.0.0", default-features = false } -pallet-collective = { version = "28.0.0", default-features = false } -pallet-democracy = { version = "28.0.0", default-features = false } -pallet-message-queue = { version = "31.0.0", default-features = false } -pallet-multisig = { version = "28.0.0", default-features = false } -pallet-preimage = { version = "28.0.0", default-features = false } -pallet-proxy = { version = "28.0.0", default-features = false } -pallet-scheduler = { version = "29.0.0", default-features = false } -pallet-sudo = { version = "28.0.0", default-features = false } -pallet-timestamp = { version = "27.0.0", default-features = false } -pallet-transaction-payment = { version = "28.0.0", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { version = "28.0.0", default-features = false } -pallet-treasury = { version = "27.0.0", default-features = false } -pallet-utility = { version = "28.0.0", default-features = false } -pallet-vesting = { version = "28.0.0", default-features = false } -pallet-xcm = { version = "7.0.0", default-features = false } -parachains-common = { version = "7.0.0", default-features = false } -staging-parachain-info = { version = "0.7.0", default-features = false } -polkadot-core-primitives = { version = "7.0.0", default-features = false } -polkadot-parachain-primitives = { version = "6.0.0", default-features = false } -polkadot-primitives = { version = "7.0.0", default-features = false } -polkadot-runtime-common = { version = "7.0.0", default-features = false } -sp-api = { version = "26.0.0", default-features = false } -sp-block-builder = { version = "26.0.0", default-features = false } -sp-consensus-aura = { version = "0.32.0", default-features = false } -sp-core = { version = "28.0.0", default-features = false } -sp-genesis-builder = { version = "0.7.0", default-features = false } -sp-inherents = { version = "26.0.0", default-features = false } -sp-io = { version = "30.0.0", default-features = false } -sp-offchain = { version = "26.0.0", default-features = false } -sp-runtime = { version = "31.0.0", default-features = false } -sp-session = { version = "27.0.0", default-features = false } +assets-common = { version = "0.10.0", default-features = false } +cumulus-pallet-aura-ext = { version = "0.10.0", default-features = false } +cumulus-pallet-dmp-queue = { version = "0.10.0", default-features = false } +cumulus-pallet-parachain-system = { version = "0.10.0", default-features = false } +cumulus-pallet-xcm = { version = "0.10.0", default-features = false } +cumulus-pallet-xcmp-queue = { version = "0.10.0", default-features = false } +cumulus-primitives-core = { version = "0.10.0", default-features = false } +cumulus-primitives-timestamp = { version = "0.10.0", default-features = false } +cumulus-primitives-utility = { version = "0.10.0", default-features = false } +frame-benchmarking = { version = "31.0.0", default-features = false } +frame-executive = { version = "31.0.0", default-features = false } +frame-support = { version = "31.0.0", default-features = false } +frame-system = { version = "31.0.0", default-features = false } +frame-system-benchmarking = { version = "31.0.0", default-features = false } +frame-system-rpc-runtime-api = { version = "29.0.0", default-features = false } +frame-try-runtime = { version = "0.37.0", default-features = false } +pallet-asset-conversion = { version = "13.0.0", default-features = false } +pallet-assets = { version = "32.0.0", default-features = false } +pallet-aura = { version = "30.0.0", default-features = false } +pallet-authorship = { version = "31.0.0", default-features = false } +pallet-balances = { version = "31.0.0", default-features = false } +pallet-bounties = { version = "30.0.0", default-features = false } +pallet-child-bounties = { version = "30.0.0", default-features = false } +pallet-collective = { version = "31.0.0", default-features = false } +pallet-democracy = { version = "31.0.0", default-features = false } +pallet-message-queue = { version = "34.0.0", default-features = false } +pallet-multisig = { version = "31.0.0", default-features = false } +pallet-preimage = { version = "31.0.0", default-features = false } +pallet-proxy = { version = "31.0.0", default-features = false } +pallet-scheduler = { version = "32.0.0", default-features = false } +pallet-sudo = { version = "31.0.0", default-features = false } +pallet-timestamp = { version = "30.0.0", default-features = false } +pallet-transaction-payment = { version = "31.0.0", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "31.0.0", default-features = false } +pallet-treasury = { version = "30.0.0", default-features = false } +pallet-utility = { version = "31.0.0", default-features = false } +pallet-vesting = { version = "31.0.0", default-features = false } +pallet-xcm = { version = "10.0.0", default-features = false } +parachains-common = { version = "10.0.0", default-features = false } +staging-parachain-info = { version = "0.10.0", default-features = false } +polkadot-core-primitives = { version = "10.0.0", default-features = false } +polkadot-parachain-primitives = { version = "9.0.0", default-features = false } +polkadot-primitives = { version = "10.0.0", default-features = false } +polkadot-runtime-common = { version = "10.0.0", default-features = false } +sp-api = { version = "29.0.0", default-features = false } +sp-block-builder = { version = "29.0.0", default-features = false } +sp-consensus-aura = { version = "0.35.0", default-features = false } +sp-core = { version = "31.0.0", default-features = false } +sp-genesis-builder = { version = "0.10.0", default-features = false } +sp-inherents = { version = "29.0.0", default-features = false } +sp-io = { version = "33.0.0", default-features = false } +sp-offchain = { version = "29.0.0", default-features = false } +sp-runtime = { version = "34.0.0", default-features = false } +sp-session = { version = "30.0.0", default-features = false } sp-std = { version = "14.0.0", default-features = false } -sp-storage = { version = "19.0.0", default-features = false } -sp-transaction-pool = { version = "26.0.0", default-features = false } -sp-version = { version = "29.0.0", default-features = false } -staging-xcm = { version = "7.0.0", default-features = false } -staging-xcm-builder = { version = "7.0.0", default-features = false } -staging-xcm-executor = { version = "7.0.0", default-features = false } +sp-storage = { version = "20.0.0", default-features = false } +sp-transaction-pool = { version = "29.0.0", default-features = false } +sp-version = { version = "32.0.0", default-features = false } +staging-xcm = { version = "10.0.0", default-features = false } +staging-xcm-builder = { version = "10.0.0", default-features = false } +staging-xcm-executor = { version = "10.0.0", default-features = false } # std stuff -cumulus-client-cli = "0.7.0" -cumulus-client-collator = "0.7.0" -cumulus-client-consensus-aura = "0.7.0" -cumulus-client-consensus-common = "0.7.0" -cumulus-client-consensus-proposer = "0.7.0" -cumulus-client-network = "0.7.0" -cumulus-client-service = "0.7.0" -cumulus-primitives-parachain-inherent = "0.7.0" -cumulus-relay-chain-inprocess-interface = "0.7.0" -cumulus-relay-chain-interface = "0.7.0" -cumulus-relay-chain-minimal-node = "0.7.0" -cumulus-relay-chain-rpc-interface = "0.7.0" -frame-benchmarking-cli = "32.0.0" -substrate-frame-rpc-system = "28.0.0" -jsonrpsee = { version = "0.16.3", features = ["server"] } -pallet-transaction-payment-rpc = "30.0.0" -polkadot-cli = "7.0.0" -polkadot-service = "7.0.0" -sc-basic-authorship = "0.34.0" -sc-chain-spec = "27.0.0" -sc-cli = "0.36.0" -sc-client-api = "28.0.0" -sc-consensus = "0.33.0" -sc-consensus-grandpa = "0.19.0" -sc-executor = "0.32.0" -sc-network = "0.34.0" -sc-network-common = "0.33.0" -sc-network-sync = "0.33.0" -sc-offchain = "29.0.0" -sc-rpc = "29.0.0" -sc-service = "0.35.0" -sc-sysinfo = "27.0.0" -sc-telemetry = "15.0.0" -sc-tracing = "28.0.0" -sc-transaction-pool = "28.0.0" -sc-transaction-pool-api = "28.0.0" -sp-blockchain = "28.0.0" -sp-consensus = "0.32.0" -sp-keyring = "31.0.0" -sp-keystore = "0.34.0" -sp-timestamp = "26.0.0" +cumulus-client-cli = "0.10.0" +cumulus-client-collator = "0.10.0" +cumulus-client-consensus-aura = "0.10.0" +cumulus-client-consensus-common = "0.10.0" +cumulus-client-consensus-proposer = "0.10.0" +cumulus-client-network = "0.10.0" +cumulus-client-service = "0.10.0" +cumulus-primitives-parachain-inherent = "0.10.0" +cumulus-relay-chain-inprocess-interface = "0.10.0" +cumulus-relay-chain-interface = "0.10.0" +cumulus-relay-chain-minimal-node = "0.10.0" +cumulus-relay-chain-rpc-interface = "0.10.0" +frame-benchmarking-cli = "35.0.0" +substrate-frame-rpc-system = "31.0.0" +jsonrpsee = { version = "0.22.0", features = ["server"] } +pallet-transaction-payment-rpc = "33.0.0" +polkadot-cli = "10.0.0" +polkadot-service = "10.0.0" +sc-basic-authorship = "0.37.0" +sc-chain-spec = "30.0.0" +sc-cli = "0.39.0" +sc-client-api = "31.0.0" +sc-consensus = "0.36.0" +sc-consensus-grandpa = "0.22.0" +sc-executor = "0.35.0" +sc-network = "0.37.0" +sc-network-common = "0.36.0" +sc-network-sync = "0.36.0" +sc-offchain = "32.0.0" +sc-rpc = "32.0.0" +sc-service = "0.38.0" +sc-sysinfo = "30.0.0" +sc-telemetry = "17.0.0" +sc-tracing = "31.0.0" +sc-transaction-pool = "31.0.0" +sc-transaction-pool-api = "31.0.0" +sp-blockchain = "31.0.0" +sp-consensus = "0.35.0" +sp-keyring = "34.0.0" +sp-keystore = "0.37.0" +sp-timestamp = "29.0.0" substrate-prometheus-endpoint = "0.17.0" # Temporary pin only @@ -158,11 +154,11 @@ tempfile = "3.3.0" tokio = { version = "1.33.0", features = ["macros", "time", "parking_lot"] } wait-timeout = "0.2" hex = "0.4.3" -polkadot-runtime-parachains = "7.0.0" +polkadot-runtime-parachains = "10.0.0" # build dependencies substrate-build-script-utils = "11.0.0" -substrate-wasm-builder = "17.0.0" +substrate-wasm-builder = "20.0.0" #[patch."https://github.com/integritee-network/pallets.git"] #claims-primitives = { path = '../pallets/primitives/claims' } diff --git a/polkadot-parachains/Cargo.toml b/polkadot-parachains/Cargo.toml index e4e36e6b..bfeda673 100644 --- a/polkadot-parachains/Cargo.toml +++ b/polkadot-parachains/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-collator" description = "The Integritee parachain collator binary" # align major.minor revision with the runtimes. bump patch revision ad lib. make this the github release tag -version = "1.9.4" +version = "1.9.5" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" diff --git a/polkadot-parachains/common/src/xcm_config.rs b/polkadot-parachains/common/src/xcm_config.rs index 1a2a5376..136556ca 100644 --- a/polkadot-parachains/common/src/xcm_config.rs +++ b/polkadot-parachains/common/src/xcm_config.rs @@ -1,2 +1,85 @@ +use core::marker::PhantomData; +use frame_support::traits::ContainsPair; +use sp_runtime::traits::{CheckedConversion, Convert}; +use staging_xcm::{ + latest::{Asset, AssetId, Junction, Location}, + prelude::{Fungible, Parachain}, +}; +use staging_xcm_executor::traits::MatchesFungible; + /// Type alias to conveniently refer to `frame_system`'s `Config::AccountId`. pub type AccountIdOf = ::AccountId; + +// ORML remainders +pub trait Reserve { + /// Returns assets reserve location. + fn reserve(asset: &Asset) -> Option; +} + +// Provide reserve in relative path view +// Self tokens are represeneted as Here +pub struct RelativeReserveProvider; + +impl Reserve for RelativeReserveProvider { + fn reserve(asset: &Asset) -> Option { + let AssetId(location) = &asset.id; + if location.parents == 0 && !is_chain_junction(location.first_interior()) { + Some(Location::here()) + } else { + chain_part(location) + } + } +} +/// A `ContainsPair` implementation. Filters multi native assets whose +/// reserve is same with `origin`. +pub struct MultiNativeAsset(PhantomData); +impl ContainsPair for MultiNativeAsset +where + ReserveProvider: Reserve, +{ + fn contains(asset: &Asset, origin: &Location) -> bool { + if let Some(ref reserve) = ReserveProvider::reserve(asset) { + if reserve == origin { + return true; + } + } + false + } +} + +/// A `MatchesFungible` implementation. It matches concrete fungible assets +/// whose `id` could be converted into `CurrencyId`. +pub struct IsNativeConcrete( + PhantomData<(CurrencyId, CurrencyIdConvert)>, +); +impl MatchesFungible + for IsNativeConcrete +where + CurrencyIdConvert: Convert>, + Amount: TryFrom, +{ + fn matches_fungible(a: &Asset) -> Option { + if let (Fungible(ref amount), AssetId(location)) = (&a.fun, &a.id) { + if CurrencyIdConvert::convert(location.clone()).is_some() { + return CheckedConversion::checked_from(*amount); + } + } + None + } +} + +fn is_chain_junction(junction: Option<&Junction>) -> bool { + matches!(junction, Some(Parachain(_))) +} + +fn chain_part(loc: &Location) -> Option { + match (loc.parents, loc.first_interior()) { + // sibling parachain + (1, Some(Parachain(id))) => Some(Location::new(1, [Parachain(*id)])), + // parent + (1, _) => Some(Location::parent()), + // children parachain + (0, Some(Parachain(id))) => Some(Location::new(0, [Parachain(*id)])), + _ => None, + } +} diff --git a/polkadot-parachains/integritee-runtime/Cargo.toml b/polkadot-parachains/integritee-runtime/Cargo.toml index 4b2394d6..698e2229 100644 --- a/polkadot-parachains/integritee-runtime/Cargo.toml +++ b/polkadot-parachains/integritee-runtime/Cargo.toml @@ -2,7 +2,7 @@ name = "integritee-runtime" description = "The Integritee parachain runtime" # patch revision must match runtime spec_version -version = "1.9.50" +version = "1.9.51" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" @@ -32,10 +32,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } frame-try-runtime = { workspace = true, optional = true } -orml-traits = { workspace = true } -orml-xcm = { workspace = true } -orml-xcm-support = { workspace = true } -orml-xtokens = { workspace = true } pallet-asset-conversion = { workspace = true } pallet-asset-registry = { workspace = true } pallet-assets = { workspace = true } @@ -123,10 +119,6 @@ std = [ "frame-try-runtime?/std", "integritee-parachains-common/std", "log/std", - "orml-traits/std", - "orml-xcm-support/std", - "orml-xcm/std", - "orml-xtokens/std", "pallet-assets/std", "pallet-asset-conversion/std", "pallet-asset-registry/std", @@ -191,7 +183,6 @@ runtime-benchmarks = [ "frame-system-benchmarking/runtime-benchmarks", "frame-system/runtime-benchmarks", "hex-literal", - "orml-xtokens/runtime-benchmarks", "pallet-assets/runtime-benchmarks", "pallet-asset-conversion/runtime-benchmarks", "pallet-asset-registry/runtime-benchmarks", @@ -233,8 +224,6 @@ try-runtime = [ "frame-executive/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", - "orml-xcm/try-runtime", - "orml-xtokens/try-runtime", "pallet-assets/try-runtime", "pallet-asset-conversion/try-runtime", "pallet-asset-registry/try-runtime", diff --git a/polkadot-parachains/integritee-runtime/src/lib.rs b/polkadot-parachains/integritee-runtime/src/lib.rs index e7b19cf4..c53e199e 100644 --- a/polkadot-parachains/integritee-runtime/src/lib.rs +++ b/polkadot-parachains/integritee-runtime/src/lib.rs @@ -119,7 +119,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("integritee-parachain"), impl_name: create_runtime_str!("integritee-full"), authoring_version: 2, - spec_version: 50, + spec_version: 51, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 7, @@ -249,7 +249,6 @@ impl pallet_balances::Config for Runtime { type RuntimeHoldReason = RuntimeHoldReason; type RuntimeFreezeReason = (); type FreezeIdentifier = (); - type MaxHolds = MaxReserves; type MaxFreezes = (); } @@ -787,11 +786,6 @@ impl pallet_democracy::Config for Runtime { type SubmitOrigin = frame_system::EnsureSigned; } -impl orml_xcm::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type SovereignOrigin = EnsureRoot; -} - pub type AssetBalance = Balance; /// always denies creation of assets pub struct NoAssetCreators; @@ -973,8 +967,8 @@ construct_runtime!( PolkadotXcm: pallet_xcm = 31, CumulusXcm: cumulus_pallet_xcm = 32, MessageQueue: pallet_message_queue = 33, - XTokens: orml_xtokens = 34, - OrmlXcm: orml_xcm = 35, + //XTokens: orml_xtokens = 34, + //OrmlXcm: orml_xcm = 35, XcmTransactor: pallet_xcm_transactor = 36, // fungibles @@ -1083,7 +1077,7 @@ impl_runtime_apis! { Executive::execute_block(block) } - fn initialize_block(header: &::Header) { + fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { Executive::initialize_block(header) } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs index 34345af2..c5740e83 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_asset_registry.rs @@ -52,10 +52,10 @@ pub struct WeightInfo(PhantomData); impl pallet_asset_registry::WeightInfo for WeightInfo { /// Storage: `Assets::Asset` (r:1 w:0) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetIdMultiLocation` (r:1 w:1) - /// Proof: `AssetRegistry::AssetIdMultiLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) - /// Storage: `AssetRegistry::AssetMultiLocationId` (r:0 w:1) - /// Proof: `AssetRegistry::AssetMultiLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetIdLocation` (r:1 w:1) + /// Proof: `AssetRegistry::AssetIdLocation` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) + /// Storage: `AssetRegistry::AssetLocationId` (r:0 w:1) + /// Proof: `AssetRegistry::AssetLocationId` (`max_values`: None, `max_size`: Some(622), added: 3097, mode: `MaxEncodedLen`) fn register_reserve_asset() -> Weight { // Proof Size summary in bytes: // Measured: `123` @@ -66,10 +66,10 @@ impl pallet_asset_registry::WeightInfo for WeightInfo Weight { // Proof Size summary in bytes: // Measured: `107` diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs index c79b2bbc..5a968e88 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_balances.rs @@ -132,4 +132,11 @@ impl pallet_balances::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) } + fn force_adjust_total_issuance() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_157_000 picoseconds. + Weight::from_parts(6_507_000, 0) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs index 5bd5a6cd..0f36dbd3 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs @@ -1,25 +1,41 @@ +// 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 . //! Autogenerated weights for `pallet_scheduler` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-02-12, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2024-01-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `caribe`, CPU: `12th Gen Intel(R) Core(TM) i7-1260P` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("integritee-rococo-local-dev")`, DB CACHE: 1024 +//! HOSTNAME: `runner-grjcggob-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("rococo-dev")`, DB CACHE: 1024 // Executed Command: -// ./target/release/integritee-collator +// target/production/polkadot // benchmark // pallet -// --chain=integritee-rococo-local-dev // --steps=50 // --repeat=20 -// --pallet=pallet_scheduler // --extrinsic=* -// --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./polkadot-parachains/integritee-runtime/src/weights/pallet_scheduler.rs +// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json +// --pallet=pallet_scheduler +// --chain=rococo-dev +// --header=./polkadot/file_header.txt +// --output=./polkadot/runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -36,10 +52,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// Proof: `Scheduler::IncompleteSince` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) fn service_agendas_base() -> Weight { // Proof Size summary in bytes: - // Measured: `31` + // Measured: `68` // Estimated: `1489` - // Minimum execution time: 4_132_000 picoseconds. - Weight::from_parts(4_612_000, 0) + // Minimum execution time: 2_869_000 picoseconds. + Weight::from_parts(3_109_000, 0) .saturating_add(Weight::from_parts(0, 1489)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) @@ -49,13 +65,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78 + s * (177 ±0)` + // Measured: `115 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 5_066_000 picoseconds. - Weight::from_parts(11_896_247, 0) + // Minimum execution time: 3_326_000 picoseconds. + Weight::from_parts(5_818_563, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 12_398 - .saturating_add(Weight::from_parts(839_263, 0).saturating_mul(s.into())) + // Standard Error: 1_261 + .saturating_add(Weight::from_parts(336_446, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -63,8 +79,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_836_000 picoseconds. - Weight::from_parts(3_922_000, 0) + // Minimum execution time: 3_007_000 picoseconds. + Weight::from_parts(3_197_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Preimage::PreimageFor` (r:1 w:1) @@ -76,13 +92,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `213 + s * (1 ±0)` - // Estimated: `3678 + s * (1 ±0)` - // Minimum execution time: 18_981_000 picoseconds. - Weight::from_parts(19_367_000, 0) - .saturating_add(Weight::from_parts(0, 3678)) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_337, 0).saturating_mul(s.into())) + // Measured: `251 + s * (1 ±0)` + // Estimated: `3716 + s * (1 ±0)` + // Minimum execution time: 16_590_000 picoseconds. + Weight::from_parts(16_869_000, 0) + .saturating_add(Weight::from_parts(0, 3716)) + // Standard Error: 9 + .saturating_add(Weight::from_parts(1_308, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(3)) .saturating_add(T::DbWeight::get().writes(2)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) @@ -93,8 +109,8 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_077_000 picoseconds. - Weight::from_parts(5_312_000, 0) + // Minimum execution time: 4_320_000 picoseconds. + Weight::from_parts(4_594_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -102,24 +118,24 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_751_000 picoseconds. - Weight::from_parts(3_948_000, 0) + // Minimum execution time: 2_956_000 picoseconds. + Weight::from_parts(3_216_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_signed() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_653_000 picoseconds. - Weight::from_parts(2_796_000, 0) + // Minimum execution time: 1_824_000 picoseconds. + Weight::from_parts(1_929_000, 0) .saturating_add(Weight::from_parts(0, 0)) } fn execute_dispatch_unsigned() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_603_000 picoseconds. - Weight::from_parts(2_784_000, 0) + // Minimum execution time: 1_749_000 picoseconds. + Weight::from_parts(1_916_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `Scheduler::Agenda` (r:1 w:1) @@ -127,13 +143,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78 + s * (177 ±0)` + // Measured: `115 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 10_069_000 picoseconds. - Weight::from_parts(10_628_991, 0) + // Minimum execution time: 9_086_000 picoseconds. + Weight::from_parts(11_733_696, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 8_396 - .saturating_add(Weight::from_parts(971_141, 0).saturating_mul(s.into())) + // Standard Error: 1_362 + .saturating_add(Weight::from_parts(375_266, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -144,13 +160,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `78 + s * (177 ±0)` + // Measured: `115 + s * (177 ±0)` // Estimated: `42428` - // Minimum execution time: 17_611_000 picoseconds. - Weight::from_parts(14_168_348, 0) + // Minimum execution time: 12_716_000 picoseconds. + Weight::from_parts(12_529_180, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 32_387 - .saturating_add(Weight::from_parts(2_159_808, 0).saturating_mul(s.into())) + // Standard Error: 867 + .saturating_add(Weight::from_parts(548_188, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -161,13 +177,13 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `255 + s * (185 ±0)` + // Measured: `292 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 15_794_000 picoseconds. - Weight::from_parts(18_885_977, 0) + // Minimum execution time: 12_053_000 picoseconds. + Weight::from_parts(15_358_056, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 18_731 - .saturating_add(Weight::from_parts(1_269_037, 0).saturating_mul(s.into())) + // Standard Error: 3_176 + .saturating_add(Weight::from_parts(421_589, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } @@ -178,14 +194,97 @@ impl pallet_scheduler::WeightInfo for WeightInfo { /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `281 + s * (185 ±0)` + // Measured: `318 + s * (185 ±0)` // Estimated: `42428` - // Minimum execution time: 19_479_000 picoseconds. - Weight::from_parts(26_715_121, 0) + // Minimum execution time: 14_803_000 picoseconds. + Weight::from_parts(15_805_714, 0) .saturating_add(Weight::from_parts(0, 42428)) - // Standard Error: 24_660 - .saturating_add(Weight::from_parts(1_884_993, 0).saturating_mul(s.into())) + // Standard Error: 2_597 + .saturating_add(Weight::from_parts(611_053, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2)) .saturating_add(T::DbWeight::get().writes(2)) } + /// Storage: `Scheduler::Retries` (r:1 w:2) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn schedule_retry(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `196` + // Estimated: `42428` + // Minimum execution time: 13_156_000 picoseconds. + Weight::from_parts(13_801_287, 0) + .saturating_add(Weight::from_parts(0, 42428)) + // Standard Error: 568 + .saturating_add(Weight::from_parts(35_441, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn set_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `115 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 7_912_000 picoseconds. + Weight::from_parts(8_081_460, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn set_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `324 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 10_673_000 picoseconds. + Weight::from_parts(12_212_185, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `115 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 7_912_000 picoseconds. + Weight::from_parts(8_081_460, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:0) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:0) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Retries` (r:0 w:1) + /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 50]`. + fn cancel_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `324 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 10_673_000 picoseconds. + Weight::from_parts(12_212_185, 0) + .saturating_add(Weight::from_parts(0, 42428)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs b/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs index d5ee78d7..71facff8 100644 --- a/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs +++ b/polkadot-parachains/integritee-runtime/src/weights/pallet_xcm.rs @@ -16,11 +16,11 @@ //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-12-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-02-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-r43aesjn-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-rococo-dev")`, DB CACHE: 1024 +//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-westend-dev")`, DB CACHE: 1024 // Executed Command: // target/production/polkadot-parachain @@ -33,9 +33,9 @@ // --heap-pages=4096 // --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json // --pallet=pallet_xcm -// --chain=asset-hub-rococo-dev +// --chain=asset-hub-westend-dev // --header=./cumulus/file_header.txt -// --output=./cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/ +// --output=./cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -64,8 +64,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 25_003_000 picoseconds. - Weight::from_parts(25_800_000, 0) + // Minimum execution time: 21_630_000 picoseconds. + Weight::from_parts(22_306_000, 0) .saturating_add(Weight::from_parts(0, 3610)) .saturating_add(T::DbWeight::get().reads(6)) .saturating_add(T::DbWeight::get().writes(2)) @@ -90,8 +90,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 88_832_000 picoseconds. - Weight::from_parts(90_491_000, 0) + // Minimum execution time: 91_802_000 picoseconds. + Weight::from_parts(93_672_000, 0) .saturating_add(Weight::from_parts(0, 3610)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) @@ -116,10 +116,10 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reserve_transfer_assets() -> Weight { // Proof Size summary in bytes: - // Measured: `400` + // Measured: `367` // Estimated: `6196` - // Minimum execution time: 138_911_000 picoseconds. - Weight::from_parts(142_483_000, 0) + // Minimum execution time: 118_930_000 picoseconds. + Weight::from_parts(122_306_000, 0) .saturating_add(Weight::from_parts(0, 6196)) .saturating_add(T::DbWeight::get().reads(9)) .saturating_add(T::DbWeight::get().writes(5)) @@ -148,19 +148,18 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `496` // Estimated: `6208` - // Minimum execution time: 146_932_000 picoseconds. - Weight::from_parts(153_200_000, 0) + // Minimum execution time: 140_527_000 picoseconds. + Weight::from_parts(144_501_000, 0) .saturating_add(Weight::from_parts(0, 6208)) .saturating_add(T::DbWeight::get().reads(12)) .saturating_add(T::DbWeight::get().writes(7)) } - /// Storage: `Benchmark::Override` (r:0 w:0) - /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) fn execute() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - Weight::from_parts(10_240_000, 0) + // Minimum execution time: 7_556_000 picoseconds. + Weight::from_parts(7_798_000, 0) .saturating_add(Weight::from_parts(0, 0)) } /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) @@ -169,8 +168,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_081_000 picoseconds. - Weight::from_parts(7_397_000, 0) + // Minimum execution time: 6_373_000 picoseconds. + Weight::from_parts(6_603_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -180,8 +179,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_007_000 picoseconds. - Weight::from_parts(2_183_000, 0) + // Minimum execution time: 1_941_000 picoseconds. + Weight::from_parts(2_088_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } @@ -207,8 +206,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `145` // Estimated: `3610` - // Minimum execution time: 28_790_000 picoseconds. - Weight::from_parts(29_767_000, 0) + // Minimum execution time: 27_080_000 picoseconds. + Weight::from_parts(27_820_000, 0) .saturating_add(Weight::from_parts(0, 3610)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(5)) @@ -233,8 +232,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `363` // Estimated: `3828` - // Minimum execution time: 30_951_000 picoseconds. - Weight::from_parts(31_804_000, 0) + // Minimum execution time: 28_850_000 picoseconds. + Weight::from_parts(29_506_000, 0) .saturating_add(Weight::from_parts(0, 3828)) .saturating_add(T::DbWeight::get().reads(7)) .saturating_add(T::DbWeight::get().writes(4)) @@ -245,45 +244,45 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_164_000 picoseconds. - Weight::from_parts(2_311_000, 0) + // Minimum execution time: 2_033_000 picoseconds. + Weight::from_parts(2_201_000, 0) .saturating_add(Weight::from_parts(0, 0)) .saturating_add(T::DbWeight::get().writes(1)) } - /// Storage: `PolkadotXcm::SupportedVersion` (r:4 w:2) + /// Storage: `PolkadotXcm::SupportedVersion` (r:5 w:2) /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_supported_version() -> Weight { // Proof Size summary in bytes: - // Measured: `162` - // Estimated: `11052` - // Minimum execution time: 16_906_000 picoseconds. - Weight::from_parts(17_612_000, 0) - .saturating_add(Weight::from_parts(0, 11052)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `159` + // Estimated: `13524` + // Minimum execution time: 18_844_000 picoseconds. + Weight::from_parts(19_197_000, 0) + .saturating_add(Weight::from_parts(0, 13524)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifiers` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifiers` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notifiers() -> Weight { // Proof Size summary in bytes: - // Measured: `166` - // Estimated: `11056` - // Minimum execution time: 17_443_000 picoseconds. - Weight::from_parts(18_032_000, 0) - .saturating_add(Weight::from_parts(0, 11056)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `163` + // Estimated: `13528` + // Minimum execution time: 18_940_000 picoseconds. + Weight::from_parts(19_450_000, 0) + .saturating_add(Weight::from_parts(0, 13528)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:0) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:6 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn already_notified_target() -> Weight { // Proof Size summary in bytes: // Measured: `173` - // Estimated: `13538` - // Minimum execution time: 18_992_000 picoseconds. - Weight::from_parts(19_464_000, 0) - .saturating_add(Weight::from_parts(0, 13538)) - .saturating_add(T::DbWeight::get().reads(5)) + // Estimated: `16013` + // Minimum execution time: 20_521_000 picoseconds. + Weight::from_parts(21_076_000, 0) + .saturating_add(Weight::from_parts(0, 16013)) + .saturating_add(T::DbWeight::get().reads(6)) } /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -303,36 +302,36 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `212` // Estimated: `6152` - // Minimum execution time: 28_011_000 picoseconds. - Weight::from_parts(28_716_000, 0) + // Minimum execution time: 26_007_000 picoseconds. + Weight::from_parts(26_448_000, 0) .saturating_add(Weight::from_parts(0, 6152)) .saturating_add(T::DbWeight::get().reads(8)) .saturating_add(T::DbWeight::get().writes(3)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:3 w:0) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:0) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn notify_target_migration_fail() -> Weight { // Proof Size summary in bytes: // Measured: `206` - // Estimated: `8621` - // Minimum execution time: 9_533_000 picoseconds. - Weight::from_parts(9_856_000, 0) - .saturating_add(Weight::from_parts(0, 8621)) - .saturating_add(T::DbWeight::get().reads(3)) + // Estimated: `11096` + // Minimum execution time: 11_584_000 picoseconds. + Weight::from_parts(12_080_000, 0) + .saturating_add(Weight::from_parts(0, 11096)) + .saturating_add(T::DbWeight::get().reads(4)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) fn migrate_version_notify_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `173` - // Estimated: `11063` - // Minimum execution time: 17_628_000 picoseconds. - Weight::from_parts(18_146_000, 0) - .saturating_add(Weight::from_parts(0, 11063)) - .saturating_add(T::DbWeight::get().reads(4)) + // Measured: `170` + // Estimated: `13535` + // Minimum execution time: 19_157_000 picoseconds. + Weight::from_parts(19_513_000, 0) + .saturating_add(Weight::from_parts(0, 13535)) + .saturating_add(T::DbWeight::get().reads(5)) .saturating_add(T::DbWeight::get().writes(2)) } - /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:4 w:2) + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `ParachainSystem::UpwardDeliveryFeeFactor` (r:1 w:0) /// Proof: `ParachainSystem::UpwardDeliveryFeeFactor` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -348,12 +347,12 @@ impl pallet_xcm::WeightInfo for WeightInfo { /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn migrate_and_notify_old_targets() -> Weight { // Proof Size summary in bytes: - // Measured: `215` - // Estimated: `11105` - // Minimum execution time: 34_877_000 picoseconds. - Weight::from_parts(35_607_000, 0) - .saturating_add(Weight::from_parts(0, 11105)) - .saturating_add(T::DbWeight::get().reads(10)) + // Measured: `212` + // Estimated: `13577` + // Minimum execution time: 34_878_000 picoseconds. + Weight::from_parts(35_623_000, 0) + .saturating_add(Weight::from_parts(0, 13577)) + .saturating_add(T::DbWeight::get().reads(11)) .saturating_add(T::DbWeight::get().writes(4)) } /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) @@ -364,8 +363,8 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `103` // Estimated: `1588` - // Minimum execution time: 5_370_000 picoseconds. - Weight::from_parts(5_616_000, 0) + // Minimum execution time: 3_900_000 picoseconds. + Weight::from_parts(4_161_000, 0) .saturating_add(Weight::from_parts(0, 1588)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(2)) @@ -376,10 +375,22 @@ impl pallet_xcm::WeightInfo for WeightInfo { // Proof Size summary in bytes: // Measured: `7740` // Estimated: `11205` - // Minimum execution time: 26_820_000 picoseconds. - Weight::from_parts(27_143_000, 0) + // Minimum execution time: 25_731_000 picoseconds. + Weight::from_parts(26_160_000, 0) .saturating_add(Weight::from_parts(0, 11205)) .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + /// Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + /// Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn claim_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `160` + // Estimated: `3625` + // Minimum execution time: 37_251_000 picoseconds. + Weight::from_parts(38_075_000, 0) + .saturating_add(Weight::from_parts(0, 3625)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } } diff --git a/polkadot-parachains/integritee-runtime/src/xcm_config.rs b/polkadot-parachains/integritee-runtime/src/xcm_config.rs index 8b348dc5..aff2552a 100644 --- a/polkadot-parachains/integritee-runtime/src/xcm_config.rs +++ b/polkadot-parachains/integritee-runtime/src/xcm_config.rs @@ -28,17 +28,12 @@ use core::marker::PhantomData; use cumulus_primitives_core::{AggregateMessageOrigin, GlobalConsensus}; use cumulus_primitives_utility::XcmFeesTo32ByteAccount; use frame_support::{ - match_types, pallet_prelude::{Get, PalletInfoAccess, Weight}, parameter_types, traits::{Contains, ContainsPair, Everything, Nothing, TransformOrigin}, }; use frame_system::EnsureRoot; -use orml_traits::{ - location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, -}; -use orml_xcm_support::IsNativeConcrete; +use integritee_parachains_common::xcm_config::IsNativeConcrete; use pallet_xcm::XcmPassthrough; use parachains_common::{message_queue::ParaIdToSibling, AssetIdForTrustBackedAssets}; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; @@ -58,13 +53,14 @@ use staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, DenyReserveTransferToRelayChain, DenyThenTry, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, FixedRateOfFungible, - FixedWeightBounds, FungiblesAdapter, HashedDescription, NativeAsset, NoChecking, - ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, - SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, WithComputedOrigin, + FixedWeightBounds, FrameTransactionalProcessor, FungiblesAdapter, HashedDescription, + NativeAsset, NoChecking, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, + SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, + WithComputedOrigin, }; use staging_xcm_executor::{traits::JustTry, XcmExecutor}; -use xcm_primitives::{AsAssetMultiLocation, ConvertedRegisteredAssetId}; +use xcm_primitives::{AsAssetLocation, ConvertedRegisteredAssetId}; use xcm_transactor_primitives::*; /// Supported local Currencies. Keep this to TEER, @@ -89,57 +85,44 @@ pub enum CurrencyId { /// Converts a Mulitloaction into a CurrencyId. Used by XCMP LocalAssetTransactor for asset filtering: /// we only accept Assets that are convertable to a "CurrencyId". /// other assets will be handled through AssetRegistry pallet -impl Convert> for CurrencyIdConvert { - fn convert(location: MultiLocation) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(location: Location) -> Option { let self_para_id: u32 = ParachainInfo::parachain_id().into(); - match location { - // semi-absolute location spec - MultiLocation { parents, interior } if parents == 1 => match interior { - // that's how xTokens with Karura, Bifrost, Moonriver refers to TEER - X2(Parachain(para_id), junction) - if junction == TEER_GENERAL_KEY && para_id == self_para_id => - Some(CurrencyId::TEER), - // that's how the Asset Hub refers to TEER - X1(Parachain(para_id)) if para_id == self_para_id => Some(CurrencyId::TEER), - _ => None, - }, + match location.unpack() { + // that's how xTokens with Karura, Bifrost, Moonriver refers to TEER + (1, [Parachain(id), TEER_GENERAL_KEY]) if *id == self_para_id => Some(CurrencyId::TEER), + // that's how the Asset Hub refers to TEER + (1, [Parachain(id)]) if *id == self_para_id => Some(CurrencyId::TEER), // same for local location spec. we don't care if parents is 0 or 1 - MultiLocation { parents, interior } if parents == 0 => match interior { - X1(junction) if junction == TEER_GENERAL_KEY => Some(CurrencyId::TEER), - Here => Some(CurrencyId::TEER), - _ => None, - }, + (0, [TEER_GENERAL_KEY]) => Some(CurrencyId::TEER), + (0, []) => Some(CurrencyId::TEER), _ => None, } } } -/// Converts a MultiAsset into a CurrencyId, using the defined Mulitlocation. -impl Convert> for CurrencyIdConvert { - fn convert(asset: MultiAsset) -> Option { - if let MultiAsset { id: Concrete(location), .. } = asset { - Self::convert(location) - } else { - None - } +/// Converts a Asset into a CurrencyId, using the defined Location. +impl Convert> for CurrencyIdConvert { + fn convert(asset: Asset) -> Option { + Self::convert(asset.id.0) } } parameter_types! { - pub const RelayChainLocation: MultiLocation = MultiLocation::parent(); - pub AssetHubLocation: MultiLocation = MultiLocation::new(1, X1(Parachain(1000))); + pub const RelayChainLocation: Location = Location::parent(); + pub AssetHubLocation: Location = Location::new(1, [Parachain(1000)]); pub const RelayNetwork: NetworkId = NetworkId::Kusama; pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); // The universal location within the global consensus system - pub UniversalLocation: InteriorMultiLocation = - X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); - pub AssetsPalletLocation: MultiLocation = + pub UniversalLocation: InteriorLocation = + [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); + pub AssetsPalletLocation: Location = PalletInstance(::index() as u8).into(); pub CheckingAccount: AccountId = PolkadotXcm::check_account(); } -/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used +/// Type for specifying how a `Location` can be converted into an `AccountId`. This is used /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( @@ -160,7 +143,7 @@ pub type LocalNativeTransactor = CurrencyAdapter< Balances, // Matcher: matches concrete fungible assets whose `id` could be converted into `CurrencyId`. IsNativeConcrete, - // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID: + // Do a simple punn to convert an AccountId32 Location into a native chain account ID: LocationToAccountId, // Our chain's account ID type (we can't get away without mentioning it explicitly): AccountId, @@ -180,7 +163,7 @@ pub type LocalFungiblesTransactor = FungiblesAdapter< Assets, // Use this currency when it is a fungible asset matching the given location or name: TrustBackedAssetsConvertedConcreteId, - // Convert an XCM MultiLocation into a local account id: + // Convert an XCM Location into a local account id: LocationToAccountId, // Our chain's account ID type (we can't get away without mentioning it explicitly): AccountId, @@ -192,7 +175,7 @@ pub type LocalFungiblesTransactor = FungiblesAdapter< >; /// Means for transacting reserved fungible assets. -/// AsAssetMultiLocation uses pallet_asset_registry to convert between AssetId and MultiLocation. +/// AsAssetLocation uses pallet_asset_registry to convert between AssetId and Location. /// This will be used for ROC/KSM/DOT derivatives through pallet AssetRegistry pub type ReservedFungiblesTransactor = FungiblesAdapter< // Use this fungibles implementation: @@ -202,10 +185,10 @@ pub type ReservedFungiblesTransactor = FungiblesAdapter< ConvertedRegisteredAssetId< AssetIdForTrustBackedAssets, Balance, - AsAssetMultiLocation, + AsAssetLocation, JustTry, >, - // Convert an XCM MultiLocation into a local account id: + // Convert an XCM Location into a local account id: LocationToAccountId, // Our chain's account ID type (we can't get away without mentioning it explicitly): AccountId, @@ -240,17 +223,18 @@ pub type XcmOriginToTransactDispatchOrigin = ( XcmPassthrough, ); -match_types! { - pub type ParentOrParentsExecutivePlurality: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(Plurality { id: BodyId::Executive, .. }) } - }; +pub struct ParentOrParentsExecutivePlurality; +impl Contains for ParentOrParentsExecutivePlurality { + fn contains(location: &Location) -> bool { + matches!(location.unpack(), (1, []) | (1, [Plurality { id: BodyId::Executive, .. }])) + } } -match_types! { - pub type ParentOrSiblings: impl Contains = { - MultiLocation { parents: 1, interior: Here } | - MultiLocation { parents: 1, interior: X1(_) } - }; + +pub struct ParentOrSiblings; +impl Contains for ParentOrSiblings { + fn contains(location: &Location) -> bool { + matches!(location.unpack(), (1, []) | (1, _)) + } } // The barrier decides if we spend time executing an incoming XCM message @@ -281,30 +265,24 @@ pub type Barrier = TrailingSetTopicAsId< >; pub struct ReserveAssetsFrom(PhantomData); -impl> ContainsPair for ReserveAssetsFrom { - fn contains(asset: &MultiAsset, origin: &MultiLocation) -> bool { +impl> ContainsPair for ReserveAssetsFrom { + fn contains(asset: &Asset, origin: &Location) -> bool { let prefix = T::get(); log::trace!(target: "xcm::AssetsFrom", "prefix: {:?}, origin: {:?}, asset: {:?}", prefix, origin, asset); &prefix == origin } } pub struct OnlyTeleportNative; -impl Contains<(MultiLocation, Vec)> for OnlyTeleportNative { - fn contains(t: &(MultiLocation, Vec)) -> bool { +impl Contains<(Location, Vec)> for OnlyTeleportNative { + fn contains(t: &(Location, Vec)) -> bool { let self_para_id: u32 = ParachainInfo::parachain_id().into(); t.1.iter().any(|asset| { log::trace!(target: "xcm::OnlyTeleportNative", "Asset requested to be teleported: {:?}", asset); - if let MultiAsset { - id: staging_xcm::latest::AssetId::Concrete(asset_loc), - fun: Fungible(_a), - } = asset - { - match asset_loc { - MultiLocation { parents: 0, interior: Here } => true, - MultiLocation { parents: 1, interior: X1(Parachain(para_id)) } - if *para_id == self_para_id => - true, + if let Asset { id: AssetId(asset_loc), fun: Fungible(_a) } = asset { + match asset_loc.unpack() { + (0, []) => true, + (1, [Parachain(id)]) if *id == self_para_id => true, _ => false, } } else { @@ -334,13 +312,13 @@ pub type Traders = ( parameter_types! { pub const MaxAssetsIntoHolding: u32 = 64; - pub NativePerSecond: (staging_xcm::v3::AssetId, u128,u128) = (MultiLocation::new(0,Here).into(), TEER * 70, 0u128); - pub NativeAliasPerSecond: (staging_xcm::v3::AssetId, u128,u128) = (MultiLocation::new(0,X1(TEER_GENERAL_KEY)).into(), TEER * 70, 0u128); - pub RelayNativePerSecond: (staging_xcm::v3::AssetId, u128,u128) = (MultiLocation::new(1,Here).into(), TEER * 70, 0u128); + pub NativePerSecond: (AssetId, u128,u128) = (Location::new(0,Here).into(), TEER * 70, 0u128); + pub NativeAliasPerSecond: (AssetId, u128,u128) = (Location::new(0,[TEER_GENERAL_KEY]).into(), TEER * 70, 0u128); + pub RelayNativePerSecond: (AssetId, u128,u128) = (Location::new(1,Here).into(), TEER * 70, 0u128); // Weight for one XCM operation. pub UnitWeightCost: Weight = Weight::from_parts(1_000_000u64, DEFAULT_PROOF_SIZE); - pub const IntegriteeNative: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(MultiLocation::here()) }); - pub AssetHubTrustedTeleporter: (MultiAssetFilter, MultiLocation) = (IntegriteeNative::get(), AssetHubLocation::get()); + pub const IntegriteeNative: AssetFilter = Wild(AllOf { fun: WildFungible, id: AssetId(Location::here()) }); + pub AssetHubTrustedTeleporter: (AssetFilter, Location) = (IntegriteeNative::get(), AssetHubLocation::get()); } pub type TrustedTeleporters = (staging_xcm_builder::Case,); @@ -395,9 +373,10 @@ impl staging_xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; + type TransactionalProcessor = FrameTransactionalProcessor; } -// Converts a Signed Local Origin into a MultiLocation +// Converts a Signed Local Origin into a Location pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { @@ -467,19 +446,6 @@ parameter_types! { pub const MaxAssetsForTransfer: usize = 2; } -// The min fee amount in fee asset is split into two parts: -// -// - fee asset sent to fee reserve chain = fee_amount - min_xcm_fee -// - fee asset sent to dest reserve chain = min_xcm_fee -// Check out for more information: -// https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xtokens#transfer-multiple-currencies - -parameter_type_with_key! { - pub ParachainMinFee: |_location: MultiLocation| -> Option { - None - }; -} - // What follows here are specialties only used for xToken reserve-transferring TEER to Karura, Bifrost and Moonriver const fn teer_general_key() -> Junction { @@ -488,78 +454,15 @@ const fn teer_general_key() -> Junction { } const TEER_GENERAL_KEY: Junction = teer_general_key(); -/// Converts a CurrencyId into a Multilocation, used by xtoken for XCMP. +/// Converts a CurrencyId into a Location, used by xtoken for XCMP. pub struct CurrencyIdConvert; -impl Convert> for CurrencyIdConvert { - fn convert(id: CurrencyId) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(id: CurrencyId) -> Option { match id { - CurrencyId::TEER => Some(MultiLocation::new( + CurrencyId::TEER => Some(Location::new( 1, - X2(Parachain(ParachainInfo::parachain_id().into()), TEER_GENERAL_KEY), + [Parachain(ParachainInfo::parachain_id().into()), TEER_GENERAL_KEY], )), } } } -parameter_types! { - pub SelfReserveAlias: MultiLocation = MultiLocation { - parents:0, - interior: Junctions::X1(TEER_GENERAL_KEY) - }; - // This is how we are going to detect whether the asset is a Reserve asset - pub SelfLocation: MultiLocation = MultiLocation::here(); - // We need this to be able to catch when someone is trying to execute a non- - // cross-chain transfer in xtokens through the absolute path way - pub SelfLocationAbsolute: MultiLocation = MultiLocation { - parents:1, - interior: Junctions::X1( - Parachain(ParachainInfo::parachain_id().into()) - ) - }; - -} - -/// This struct offers uses RelativeReserveProvider to output relative views of multilocations -/// However, additionally accepts a MultiLocation that aims at representing the chain part -/// (parent: 1, Parachain(paraId)) of the absolute representation of our chain. -/// If a token reserve matches against this absolute view, we return Some(MultiLocation::here()) -/// This helps users by preventing errors when they try to transfer a token through xtokens -/// to our chain (either inserting the relative or the absolute value). -pub struct AbsoluteAndRelativeReserve(PhantomData); -impl Reserve for AbsoluteAndRelativeReserve -where - AbsoluteMultiLocation: Get, -{ - fn reserve(asset: &MultiAsset) -> Option { - RelativeReserveProvider::reserve(asset).map(|relative_reserve| { - if relative_reserve == AbsoluteMultiLocation::get() { - MultiLocation::here() - } else { - relative_reserve - } - }) - } -} - -pub struct AccountIdToMultiLocation; -impl Convert for AccountIdToMultiLocation { - fn convert(account: AccountId) -> MultiLocation { - X1(AccountId32 { network: None, id: account.into() }).into() - } -} - -impl orml_xtokens::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type CurrencyId = CurrencyId; - type CurrencyIdConvert = CurrencyIdConvert; - type AccountIdToMultiLocation = AccountIdToMultiLocation; - type SelfLocation = SelfLocation; - type XcmExecutor = XcmExecutor; - type Weigher = FixedWeightBounds; - type BaseXcmWeight = BaseXcmWeight; - type UniversalLocation = UniversalLocation; - type MaxAssetsForTransfer = MaxAssetsForTransfer; - type MinXcmFee = ParachainMinFee; - type MultiLocationsFilter = Everything; - type ReserveProvider = AbsoluteAndRelativeReserve; -} diff --git a/polkadot-parachains/shell-runtime/Cargo.toml b/polkadot-parachains/shell-runtime/Cargo.toml index 2fca49dc..82922cf2 100644 --- a/polkadot-parachains/shell-runtime/Cargo.toml +++ b/polkadot-parachains/shell-runtime/Cargo.toml @@ -2,7 +2,7 @@ name = "shell-runtime" description = "The Integritee shell parachain runtime" # major.minor revision must match collator node. patch should match spec_version -version = "1.9.15" +version = "1.9.16" authors = ["Integritee AG "] homepage = "https://integritee.network/" repository = "https://github.com/integritee-network/parachain" @@ -30,9 +30,6 @@ frame-support = { workspace = true } frame-system = { workspace = true } frame-system-rpc-runtime-api = { workspace = true } frame-try-runtime = { workspace = true, optional = true } -orml-traits = { workspace = true } -orml-xcm = { workspace = true } -orml-xcm-support = { workspace = true } pallet-aura = { workspace = true } pallet-balances = { workspace = true } pallet-message-queue = { workspace = true } @@ -89,9 +86,6 @@ std = [ "frame-system/std", "integritee-parachains-common/std", "log/std", - "orml-traits/std", - "orml-xcm-support/std", - "orml-xcm/std", "pallet-aura/std", "pallet-balances/std", "pallet-message-queue/std", @@ -158,7 +152,6 @@ try-runtime = [ "frame-executive/try-runtime", "frame-system/try-runtime", "frame-try-runtime/try-runtime", - "orml-xcm/try-runtime", "pallet-aura/try-runtime", "pallet-balances/try-runtime", "pallet-message-queue/try-runtime", diff --git a/polkadot-parachains/shell-runtime/src/lib.rs b/polkadot-parachains/shell-runtime/src/lib.rs index 02ac98e2..7873fe26 100644 --- a/polkadot-parachains/shell-runtime/src/lib.rs +++ b/polkadot-parachains/shell-runtime/src/lib.rs @@ -96,7 +96,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("integritee-parachain"), impl_name: create_runtime_str!("integritee-shell"), authoring_version: 0, - spec_version: 15, + spec_version: 16, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -208,7 +208,6 @@ impl pallet_balances::Config for Runtime { type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; type FreezeIdentifier = (); - type MaxHolds = (); type MaxFreezes = (); type RuntimeHoldReason = (); type RuntimeFreezeReason = (); @@ -408,7 +407,7 @@ impl_runtime_apis! { Executive::execute_block(block) } - fn initialize_block(header: &::Header) { + fn initialize_block(header: &::Header) -> sp_runtime::ExtrinsicInclusionMode { Executive::initialize_block(header) } } diff --git a/polkadot-parachains/shell-runtime/src/xcm_config.rs b/polkadot-parachains/shell-runtime/src/xcm_config.rs index 235f0545..b5908150 100644 --- a/polkadot-parachains/shell-runtime/src/xcm_config.rs +++ b/polkadot-parachains/shell-runtime/src/xcm_config.rs @@ -31,11 +31,9 @@ use frame_support::{ weights::IdentityFee, }; use frame_system::EnsureRoot; -use orml_traits::{ - location::{RelativeReserveProvider, Reserve}, - parameter_type_with_key, +use integritee_parachains_common::xcm_config::{ + IsNativeConcrete, MultiNativeAsset, RelativeReserveProvider, Reserve, }; -use orml_xcm_support::{IsNativeConcrete, MultiNativeAsset}; use pallet_xcm::XcmPassthrough; use parachains_common::message_queue::ParaIdToSibling; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; @@ -54,9 +52,10 @@ use staging_xcm_builder::CurrencyAdapter; use staging_xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, DenyReserveTransferToRelayChain, DenyThenTry, EnsureXcmOrigin, - FixedWeightBounds, ParentAsSuperuser, ParentIsPreset, RelayChainAsNative, - SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + FixedWeightBounds, FrameTransactionalProcessor, ParentAsSuperuser, ParentIsPreset, + RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, + SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, + UsingComponents, }; use staging_xcm_executor::XcmExecutor; use xcm_transactor_primitives::*; @@ -69,16 +68,16 @@ const fn teer_general_key() -> Junction { const TEER_GENERAL_KEY: Junction = teer_general_key(); parameter_types! { - pub const RelayChainLocation: MultiLocation = MultiLocation::parent(); + pub const RelayChainLocation: Location = Location::parent(); pub const RelayNetwork: NetworkId = NetworkId::Kusama; pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); // The universal location within the global consensus system - pub UniversalLocation: InteriorMultiLocation = - X2(GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())); + pub UniversalLocation: InteriorLocation = + [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); - pub SelfReserve: MultiLocation = MultiLocation { + pub SelfReserve: Location = Location { parents:0, - interior: Junctions::X1(TEER_GENERAL_KEY) + interior: [TEER_GENERAL_KEY].into() }; } @@ -100,34 +99,33 @@ pub enum CurrencyId { TEER, } -/// Converts a CurrencyId into a Multilocation, used by xtoken for XCMP. +/// Converts a CurrencyId into a Location, used by xtoken for XCMP. pub struct CurrencyIdConvert; -impl Convert> for CurrencyIdConvert { - fn convert(id: CurrencyId) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(id: CurrencyId) -> Option { match id { - CurrencyId::TEER => Some(MultiLocation::new( - 1, - X2(Parachain(ParachainInfo::parachain_id().into()), TEER_GENERAL_KEY), - )), + CurrencyId::TEER => Some(Location { + parents: 1, + interior: [Parachain(ParachainInfo::parachain_id().into()), TEER_GENERAL_KEY] + .into(), + }), } } } /// Converts a Mulitloaction into a CurrencyId. Used by XCMP LocalAssetTransactor for asset filtering: /// we only accept Assets that are convertable to a "CurrencyId". -impl Convert> for CurrencyIdConvert { - fn convert(location: MultiLocation) -> Option { +impl Convert> for CurrencyIdConvert { + fn convert(location: Location) -> Option { let self_para_id: u32 = ParachainInfo::parachain_id().into(); - match location { - MultiLocation { parents, interior } if parents == 1 => match interior { - X2(Parachain(para_id), junction) - if junction == TEER_GENERAL_KEY && para_id == self_para_id => - Some(CurrencyId::TEER), + match location.unpack() { + (1, interior) => match interior { + [Parachain(id), TEER_GENERAL_KEY] if *id == self_para_id => Some(CurrencyId::TEER), _ => None, }, - MultiLocation { parents, interior } if parents == 0 => match interior { - X1(junction) if junction == TEER_GENERAL_KEY => Some(CurrencyId::TEER), + (0, interior) => match interior { + [TEER_GENERAL_KEY] => Some(CurrencyId::TEER), _ => None, }, _ => None, @@ -135,14 +133,10 @@ impl Convert> for CurrencyIdConvert { } } -/// Converts a MultiAsset into a CurrencyId, using the defined Mulitlocation. -impl Convert> for CurrencyIdConvert { - fn convert(asset: MultiAsset) -> Option { - if let MultiAsset { id: Concrete(location), .. } = asset { - Self::convert(location) - } else { - None - } +/// Converts a Asset into a CurrencyId, using the defined Location. +impl Convert> for CurrencyIdConvert { + fn convert(asset: Asset) -> Option { + Self::convert(asset.id.0) } } @@ -155,7 +149,7 @@ pub type XcmRouter = ( XcmpQueue, ); -/// Type for specifying how a `MultiLocation` can be converted into an `AccountId`. This is used +/// Type for specifying how a `Location` can be converted into an `AccountId`. This is used /// when determining ownership of accounts for asset transacting and when attempting to use XCM /// `Transact` in order to determine the dispatch Origin. pub type LocationToAccountId = ( @@ -174,7 +168,7 @@ pub type LocalAssetTransactor = CurrencyAdapter< Balances, // Matcher: matches concrete fungible assets whose `id` could be converted into `CurrencyId`. IsNativeConcrete, - // Do a simple punn to convert an AccountId32 MultiLocation into a native chain account ID: + // Do a simple punn to convert an AccountId32 Location into a native chain account ID: LocationToAccountId, // Our chain's account ID type (we can't get away without mentioning it explicitly): AccountId, @@ -206,21 +200,21 @@ pub type XcmOriginToTransactDispatchOrigin = ( XcmPassthrough, ); -/// This struct offers uses RelativeReserveProvider to output relative views of multilocations -/// However, additionally accepts a MultiLocation that aims at representing the chain part +/// This struct offers uses RelativeReserveProvider to output relative views of Locations +/// However, additionally accepts a Location that aims at representing the chain part /// (parent: 1, Parachain(paraId)) of the absolute representation of our chain. -/// If a token reserve matches against this absolute view, we return Some(MultiLocation::here()) +/// If a token reserve matches against this absolute view, we return Some(Location::here()) /// This helps users by preventing errors when they try to transfer a token through xtokens /// to our chain (either inserting the relative or the absolute value). -pub struct AbsoluteAndRelativeReserve(PhantomData); -impl Reserve for AbsoluteAndRelativeReserve +pub struct AbsoluteAndRelativeReserve(PhantomData); +impl Reserve for AbsoluteAndRelativeReserve where - AbsoluteMultiLocation: Get, + AbsoluteLocation: Get, { - fn reserve(asset: &MultiAsset) -> Option { + fn reserve(asset: &Asset) -> Option { RelativeReserveProvider::reserve(asset).map(|relative_reserve| { - if relative_reserve == AbsoluteMultiLocation::get() { - MultiLocation::here() + if relative_reserve == AbsoluteLocation::get() { + Location::here() } else { relative_reserve } @@ -232,7 +226,7 @@ parameter_types! { // Weight for one XCM operation. Copied from moonbeam. pub UnitWeightCost: Weight = Weight::from_parts(200_000_000u64, DEFAULT_PROOF_SIZE); // One TEER buys 1 second of weight. - pub const WeightPrice: (MultiLocation, u128) = (MultiLocation::parent(), TEER); + pub const WeightPrice: (Location, u128) = (Location::parent(), TEER); } pub type Barrier = DenyThenTry< @@ -287,9 +281,10 @@ impl staging_xcm_executor::Config for XcmConfig { type UniversalAliases = Nothing; type SafeCallFilter = SafeCallFilter; type Aliasers = Nothing; + type TransactionalProcessor = FrameTransactionalProcessor; } -// Converts a Signed Local Origin into a MultiLocation +// Converts a Signed Local Origin into a Location pub type LocalOriginToLocation = SignedToAccountId32; // FIXME: We should probably update the configuration here. @@ -357,41 +352,14 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { parameter_types! { // This is how we are going to detect whether the asset is a Reserve asset - pub SelfLocation: MultiLocation = MultiLocation::here(); + pub SelfLocation: Location = Location::here(); // We need this to be able to catch when someone is trying to execute a non- // cross-chain transfer in xtokens through the absolute path way - pub SelfLocationAbsolute: MultiLocation = MultiLocation { + pub SelfLocationAbsolute: Location = Location { parents:1, - interior: Junctions::X1( - Parachain(ParachainInfo::parachain_id().into()) - ) + interior: [Parachain(ParachainInfo::parachain_id().into())].into() }; } /// Copied from moonbeam: https://github.com/PureStake/moonbeam/blob/095031d171b0c163e5649ee35acbc36eef681a82/primitives/xcm/src/ethereum_xcm.rs#L34 pub const DEFAULT_PROOF_SIZE: u64 = 128 * 1024; - -parameter_types! { - pub const BaseXcmWeight: Weight= Weight::from_parts(200_000_000u64, DEFAULT_PROOF_SIZE); - pub const MaxAssetsForTransfer: usize = 2; -} - -// The min fee amount in fee asset is split into two parts: -// -// - fee asset sent to fee reserve chain = fee_amount - min_xcm_fee -// - fee asset sent to dest reserve chain = min_xcm_fee -// Check out for more information: -// https://github.com/open-web3-stack/open-runtime-module-library/tree/master/xtokens#transfer-multiple-currencies - -parameter_type_with_key! { - pub ParachainMinFee: |_location: MultiLocation| -> Option { - None - }; -} - -pub struct AccountIdToMultiLocation; -impl Convert for AccountIdToMultiLocation { - fn convert(account: AccountId) -> MultiLocation { - X1(AccountId32 { network: None, id: account.into() }).into() - } -} diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index 5857f8de..957b7e84 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -43,19 +43,19 @@ pub enum Subcommand { /// Try-runtime has migrated to a standalone /// [CLI](). The subcommand exists as a stub and - /// deprecation notice. It will be removed entirely some time after Janurary 2024. + /// deprecation notice. It will be removed entirely some time after January 2024. TryRuntime, } const AFTER_HELP_EXAMPLE: &str = color_print::cstr!( r#"Examples: - integritee-collator build-spec --disable-default-bootnode > plain-parachain-chainspec.json + parachain-template-node build-spec --disable-default-bootnode > plain-parachain-chainspec.json Export a chainspec for a local testnet in json format. - integritee-collator --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local + parachain-template-node --chain plain-parachain-chainspec.json --tmp -- --chain rococo-local Launch a full node with chain specification loaded from plain-parachain-chainspec.json. - integritee-collator + parachain-template-node Launch a full node with default parachain local-testnet and relay chain rococo-local. - integritee-collator --collator + parachain-template-node --collator Launch a collator with default parachain local-testnet and relay chain rococo-local. "# ); diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 18957ce9..91317b92 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -29,18 +29,18 @@ use crate::{ }, cli::{Cli, RelayChainCli, Subcommand}, }; +use cumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; use integritee_runtime::Block; use log::info; use sc_cli::{ - CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, - Result, SharedParams, SubstrateCli, + ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, + NetworkParams, Result, SharedParams, SubstrateCli, }; use sc_service::config::{BasePath, PrometheusConfig}; use sp_runtime::traits::AccountIdConversion; use std::net::SocketAddr; - const LOCAL_PARA_ID: u32 = 2015; const ROCOCO_PARA_ID: u32 = 2015; const WESTEND_PARA_ID: u32 = 2081; @@ -308,7 +308,7 @@ pub fn run() -> Result<()> { match cmd { BenchmarkCmd::Pallet(cmd) => if cfg!(feature = "runtime-benchmarks") { - runner.sync_run(|config| cmd.run::(config)) + runner.sync_run(|config| cmd.run::, ReclaimHostFunctions>(config)) } else { Err("Benchmarking wasn't enabled when building the node. \ You can enable it with `--features runtime-benchmarks`." @@ -379,29 +379,16 @@ pub fn run() -> Result<()> { info!("Parachain Account: {parachain_account}"); info!("Is collating: {}", if config.role.is_authority() { "yes" } else { "no" }); - if config.chain_spec.is_shell() { - crate::service_shell::start_parachain_node( - config, - polkadot_config, - collator_options, - id, - hwbench, - ) - .await - .map(|r| r.0) - .map_err(Into::into) - } else { - crate::service::start_parachain_node( - config, - polkadot_config, - collator_options, - id, - hwbench, - ) - .await - .map(|r| r.0) - .map_err(Into::into) - } + crate::service::start_parachain_node( + config, + polkadot_config, + collator_options, + id, + hwbench, + ) + .await + .map(|r| r.0) + .map_err(Into::into) }) }, } @@ -452,7 +439,7 @@ impl CliConfiguration for RelayChainCli { fn prometheus_config( &self, default_listen_port: u16, - chain_spec: &Box, + chain_spec: &Box, ) -> Result> { self.base.base.prometheus_config(default_listen_port, chain_spec) } @@ -522,7 +509,7 @@ impl CliConfiguration for RelayChainCli { fn telemetry_endpoints( &self, - chain_spec: &Box, + chain_spec: &Box, ) -> Result> { self.base.base.telemetry_endpoints(chain_spec) } diff --git a/polkadot-parachains/src/main.rs b/polkadot-parachains/src/main.rs index ed46e382..e56ba62f 100644 --- a/polkadot-parachains/src/main.rs +++ b/polkadot-parachains/src/main.rs @@ -3,6 +3,8 @@ //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, //! just overwrite from parachain_template +//! Substrate Parachain Node Template CLI + #![warn(missing_docs)] mod chain_spec; diff --git a/polkadot-parachains/src/service.rs b/polkadot-parachains/src/service.rs index 3abacbd5..8df1e832 100644 --- a/polkadot-parachains/src/service.rs +++ b/polkadot-parachains/src/service.rs @@ -2,7 +2,7 @@ //! //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, //! just overwrite from parachain_template and replace name of runtime crate -// std + use std::{sync::Arc, time::Duration}; use cumulus_client_cli::CollatorOptions; @@ -40,7 +40,10 @@ use substrate_prometheus_endpoint::Registry; pub struct ParachainNativeExecutor; impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + type ExtendHostFunctions = ( + cumulus_client_service::storage_proof_size::HostFunctions, + frame_benchmarking::benchmarking::HostFunctions, + ); fn dispatch(method: &str, data: &[u8]) -> Option> { integritee_runtime::api::dispatch(method, data) @@ -100,10 +103,11 @@ pub fn new_partial(config: &Configuration) -> Result let executor = ParachainExecutor::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( + sc_service::new_full_parts_record_import::( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, + true, )?; let client = Arc::new(client); diff --git a/polkadot-parachains/src/service_shell.rs b/polkadot-parachains/src/service_shell.rs index a02d4c33..f44804ec 100644 --- a/polkadot-parachains/src/service_shell.rs +++ b/polkadot-parachains/src/service_shell.rs @@ -2,6 +2,7 @@ //! //! this file has no customizations for integritee runtimes. Upon upgrades of polkadot-sdk, //! just overwrite from parachain_template and replace name of runtime crate + // std use std::{sync::Arc, time::Duration}; @@ -40,7 +41,10 @@ use substrate_prometheus_endpoint::Registry; pub struct ParachainNativeExecutor; impl sc_executor::NativeExecutionDispatch for ParachainNativeExecutor { - type ExtendHostFunctions = frame_benchmarking::benchmarking::HostFunctions; + type ExtendHostFunctions = ( + cumulus_client_service::storage_proof_size::HostFunctions, + frame_benchmarking::benchmarking::HostFunctions, + ); fn dispatch(method: &str, data: &[u8]) -> Option> { shell_runtime::api::dispatch(method, data) @@ -100,10 +104,11 @@ pub fn new_partial(config: &Configuration) -> Result let executor = ParachainExecutor::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts::( + sc_service::new_full_parts_record_import::( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, + true, )?; let client = Arc::new(client); diff --git a/zombienet/paseo-local-with-integritee-and-asset-hub.toml b/zombienet/paseo-local-with-integritee-and-asset-hub.toml new file mode 100644 index 00000000..76c44632 --- /dev/null +++ b/zombienet/paseo-local-with-integritee-and-asset-hub.toml @@ -0,0 +1,71 @@ +[settings] +timeout = 1000 + +[relaychain] +chain_spec_path = "./paseo.local.raw.json" +default_command = "~/bin/polkadot" +default_args = [ "-lparachain=debug,xcm=trace" ] + + [[relaychain.nodes]] + name = "alice" + validator = true + ws_port = 9999 + extra_args = [ "-lparachain=debug" ] + + [[relaychain.nodes]] + name = "bob" + validator = true + extra_args = [ "-lparachain=debug" ] + + [[relaychain.nodes]] + name = "charlie" + validator = true + extra_args = [ "-lparachain=debug" ] + + [[relaychain.nodes]] + name = "dave" + validator = true + extra_args = [ "-lparachain=debug" ] + +[[parachains]] +id = 2015 +add_to_genesis = false +cumulus_based = true +onboard_as_parachain = true +chain = "integritee-paseo-local-dev" + + [[parachains.collators]] + name = "integritee-collator01" + #command = "~/bin/integritee-collator-v1.6.4" + command = "./target/release/integritee-collator" + args = ["-lxcm=trace,runtime=debug"] + ws_port = 9944 + + [[parachains.collators]] + name = "integritee-collator02" + #command = "~/bin/integritee-collator-v1.6.4" + command = "./target/release/integritee-collator" + args = ["-lxcm=trace,runtime=debug"] + ws_port = 9945 + +[[parachains]] +id = 1000 +add_to_genesis = false +cumulus_based = true +onboard_as_parachain = true +# todo! this is wrong, but adding custom spec for paseo doesn't work +chain = "asset-hub-rococo-local" + +[[parachains.collators]] + name = "asset-hub-collator-1" + validator = true + command = "~/bin/polkadot-parachain" + args = ["-lxcm=trace,runtime=debug"] + ws_port = 9954 + + [[parachains.collators]] + name = "asset-hub-collator-2" + validator = true + command = "~/bin/polkadot-parachain" + args = ["-lxcm=trace,runtime=debug"] + ws_port = 9955