From 7da5111fe17933ed3bda443251ffec1ff784f842 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 23 May 2025 20:57:32 +0200 Subject: [PATCH 01/89] Update cargo.toml --- Cargo.lock | 11537 ++++++++++++++++++--------------------------------- Cargo.toml | 2 +- 2 files changed, 4062 insertions(+), 7477 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 16efcd9c..5b481dcb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -23,18 +23,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" dependencies = [ - "gimli 0.29.0", + "gimli 0.31.1", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "aead" @@ -77,19 +77,19 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" dependencies = [ "cfg-if", - "getrandom 0.2.15", + "getrandom 0.3.3", "once_cell", "version_check", "zerocopy", @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.18" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" +checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "always-assert" @@ -142,9 +142,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" dependencies = [ "anstyle", "anstyle-parse", @@ -157,43 +157,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" [[package]] name = "anstyle-parse" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" +checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.0" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" +checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "6680de5231bd6ee4c6191b8a1325daa282b415391ec9d3a37bd34f2060dc73fa" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "once_cell_polyfill", + "windows-sys 0.59.0", ] [[package]] name = "anyhow" -version = "1.0.86" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" +checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" [[package]] name = "approx" @@ -229,7 +230,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -243,18 +244,6 @@ dependencies = [ "ark-std", ] -[[package]] -name = "ark-bls12-377-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-bls12-381" version = "0.4.0" @@ -267,45 +256,6 @@ dependencies = [ "ark-std", ] -[[package]] -name = "ark-bls12-381-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-models-ext", - "ark-serialize", - "ark-std", -] - -[[package]] -name = "ark-bw6-761" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-bw6-761-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" -dependencies = [ - "ark-bw6-761", - "ark-ec", - "ark-ff", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-ec" version = "0.4.2" @@ -320,60 +270,9 @@ dependencies = [ "hashbrown 0.13.2", "itertools 0.10.5", "num-traits", - "rayon", "zeroize", ] -[[package]] -name = "ark-ed-on-bls12-377" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" -dependencies = [ - "ark-bls12-377", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-377-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" -dependencies = [ - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ff", - "ark-models-ext", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ff", - "ark-std", -] - -[[package]] -name = "ark-ed-on-bls12-381-bandersnatch-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" -dependencies = [ - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-models-ext", - "ark-std", -] - [[package]] name = "ark-ff" version = "0.4.2" @@ -417,19 +316,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "ark-models-ext" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "derivative", -] - [[package]] name = "ark-poly" version = "0.4.2" @@ -443,35 +329,6 @@ dependencies = [ "hashbrown 0.13.2", ] -[[package]] -name = "ark-scale" -version = "0.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "ark-secret-scalar" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-serialize", - "ark-std", - "ark-transcript", - "digest 0.10.7", - "getrandom_or_panic", - "zeroize", -] - [[package]] name = "ark-serialize" version = "0.4.2" @@ -503,20 +360,6 @@ checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", "rand 0.8.5", - "rayon", -] - -[[package]] -name = "ark-transcript" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ff", - "ark-serialize", - "ark-std", - "digest 0.10.7", - "rand_core 0.6.4", - "sha3 0.10.8", ] [[package]] @@ -533,9 +376,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" +checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" [[package]] name = "arrayvec" @@ -548,9 +391,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" [[package]] name = "asn1-rs" @@ -564,7 +407,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -617,19 +460,20 @@ dependencies = [ "concurrent-queue", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] name = "async-executor" -version = "1.13.0" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7" +checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.1.0", - "futures-lite 2.3.0", + "fastrand 2.3.0", + "futures-lite 2.6.0", + "pin-project-lite 0.2.16", "slab", ] @@ -659,7 +503,7 @@ dependencies = [ "log", "parking", "polling 2.8.0", - "rustix 0.37.27", + "rustix 0.37.28", "slab", "socket2 0.4.10", "waker-fn", @@ -667,21 +511,21 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" +checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" dependencies = [ "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.3.0", + "futures-lite 2.6.0", "parking", - "polling 3.7.2", - "rustix 0.38.34", + "polling 3.7.4", + "rustix 0.38.44", "slab", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -699,9 +543,9 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 5.3.1", + "event-listener 5.4.0", "event-listener-strategy", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] @@ -728,26 +572,26 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.34", + "rustix 0.38.44", "windows-sys 0.48.0", ] [[package]] name = "async-signal" -version = "0.2.9" +version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb3634b73397aa844481f814fad23bbf07fdb0eabec10f2eb95e58944b1ec32" +checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" dependencies = [ - "async-io 2.3.3", + "async-io 2.4.0", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.34", + "rustix 0.38.44", "signal-hook-registry", "slab", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -758,13 +602,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.81" +version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" +checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -777,7 +621,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] @@ -794,57 +638,34 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "auto_impl" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" +checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "autocfg" -version = "1.3.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" +checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" dependencies = [ - "addr2line 0.22.0", - "cc", + "addr2line 0.24.2", "cfg-if", "libc", "miniz_oxide", - "object 0.36.2", + "object 0.36.7", "rustc-demangle", -] - -[[package]] -name = "bandersnatch_vrfs" -version = "0.0.4" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-bls12-381", - "ark-ec", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ff", - "ark-serialize", - "ark-std", - "dleq_vrf", - "fflonk", - "merlin", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "ring 0.1.0", - "sha2 0.10.8", - "sp-ark-bls12-381", - "sp-ark-ed-on-bls12-381-bandersnatch", - "zeroize", + "windows-targets 0.52.6", ] [[package]] @@ -879,9 +700,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" -version = "1.6.0" +version = "1.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" +checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" [[package]] name = "beef" @@ -895,7 +716,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hash-db", "log", @@ -922,22 +743,22 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.20", + "prettyplease 0.2.32", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "bip39" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" dependencies = [ - "bitcoin_hashes 0.11.0", + "bitcoin_hashes", ] [[package]] @@ -946,12 +767,6 @@ 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" @@ -970,9 +785,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" [[package]] name = "bitvec" @@ -1020,37 +835,37 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +checksum = "06e903a20b159e944f91ec8499fe1e55651480c541ea0a584f5d967c49ad9d99" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake2s_simd" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" +checksum = "e90f7deecfac93095eb874a40febd69427776e24e1bd7f87f33ac62d6f0174df" dependencies = [ "arrayref", - "arrayvec 0.7.4", - "constant_time_eq 0.3.0", + "arrayvec 0.7.6", + "constant_time_eq 0.3.1", ] [[package]] name = "blake3" -version = "1.5.3" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9ec96fe9a81b5e365f9db71fe00edc4fe4ca2cc7dcb7861f0603012a7caa210" +checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "cc", "cfg-if", - "constant_time_eq 0.3.0", + "constant_time_eq 0.3.1", ] [[package]] @@ -1101,15 +916,15 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.3.0", + "futures-lite 2.6.0", "piper", ] [[package]] name = "bounded-collections" -version = "0.2.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" +checksum = "64ad8a0bed7827f0b07a5d23cec2e58cc02038a99e4ca81616cb2bb2025f804d" dependencies = [ "log", "parity-scale-codec", @@ -1123,18 +938,18 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", ] [[package]] @@ -1154,12 +969,12 @@ dependencies = [ [[package]] name = "bstr" -version = "1.9.1" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" dependencies = [ "memchr", - "regex-automata 0.4.7", + "regex-automata 0.4.9", "serde", ] @@ -1174,15 +989,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" [[package]] name = "byte-slice-cast" -version = "1.2.2" +version = "1.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" +checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" [[package]] name = "byte-tools" @@ -1192,9 +1007,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.16.1" +version = "1.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" +checksum = "9134a6ef01ce4b366b50689c94f82c14bc72bc5d0386829828a2e2752ef7958c" [[package]] name = "byteorder" @@ -1204,18 +1019,17 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.6.1" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952" +checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "bzip2-sys" -version = "0.1.11+1.0.8" +version = "0.1.13+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" +checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" dependencies = [ "cc", - "libc", "pkg-config", ] @@ -1231,18 +1045,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.7" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" +checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" +checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" dependencies = [ "serde", ] @@ -1255,20 +1069,21 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.23", + "semver 1.0.26", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "cc" -version = "1.1.6" +version = "1.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" +checksum = "16595d3be041c03b09d08d0858631facccee9221e579704070e6e9e4915d3bc7" dependencies = [ "jobserver", "libc", + "shlex", ] [[package]] @@ -1301,6 +1116,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + [[package]] name = "chacha" version = "0.3.0" @@ -1337,16 +1158,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.38" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.52.6", + "windows-link", ] [[package]] @@ -1359,7 +1180,7 @@ dependencies = [ "multibase", "multihash 0.17.0", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -1372,7 +1193,7 @@ dependencies = [ "multibase", "multihash 0.18.1", "serde", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -1417,9 +1238,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.10" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6b81fb3c84f5563d509c59b5a48d935f689e993afa90fe39047f05adef9142" +checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" dependencies = [ "clap_builder", "clap_derive", @@ -1427,9 +1248,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.10" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca6706fd5224857d9ac5eb9355f6683563cc0541c7cd9d014043b57cbec78ac" +checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" dependencies = [ "anstream", "anstyle", @@ -1440,27 +1261,27 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "clap_lex" -version = "0.7.1" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" +checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" [[package]] name = "coarsetime" -version = "0.1.34" +version = "0.1.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" +checksum = "91849686042de1b41cd81490edc83afbcb0abe5a9b6f2c4114f23ce8cca1bcf4" dependencies = [ "libc", "wasix", @@ -1469,19 +1290,20 @@ dependencies = [ [[package]] name = "codespan-reporting" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" dependencies = [ + "serde", "termcolor", "unicode-width", ] [[package]] name = "colorchoice" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" +checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" [[package]] name = "combine" @@ -1495,31 +1317,14 @@ dependencies = [ [[package]] name = "comfy-table" -version = "7.1.1" +version = "7.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" +checksum = "4a65ebfec4fb190b6f90e944a817d60499ee0744e582530e2c9900a22e591d9a" dependencies = [ - "strum 0.26.3", - "strum_macros 0.26.4", + "unicode-segmentation", "unicode-width", ] -[[package]] -name = "common" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "fflonk", - "getrandom_or_panic", - "merlin", - "rand_chacha 0.3.1", -] - [[package]] name = "common-path" version = "1.0.0" @@ -1537,15 +1342,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.8" +version = "0.15.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" +checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" dependencies = [ "encode_unicode", - "lazy_static", "libc", + "once_cell", "unicode-width", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1569,28 +1374,42 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", "once_cell", "tiny-keccak", ] [[package]] -name = "constant_time_eq" -version = "0.1.5" +name = "const_format" +version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" +checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" +dependencies = [ + "const_format_proc_macros", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] [[package]] name = "constant_time_eq" -version = "0.3.0" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] -name = "constcat" +name = "constant_time_eq" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" +checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "convert_case" @@ -1610,9 +1429,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "core2" @@ -1644,9 +1463,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.12" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] @@ -1751,9 +1570,9 @@ dependencies = [ [[package]] name = "crc" -version = "3.2.1" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" +checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" dependencies = [ "crc-catalog", ] @@ -1775,9 +1594,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" +checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -1794,24 +1613,24 @@ dependencies = [ [[package]] name = "crossbeam-queue" -version = "0.3.11" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" +checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.20" +version = "0.8.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crunchy" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" @@ -1868,24 +1687,24 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "clap", "parity-scale-codec", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-service", + "sp-blockchain", + "sp-core", + "sp-runtime", "url", ] [[package]] name = "cumulus-client-collator" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -1893,22 +1712,22 @@ dependencies = [ "futures", "parity-scale-codec", "parking_lot 0.12.3", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", "tracing", ] [[package]] name = "cumulus-client-consensus-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-client-collator", @@ -1920,37 +1739,37 @@ dependencies = [ "cumulus-relay-chain-interface", "futures", "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "sc-client-api", + "sc-consensus", "sc-consensus-aura", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-consensus-babe", + "sc-consensus-slots", + "sc-telemetry", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-timestamp", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -1960,41 +1779,41 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "sc-client-api", + "sc-consensus", + "sc-consensus-babe", "schnellru", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-runtime", + "sp-timestamp", + "sp-trie", + "substrate-prometheus-endpoint", "tracing", ] [[package]] name = "cumulus-client-consensus-proposer" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "anyhow", "async-trait", "cumulus-primitives-parachain-inherent", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-consensus", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "thiserror 1.0.69", ] [[package]] name = "cumulus-client-network" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2002,22 +1821,22 @@ dependencies = [ "futures-timer", "parity-scale-codec", "parking_lot 0.12.3", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "sc-client-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", "tracing", ] [[package]] name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2025,23 +1844,23 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-test-relay-sproof-builder", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-crypto-hashing", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] [[package]] name = "cumulus-client-pov-recovery" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2049,23 +1868,23 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-consensus", + "sp-consensus", + "sp-maybe-compressed-blob", + "sp-runtime", "tracing", ] [[package]] name = "cumulus-client-service" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2078,67 +1897,67 @@ dependencies = [ "cumulus-relay-chain-interface", "cumulus-relay-chain-minimal-node", "futures", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-sync", + "sc-network-transactions", + "sc-rpc", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-transaction-pool", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-io", + "sp-runtime", + "sp-transaction-pool", ] [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "pallet-aura", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "cumulus-pallet-dmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2146,194 +1965,194 @@ dependencies = [ "cumulus-primitives-parachain-inherent", "cumulus-primitives-proof-size-hostfunction", "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-parachain-primitives", "polkadot-runtime-common", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-runtime-parachains", + "scale-info", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", + "staging-xcm", "trie-db", ] [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", "cumulus-primitives-core", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "parity-scale-codec", "polkadot-runtime-common", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-runtime-parachains", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-core-primitives", + "polkadot-primitives", + "sp-api", "sp-consensus-aura", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", + "staging-xcm", ] [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", ] [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-externalities", + "sp-runtime-interface", + "sp-trie", ] [[package]] name = "cumulus-primitives-storage-weight-reclaim" version = "1.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-proof-size-hostfunction", "docify", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-inherents", + "sp-std", + "sp-timestamp", ] [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "log", "pallet-asset-conversion", "parity-scale-codec", "polkadot-runtime-common", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-runtime-parachains", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", ] [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2341,41 +2160,41 @@ dependencies = [ "futures", "futures-timer", "polkadot-cli", - "polkadot-service 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-service", + "sc-cli", + "sc-client-api", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sp-api", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "cumulus-relay-chain-interface" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", "futures", "jsonrpsee-core", "parity-scale-codec", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "polkadot-overseer", + "sc-client-api", + "sp-api", + "sp-blockchain", + "sp-state-machine", + "thiserror 1.0.69", ] [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "async-trait", @@ -2384,32 +2203,32 @@ dependencies = [ "cumulus-relay-chain-rpc-interface", "futures", "parking_lot 0.12.3", - "polkadot-availability-recovery 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-collator-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-network-bridge 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-collation-generation 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-chain-api 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-prospective-parachains 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-runtime-api 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-service 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-authority-discovery 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-availability-recovery", + "polkadot-collator-protocol", + "polkadot-core-primitives", + "polkadot-network-bridge", + "polkadot-node-collation-generation", + "polkadot-node-core-chain-api", + "polkadot-node-core-prospective-parachains", + "polkadot-node-core-runtime-api", + "polkadot-node-network-protocol", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "polkadot-service", + "sc-authority-discovery", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-service", + "sc-tracing", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-runtime", + "substrate-prometheus-endpoint", "tokio", "tracing", ] @@ -2417,7 +2236,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-rpc-interface" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2428,25 +2247,25 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "pin-project", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-overseer", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-rpc-api", + "sc-service", "schnellru", "serde", "serde_json", "smoldot", "smoldot-light", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-authority-discovery", + "sp-consensus-babe", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-version", + "thiserror 1.0.69", "tokio", "tokio-util", "tracing", @@ -2456,15 +2275,15 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "sp-runtime", + "sp-state-machine", + "sp-std", + "sp-trie", ] [[package]] @@ -2504,7 +2323,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -2522,46 +2341,61 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.124" +version = "1.0.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "273dcfd3acd4e1e276af13ed2a43eea7001318823e7a726a6b3ed39b4acc0b82" +checksum = "a71ea7f29c73f7ffa64c50b83c9fe4d3a6d4be89a86b009eb80d5a6d3429d741" dependencies = [ "cc", + "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", + "foldhash", "link-cplusplus", ] [[package]] name = "cxx-build" -version = "1.0.124" +version = "1.0.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b2766fbd92be34e9ed143898fce6c572dc009de39506ed6903e5a05b68914e" +checksum = "36a8232661d66dcf713394726157d3cfe0a89bfc85f52d6e9f9bbc2306797fe7" dependencies = [ "cc", "codespan-reporting", - "once_cell", "proc-macro2", "quote", "scratch", - "syn 2.0.72", + "syn 2.0.101", +] + +[[package]] +name = "cxxbridge-cmd" +version = "1.0.158" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f44296c8693e9ea226a48f6a122727f77aa9e9e338380cb021accaeeb7ee279" +dependencies = [ + "clap", + "codespan-reporting", + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] name = "cxxbridge-flags" -version = "1.0.124" +version = "1.0.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "839fcd5e43464614ffaa989eaf1c139ef1f0c51672a1ed08023307fa1b909ccd" +checksum = "c42f69c181c176981ae44ba9876e2ea41ce8e574c296b38d06925ce9214fb8e4" [[package]] name = "cxxbridge-macro" -version = "1.0.124" +version = "1.0.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" +checksum = "8faff5d4467e0709448187df29ccbf3b0982cc426ee444a193f87b11afb565a8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "rustversion", + "syn 2.0.101", ] [[package]] @@ -2579,15 +2413,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.6.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" +checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" [[package]] name = "data-encoding-macro" -version = "0.1.15" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" +checksum = "47ce6c96ea0102f01122a185683611bd5ac8d99e62bc59dd12e6bda344ee673d" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2595,19 +2429,19 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.13" +version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" +checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" dependencies = [ "data-encoding", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] name = "der" -version = "0.7.9" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" dependencies = [ "const-oid", "zeroize", @@ -2629,9 +2463,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.11" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" dependencies = [ "powerfmt", ] @@ -2655,20 +2489,40 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "derive_more" -version = "0.99.18" +version = "0.99.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", - "syn 2.0.72", + "syn 2.0.101", +] + +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] @@ -2757,39 +2611,23 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "dleq_vrf" -version = "0.0.2" -source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-scale", - "ark-secret-scalar", - "ark-serialize", - "ark-std", - "ark-transcript", - "arrayvec 0.7.4", - "zeroize", + "syn 2.0.101", ] [[package]] name = "docify" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" +checksum = "a772b62b1837c8f060432ddcc10b17aae1453ef17617a99bc07789252d2a5896" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" +checksum = "60e6be249b0a462a14784a99b19bf35a667bb5e09de611738bb7362fa4c95ff7" dependencies = [ "common-path", "derive-syn-parse", @@ -2797,9 +2635,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.72", + "syn 2.0.101", "termcolor", - "toml 0.8.15", + "toml 0.8.22", "walkdir", ] @@ -2817,15 +2655,15 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" +checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" [[package]] name = "dyn-clonable" -version = "0.9.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" +checksum = "a36efbb9bfd58e1723780aa04b61aba95ace6a05d9ffabfdb0b43672552f0805" dependencies = [ "dyn-clonable-impl", "dyn-clone", @@ -2833,20 +2671,20 @@ dependencies = [ [[package]] name = "dyn-clonable-impl" -version = "0.9.0" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" +checksum = "7e8671d54058979a37a26f3511fbf8d198ba1aa35ffb202c42587d918d77213a" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] name = "dyn-clone" -version = "1.0.17" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" [[package]] name = "ecdsa" @@ -2906,7 +2744,7 @@ dependencies = [ "ed25519 2.2.3", "rand_core 0.6.4", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.6.1", "zeroize", ] @@ -2936,15 +2774,15 @@ dependencies = [ "hashbrown 0.14.5", "hex", "rand_core 0.6.4", - "sha2 0.10.8", + "sha2 0.10.9", "zeroize", ] [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" @@ -2968,9 +2806,9 @@ dependencies = [ [[package]] name = "encode_unicode" -version = "0.3.6" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" +checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" [[package]] name = "enum-as-inner" @@ -2986,45 +2824,45 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.6.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "enumflags2" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" +checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" +checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "enumn" -version = "0.1.13" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" +checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -3048,18 +2886,18 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.9" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" +checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3125,28 +2963,28 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] name = "event-listener" -version = "5.3.1" +version = "5.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" +checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] name = "event-listener-strategy" -version = "0.5.2" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" +checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" dependencies = [ - "event-listener 5.3.1", - "pin-project-lite 0.2.14", + "event-listener 5.4.0", + "pin-project-lite 0.2.16", ] [[package]] @@ -3237,10 +3075,10 @@ dependencies = [ "blake2 0.10.6", "file-guard", "fs-err", - "prettyplease 0.2.20", + "prettyplease 0.2.32", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -3272,9 +3110,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.1.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fatality" @@ -3283,7 +3121,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ad875162843b0d046276327afe0136e9ed3a23d5a754210fb6f1f33610d39ab" dependencies = [ "fatality-proc-macro", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3298,7 +3136,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -3309,8 +3147,8 @@ dependencies = [ "async-trait", "fp-storage", "parity-scale-codec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", ] [[package]] @@ -3326,12 +3164,12 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.3", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-db", "smallvec", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", ] [[package]] @@ -3347,12 +3185,12 @@ dependencies = [ "futures-timer", "log", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-runtime", ] [[package]] @@ -3380,32 +3218,32 @@ dependencies = [ "prometheus", "rand 0.8.5", "rlp", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", "sc-consensus-aura", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-network", + "sc-network-sync", + "sc-rpc", + "sc-service", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils", "schnellru", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-timestamp", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", "tokio", ] @@ -3421,7 +3259,7 @@ dependencies = [ "rustc-hex", "serde", "serde_json", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-crypto-hashing", ] [[package]] @@ -3434,11 +3272,11 @@ dependencies = [ "fp-rpc", "fp-storage", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sp-api", + "sp-io", + "sp-runtime", + "sp-storage", ] [[package]] @@ -3448,32 +3286,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "ff" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" dependencies = [ "rand_core 0.6.4", "subtle 2.6.1", ] -[[package]] -name = "fflonk" -version = "0.1.0" -source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "merlin", -] - [[package]] name = "fiat-crypto" version = "0.2.9" @@ -3502,21 +3327,21 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.23" +version = "0.2.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" +checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", - "windows-sys 0.52.0", + "libredox", + "windows-sys 0.59.0", ] [[package]] name = "finality-grandpa" -version = "0.16.2" +version = "0.16.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" +checksum = "b4f8f43dc520133541781ec03a8cab158ae8b7f7169cdf22e9050aa6cf0fbdfc" dependencies = [ "either", "futures", @@ -3548,9 +3373,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.30" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" +checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" dependencies = [ "crc32fast", "libz-sys", @@ -3572,6 +3397,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "foreign-types" version = "0.3.2" @@ -3590,15 +3421,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", -] - -[[package]] -name = "fork-tree" -version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", ] @@ -3624,10 +3447,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", ] [[package]] @@ -3637,8 +3460,8 @@ source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5 dependencies = [ "ethereum", "parity-scale-codec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", ] [[package]] @@ -3649,7 +3472,7 @@ dependencies = [ "ethereum", "ethereum-types", "fp-evm", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "parity-scale-codec", ] @@ -3659,13 +3482,13 @@ version = "3.0.0-dev" source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5779b59043ae018d07d84f4e8e0c49087f804d3a" dependencies = [ "evm", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "num_enum 0.7.2", + "frame-support", + "num_enum 0.7.3", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", ] [[package]] @@ -3678,10 +3501,10 @@ dependencies = [ "fp-evm", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-core", + "sp-runtime", + "sp-state-machine", ] [[package]] @@ -3689,11 +3512,11 @@ name = "fp-self-contained" version = "1.0.0-dev" source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5779b59043ae018d07d84f4e8e0c49087f804d3a" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", ] [[package]] @@ -3707,123 +3530,48 @@ dependencies = [ [[package]] name = "fragile" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" - -[[package]] -name = "frame-benchmarking" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "static_assertions", -] +checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "Inflector", - "array-bytes 6.2.3", - "chrono", - "clap", - "comfy-table", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "gethostname", - "handlebars", - "itertools 0.10.5", - "lazy_static", - "linked-hash-map", - "log", - "parity-scale-codec", - "rand 0.8.5", - "rand_pcg", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "thousands", -] - -[[package]] -name = "frame-benchmarking-cli" -version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "Inflector", "array-bytes 6.2.3", "chrono", "clap", "comfy-table", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools 0.10.5", @@ -3833,107 +3581,79 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "rand_pcg", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-block-builder", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-client-db", + "sc-executor", + "sc-service", + "sc-sysinfo", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-externalities", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-state-machine", + "sp-storage", + "sp-trie", + "sp-wasm-interface", + "thiserror 1.0.69", "thousands", ] [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "frame-election-provider-solution-type" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "frame-election-provider-support" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-election-provider-solution-type 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "syn 2.0.101", ] [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-election-provider-solution-type 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-election-provider-solution-type", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-npos-elections", + "sp-runtime", + "sp-std", ] [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "aquamarine 0.3.3", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -3951,63 +3671,22 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "array-bytes 6.2.3", - "docify", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "frame-support" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "aquamarine 0.5.0", "array-bytes 6.2.3", - "bitflags 1.3.2", "docify", - "environmental", - "frame-metadata", - "frame-support-procedural 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "impl-trait-for-tuples", - "k256", + "frame-support", + "frame-system", "log", - "macro_magic", "parity-scale-codec", - "paste", "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "static_assertions", - "tt-call", + "sp-runtime", ] [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "aquamarine 0.5.0", "array-bytes 6.2.3", @@ -4015,7 +3694,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -4026,21 +3705,21 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-crypto-hashing-proc-macro", + "sp-debug-derive", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-weights", "static_assertions", "tt-call", ] @@ -4048,168 +3727,98 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "expander 2.2.1", - "frame-support-procedural-tools 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "itertools 0.10.5", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "syn 2.0.72", -] - -[[package]] -name = "frame-support-procedural" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "expander 2.2.1", - "frame-support-procedural-tools 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support-procedural-tools", "itertools 0.10.5", "macro_magic", "proc-macro-warning", "proc-macro2", "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "syn 2.0.72", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", + "sp-crypto-hashing", + "syn 2.0.101", ] [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-support-procedural-tools-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "frame-support-procedural-tools-derive" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "frame-support-procedural-tools-derive", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "frame-system" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "cfg-if", - "docify", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "syn 2.0.101", ] [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cfg-if", "docify", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", + "sp-weights", ] [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "frame-system-rpc-runtime-api" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", ] [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -4237,7 +3846,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.44", "windows-sys 0.48.0", ] @@ -4249,9 +3858,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" dependencies = [ "futures-channel", "futures-core", @@ -4264,9 +3873,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", "futures-sink", @@ -4274,15 +3883,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" [[package]] name = "futures-executor" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" +checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" dependencies = [ "futures-core", "futures-task", @@ -4292,9 +3901,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" [[package]] name = "futures-lite" @@ -4307,32 +3916,32 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "waker-fn", ] [[package]] name = "futures-lite" -version = "2.3.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" +checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" dependencies = [ - "fastrand 2.1.0", + "fastrand 2.3.0", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] name = "futures-macro" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -4348,15 +3957,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" [[package]] name = "futures-task" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" [[package]] name = "futures-timer" @@ -4366,9 +3975,9 @@ checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ "futures-channel", "futures-core", @@ -4377,7 +3986,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "pin-utils", "slab", ] @@ -4434,15 +4043,27 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] +[[package]] +name = "getrandom" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "wasi 0.14.2+wasi-0.2.4", +] + [[package]] name = "getrandom_or_panic" version = "0.0.3" @@ -4486,15 +4107,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "glob" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" +checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" [[package]] name = "governor" @@ -4539,7 +4160,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.2.6", + "indexmap 2.9.0", "slab", "tokio", "tokio-util", @@ -4557,7 +4178,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -4590,7 +4211,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", ] [[package]] @@ -4599,11 +4220,17 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", "allocator-api2", "serde", ] +[[package]] +name = "hashbrown" +version = "0.15.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" + [[package]] name = "hashlink" version = "0.8.4" @@ -4637,6 +4264,12 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" +[[package]] +name = "hermit-abi" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08" + [[package]] name = "hex" version = "0.4.3" @@ -4702,22 +4335,11 @@ dependencies = [ [[package]] name = "home" -version = "0.5.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" -dependencies = [ - "windows-sys 0.52.0", -] - -[[package]] -name = "hostname" -version = "0.3.1" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" dependencies = [ - "libc", - "match_cfg", - "winapi", + "windows-sys 0.59.0", ] [[package]] @@ -4739,7 +4361,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", ] [[package]] @@ -4750,9 +4372,9 @@ checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.9.4" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -4762,15 +4384,15 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" [[package]] name = "hyper" -version = "0.14.30" +version = "0.14.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" +checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" dependencies = [ "bytes", "futures-channel", @@ -4782,8 +4404,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.14", - "socket2 0.5.7", + "pin-project-lite 0.2.16", + "socket2 0.5.9", "tokio", "tower-service", "tracing", @@ -4808,16 +4430,17 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core 0.61.2", ] [[package]] @@ -4830,7 +4453,93 @@ dependencies = [ ] [[package]] -name = "idna" +name = "icu_collections" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" +dependencies = [ + "displaydoc", + "potential_utf", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locale_core" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_normalizer" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" + +[[package]] +name = "icu_properties" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locale_core", + "icu_properties_data", + "icu_provider", + "potential_utf", + "zerotrie", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632" + +[[package]] +name = "icu_provider" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" +dependencies = [ + "displaydoc", + "icu_locale_core", + "stable_deref_trait", + "tinystr", + "writeable", + "yoke", + "zerofrom", + "zerotrie", + "zerovec", +] + +[[package]] +name = "idna" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" @@ -4852,12 +4561,23 @@ dependencies = [ [[package]] name = "idna" -version = "0.5.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" +dependencies = [ + "icu_normalizer", + "icu_properties", ] [[package]] @@ -4872,17 +4592,21 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.2.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" +checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" dependencies = [ - "async-io 2.3.3", + "async-io 2.4.0", "core-foundation", "fnv", "futures", "if-addrs", "ipnet", "log", + "netlink-packet-core", + "netlink-packet-route", + "netlink-proto", + "netlink-sys", "rtnetlink", "system-configuration", "tokio", @@ -4918,13 +4642,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] @@ -4959,12 +4683,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.2.6" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" +checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", - "hashbrown 0.14.5", + "hashbrown 0.15.3", ] [[package]] @@ -4975,9 +4699,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "inout" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ "generic-array 0.14.7", ] @@ -5029,7 +4753,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.7", + "socket2 0.5.9", "widestring", "windows-sys 0.48.0", "winreg", @@ -5037,35 +4761,35 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" [[package]] name = "is-terminal" -version = "0.4.12" +version = "0.4.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" dependencies = [ - "hermit-abi 0.3.9", + "hermit-abi 0.5.1", "libc", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "is_executable" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" +checksum = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2" dependencies = [ "winapi", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itertools" @@ -5096,25 +4820,27 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.11" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jobserver" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" dependencies = [ + "getrandom 0.3.3", "libc", ] [[package]] name = "js-sys" -version = "0.3.69" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" +checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" dependencies = [ + "once_cell", "wasm-bindgen", ] @@ -5143,10 +4869,10 @@ dependencies = [ "http", "jsonrpsee-core", "pin-project", - "rustls-native-certs 0.7.1", + "rustls-native-certs 0.7.3", "rustls-pki-types", "soketto", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-rustls 0.25.0", "tokio-util", @@ -5173,7 +4899,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", @@ -5186,10 +4912,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" dependencies = [ "heck 0.4.1", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -5208,7 +4934,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tokio-util", @@ -5226,7 +4952,7 @@ dependencies = [ "beef", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5244,16 +4970,16 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", "once_cell", "serdect", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -5312,7 +5038,7 @@ checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -5329,25 +5055,25 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.155" +version = "0.2.172" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" [[package]] name = "libloading" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" +checksum = "6a793df0d7afeac54f95b471d3af7f0d4fb975699f972341a4b76988d49cdf0c" dependencies = [ "cfg-if", - "windows-targets 0.52.6", + "windows-targets 0.53.0", ] [[package]] name = "libm" -version = "0.2.8" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libp2p" @@ -5358,7 +5084,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.15", + "getrandom 0.2.16", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5429,8 +5155,8 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink", "smallvec", - "thiserror", - "unsigned-varint", + "thiserror 1.0.69", + "unsigned-varint 0.7.2", "void", ] @@ -5466,7 +5192,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "smallvec", - "thiserror", + "thiserror 1.0.69", "void", ] @@ -5483,8 +5209,8 @@ dependencies = [ "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", - "thiserror", + "sha2 0.10.9", + "thiserror 1.0.69", "zeroize", ] @@ -5494,7 +5220,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "asynchronous-codec", "bytes", "either", @@ -5508,11 +5234,11 @@ dependencies = [ "log", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.9", "smallvec", - "thiserror", + "thiserror 1.0.69", "uint", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", ] @@ -5566,10 +5292,10 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.8", + "sha2 0.10.9", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.69", "x25519-dalek 1.1.1", "zeroize", ] @@ -5609,7 +5335,7 @@ dependencies = [ "quinn-proto", "rand 0.8.5", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -5690,7 +5416,7 @@ dependencies = [ "rcgen", "ring 0.16.20", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.69", "webpki", "x509-parser 0.14.0", "yasna", @@ -5738,7 +5464,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "thiserror", + "thiserror 1.0.69", "yamux", ] @@ -5748,8 +5474,9 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "libc", + "redox_syscall 0.5.12", ] [[package]] @@ -5769,12 +5496,12 @@ dependencies = [ [[package]] name = "libsecp256k1" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" +checksum = "e79019718125edc905a079a70cfa5f3820bc76139fc91d6f9abc27ea2a887139" dependencies = [ "arrayref", - "base64 0.13.1", + "base64 0.22.1", "digest 0.9.0", "hmac-drbg", "libsecp256k1-core", @@ -5817,9 +5544,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.18" +version = "1.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" +checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d" dependencies = [ "cc", "pkg-config", @@ -5828,9 +5555,9 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" +checksum = "4a6f6da007f968f9def0d65a05b187e2960183de70c160204ecfccf0ee330212" dependencies = [ "cc", ] @@ -5843,18 +5570,18 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linked_hash_set" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" +checksum = "bae85b5be22d9843c80e5fc80e9b64c8a3b1f98f867c709956eca3efff4e92e2" dependencies = [ "linked-hash-map", ] [[package]] name = "linregress" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" +checksum = "a9eda9dcf4f2a99787827661f312ac3219292549c2ee992bf9a6248ffb066bf7" dependencies = [ "nalgebra", ] @@ -5873,9 +5600,15 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.14" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" + +[[package]] +name = "linux-raw-sys" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" +checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" [[package]] name = "lioness" @@ -5889,6 +5622,12 @@ dependencies = [ "keystream", ] +[[package]] +name = "litemap" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" + [[package]] name = "litep2p" version = "0.5.0" @@ -5903,7 +5642,7 @@ dependencies = [ "futures", "futures-timer", "hex-literal 0.4.1", - "indexmap 2.2.6", + "indexmap 2.9.0", "libc", "mockall 0.12.1", "multiaddr", @@ -5920,14 +5659,14 @@ dependencies = [ "ring 0.16.20", "rustls 0.20.9", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "simple-dns", "smallvec", "snow", - "socket2 0.5.7", + "socket2 0.5.9", "static_assertions", "str0m", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tokio-tungstenite", @@ -5935,7 +5674,7 @@ dependencies = [ "tracing", "trust-dns-resolver 0.23.2", "uint", - "unsigned-varint", + "unsigned-varint 0.7.2", "url", "webpki", "x25519-dalek 2.0.1", @@ -5956,9 +5695,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.22" +version = "0.4.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" +checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "lru" @@ -5986,19 +5725,18 @@ dependencies = [ [[package]] name = "lz4" -version = "1.26.0" +version = "1.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" +checksum = "a20b523e860d03443e98350ceaac5e71c6ba89aea7d960769ec3ce37f4de5af4" dependencies = [ - "libc", "lz4-sys", ] [[package]] name = "lz4-sys" -version = "1.10.0" +version = "1.11.1+lz4-1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" +checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" dependencies = [ "cc", "libc", @@ -6022,7 +5760,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -6036,7 +5774,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -6047,7 +5785,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -6058,15 +5796,9 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.72", + "syn 2.0.101", ] -[[package]] -name = "match_cfg" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" - [[package]] name = "matchers" version = "0.1.0" @@ -6084,9 +5816,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.8" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" +checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08" dependencies = [ "autocfg", "rawpointer", @@ -6104,7 +5836,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.34", + "rustix 0.38.44", ] [[package]] @@ -6118,9 +5850,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" +checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" dependencies = [ "libc", ] @@ -6188,20 +5920,19 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.4" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" +checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" dependencies = [ - "adler", + "adler2", ] [[package]] name = "mio" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" +checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ - "hermit-abi 0.3.9", "libc", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", @@ -6214,7 +5945,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -6228,76 +5959,42 @@ dependencies = [ "rand_chacha 0.3.1", "rand_distr", "subtle 2.6.1", - "thiserror", + "thiserror 1.0.69", "zeroize", ] [[package]] name = "mmr-gadget" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "log", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-offchain 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "mmr-gadget" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-offchain 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "mmr-rpc" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-client-api", + "sc-offchain", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", ] [[package]] name = "mmr-rpc" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", "parity-scale-codec", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", ] [[package]] @@ -6326,7 +6023,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive 0.12.1", - "predicates 3.1.2", + "predicates 3.1.3", "predicates-tree", ] @@ -6351,7 +6048,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -6369,7 +6066,7 @@ dependencies = [ "percent-encoding", "serde", "static_assertions", - "unsigned-varint", + "unsigned-varint 0.7.2", "url", ] @@ -6396,9 +6093,9 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive 0.8.1", - "sha2 0.10.8", + "sha2 0.10.9", "sha3 0.10.8", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] @@ -6413,19 +6110,19 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive 0.8.1", - "sha2 0.10.8", + "sha2 0.10.9", "sha3 0.10.8", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] name = "multihash" -version = "0.19.1" +version = "0.19.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" +checksum = "6b430e7953c29dd6a09afc29ff0bb69c6e306329ee6794700aee27b76a1aea8d" dependencies = [ "core2", - "unsigned-varint", + "unsigned-varint 0.8.0", ] [[package]] @@ -6439,11 +6136,11 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive 0.9.0", + "multihash-derive 0.9.1", "ripemd", "serde", "sha1", - "sha2 0.10.8", + "sha2 0.10.9", "sha3 0.10.8", "strobe-rs", ] @@ -6464,27 +6161,26 @@ dependencies = [ [[package]] name = "multihash-derive" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" +checksum = "1f1b7edab35d920890b88643a765fc9bd295cf0201f4154dda231bef9b8404eb" dependencies = [ "core2", - "multihash 0.19.1", + "multihash 0.19.3", "multihash-derive-impl", ] [[package]] name = "multihash-derive-impl" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3958713ce794e12f7c6326fac9aa274c68d74c4881dd37b3e2662b8a2046bb19" +checksum = "e3dc7141bd06405929948754f0628d247f5ca1865be745099205e5086da957cb" dependencies = [ - "proc-macro-crate 2.0.0", - "proc-macro-error", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", - "synstructure 0.13.1", + "syn 2.0.101", + "synstructure 0.13.2", ] [[package]] @@ -6504,18 +6200,17 @@ dependencies = [ "log", "pin-project", "smallvec", - "unsigned-varint", + "unsigned-varint 0.7.2", ] [[package]] name = "nalgebra" -version = "0.32.6" +version = "0.33.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" +checksum = "26aecdf64b707efd1310e3544d709c5c0ac61c13756046aaaba41be5c4f66a3b" dependencies = [ "approx", "matrixmultiply", - "nalgebra-macros", "num-complex", "num-rational", "num-traits", @@ -6523,17 +6218,6 @@ dependencies = [ "typenum", ] -[[package]] -name = "nalgebra-macros" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", -] - [[package]] name = "names" version = "0.14.0" @@ -6551,21 +6235,20 @@ checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" [[package]] name = "netlink-packet-core" -version = "0.4.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" +checksum = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4" dependencies = [ "anyhow", "byteorder", - "libc", "netlink-packet-utils", ] [[package]] name = "netlink-packet-route" -version = "0.12.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" +checksum = "053998cea5a306971f88580d0829e90f270f940befd7cf928da179d4187a5a66" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -6584,29 +6267,28 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "netlink-proto" -version = "0.10.0" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" +checksum = "72452e012c2f8d612410d89eea01e2d9b56205274abb35d53f60200b2ec41d60" dependencies = [ "bytes", "futures", "log", "netlink-packet-core", "netlink-sys", - "thiserror", - "tokio", + "thiserror 2.0.12", ] [[package]] name = "netlink-sys" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" +checksum = "16c903aa70590cb93691bf97a767c8d1d6122d2cc9070433deb3bbf36ce8bd23" dependencies = [ "bytes", "futures", @@ -6623,7 +6305,7 @@ checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" dependencies = [ "cc", "libc", - "thiserror", + "thiserror 1.0.69", "winapi", ] @@ -6650,58 +6332,58 @@ dependencies = [ "fc-storage", "fp-evm", "fp-rpc", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-benchmarking-cli 32.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-benchmarking-cli", "futures", "jsonrpsee", "log", "neuroweb-runtime", - "pallet-transaction-payment-rpc 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-transaction-payment-rpc", "parity-scale-codec", "polkadot-cli", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-service 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-basic-authorship 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "polkadot-service", + "sc-basic-authorship", + "sc-chain-spec", + "sc-cli", + "sc-client-api", + "sc-consensus", "sc-consensus-aura", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-network-sync", + "sc-rpc", + "sc-rpc-api", + "sc-service", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", "sp-consensus-aura", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-offchain", + "sp-runtime", + "sp-timestamp", + "staging-xcm", "substrate-build-script-utils", - "substrate-frame-rpc-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "substrate-frame-rpc-system", + "substrate-prometheus-endpoint", ] [[package]] name = "neuroweb-runtime" -version = "1.5.2" +version = "1.5.3" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", @@ -6715,20 +6397,20 @@ dependencies = [ "cumulus-primitives-utility", "fp-rpc", "fp-self-contained", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", "frame-executive", "frame-metadata-hash-extension", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", "log", "pallet-assets", "pallet-aura", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-balances", "pallet-base-fee", "pallet-collator-selection", "pallet-collective", @@ -6741,51 +6423,51 @@ dependencies = [ "pallet-evm-precompile-sha3fips", "pallet-evm-precompile-simple", "pallet-identity", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "pallet-multisig", "pallet-preimage", "pallet-proxy", "pallet-scheduler", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", "pallet-utility", - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-vesting", "pallet-xc-asset-config", "pallet-xcm", "parachains-common", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-parachain-primitives", "polkadot-runtime-common", "scale-info", "serde", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-block-builder", "sp-consensus-aura", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-std", + "sp-transaction-pool", + "sp-version", "staging-parachain-info", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", "substrate-wasm-builder", ] [[package]] name = "nix" -version = "0.24.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" +checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" dependencies = [ "bitflags 1.3.2", "cfg-if", @@ -6798,7 +6480,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "cfg-if", "libc", ] @@ -6904,7 +6586,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "itoa", ] @@ -6970,11 +6652,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" +checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" dependencies = [ - "num_enum_derive 0.7.2", + "num_enum_derive 0.7.3", ] [[package]] @@ -6990,14 +6672,14 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" +checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -7023,9 +6705,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.2" +version = "0.36.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" +checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" dependencies = [ "memchr", ] @@ -7041,9 +6723,15 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.21.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" [[package]] name = "opaque-debug" @@ -7059,11 +6747,11 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.66" +version = "0.10.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" +checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "cfg-if", "foreign-types", "libc", @@ -7080,29 +6768,29 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "openssl-probe" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "openssl-src" -version = "300.3.1+3.3.1" +version = "300.5.0+3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91" +checksum = "e8ce546f549326b0e6052b649198487d91320875da901e7bd11a06d1ee3f9c2f" dependencies = [ "cc", ] [[package]] name = "openssl-sys" -version = "0.9.103" +version = "0.9.108" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" +checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" dependencies = [ "cc", "libc", @@ -7130,7 +6818,7 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -7141,10 +6829,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" dependencies = [ "expander 2.2.1", - "indexmap 2.2.6", + "indexmap 2.9.0", "itertools 0.11.0", "petgraph", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", "syn 1.0.109", @@ -7168,248 +6856,178 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-assets" version = "29.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-authority-discovery" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-authorship" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "impl-trait-for-tuples", + "frame-support", + "frame-system", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-authority-discovery", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-babe" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", - "pallet-authorship 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-session", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-consensus-babe", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "aquamarine 0.5.0", "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-balances" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7418,260 +7036,241 @@ version = "1.0.0" source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5779b59043ae018d07d84f4e8e0c49087f804d3a" dependencies = [ "fp-evm", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", ] [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-consensus-beefy", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "binary-merkle-tree", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-consensus-beefy", + "sp-core", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-std", ] [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-broker" -version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-balances", + "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "assert_matches", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-std", "strum 0.26.3", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-system", "parity-scale-codec", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-npos-elections", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7687,13 +7286,13 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-storage", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", ] [[package]] @@ -7705,9 +7304,9 @@ dependencies = [ "evm", "fp-account", "fp-evm", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "hash-db", "hex", "hex-literal 0.4.1", @@ -7716,55 +7315,55 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", ] [[package]] name = "pallet-evm-accounts" version = "1.1.1" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "pallet-evm", "pallet-evm-utility-macro", "parity-scale-codec", "scale-info", "sha3 0.10.8", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-evm-precompile-assets-erc20" version = "1.1.1" dependencies = [ - "derive_more", + "derive_more 0.99.20", "fp-evm", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", "num_enum 0.5.11", "pallet-assets", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "pallet-evm", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", "parity-scale-codec", "precompile-utils", "scale-info", "serde", "sha3 0.10.8", "slices", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7792,7 +7391,7 @@ source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5 dependencies = [ "fp-evm", "ripemd", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", ] [[package]] @@ -7804,7 +7403,7 @@ dependencies = [ "evm-gasometer", "evm-runtime", "sha3 0.10.8", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-std", ] [[package]] @@ -7820,938 +7419,795 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-consensus-grandpa", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-identity" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "enumflags2", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-keyring", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-message-queue" -version = "31.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", + "sp-tracing", ] [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-std", ] [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-babe", + "pallet-balances", "pallet-grandpa", "pallet-im-online", "pallet-offences", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", + "pallet-staking", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-parameters" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "assert_matches", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "log", - "parity-scale-codec", - "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-session" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "impl-trait-for-tuples", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-timestamp 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-state-machine", + "sp-std", + "sp-trie", ] [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-session", + "pallet-staking", "parity-scale-codec", "rand 0.8.5", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-session", + "sp-std", ] [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-staking" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", - "pallet-authorship 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "log", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-session", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-staking-reward-curve" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "log", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", ] [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-staking", ] [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-timestamp" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", + "sp-storage", + "sp-timestamp", ] [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] -name = "pallet-transaction-payment" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-transaction-payment-rpc" -version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "jsonrpsee", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-transaction-payment-rpc" -version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +name = "pallet-transaction-payment-rpc" +version = "30.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-transaction-payment-rpc-runtime-api" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "pallet-transaction-payment 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-transaction-payment", "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "pallet-vesting" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "log", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-xc-asset-config" version = "1.1.1" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", + "pallet-timestamp", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bounded-collections", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "xcm-fee-payment-runtime-api 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", + "xcm-fee-payment-runtime-api", ] [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", ] [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "log", "pallet-asset-tx-payment", "pallet-assets", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-balances", "pallet-collator-selection", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "pallet-xcm", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", "scale-info", "sp-consensus-aura", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-parachain-info", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm", + "staging-xcm-executor", "substrate-wasm-builder", ] @@ -8761,7 +8217,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ - "bitcoin_hashes 0.13.0", + "bitcoin_hashes", "rand 0.8.5", "rand_core 0.6.4", "serde", @@ -8791,29 +8247,31 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.12" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" +checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "byte-slice-cast", "bytes", + "const_format", "impl-trait-for-tuples", "parity-scale-codec-derive", + "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.6.12" +version = "3.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" +checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] @@ -8830,9 +8288,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -8877,7 +8335,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.3", + "redox_syscall 0.5.12", "smallvec", "windows-targets 0.52.6", ] @@ -8938,20 +8396,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.11" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" +checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" dependencies = [ "memchr", - "thiserror", + "thiserror 2.0.12", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.11" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" +checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" dependencies = [ "pest", "pest_generator", @@ -8959,26 +8417,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.11" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" +checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "pest_meta" -version = "2.7.11" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" +checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" dependencies = [ "once_cell", "pest", - "sha2 0.10.8", + "sha2 0.10.9", ] [[package]] @@ -8988,27 +8446,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.2.6", + "indexmap 2.9.0", ] [[package]] name = "pin-project" -version = "1.1.5" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.5" +version = "1.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -9019,9 +8477,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.14" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" +checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" [[package]] name = "pin-utils" @@ -9031,12 +8489,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae1d5c74c9876f070d3e8fd503d748c7d974c3e48da8f41350fa5222ef9b4391" +checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" dependencies = [ "atomic-waker", - "fastrand 2.1.0", + "fastrand 2.3.0", "futures-io", ] @@ -9052,419 +8510,219 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.30" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" - -[[package]] -name = "polkadot-approval-distribution" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "futures", - "futures-timer", - "itertools 0.10.5", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "rand 0.8.5", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "polkadot-approval-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "futures", "futures-timer", "itertools 0.10.5", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-availability-bitfield-distribution" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "always-assert", - "futures", - "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-jaeger", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "rand 0.8.5", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "tracing-gum", ] [[package]] name = "polkadot-availability-bitfield-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "always-assert", "futures", "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-availability-distribution" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "derive_more", - "fatality", - "futures", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "rand 0.8.5", - "schnellru", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "tracing-gum", ] [[package]] name = "polkadot-availability-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "derive_more", - "fatality", - "futures", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "schnellru", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-availability-recovery" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", + "derive_more 0.99.20", "fatality", "futures", "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "rand 0.8.5", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", "schnellru", - "thiserror", - "tokio", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-availability-recovery" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "fatality", "futures", "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "rand 0.8.5", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-network", "schnellru", - "thiserror", + "thiserror 1.0.69", "tokio", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "tracing-gum", ] [[package]] name = "polkadot-cli" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cfg-if", "clap", - "frame-benchmarking-cli 32.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking-cli", "futures", "log", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-service 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-metrics", + "polkadot-node-primitives", + "polkadot-service", + "sc-cli", + "sc-executor", + "sc-service", "sc-storage-monitor", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-sysinfo", + "sc-tracing", + "sp-core", + "sp-io", + "sp-keyring", + "sp-maybe-compressed-blob", + "sp-runtime", "substrate-build-script-utils", - "thiserror", -] - -[[package]] -name = "polkadot-collator-protocol" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "fatality", - "futures", - "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio-util", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "thiserror 1.0.69", ] [[package]] name = "polkadot-collator-protocol" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "fatality", "futures", "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-core", + "sp-keystore", + "sp-runtime", + "thiserror 1.0.69", "tokio-util", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-core-primitives" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "tracing-gum", ] [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-dispute-distribution" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "derive_more", - "fatality", - "futures", - "futures-timer", - "indexmap 2.2.6", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] name = "polkadot-dispute-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "derive_more", + "derive_more 0.99.20", "fatality", "futures", "futures-timer", - "indexmap 2.2.6", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "indexmap 2.9.0", + "parity-scale-codec", + "polkadot-erasure-coding", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sc-network", "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-erasure-coding" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "reed-solomon-novelpoly", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-application-crypto", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-erasure-coding" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-trie", + "thiserror 1.0.69", ] [[package]] name = "polkadot-gossip-support" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", "rand 0.8.5", "rand_chacha 0.3.1", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-gossip-support" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "futures", - "futures-timer", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "rand_chacha 0.3.1", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-network-bridge" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "always-assert", - "async-trait", - "bytes", - "fatality", - "futures", - "parity-scale-codec", - "parking_lot 0.12.3", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "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" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "always-assert", "async-trait", @@ -9473,910 +8731,467 @@ dependencies = [ "futures", "parity-scale-codec", "parking_lot 0.12.3", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-collation-generation" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "sc-network", + "sp-consensus", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-collation-generation" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "futures", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-approval-voting" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "bitvec", - "derive_more", "futures", - "futures-timer", - "itertools 0.10.5", - "kvdb", - "merlin", "parity-scale-codec", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rand_core 0.6.4", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "schnorrkel 0.11.4", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-erasure-coding", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-core", + "sp-maybe-compressed-blob", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-core-approval-voting" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", - "derive_more", + "derive_more 0.99.20", "futures", "futures-timer", "itertools 0.10.5", "kvdb", "merlin", "parity-scale-codec", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", "rand 0.8.5", "rand_chacha 0.3.1", "rand_core 0.6.4", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-keystore", "schnellru", "schnorrkel 0.11.4", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-av-store" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "futures", - "futures-timer", - "kvdb", - "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-consensus", + "sp-consensus-slots", + "sp-runtime", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-core-av-store" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "futures", "futures-timer", "kvdb", "parity-scale-codec", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-erasure-coding", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "sp-consensus", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-core-backing" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "fatality", "futures", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-statement-table 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-erasure-coding", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "polkadot-statement-table", "schnellru", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-backing" +name = "polkadot-node-core-bitfield-signing" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "bitvec", - "fatality", "futures", - "polkadot-erasure-coding 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-statement-table 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnellru", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", + "wasm-timer", ] [[package]] -name = "polkadot-node-core-bitfield-signing" +name = "polkadot-node-core-candidate-validation" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "async-trait", "futures", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "wasm-timer", + "futures-timer", + "parity-scale-codec", + "polkadot-node-core-pvf", + "polkadot-node-metrics", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-parachain-primitives", + "polkadot-primitives", + "sp-maybe-compressed-blob", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-bitfield-signing" +name = "polkadot-node-core-chain-api" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "wasm-timer", + "polkadot-node-metrics", + "polkadot-node-subsystem", + "polkadot-node-subsystem-types", + "sc-client-api", + "sc-consensus-babe", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-candidate-validation" +name = "polkadot-node-core-chain-selection" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", "futures", "futures-timer", + "kvdb", "parity-scale-codec", - "polkadot-node-core-pvf 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-candidate-validation" +name = "polkadot-node-core-dispute-coordinator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", + "fatality", "futures", - "futures-timer", + "kvdb", "parity-scale-codec", - "polkadot-node-core-pvf 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sc-keystore", + "schnellru", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-chain-api" +name = "polkadot-node-core-parachains-inherent" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "async-trait", "futures", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "futures-timer", + "polkadot-node-subsystem", + "polkadot-overseer", + "polkadot-primitives", + "sp-blockchain", + "sp-inherents", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-chain-api" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +name = "polkadot-node-core-prospective-parachains" +version = "6.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "bitvec", + "fatality", "futures", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "parity-scale-codec", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-chain-selection" +name = "polkadot-node-core-provisioner" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "bitvec", + "fatality", "futures", "futures-timer", - "kvdb", - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "schnellru", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-chain-selection" +name = "polkadot-node-core-pvf" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ + "always-assert", + "array-bytes 6.2.3", + "blake3", + "cfg-if", "futures", "futures-timer", - "kvdb", "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pin-project", + "polkadot-core-primitives", + "polkadot-node-core-pvf-common", + "polkadot-node-metrics", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-parachain-primitives", + "polkadot-primitives", + "rand 0.8.5", + "slotmap", + "sp-core", + "tempfile", + "thiserror 1.0.69", + "tokio", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-dispute-coordinator" +name = "polkadot-node-core-pvf-checker" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "fatality", "futures", - "kvdb", - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-primitives", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] -name = "polkadot-node-core-dispute-coordinator" +name = "polkadot-node-core-pvf-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "fatality", - "futures", - "kvdb", - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnellru", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-parachains-inherent" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-parachains-inherent" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-prospective-parachains" -version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "fatality", - "futures", - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-prospective-parachains" -version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bitvec", - "fatality", - "futures", - "parity-scale-codec", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-provisioner" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitvec", - "fatality", - "futures", - "futures-timer", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-provisioner" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bitvec", - "fatality", - "futures", - "futures-timer", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnellru", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "always-assert", - "array-bytes 6.2.3", - "blake3", - "cfg-if", - "futures", - "futures-timer", - "parity-scale-codec", - "pin-project", - "polkadot-core-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-pvf-common 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "rand 0.8.5", - "slotmap", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tempfile", - "thiserror", - "tokio", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "always-assert", - "array-bytes 6.2.3", - "blake3", - "cfg-if", - "futures", - "futures-timer", - "parity-scale-codec", - "pin-project", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-pvf-common 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "slotmap", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tempfile", - "thiserror", - "tokio", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf-checker" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf-checker" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "futures", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf-common" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "cpu-time", - "futures", - "landlock", - "libc", - "nix 0.27.1", - "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "seccompiler", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-pvf-common" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "cpu-time", + "cpu-time", "futures", "landlock", "libc", "nix 0.27.1", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-parachain-primitives", + "polkadot-primitives", + "sc-executor", + "sc-executor-common", + "sc-executor-wasmtime", "seccompiler", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-crypto-hashing", + "sp-externalities", + "sp-io", + "sp-tracing", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-core-runtime-api" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-metrics", + "polkadot-node-subsystem", + "polkadot-node-subsystem-types", + "polkadot-primitives", "schnellru", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-core-runtime-api" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "futures", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnellru", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-consensus-babe", + "tracing-gum", ] [[package]] name = "polkadot-node-jaeger" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "lazy_static", "log", "mick-jaeger", "parity-scale-codec", "parking_lot 0.12.3", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", -] - -[[package]] -name = "polkadot-node-jaeger" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "lazy_static", - "log", - "mick-jaeger", - "parity-scale-codec", - "parking_lot 0.12.3", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "polkadot-node-primitives", + "polkadot-primitives", + "sc-network", + "sc-network-types", + "sp-core", + "thiserror 1.0.69", "tokio", ] [[package]] name = "polkadot-node-metrics" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bs58 0.5.1", "futures", "futures-timer", "log", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-primitives", "prioritized-metered-channel", - "sc-cli 0.36.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-metrics" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bs58 0.5.1", - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "prioritized-metered-channel", - "sc-cli 0.36.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-cli", + "sc-service", + "sc-tracing", + "substrate-prometheus-endpoint", + "tracing-gum", ] [[package]] name = "polkadot-node-network-protocol" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-channel 1.9.0", "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.20", "fatality", "futures", "hex", "parity-scale-codec", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-jaeger", + "polkadot-node-primitives", + "polkadot-primitives", "rand 0.8.5", - "sc-authority-discovery 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-authority-discovery", + "sc-network", + "sc-network-types", + "sp-runtime", "strum 0.26.3", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-network-protocol" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-channel 1.9.0", - "async-trait", - "bitvec", - "derive_more", - "fatality", - "futures", - "hex", - "parity-scale-codec", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "rand 0.8.5", - "sc-authority-discovery 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "strum 0.26.3", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-node-primitives" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "bounded-vec", "futures", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-parachain-primitives", + "polkadot-primitives", "schnorrkel 0.11.4", "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-application-crypto", + "sp-consensus-babe", + "sp-core", + "sp-keystore", + "sp-maybe-compressed-blob", + "sp-runtime", + "thiserror 1.0.69", "zstd 0.12.4", ] -[[package]] -name = "polkadot-node-primitives" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bitvec", - "bounded-vec", - "futures", - "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnorrkel 0.11.4", - "serde", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "zstd 0.12.4", -] - -[[package]] -name = "polkadot-node-subsystem" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - [[package]] name = "polkadot-node-subsystem" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-subsystem-types" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", - "bitvec", - "derive_more", - "futures", - "orchestra", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-statement-table 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "smallvec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "polkadot-node-jaeger", + "polkadot-node-subsystem-types", + "polkadot-overseer", ] [[package]] name = "polkadot-node-subsystem-types" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "bitvec", - "derive_more", + "derive_more 0.99.20", "futures", "orchestra", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-statement-table 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-jaeger", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-primitives", + "polkadot-statement-table", + "sc-client-api", + "sc-network", + "sc-network-types", + "sc-transaction-pool-api", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-authority-discovery", + "sp-blockchain", + "sp-consensus-babe", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "polkadot-node-subsystem-util" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", - "derive_more", + "derive_more 0.99.20", "fatality", "futures", "futures-channel", @@ -10386,732 +9201,387 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pin-project", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-jaeger", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-types", + "polkadot-overseer", + "polkadot-primitives", "prioritized-metered-channel", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-client-api", "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-node-subsystem-util" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-trait", - "derive_more", - "fatality", - "futures", - "futures-channel", - "itertools 0.10.5", - "kvdb", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.3", - "pin-project", - "polkadot-node-jaeger 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "prioritized-metered-channel", - "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "schnellru", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-overseer" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "orchestra", - "parking_lot 0.12.3", - "polkadot-node-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tikv-jemalloc-ctl", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-overseer" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", "futures-timer", "orchestra", "parking_lot 0.12.3", - "polkadot-node-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-node-metrics", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem-types", + "polkadot-primitives", + "sc-client-api", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-parachain-primitives" -version = "6.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bounded-collections", - "derive_more", - "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "tracing-gum", ] [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bounded-collections", - "derive_more", + "derive_more 0.99.20", "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-core-primitives", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-std", + "sp-weights", ] [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", "hex-literal 0.4.1", "log", "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-core-primitives", + "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-primitives" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bitvec", - "hex-literal 0.4.1", - "log", - "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "polkadot-rpc" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", - "mmr-rpc 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-babe-rpc 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-beefy-rpc 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-grandpa-rpc 0.19.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-sync-state-rpc 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-frame-rpc-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-state-trie-migration-rpc 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-rpc" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "jsonrpsee", - "mmr-rpc 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe-rpc 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-beefy-rpc 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-grandpa-rpc 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sync-state-rpc 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-frame-rpc-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-state-trie-migration-rpc 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "mmr-rpc", + "pallet-transaction-payment-rpc", + "polkadot-primitives", + "sc-chain-spec", + "sc-client-api", + "sc-consensus-babe", + "sc-consensus-babe-rpc", + "sc-consensus-beefy", + "sc-consensus-beefy-rpc", + "sc-consensus-epochs", + "sc-consensus-grandpa", + "sc-consensus-grandpa-rpc", + "sc-rpc", + "sc-rpc-spec-v2", + "sc-sync-state-rpc", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-keystore", + "sp-runtime", + "substrate-frame-rpc-system", + "substrate-state-trie-migration-rpc", ] [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", "pallet-asset-rate", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-broker 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-broker", "pallet-election-provider-multi-phase", "pallet-fast-unstake", "pallet-identity", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", + "pallet-staking", "pallet-staking-reward-fn", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", + "pallet-transaction-payment", "pallet-treasury", - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-vesting", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "polkadot-runtime-parachains", "rustc-hex", "scale-info", "serde", "serde_derive", "slot-range-helper", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", + "sp-npos-elections", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", "static_assertions", ] [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bs58 0.5.1", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-runtime-metrics" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bs58 0.5.1", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-runtime-parachains" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bitflags 1.3.2", - "bitvec", - "derive_more", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "impl-trait-for-tuples", - "log", - "pallet-authority-discovery 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-authorship 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-broker 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-message-queue 31.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-vesting 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "frame-benchmarking", "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-runtime-metrics 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "rand 0.8.5", - "rand_chacha 0.3.1", - "rustc-hex", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "staging-xcm-executor 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-primitives", + "sp-std", + "sp-tracing", ] [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "derive_more 0.99.20", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", - "pallet-authority-discovery 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-broker 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-runtime-metrics 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", + "pallet-broker", + "pallet-message-queue", + "pallet-session", + "pallet-staking", + "pallet-timestamp", + "pallet-vesting", + "parity-scale-codec", + "polkadot-core-primitives", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-runtime-metrics", "rand 0.8.5", "rand_chacha 0.3.1", "rustc-hex", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "static_assertions", -] - -[[package]] -name = "polkadot-service" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-benchmarking-cli 32.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "futures", - "hex-literal 0.4.1", - "is_executable", - "kvdb", - "kvdb-rocksdb", - "log", - "mmr-gadget 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.3", - "polkadot-approval-distribution 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-availability-bitfield-distribution 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-availability-distribution 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-availability-recovery 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-collator-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-core-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-dispute-distribution 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-gossip-support 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-network-bridge 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-collation-generation 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-approval-voting 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-av-store 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-backing 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-bitfield-signing 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-candidate-validation 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-chain-api 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-chain-selection 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-dispute-coordinator 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-parachains-inherent 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-prospective-parachains 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-provisioner 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-pvf 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-pvf-checker 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-core-runtime-api 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-rpc 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-statement-distribution 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-authority-discovery 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-basic-authorship 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-offchain 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-sync-state-rpc 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "serde", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "xcm-fee-payment-runtime-api 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "staging-xcm", + "staging-xcm-executor", + "static_assertions", ] [[package]] name = "polkadot-service" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-benchmarking-cli 32.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-benchmarking-cli", + "frame-support", + "frame-system", + "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", "is_executable", "kvdb", "kvdb-rocksdb", "log", - "mmr-gadget 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "mmr-gadget", + "pallet-babe", + "pallet-staking", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", "parking_lot 0.12.3", - "polkadot-approval-distribution 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-availability-bitfield-distribution 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-availability-distribution 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-availability-recovery 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-collator-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-core-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-dispute-distribution 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-gossip-support 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-network-bridge 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-collation-generation 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-approval-voting 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-av-store 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-backing 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-bitfield-signing 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-candidate-validation 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-chain-api 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-chain-selection 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-dispute-coordinator 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-parachains-inherent 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-prospective-parachains 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-provisioner 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-pvf 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-pvf-checker 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-core-runtime-api 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-types 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-overseer 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-rpc 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-statement-distribution 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-approval-distribution", + "polkadot-availability-bitfield-distribution", + "polkadot-availability-distribution", + "polkadot-availability-recovery", + "polkadot-collator-protocol", + "polkadot-core-primitives", + "polkadot-dispute-distribution", + "polkadot-gossip-support", + "polkadot-network-bridge", + "polkadot-node-collation-generation", + "polkadot-node-core-approval-voting", + "polkadot-node-core-av-store", + "polkadot-node-core-backing", + "polkadot-node-core-bitfield-signing", + "polkadot-node-core-candidate-validation", + "polkadot-node-core-chain-api", + "polkadot-node-core-chain-selection", + "polkadot-node-core-dispute-coordinator", + "polkadot-node-core-parachains-inherent", + "polkadot-node-core-prospective-parachains", + "polkadot-node-core-provisioner", + "polkadot-node-core-pvf", + "polkadot-node-core-pvf-checker", + "polkadot-node-core-runtime-api", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-types", + "polkadot-node-subsystem-util", + "polkadot-overseer", + "polkadot-parachain-primitives", + "polkadot-primitives", + "polkadot-rpc", + "polkadot-runtime-parachains", + "polkadot-statement-distribution", "rococo-runtime", - "sc-authority-discovery 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-basic-authorship 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-offchain 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sync-state-rpc 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-authority-discovery", + "sc-basic-authorship", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-consensus-babe", + "sc-consensus-beefy", + "sc-consensus-grandpa", + "sc-consensus-slots", + "sc-executor", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-offchain", + "sc-service", + "sc-sync-state-rpc", + "sc-sysinfo", + "sc-telemetry", + "sc-transaction-pool", + "sc-transaction-pool-api", "schnellru", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-authority-discovery", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keyring", + "sp-keystore", + "sp-mmr-primitives", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-state-machine", + "sp-storage", + "sp-timestamp", + "sp-transaction-pool", + "sp-version", + "sp-weights", + "staging-xcm", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", + "tracing-gum", "westend-runtime", - "xcm-fee-payment-runtime-api 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-statement-distribution" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "arrayvec 0.7.4", - "bitvec", - "fatality", - "futures", - "futures-timer", - "indexmap 2.2.6", - "parity-scale-codec", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "xcm-fee-payment-runtime-api", ] [[package]] name = "polkadot-statement-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 2.2.6", - "parity-scale-codec", - "polkadot-node-network-protocol 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-node-subsystem-util 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "polkadot-statement-table" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ + "indexmap 2.9.0", "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-node-network-protocol", + "polkadot-node-primitives", + "polkadot-node-subsystem", + "polkadot-node-subsystem-util", + "polkadot-primitives", + "sp-keystore", + "sp-staking", + "thiserror 1.0.69", + "tracing-gum", ] [[package]] name = "polkadot-statement-table" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing-gum 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-primitives", + "sp-core", + "tracing-gum", ] [[package]] @@ -11163,7 +9633,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11173,7 +9643,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11209,23 +9679,23 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.7.2" +version = "3.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3ed00ed3fbf728b5816498ecd316d1716eecaced9c0c8d2c5a6740ca214985b" +checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", - "pin-project-lite 0.2.14", - "rustix 0.38.34", + "pin-project-lite 0.2.16", + "rustix 0.38.44", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -11253,9 +9723,18 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.7.0" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" + +[[package]] +name = "potential_utf" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" +checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" +dependencies = [ + "zerovec", +] [[package]] name = "powerfmt" @@ -11265,9 +9744,12 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" +dependencies = [ + "zerocopy", +] [[package]] name = "precompile-utils" @@ -11276,8 +9758,8 @@ dependencies = [ "assert_matches", "evm", "fp-evm", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "hex-literal 0.3.4", "impl-trait-for-tuples", "log", @@ -11287,11 +9769,11 @@ dependencies = [ "precompile-utils-macro", "sha3 0.10.8", "similar-asserts", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] @@ -11321,9 +9803,9 @@ dependencies = [ [[package]] name = "predicates" -version = "3.1.2" +version = "3.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" +checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" dependencies = [ "anstyle", "predicates-core", @@ -11331,15 +9813,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.6" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" +checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" [[package]] name = "predicates-tree" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" +checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" dependencies = [ "predicates-core", "termtree", @@ -11357,12 +9839,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.20" +version = "0.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" +checksum = "664ec5419c51e34154eec046ebcba56312d5a2fc3b09a06da188e1ad21afadf6" dependencies = [ "proc-macro2", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11387,11 +9869,11 @@ checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", - "derive_more", + "derive_more 0.99.20", "futures", "futures-timer", "nanorand", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -11401,26 +9883,17 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "thiserror", + "thiserror 1.0.69", "toml 0.5.11", ] [[package]] name = "proc-macro-crate" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" -dependencies = [ - "toml_edit 0.20.7", -] - -[[package]] -name = "proc-macro-crate" -version = "3.1.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" dependencies = [ - "toml_edit 0.21.1", + "toml_edit", ] [[package]] @@ -11449,20 +9922,20 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "1.0.2" +version = "1.84.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" +checksum = "75eea531cfcd120e0851a3f8aed42c4841f78c889eefafd96339c72677ae42c3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "proc-macro2" -version = "1.0.86" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" +checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" dependencies = [ "unicode-ident", ] @@ -11478,7 +9951,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot 0.12.3", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11501,7 +9974,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11569,7 +10042,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11583,18 +10056,18 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.21" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" +checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" dependencies = [ "cc", ] [[package]] name = "quanta" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" +checksum = "3bd1fe6824cea6538803de3ff1bc0cf3949024db3d43c9643024bfb33a807c0e" dependencies = [ "crossbeam-utils", "libc", @@ -11605,12 +10078,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quick-protobuf" version = "0.8.1" @@ -11629,8 +10096,8 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror", - "unsigned-varint", + "thiserror 1.0.69", + "unsigned-varint 0.7.2", ] [[package]] @@ -11651,12 +10118,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" dependencies = [ "bytes", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "quinn-proto", "quinn-udp", "rustc-hash", "rustls 0.20.9", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "webpki", @@ -11674,7 +10141,7 @@ dependencies = [ "rustc-hash", "rustls 0.20.9", "slab", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tracing", "webpki", @@ -11695,13 +10162,19 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.36" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" +checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" + [[package]] name = "radium" version = "0.7.0" @@ -11767,7 +10240,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", ] [[package]] @@ -11800,11 +10273,11 @@ dependencies = [ [[package]] name = "raw-cpuid" -version = "11.1.0" +version = "11.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" +checksum = "c6df7ab838ed27997ba19a4664507e6f82b41fe6e20be42929332156e5e85146" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", ] [[package]] @@ -11856,31 +10329,22 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.3" +version = "0.5.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" +checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", ] [[package]] name = "redox_users" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" +checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -11889,30 +10353,30 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ - "derive_more", + "derive_more 0.99.20", "fs-err", "static_init", - "thiserror", + "thiserror 1.0.69", ] [[package]] name = "ref-cast" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" +checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.23" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" +checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -11942,14 +10406,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.5" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.7", - "regex-syntax 0.8.4", + "regex-automata 0.4.9", + "regex-syntax 0.8.5", ] [[package]] @@ -11963,13 +10427,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.7" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" +checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.4", + "regex-syntax 0.8.5", ] [[package]] @@ -11980,19 +10444,15 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" +checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" [[package]] name = "resolv-conf" -version = "0.7.0" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" -dependencies = [ - "hostname", - "quick-error", -] +checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" [[package]] name = "rfc6979" @@ -12004,23 +10464,6 @@ dependencies = [ "subtle 2.6.1", ] -[[package]] -name = "ring" -version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" -dependencies = [ - "ark-ec", - "ark-ff", - "ark-poly", - "ark-serialize", - "ark-std", - "arrayvec 0.7.4", - "blake2 0.10.6", - "common", - "fflonk", - "merlin", -] - [[package]] name = "ring" version = "0.16.20" @@ -12038,15 +10481,14 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.16", "libc", - "spin 0.9.8", "untrusted 0.9.0", "windows-sys 0.52.0", ] @@ -12095,25 +10537,25 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", "frame-executive", "frame-metadata-hash-extension", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", "pallet-asset-rate", - "pallet-authority-discovery 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", + "pallet-balances", "pallet-beefy", "pallet-beefy-mmr", "pallet-bounties", @@ -12126,7 +10568,7 @@ dependencies = [ "pallet-identity", "pallet-indices", "pallet-membership", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "pallet-mmr", "pallet-multisig", "pallet-nis", @@ -12139,73 +10581,73 @@ dependencies = [ "pallet-referenda", "pallet-root-testing", "pallet-scheduler", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", "pallet-society", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-staking", "pallet-state-trie-migration", "pallet-sudo", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", "pallet-tips", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", "pallet-utility", - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-vesting", "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-parachain-primitives", + "polkadot-primitives", "polkadot-runtime-common", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-runtime-parachains", "rococo-runtime-constants", "scale-info", "serde", "serde_derive", "serde_json", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-arithmetic", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-consensus-grandpa", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-mmr-primitives", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-storage", + "sp-transaction-pool", + "sp-version", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", "static_assertions", "substrate-wasm-builder", - "xcm-fee-payment-runtime-api 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "xcm-fee-payment-runtime-api", ] [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-weights", + "staging-xcm", "staging-xcm-builder", ] @@ -12217,38 +10659,41 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" [[package]] name = "rpassword" -version = "7.3.1" +version = "7.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" +checksum = "66d4c8b64f049c6721ec8ccec37ddfc3d641c4a7fca57e8f2a89de509c73df39" dependencies = [ "libc", "rtoolbox", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] name = "rtnetlink" -version = "0.10.1" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" +checksum = "7a552eb82d19f38c3beed3f786bd23aa434ceb9ac43ab44419ca6d67a7e186c0" dependencies = [ "futures", "log", + "netlink-packet-core", "netlink-packet-route", + "netlink-packet-utils", "netlink-proto", - "nix 0.24.3", - "thiserror", + "netlink-sys", + "nix 0.26.4", + "thiserror 1.0.69", "tokio", ] [[package]] name = "rtoolbox" -version = "0.0.2" +version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" +checksum = "a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -12271,11 +10716,11 @@ checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "semver 1.0.23", + "semver 1.0.26", ] [[package]] @@ -12303,9 +10748,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.27" +version = "0.37.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +checksum = "519165d378b97752ca44bbe15047d5d3409e875f39327546b42ac81d7e18c1b6" dependencies = [ "bitflags 1.3.2", "errno", @@ -12317,15 +10762,28 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "errno", "libc", - "linux-raw-sys 0.4.14", - "windows-sys 0.52.0", + "linux-raw-sys 0.4.15", + "windows-sys 0.59.0", +] + +[[package]] +name = "rustix" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +dependencies = [ + "bitflags 2.9.1", + "errno", + "libc", + "linux-raw-sys 0.9.4", + "windows-sys 0.59.0", ] [[package]] @@ -12347,7 +10805,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.8", + "ring 0.17.14", "rustls-webpki 0.101.7", "sct", ] @@ -12359,9 +10817,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", - "ring 0.17.8", + "ring 0.17.14", "rustls-pki-types", - "rustls-webpki 0.102.6", + "rustls-webpki 0.102.8", "subtle 2.6.1", "zeroize", ] @@ -12380,12 +10838,12 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba" +checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" dependencies = [ "openssl-probe", - "rustls-pemfile 2.1.2", + "rustls-pemfile 2.2.0", "rustls-pki-types", "schannel", "security-framework", @@ -12402,19 +10860,21 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.1.2" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" +checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" dependencies = [ - "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.7.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" +checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" +dependencies = [ + "zeroize", +] [[package]] name = "rustls-webpki" @@ -12422,26 +10882,26 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.8", + "ring 0.17.14", "untrusted 0.9.0", ] [[package]] name = "rustls-webpki" -version = "0.102.6" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ - "ring 0.17.8", + "ring 0.17.14", "rustls-pki-types", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.17" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" +checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d" [[package]] name = "ruzstd" @@ -12467,15 +10927,15 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "safe_arch" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" +checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323" dependencies = [ "bytemuck", ] @@ -12492,60 +10952,18 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "log", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-allocator" -version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-authority-discovery" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", - "futures", - "futures-timer", - "ip_network", - "libp2p", - "linked_hash_set", "log", - "multihash 0.17.0", - "multihash-codetable", - "parity-scale-codec", - "prost 0.12.6", - "prost-build", - "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-wasm-interface", + "thiserror 1.0.69", ] [[package]] name = "sc-authority-discovery" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", @@ -12560,217 +10978,98 @@ dependencies = [ "prost 0.12.6", "prost-build", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-network", + "sc-network-types", + "sp-api", + "sp-authority-discovery", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "futures-timer", "log", "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-proposer-metrics 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-basic-authorship" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-proposer-metrics 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-block-builder" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-block-builder", + "sc-proposer-metrics", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-inherents", + "sp-runtime", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-chain-spec" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "array-bytes 6.2.3", - "docify", - "log", - "memmap2 0.9.4", "parity-scale-codec", - "sc-chain-spec-derive 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-trie", ] [[package]] name = "sc-chain-spec" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "docify", "log", - "memmap2 0.9.4", + "memmap2 0.9.5", "parity-scale-codec", - "sc-chain-spec-derive 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-chain-spec-derive", + "sc-client-api", + "sc-executor", + "sc-network", + "sc-telemetry", "serde", "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-chain-spec-derive" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", + "sp-blockchain", + "sp-core", + "sp-crypto-hashing", + "sp-genesis-builder", + "sp-io", + "sp-runtime", + "sp-state-machine", + "sp-tracing", ] [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "sc-cli" -version = "0.36.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "chrono", - "clap", - "fdlimit", - "futures", - "itertools 0.10.5", - "libp2p-identity", - "log", - "names", - "parity-bip39", - "parity-scale-codec", - "rand 0.8.5", - "regex", - "rpassword", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", + "syn 2.0.101", ] [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "chrono", @@ -12786,112 +11085,59 @@ dependencies = [ "rand 0.8.5", "regex", "rpassword", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-service 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-client-db", + "sc-keystore", + "sc-mixnet", + "sc-network", + "sc-service", + "sc-telemetry", + "sc-tracing", + "sc-utils", "serde", "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keyring 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-blockchain", + "sp-core", + "sp-keyring", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", + "thiserror 1.0.69", "tokio", ] [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-client-api" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "fnv", "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-client-db" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "hash-db", - "kvdb", - "kvdb-memorydb", - "kvdb-rocksdb", - "linked-hash-map", - "log", - "parity-db", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-state-db 0.30.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-executor", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-database", + "sp-externalities", + "sp-runtime", + "sp-state-machine", + "sp-statement-store", + "sp-storage", + "sp-trie", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hash-db", "kvdb", @@ -12902,47 +11148,22 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-state-db 0.30.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-state-db", "schnellru", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-consensus" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "log", - "mockall 0.11.4", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-database", + "sp-runtime", + "sp-state-machine", + "sp-trie", ] [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", @@ -12950,92 +11171,56 @@ dependencies = [ "log", "mockall 0.11.4", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-network-types", + "sc-utils", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-aura" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-trait", - "futures", - "log", - "parity-scale-codec", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-aura", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-runtime", + "sp-state-machine", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] -name = "sc-consensus-babe" +name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", - "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", "futures", "log", - "num-bigint", - "num-rational", - "num-traits", "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sc-block-builder", + "sc-client-api", + "sc-consensus", + "sc-consensus-slots", + "sc-telemetry", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-aura", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "fork-tree", "futures", "log", "num-bigint", @@ -13043,113 +11228,54 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-slots 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-babe-rpc" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "jsonrpsee", - "sc-consensus-babe 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-consensus", + "sc-consensus-epochs", + "sc-consensus-slots", + "sc-telemetry", + "sc-transaction-pool-api", + "sp-api", + "sp-application-crypto", + "sp-block-builder", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-consensus-slots", + "sp-core", + "sp-crypto-hashing", + "sp-inherents", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-babe-rpc" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "jsonrpsee", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-rpc-api", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-beefy" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "async-channel 1.9.0", - "async-trait", - "fnv", - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-gossip 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", - "wasm-timer", + "sp-api", + "sp-application-crypto", + "sp-blockchain", + "sp-consensus", + "sp-consensus-babe", + "sp-core", + "sp-keystore", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -13159,26 +11285,26 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-gossip 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-gossip", + "sc-network-sync", + "sc-network-types", + "sc-utils", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-beefy", + "sp-core", + "sp-crypto-hashing", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", "tokio", "wasm-timer", ] @@ -13186,361 +11312,173 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-consensus-beefy 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-beefy-rpc" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-consensus-beefy", + "sc-rpc", "serde", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-epochs" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-consensus-beefy", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-consensus-grandpa" -version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.11", - "array-bytes 6.2.3", - "async-trait", - "dyn-clone", - "finality-grandpa", - "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "futures", - "futures-timer", - "log", + "fork-tree", "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-gossip 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-consensus", + "sp-blockchain", + "sp-runtime", ] [[package]] name = "sc-consensus-grandpa" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "fork-tree", "futures", "futures-timer", "log", "parity-scale-codec", "parking_lot 0.12.3", "rand 0.8.5", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-gossip 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", + "sc-network-gossip", + "sc-network-sync", + "sc-network-types", + "sc-telemetry", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-grandpa-rpc" -version = "0.19.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "finality-grandpa", - "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-crypto-hashing", + "sp-keystore", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-grandpa-rpc" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "finality-grandpa", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-consensus-grandpa", + "sc-rpc", "serde", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-consensus-slots" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "log", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", "futures-timer", "log", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-executor" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor-polkavm 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing", + "sc-client-api", + "sc-consensus", + "sc-telemetry", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", ] [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor-polkavm 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor-wasmtime 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-executor-common", + "sc-executor-polkavm", + "sc-executor-wasmtime", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", ] [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "polkavm", - "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "wasm-instrument", -] - -[[package]] -name = "sc-executor-common" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "polkavm", - "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sc-allocator", + "sp-maybe-compressed-blob", + "sp-wasm-interface", + "thiserror 1.0.69", "wasm-instrument", ] [[package]] name = "sc-executor-polkavm" version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "log", - "polkavm", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-executor-polkavm" -version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "log", "polkavm", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-executor-wasmtime" -version = "0.29.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "anyhow", - "cfg-if", - "libc", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "rustix 0.36.17", - "sc-allocator 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor-common 0.29.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "wasmtime", + "sc-executor-common", + "sp-wasm-interface", ] [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "anyhow", "cfg-if", @@ -13548,111 +11486,51 @@ dependencies = [ "log", "parking_lot 0.12.3", "rustix 0.36.17", - "sc-allocator 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor-common 0.29.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-allocator", + "sc-executor-common", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "ansi_term", - "futures", - "futures-timer", - "log", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-informant" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "ansi_term", "futures", "futures-timer", "log", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-keystore" -version = "25.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "parking_lot 0.12.3", - "serde_json", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sp-blockchain", + "sp-runtime", ] [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "parking_lot 0.12.3", "serde_json", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-mixnet" -version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 4.2.0", - "arrayvec 0.7.4", - "blake2 0.10.6", - "bytes", - "futures", - "futures-timer", - "log", - "mixnet", - "multiaddr", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "thiserror 1.0.69", ] [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 4.2.0", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "blake2 0.10.6", "bytes", "futures", @@ -13662,74 +11540,23 @@ dependencies = [ "multiaddr", "parity-scale-codec", "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-network" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "async-channel 1.9.0", - "async-trait", - "asynchronous-codec", - "bytes", - "cid 0.9.0", - "either", - "fnv", - "futures", - "futures-timer", - "ip_network", - "libp2p", - "linked_hash_set", - "litep2p", - "log", - "mockall 0.11.4", - "once_cell", - "parity-scale-codec", - "parking_lot 0.12.3", - "partial_sort", - "pin-project", - "prost 0.11.9", - "prost-build", - "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "serde", - "serde_json", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", - "tokio-stream", - "unsigned-varint", - "void", - "wasm-timer", - "zeroize", + "sc-client-api", + "sc-network", + "sc-network-types", + "sc-transaction-pool-api", + "sp-api", + "sp-consensus", + "sp-core", + "sp-keystore", + "sp-mixnet", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", @@ -13755,23 +11582,23 @@ dependencies = [ "prost 0.11.9", "prost-build", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-network-common", + "sc-network-types", + "sc-utils", "schnellru", "serde", "serde_json", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-arithmetic", + "sp-blockchain", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", "tokio", "tokio-stream", - "unsigned-varint", + "unsigned-varint 0.7.2", "void", "wasm-timer", "zeroize", @@ -13780,25 +11607,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "bitflags 1.3.2", - "futures", - "libp2p-identity", - "parity-scale-codec", - "prost-build", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-network-common" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -13806,141 +11615,63 @@ dependencies = [ "libp2p-identity", "parity-scale-codec", "prost-build", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-network-gossip" -version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "ahash 0.8.11", - "futures", - "futures-timer", - "libp2p", - "log", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing", + "sc-consensus", + "sc-network-types", + "sp-consensus", + "sp-consensus-grandpa", + "sp-runtime", ] [[package]] name = "sc-network-gossip" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", "futures", "futures-timer", "libp2p", "log", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-network-types", "schnellru", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "substrate-prometheus-endpoint", "tracing", ] [[package]] -name = "sc-network-light" -version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "async-channel 1.9.0", - "futures", - "log", - "parity-scale-codec", - "prost 0.12.6", - "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-network-light" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "array-bytes 6.2.3", - "async-channel 1.9.0", - "futures", - "log", - "parity-scale-codec", - "prost 0.12.6", - "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-network-sync" +name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", - "async-trait", - "fork-tree 12.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", "futures", - "futures-timer", - "libp2p", "log", - "mockall 0.11.4", "parity-scale-codec", "prost 0.12.6", "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", - "tokio-stream", + "sc-client-api", + "sc-network", + "sc-network-types", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", - "fork-tree 12.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "fork-tree", "futures", "futures-timer", "libp2p", @@ -13949,22 +11680,22 @@ dependencies = [ "parity-scale-codec", "prost 0.12.6", "prost-build", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-consensus", + "sc-network", + "sc-network-common", + "sc-network-types", + "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-grandpa 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-arithmetic", + "sp-blockchain", + "sp-consensus", + "sp-consensus-grandpa", + "sp-core", + "sp-runtime", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", "tokio", "tokio-stream", ] @@ -13972,61 +11703,27 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "futures", - "libp2p", - "log", - "parity-scale-codec", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-network-transactions" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "futures", "libp2p", "log", "parity-scale-codec", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-network-types" -version = "0.10.0-dev" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bs58 0.4.0", - "libp2p-identity", - "litep2p", - "multiaddr", - "multihash 0.17.0", - "rand 0.8.5", - "thiserror", + "sc-network", + "sc-network-common", + "sc-network-sync", + "sc-network-types", + "sc-utils", + "sp-consensus", + "sp-runtime", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-network-types" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bs58 0.4.0", "libp2p-identity", @@ -14034,48 +11731,13 @@ dependencies = [ "multiaddr", "multihash 0.17.0", "rand 0.8.5", - "thiserror", -] - -[[package]] -name = "sc-offchain" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "bytes", - "fnv", - "futures", - "futures-timer", - "hyper", - "hyper-rustls", - "libp2p", - "log", - "num_cpus", - "once_cell", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "threadpool", - "tracing", + "thiserror 1.0.69", ] [[package]] name = "sc-offchain" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "bytes", @@ -14091,18 +11753,18 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "rand 0.8.5", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-network", + "sc-network-common", + "sc-network-types", + "sc-transaction-pool-api", + "sc-utils", + "sp-api", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-offchain", + "sp-runtime", "threadpool", "tracing", ] @@ -14110,147 +11772,68 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "log", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-proposer-metrics" -version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "log", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-rpc" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "futures", - "jsonrpsee", "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-block-builder 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-statement-store 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tokio", + "substrate-prometheus-endpoint", ] [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.3", - "sc-block-builder 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-block-builder", + "sc-chain-spec", + "sc-client-api", + "sc-mixnet", + "sc-rpc-api", + "sc-tracing", + "sc-transaction-pool-api", + "sc-utils", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-statement-store 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-keystore", + "sp-offchain", + "sp-rpc", + "sp-runtime", + "sp-session", + "sp-statement-store", + "sp-version", "tokio", ] [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "scale-info", - "serde", - "serde_json", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-rpc-api" -version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-mixnet 0.4.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-chain-spec", + "sc-mixnet", + "sc-transaction-pool-api", "scale-info", "serde", "serde_json", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-rpc-server" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "futures", - "governor", - "http", - "hyper", - "jsonrpsee", - "log", - "serde_json", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tokio", - "tower", - "tower-http", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-version", + "thiserror 1.0.69", ] [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "governor", @@ -14259,7 +11842,7 @@ dependencies = [ "jsonrpsee", "log", "serde_json", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "substrate-prometheus-endpoint", "tokio", "tower", "tower-http", @@ -14268,39 +11851,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "futures", - "futures-util", - "hex", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tokio", - "tokio-stream", -] - -[[package]] -name = "sc-rpc-spec-v2" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "futures", @@ -14311,20 +11862,20 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "rand 0.8.5", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-chain-spec", + "sc-client-api", + "sc-rpc", + "sc-transaction-pool-api", + "sc-utils", "schnellru", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-version", + "thiserror 1.0.69", "tokio", "tokio-stream", ] @@ -14332,71 +11883,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "directories", - "exit-future", - "futures", - "futures-timer", - "jsonrpsee", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "pin-project", - "rand 0.8.5", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-informant 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-light 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-transactions 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-server 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "schnellru", - "serde", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-transaction-storage-proof 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "static_init", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tempfile", - "thiserror", - "tokio", - "tracing", - "tracing-futures", -] - -[[package]] -name = "sc-service" -version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "directories", @@ -14409,49 +11896,49 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-db 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-informant 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-keystore 25.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-common 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-light 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-sync 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-transactions 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-network-types 0.10.0-dev (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-server 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-spec-v2 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-sysinfo 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-chain-spec", + "sc-client-api", + "sc-client-db", + "sc-consensus", + "sc-executor", + "sc-informant", + "sc-keystore", + "sc-network", + "sc-network-common", + "sc-network-light", + "sc-network-sync", + "sc-network-transactions", + "sc-network-types", + "sc-rpc", + "sc-rpc-server", + "sc-rpc-spec-v2", + "sc-sysinfo", + "sc-telemetry", + "sc-tracing", + "sc-transaction-pool", + "sc-transaction-pool-api", + "sc-utils", "schnellru", "serde", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-storage-proof 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", + "sp-session", + "sp-state-machine", + "sp-storage", + "sp-transaction-pool", + "sp-transaction-storage-proof", + "sp-trie", + "sp-version", "static_init", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "substrate-prometheus-endpoint", "tempfile", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "tracing-futures", @@ -14460,142 +11947,71 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-state-db" -version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", ] [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "clap", "fs4", "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "thiserror 1.0.69", "tokio", ] [[package]] name = "sc-sync-state-rpc" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-chain-spec 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-sync-state-rpc" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-chain-spec 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-babe 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-epochs 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-consensus-grandpa 0.19.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-sysinfo" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "derive_more", - "futures", - "libc", - "log", - "rand 0.8.5", - "rand_pcg", - "regex", - "sc-telemetry 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-chain-spec", + "sc-client-api", + "sc-consensus-babe", + "sc-consensus-epochs", + "sc-consensus-grandpa", "serde", "serde_json", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-blockchain", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "derive_more", + "derive_more 0.99.20", "futures", "libc", "log", "rand 0.8.5", "rand_pcg", "regex", - "sc-telemetry 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "serde", - "serde_json", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sc-telemetry" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "chrono", - "futures", - "libp2p", - "log", - "parking_lot 0.12.3", - "pin-project", - "rand 0.8.5", - "sc-network 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sc-telemetry", "serde", "serde_json", - "thiserror", - "wasm-timer", + "sp-core", + "sp-crypto-hashing", + "sp-io", + "sp-std", ] [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "chrono", "futures", @@ -14604,48 +12020,18 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "rand 0.8.5", - "sc-network 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-network", + "sc-utils", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "wasm-timer", ] [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "ansi_term", - "chrono", - "is-terminal", - "lazy_static", - "libc", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "regex", - "rustc-hash", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-tracing-proc-macro 11.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing", - "tracing-log 0.1.4", - "tracing-subscriber", -] - -[[package]] -name = "sc-tracing" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "ansi_term", "chrono", @@ -14657,16 +12043,16 @@ dependencies = [ "parking_lot 0.12.3", "regex", "rustc-hash", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-tracing-proc-macro 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-rpc 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sc-client-api", + "sc-tracing-proc-macro", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-rpc", + "sp-runtime", + "sp-tracing", + "thiserror 1.0.69", "tracing", "tracing-log 0.1.4", "tracing-subscriber", @@ -14674,131 +12060,62 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "sc-tracing-proc-macro" -version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "sc-transaction-pool" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "linked-hash-map", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-transaction-pool" -version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "linked-hash-map", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-utils 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "substrate-prometheus-endpoint 0.17.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", +version = "11.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" +dependencies = [ + "proc-macro-crate 3.3.0", + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] -name = "sc-transaction-pool-api" +name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", + "futures-timer", + "linked-hash-map", "log", "parity-scale-codec", + "parking_lot 0.12.3", + "sc-client-api", + "sc-transaction-pool-api", + "sc-utils", "serde", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-crypto-hashing", + "sp-runtime", + "sp-tracing", + "sp-transaction-pool", + "substrate-prometheus-endpoint", + "thiserror 1.0.69", ] [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", "log", "parity-scale-codec", "serde", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sc-utils" -version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-channel 1.9.0", - "futures", - "futures-timer", - "lazy_static", - "log", - "parking_lot 0.12.3", - "prometheus", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-channel 1.9.0", "futures", @@ -14807,7 +12124,7 @@ dependencies = [ "log", "parking_lot 0.12.3", "prometheus", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", ] [[package]] @@ -14826,7 +12143,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ - "derive_more", + "derive_more 0.99.20", "parity-scale-codec", "scale-bits", "scale-type-resolver", @@ -14835,13 +12152,13 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.3" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-info-derive", "serde", @@ -14849,14 +12166,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" dependencies = [ - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.101", ] [[package]] @@ -14867,20 +12184,20 @@ checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" [[package]] name = "schannel" -version = "0.1.23" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] name = "schnellru" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" +checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", "cfg-if", "hashbrown 0.13.2", ] @@ -14892,7 +12209,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" dependencies = [ "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "curve25519-dalek-ng", "merlin", "rand_core 0.6.4", @@ -14909,13 +12226,13 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec 0.7.4", + "arrayvec 0.7.6", "curve25519-dalek 4.1.3", "getrandom_or_panic", "merlin", "rand_core 0.6.4", "serde_bytes", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.6.1", "zeroize", ] @@ -14928,9 +12245,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" +checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" [[package]] name = "sct" @@ -14938,7 +12255,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.8", + "ring 0.17.14", "untrusted 0.9.0", ] @@ -14954,7 +12271,7 @@ dependencies = [ "log", "rand 0.8.5", "slab", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -15014,7 +12331,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "core-foundation", "core-foundation-sys", "libc", @@ -15023,9 +12340,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.11.1" +version = "2.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" +checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" dependencies = [ "core-foundation-sys", "libc", @@ -15042,9 +12359,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.23" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" dependencies = [ "serde", ] @@ -15057,49 +12374,50 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.204" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" +checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" dependencies = [ "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.15" +version = "0.11.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" +checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.204" +version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" +checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "serde_json" -version = "1.0.120" +version = "1.0.140" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" +checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" dependencies = [ "itoa", + "memchr", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.6" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -15174,9 +12492,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.8" +version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -15223,9 +12541,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" dependencies = [ "libc", ] @@ -15248,9 +12566,9 @@ dependencies = [ [[package]] name = "simba" -version = "0.8.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" +checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" dependencies = [ "approx", "num-complex", @@ -15261,9 +12579,9 @@ dependencies = [ [[package]] name = "similar" -version = "2.6.0" +version = "2.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" +checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" dependencies = [ "bstr", "unicode-segmentation", @@ -15271,9 +12589,9 @@ dependencies = [ [[package]] name = "similar-asserts" -version = "1.5.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e041bb827d1bfca18f213411d51b665309f1afb37a04a5d1464530e13779fc0f" +checksum = "b5b441962c817e33508847a22bd82f03a30cff43642dc2fae8b050566121eb9a" dependencies = [ "console", "similar", @@ -15285,7 +12603,7 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", ] [[package]] @@ -15330,13 +12648,13 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] @@ -15350,9 +12668,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" [[package]] name = "smol" @@ -15377,7 +12695,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" dependencies = [ - "arrayvec 0.7.4", + "arrayvec 0.7.6", "async-lock 2.8.0", "atomic-take", "base64 0.21.7", @@ -15386,7 +12704,7 @@ dependencies = [ "bs58 0.5.1", "chacha20", "crossbeam-queue", - "derive_more", + "derive_more 0.99.20", "ed25519-zebra 4.0.3", "either", "event-listener 2.5.3", @@ -15413,7 +12731,7 @@ dependencies = [ "schnorrkel 0.10.2", "serde", "serde_json", - "sha2 0.10.8", + "sha2 0.10.9", "sha3 0.10.8", "siphasher", "slab", @@ -15435,7 +12753,7 @@ dependencies = [ "async-lock 2.8.0", "base64 0.21.7", "blake2-rfc", - "derive_more", + "derive_more 0.99.20", "either", "event-listener 2.5.3", "fnv", @@ -15478,9 +12796,9 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek 4.1.3", "rand_core 0.6.4", - "ring 0.17.8", + "ring 0.17.14", "rustc_version", - "sha2 0.10.8", + "sha2 0.10.9", "subtle 2.6.1", ] @@ -15496,9 +12814,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" dependencies = [ "libc", "windows-sys 0.52.0", @@ -15524,120 +12842,56 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 15.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-metadata-ir 0.6.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hash-db", "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 15.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-metadata-ir 0.6.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-api-proc-macro" -version = "15.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "Inflector", - "blake2 0.10.6", - "expander 2.2.1", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-trie", + "sp-version", + "thiserror 1.0.69", ] [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "Inflector", "blake2 0.10.6", "expander 2.2.1", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-application-crypto" -version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "syn 2.0.101", ] [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-arithmetic" -version = "23.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "docify", - "integer-sqrt", - "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "static_assertions", + "sp-core", + "sp-io", + "sp-std", ] [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", "integer-sqrt", @@ -15645,340 +12899,153 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-std", "static_assertions", ] -[[package]] -name = "sp-ark-bls12-381" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" -dependencies = [ - "ark-bls12-381-ext", - "sp-crypto-ec-utils", -] - -[[package]] -name = "sp-ark-ed-on-bls12-381-bandersnatch" -version = "0.4.2" -source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" -dependencies = [ - "ark-ed-on-bls12-381-bandersnatch-ext", - "sp-crypto-ec-utils", -] - -[[package]] -name = "sp-authority-discovery" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-block-builder" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-runtime", ] [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-blockchain" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "futures", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "schnellru", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-inherents", + "sp-runtime", ] [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "futures", "log", "parity-scale-codec", "parking_lot 0.12.3", "schnellru", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-database 10.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-consensus" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "futures", - "log", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-consensus", + "sp-database", + "sp-runtime", + "sp-state-machine", + "thiserror 1.0.69", ] [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "futures", "log", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-state-machine", + "thiserror 1.0.69", ] [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-consensus-babe" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-inherents", + "sp-runtime", + "sp-timestamp", ] [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-slots 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-consensus-beefy" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "lazy_static", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "strum 0.26.3", + "sp-api", + "sp-application-crypto", + "sp-consensus-slots", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-timestamp", ] [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "lazy_static", "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing", + "sp-io", + "sp-keystore", + "sp-mmr-primitives", + "sp-runtime", "strum 0.26.3", ] [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "finality-grandpa", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-consensus-grandpa" -version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "finality-grandpa", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-consensus-slots" -version = "0.32.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-timestamp 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", ] [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-timestamp 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-core" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "array-bytes 6.2.3", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2 0.10.6", - "bounded-collections", - "bs58 0.5.1", - "dyn-clonable", - "ed25519-zebra 3.1.0", - "futures", - "hash-db", - "hash256-std-hasher", - "impl-serde", - "itertools 0.10.5", - "k256", - "libsecp256k1", - "log", - "merlin", - "parity-bip39", "parity-scale-codec", - "parking_lot 0.12.3", - "paste", - "primitive-types", - "rand 0.8.5", "scale-info", - "schnorrkel 0.11.4", - "secp256k1", - "secrecy", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "ss58-registry", - "substrate-bip39 0.4.7 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing", - "w3f-bls", - "zeroize", + "sp-timestamp", ] [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", - "bandersnatch_vrfs", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", @@ -16005,244 +13072,101 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-crypto-hashing", + "sp-debug-derive", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", - "substrate-bip39 0.4.7 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "substrate-bip39", + "thiserror 1.0.69", "tracing", "w3f-bls", "zeroize", ] -[[package]] -name = "sp-crypto-ec-utils" -version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" -dependencies = [ - "ark-bls12-377", - "ark-bls12-377-ext", - "ark-bls12-381", - "ark-bls12-381-ext", - "ark-bw6-761", - "ark-bw6-761-ext", - "ark-ec", - "ark-ed-on-bls12-377", - "ark-ed-on-bls12-377-ext", - "ark-ed-on-bls12-381-bandersnatch", - "ark-ed-on-bls12-381-bandersnatch-ext", - "ark-scale", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk)", -] - -[[package]] -name = "sp-crypto-hashing" -version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - [[package]] name = "sp-crypto-hashing" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.8", - "sha3 0.10.8", - "twox-hash", -] - -[[package]] -name = "sp-crypto-hashing-proc-macro" -version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "syn 2.0.72", -] - -[[package]] -name = "sp-crypto-hashing-proc-macro" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "quote", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "syn 2.0.72", -] - -[[package]] -name = "sp-database" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "kvdb", - "parking_lot 0.12.3", -] - -[[package]] -name = "sp-database" -version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "kvdb", - "parking_lot 0.12.3", + "sha2 0.10.9", + "sha3 0.10.8", + "twox-hash", ] [[package]] -name = "sp-debug-derive" -version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +name = "sp-crypto-hashing-proc-macro" +version = "0.1.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro2", "quote", - "syn 2.0.72", + "sp-crypto-hashing", + "syn 2.0.101", ] [[package]] -name = "sp-debug-derive" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +name = "sp-database" +version = "10.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.72", + "kvdb", + "parking_lot 0.12.3", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-externalities" -version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "syn 2.0.101", ] [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "environmental", "parity-scale-codec", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.8.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde_json", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-storage", ] [[package]] name = "sp-genesis-builder" version = "0.8.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "scale-info", "serde_json", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-inherents" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-runtime", ] [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-io" -version = "30.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bytes", - "ed25519-dalek 2.1.1", - "libsecp256k1", - "log", - "parity-scale-codec", - "polkavm-derive", - "rustversion", - "secp256k1", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "tracing", - "tracing-core", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bytes", "ed25519-dalek 2.1.1", @@ -16252,15 +13176,15 @@ dependencies = [ "polkavm-derive", "rustversion", "secp256k1", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-crypto-hashing", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", + "sp-state-machine", + "sp-std", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -16268,77 +13192,37 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "strum 0.26.3", -] - -[[package]] -name = "sp-keyring" -version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", "strum 0.26.3", ] [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.3", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-keystore" -version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-maybe-compressed-blob" -version = "11.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "thiserror", - "zstd 0.12.4", + "sp-core", + "sp-externalities", ] [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "thiserror", + "thiserror 1.0.69", "zstd 0.12.4", ] [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -16348,119 +13232,58 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-mixnet" -version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-mmr-primitives" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ckb-merkle-mountain-range", - "log", "parity-scale-codec", "scale-info", - "serde", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-api", + "sp-application-crypto", ] [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", "serde", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-npos-elections" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-core", + "sp-debug-derive", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-offchain" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-panic-handler" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "backtrace", - "lazy_static", - "regex", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "backtrace", "lazy_static", @@ -16470,51 +13293,17 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "rustc-hash", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-rpc" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "rustc-hash", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-runtime" -version = "31.0.1" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "docify", - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "simple-mermaid", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-core", ] [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "docify", "either", @@ -16527,188 +13316,77 @@ dependencies = [ "scale-info", "serde", "simple-mermaid", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "polkavm-derive", - "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "polkavm-derive", - "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "static_assertions", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", + "sp-weights", ] [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive", "primitive-types", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-runtime-interface-proc-macro 17.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk)", - "sp-wasm-interface 20.0.0 (git+https://github.com/paritytech/polkadot-sdk)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "Inflector", - "expander 2.2.1", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "Inflector", - "expander 2.2.1", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "Inflector", "expander 2.2.1", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-session" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "syn 2.0.101", ] [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-staking" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", ] [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-state-machine" -version = "0.35.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "hash-db", - "log", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "smallvec", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing", - "trie-db", + "sp-core", + "sp-runtime", ] [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hash-db", "log", @@ -16716,43 +13394,19 @@ dependencies = [ "parking_lot 0.12.3", "rand 0.8.5", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-panic-handler 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-trie", + "thiserror 1.0.69", "tracing", - "trie-db", -] - -[[package]] -name = "sp-statement-store" -version = "10.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "aes-gcm", - "curve25519-dalek 4.1.3", - "ed25519-dalek 2.1.1", - "hkdf", - "parity-scale-codec", - "rand 0.8.5", - "scale-info", - "sha2 0.10.8", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "x25519-dalek 2.0.1", + "trie-db", ] [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.3", @@ -16761,119 +13415,51 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sha2 0.10.8", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-crypto-hashing 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sha2 0.10.9", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-crypto-hashing", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "thiserror 1.0.69", "x25519-dalek 2.0.1", ] [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" - -[[package]] -name = "sp-std" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" - -[[package]] -name = "sp-std" -version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" - -[[package]] -name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-storage" -version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", -] - -[[package]] -name = "sp-timestamp" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "async-trait", - "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", + "sp-debug-derive", ] [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "parity-scale-codec", - "tracing", - "tracing-core", - "tracing-subscriber", + "sp-inherents", + "sp-runtime", + "thiserror 1.0.69", ] [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "tracing", @@ -16884,78 +13470,32 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-transaction-pool" -version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-transaction-storage-proof" -version = "26.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "async-trait", - "parity-scale-codec", - "scale-info", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-api", + "sp-runtime", ] [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "sp-trie" -version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "ahash 0.8.11", - "hash-db", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.3", - "rand 0.8.5", - "scale-info", - "schnellru", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", - "tracing", - "trie-db", - "trie-root", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-trie", ] [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.12", "hash-db", "lazy_static", "memory-db", @@ -16965,9 +13505,9 @@ dependencies = [ "rand 0.8.5", "scale-info", "schnellru", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", + "sp-core", + "sp-externalities", + "thiserror 1.0.69", "tracing", "trie-db", "trie-root", @@ -16976,75 +13516,35 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-version-proc-macro 13.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "impl-serde", "parity-scale-codec", "parity-wasm", "scale-info", "serde", - "sp-crypto-hashing-proc-macro 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version-proc-macro 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "thiserror", -] - -[[package]] -name = "sp-version-proc-macro" -version = "13.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.72", + "sp-crypto-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", + "thiserror 1.0.69", ] [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.72", -] - -[[package]] -name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "wasmtime", + "syn 2.0.101", ] [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -17053,42 +13553,18 @@ dependencies = [ "wasmtime", ] -[[package]] -name = "sp-wasm-interface" -version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#a164639f7f1223634fb01cf38dab49622ab940ef" -dependencies = [ - "impl-trait-for-tuples", - "log", - "parity-scale-codec", -] - -[[package]] -name = "sp-weights" -version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "bounded-collections", - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-debug-derive 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-debug-derive", ] [[package]] @@ -17124,9 +13600,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.47.0" +version = "1.51.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" +checksum = "19409f13998e55816d1c728395af0b52ec066206341d939e22e7766df9b494b8" dependencies = [ "Inflector", "num-format", @@ -17146,39 +13622,21 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "cumulus-primitives-core", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "staging-xcm" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "array-bytes 6.2.3", - "bounded-collections", - "derivative", - "environmental", - "impl-trait-for-tuples", - "log", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "serde", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "xcm-procedural 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-runtime", + "sp-std", ] [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "bounded-collections", @@ -17189,72 +13647,51 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "xcm-procedural 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-weights", + "xcm-procedural", ] [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "impl-trait-for-tuples", - "log", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "staging-xcm-executor" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", + "pallet-transaction-payment", "parity-scale-codec", + "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", + "staging-xcm-executor", ] [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "environmental", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", ] [[package]] @@ -17265,26 +13702,26 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_init" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" +checksum = "8bae1df58c5fea7502e8e352ec26b5579f6178e1fdb311e088580c980dee25ed" dependencies = [ "bitflags 1.3.2", - "cfg_aliases", + "cfg_aliases 0.2.1", "libc", - "parking_lot 0.11.2", - "parking_lot_core 0.8.6", + "parking_lot 0.12.3", + "parking_lot_core 0.9.10", "static_init_macro", "winapi", ] [[package]] name = "static_init_macro" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" +checksum = "1389c88ddd739ec6d3f8f83343764a0e944cd23cfbf126a9796a714b0b6edd6f" dependencies = [ - "cfg_aliases", + "cfg_aliases 0.1.1", "memchr", "proc-macro2", "quote", @@ -17299,7 +13736,7 @@ checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ "combine", "crc", - "fastrand 2.1.0", + "fastrand 2.3.0", "hmac 0.12.1", "once_cell", "openssl", @@ -17307,7 +13744,7 @@ dependencies = [ "sctp-proto", "serde", "sha-1 0.10.1", - "thiserror", + "thiserror 1.0.69", "tracing", ] @@ -17368,138 +13805,78 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.72", -] - -[[package]] -name = "substrate-bip39" -version = "0.4.7" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "hmac 0.12.1", - "pbkdf2", - "schnorrkel 0.11.4", - "sha2 0.10.8", - "zeroize", + "syn 2.0.101", ] [[package]] name = "substrate-bip39" version = "0.4.7" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hmac 0.12.1", "pbkdf2", "schnorrkel 0.11.4", - "sha2 0.10.8", + "sha2 0.10.9", "zeroize", ] [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" - -[[package]] -name = "substrate-frame-rpc-system" -version = "28.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "futures", - "jsonrpsee", - "log", - "parity-scale-codec", - "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-system-rpc-runtime-api", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-transaction-pool-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-blockchain 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "substrate-prometheus-endpoint" -version = "0.17.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "hyper", - "log", - "prometheus", - "thiserror", - "tokio", + "sc-rpc-api", + "sc-transaction-pool-api", + "sp-api", + "sp-block-builder", + "sp-blockchain", + "sp-core", + "sp-runtime", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "hyper", "log", "prometheus", - "thiserror", + "thiserror 1.0.69", "tokio", ] [[package]] name = "substrate-state-trie-migration-rpc" version = "27.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "jsonrpsee", - "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "serde", - "sp-core 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "trie-db", -] - -[[package]] -name = "substrate-state-trie-migration-rpc" -version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "jsonrpsee", "parity-scale-codec", - "sc-client-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sc-rpc-api 0.33.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-client-api", + "sc-rpc-api", "serde", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-state-machine 0.35.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-trie 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-state-machine", + "sp-trie", "trie-db", ] [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 6.2.3", "build-helper", @@ -17511,15 +13888,15 @@ dependencies = [ "parity-scale-codec", "parity-wasm", "polkavm-linker", - "sc-executor 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-maybe-compressed-blob 11.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-tracing 16.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sc-executor", + "sp-core", + "sp-io", + "sp-maybe-compressed-blob", + "sp-tracing", + "sp-version", "strum 0.26.3", "tempfile", - "toml 0.8.15", + "toml 0.8.22", "walkdir", "wasm-opt", ] @@ -17555,9 +13932,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.72" +version = "2.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" +checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" dependencies = [ "proc-macro2", "quote", @@ -17578,31 +13955,31 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "system-configuration" -version = "0.5.1" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" +checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.9.1", "core-foundation", "system-configuration-sys", ] [[package]] name = "system-configuration-sys" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" +checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" dependencies = [ "core-foundation-sys", "libc", @@ -17616,20 +13993,21 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.15" +version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" +checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tempfile" -version = "3.10.1" +version = "3.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" dependencies = [ - "cfg-if", - "fastrand 2.1.0", - "rustix 0.38.34", - "windows-sys 0.52.0", + "fastrand 2.3.0", + "getrandom 0.3.3", + "once_cell", + "rustix 1.0.7", + "windows-sys 0.59.0", ] [[package]] @@ -17643,27 +14021,36 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.3.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed" dependencies = [ - "rustix 0.38.34", - "windows-sys 0.48.0", + "rustix 1.0.7", + "windows-sys 0.59.0", ] [[package]] name = "termtree" -version = "0.4.1" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" + +[[package]] +name = "thiserror" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" +checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +dependencies = [ + "thiserror-impl 1.0.69", +] [[package]] name = "thiserror" -version = "1.0.63" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" dependencies = [ - "thiserror-impl", + "thiserror-impl 2.0.12", ] [[package]] @@ -17683,18 +14070,29 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] name = "thiserror-impl" -version = "1.0.63" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -17758,9 +14156,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.36" +version = "0.3.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" +checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa", @@ -17773,34 +14171,44 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" dependencies = [ "num-conv", "time-core", ] [[package]] -name = "tiny-keccak" -version = "2.0.2" +name = "tiny-keccak" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +dependencies = [ + "crunchy", +] + +[[package]] +name = "tinystr" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" +checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" dependencies = [ - "crunchy", + "displaydoc", + "zerovec", ] [[package]] name = "tinyvec" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" +checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" dependencies = [ "tinyvec_macros", ] @@ -17813,31 +14221,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.39.1" +version = "1.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d040ac2b29ab03b09d4129c2f5bbd012a3ac2f79d38ff506a4bf8dd34b0eac8a" +checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" dependencies = [ "backtrace", "bytes", "libc", "mio", "parking_lot 0.12.3", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "signal-hook-registry", - "socket2 0.5.7", + "socket2 0.5.9", "tokio-macros", "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -17863,12 +14271,12 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.15" +version = "0.1.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" dependencies = [ "futures-core", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "tokio", "tokio-util", ] @@ -17890,15 +14298,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.11" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" +checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "tokio", ] @@ -17913,59 +14321,44 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.15" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28" +checksum = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.16", + "toml_edit", ] [[package]] name = "toml_datetime" -version = "0.6.6" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" +checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.20.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" -dependencies = [ - "indexmap 2.2.6", - "toml_datetime", - "winnow 0.5.40", -] - -[[package]] -name = "toml_edit" -version = "0.21.1" +version = "0.22.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" dependencies = [ - "indexmap 2.2.6", + "indexmap 2.9.0", + "serde", + "serde_spanned", "toml_datetime", - "winnow 0.5.40", + "toml_write", + "winnow", ] [[package]] -name = "toml_edit" -version = "0.22.16" +name = "toml_write" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788" -dependencies = [ - "indexmap 2.2.6", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.6.15", -] +checksum = "bfb942dfe1d8e29a7ee7fcbde5bd2b9a25fb89aa70caea2eba3bee836ff41076" [[package]] name = "tower" @@ -17976,7 +14369,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "tower-layer", "tower-service", "tracing", @@ -17988,58 +14381,58 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.9.1", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "tower-layer", "tower-service", ] [[package]] name = "tower-layer" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" [[package]] name = "tower-service" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.40" +version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ "log", - "pin-project-lite 0.2.14", + "pin-project-lite 0.2.16", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] name = "tracing-core" -version = "0.1.32" +version = "0.1.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" dependencies = [ "once_cell", "valuable", @@ -18058,47 +14451,24 @@ dependencies = [ [[package]] name = "tracing-gum" version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "coarsetime", - "polkadot-primitives 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", + "polkadot-primitives", "tracing", - "tracing-gum-proc-macro 5.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "tracing-gum" -version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" -dependencies = [ - "coarsetime", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "tracing", - "tracing-gum-proc-macro 5.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "tracing-gum-proc-macro" -version = "5.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "expander 2.2.1", - "proc-macro-crate 3.1.0", - "proc-macro2", - "quote", - "syn 2.0.72", + "tracing-gum-proc-macro", ] [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "expander 2.2.1", - "proc-macro-crate 3.1.0", + "proc-macro-crate 3.3.0", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -18125,9 +14495,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" +checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" dependencies = [ "matchers", "nu-ansi-term", @@ -18182,7 +14552,7 @@ dependencies = [ "rand 0.8.5", "smallvec", "socket2 0.4.10", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -18198,7 +14568,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.0", + "enum-as-inner 0.6.1", "futures-channel", "futures-io", "futures-util", @@ -18207,7 +14577,7 @@ dependencies = [ "once_cell", "rand 0.8.5", "smallvec", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -18228,7 +14598,7 @@ dependencies = [ "parking_lot 0.12.3", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto 0.22.0", @@ -18249,7 +14619,7 @@ dependencies = [ "rand 0.8.5", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", "trust-dns-proto 0.23.2", @@ -18282,7 +14652,7 @@ dependencies = [ "rand 0.8.5", "rustls 0.21.12", "sha1", - "thiserror", + "thiserror 1.0.69", "url", "utf-8", ] @@ -18301,15 +14671,15 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "ucd-trie" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" +checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "uint" @@ -18325,15 +14695,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.15" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" +checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" [[package]] name = "unicode-normalization" @@ -18346,21 +14716,21 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.13" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" [[package]] name = "unicode-xid" -version = "0.2.4" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "universal-hash" @@ -18385,6 +14755,12 @@ dependencies = [ "tokio-util", ] +[[package]] +name = "unsigned-varint" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" + [[package]] name = "untrusted" version = "0.7.1" @@ -18399,12 +14775,12 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.2" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna 1.0.3", "percent-encoding", ] @@ -18414,6 +14790,12 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + [[package]] name = "utf8parse" version = "0.2.2" @@ -18422,9 +14804,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "valuable" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" +checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" [[package]] name = "vcpkg" @@ -18434,9 +14816,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "void" @@ -18446,9 +14828,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.4" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" +checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -18457,14 +14839,12 @@ dependencies = [ "ark-serialize", "ark-serialize-derive", "arrayref", - "constcat", "digest 0.10.7", "rand 0.8.5", "rand_chacha 0.3.1", "rand_core 0.6.4", - "sha2 0.10.8", + "sha2 0.10.9", "sha3 0.10.8", - "thiserror", "zeroize", ] @@ -18505,6 +14885,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.14.2+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasix" version = "0.12.21" @@ -18516,46 +14905,48 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" +checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", + "once_cell", + "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" +checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", - "once_cell", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.42" +version = "0.4.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" +checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" dependencies = [ "cfg-if", "js-sys", + "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" +checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -18563,22 +14954,25 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" +checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.92" +version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" +checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +dependencies = [ + "unicode-ident", +] [[package]] name = "wasm-instrument" @@ -18600,7 +14994,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror", + "thiserror 1.0.69", "wasm-opt-cxx-sys", "wasm-opt-sys", ] @@ -18745,7 +15139,7 @@ dependencies = [ "log", "rustix 0.36.17", "serde", - "sha2 0.10.8", + "sha2 0.10.9", "toml 0.5.11", "windows-sys 0.45.0", "zstd 0.11.2+zstd.1.5.2", @@ -18767,7 +15161,7 @@ dependencies = [ "log", "object 0.30.4", "target-lexicon", - "thiserror", + "thiserror 1.0.69", "wasmparser", "wasmtime-cranelift-shared", "wasmtime-environ", @@ -18802,7 +15196,7 @@ dependencies = [ "object 0.30.4", "serde", "target-lexicon", - "thiserror", + "thiserror 1.0.69", "wasmparser", "wasmtime-types", ] @@ -18885,15 +15279,15 @@ checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", - "thiserror", + "thiserror 1.0.69", "wasmparser", ] [[package]] name = "web-sys" -version = "0.3.69" +version = "0.3.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" +checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" dependencies = [ "js-sys", "wasm-bindgen", @@ -18905,7 +15299,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.8", + "ring 0.17.14", "untrusted 0.9.0", ] @@ -18921,27 +15315,27 @@ dependencies = [ [[package]] name = "westend-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-election-provider-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-election-provider-support", "frame-executive", "frame-metadata-hash-extension", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "frame-system", "frame-system-benchmarking", - "frame-system-rpc-runtime-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.4.1", "log", "pallet-asset-rate", - "pallet-authority-discovery 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-authorship 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-babe 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-authority-discovery", + "pallet-authorship", + "pallet-babe", "pallet-bags-list", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", @@ -18955,7 +15349,7 @@ dependencies = [ "pallet-identity", "pallet-indices", "pallet-membership", - "pallet-message-queue 31.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-message-queue", "pallet-mmr", "pallet-multisig", "pallet-nomination-pools", @@ -18969,75 +15363,75 @@ dependencies = [ "pallet-referenda", "pallet-root-testing", "pallet-scheduler", - "pallet-session 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-session", "pallet-session-benchmarking", "pallet-society", - "pallet-staking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-staking", "pallet-staking-reward-curve", "pallet-staking-runtime-api", "pallet-state-trie-migration", "pallet-sudo", - "pallet-timestamp 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "pallet-transaction-payment-rpc-runtime-api 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-timestamp", + "pallet-transaction-payment", + "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", "pallet-utility", - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-vesting", "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", - "polkadot-parachain-primitives 6.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-parachain-primitives", + "polkadot-primitives", "polkadot-runtime-common", - "polkadot-runtime-parachains 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "polkadot-runtime-parachains", "rustc-hex", "scale-info", "serde", "serde_derive", "smallvec", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-application-crypto 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-arithmetic 23.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-authority-discovery 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-block-builder 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-babe 0.32.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-consensus-beefy 13.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-genesis-builder 0.8.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-inherents 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-mmr-primitives 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-npos-elections 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-offchain 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-session 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-staking 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-storage 19.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-transaction-pool 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-version 29.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", + "sp-authority-discovery", + "sp-block-builder", + "sp-consensus-babe", + "sp-consensus-beefy", + "sp-core", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-mmr-primitives", + "sp-npos-elections", + "sp-offchain", + "sp-runtime", + "sp-session", + "sp-staking", + "sp-std", + "sp-storage", + "sp-transaction-pool", + "sp-version", + "staging-xcm", "staging-xcm-builder", - "staging-xcm-executor 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm-executor", "substrate-wasm-builder", "westend-runtime-constants", - "xcm-fee-payment-runtime-api 0.1.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "xcm-fee-payment-runtime-api", ] [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "polkadot-primitives 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", + "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-runtime", + "sp-weights", + "staging-xcm", "staging-xcm-builder", ] @@ -19050,14 +15444,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.34", + "rustix 0.38.44", ] [[package]] name = "wide" -version = "0.7.26" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "901e8597c777fa042e9e245bd56c0dc4418c5db3f845b6ff94fbac732c6a0692" +checksum = "41b5576b9a81633f3e8df296ce0063042a73507636cbe956c61133dd7034ab22" dependencies = [ "bytemuck", "safe_arch", @@ -19065,9 +15459,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" +checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" [[package]] name = "winapi" @@ -19087,11 +15481,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" +checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -19102,32 +15496,92 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.51.1" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +checksum = "efc5cf48f83140dcaab716eeaea345f9e93d0018fb81162753a3f76c3397b538" dependencies = [ - "windows-core 0.51.1", - "windows-targets 0.48.5", + "windows-core 0.53.0", + "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.51.1" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +checksum = "9dcc5b895a6377f1ab9fa55acedab1fd5ac0db66ad1e6c7f47e28a22e446a5dd" dependencies = [ - "windows-targets 0.48.5", + "windows-result 0.1.2", + "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.52.0" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result 0.3.4", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "windows-interface" +version = "0.59.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "windows-link" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" + +[[package]] +name = "windows-result" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link", +] + [[package]] name = "windows-sys" version = "0.42.0" @@ -19170,6 +15624,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -19209,13 +15672,29 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm", + "windows_i686_gnullvm 0.52.6", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] +[[package]] +name = "windows-targets" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +dependencies = [ + "windows_aarch64_gnullvm 0.53.0", + "windows_aarch64_msvc 0.53.0", + "windows_i686_gnu 0.53.0", + "windows_i686_gnullvm 0.53.0", + "windows_i686_msvc 0.53.0", + "windows_x86_64_gnu 0.53.0", + "windows_x86_64_gnullvm 0.53.0", + "windows_x86_64_msvc 0.53.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -19234,6 +15713,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -19252,6 +15737,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" +[[package]] +name = "windows_aarch64_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -19270,12 +15761,24 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" +[[package]] +name = "windows_i686_gnu" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" + [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" +[[package]] +name = "windows_i686_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -19294,6 +15797,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" +[[package]] +name = "windows_i686_msvc" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -19312,6 +15821,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" +[[package]] +name = "windows_x86_64_gnu" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -19330,6 +15845,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.53.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -19349,19 +15870,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "winnow" -version = "0.5.40" +name = "windows_x86_64_msvc" +version = "0.53.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" -dependencies = [ - "memchr", -] +checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" [[package]] name = "winnow" -version = "0.6.15" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557404e450152cd6795bb558bca69e43c585055f4606e3bcae5894fc6dac9ba0" +checksum = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec" dependencies = [ "memchr", ] @@ -19376,6 +15894,21 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "wit-bindgen-rt" +version = "0.39.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" +dependencies = [ + "bitflags 2.9.1", +] + +[[package]] +name = "writeable" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" + [[package]] name = "wyz" version = "0.5.1" @@ -19422,7 +15955,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -19439,60 +15972,34 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] [[package]] name = "xcm-fee-payment-runtime-api" version = "0.1.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "frame-support 28.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "parity-scale-codec", - "scale-info", - "sp-api 26.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0)", -] - -[[package]] -name = "xcm-fee-payment-runtime-api" -version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "parity-scale-codec", "scale-info", - "sp-api 26.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-weights 27.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", -] - -[[package]] -name = "xcm-procedural" -version = "7.0.0" -source = "git+https://github.com/moonbeam-foundation/polkadot-sdk?branch=moonbeam-polkadot-v1.11.0#ef915632fbda727583b13813417664ecefc000b8" -dependencies = [ - "Inflector", - "proc-macro2", - "quote", - "syn 2.0.72", + "sp-api", + "sp-runtime", + "sp-std", + "sp-weights", + "staging-xcm", ] [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#8c8edacf8942298c3807a2e192860da9e7e4996a" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", ] [[package]] @@ -19518,24 +16025,69 @@ dependencies = [ "time", ] +[[package]] +name = "yoke" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" +dependencies = [ + "serde", + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", + "synstructure 0.13.2", +] + [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", +] + +[[package]] +name = "zerofrom" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", + "synstructure 0.13.2", ] [[package]] @@ -19555,7 +16107,40 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.72", + "syn 2.0.101", +] + +[[package]] +name = "zerotrie" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] + +[[package]] +name = "zerovec" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.101", ] [[package]] @@ -19598,9 +16183,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.12+zstd.1.5.6" +version = "2.0.15+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a4e40c320c3cb459d9a9ff6de98cff88f4751ee9275d140e2be94a2b74e4c13" +checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 6dbb8ab6..c5c779d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -167,7 +167,7 @@ parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", defaul # Polkadot polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } polkadot-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } -polkadot-service = { git = "https://github.com/moonbeam-foundation/polkadot-sdk", branch = "moonbeam-polkadot-v1.11.0" } +polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } # XCM pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } From 2250b77a5d75416965f10338574085640b9a13f4 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 23 May 2025 20:57:51 +0200 Subject: [PATCH 02/89] Update spec_version --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 3bee6c53..9b9ab820 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -142,7 +142,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 137, + spec_version: 138, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From dd545fdcb1d678222557b20ab71208394c939d1b Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 23 May 2025 21:22:00 +0200 Subject: [PATCH 03/89] fix cargo.lock --- Cargo.lock | 2595 ++++++++++++++++++++++------------------------------ 1 file changed, 1079 insertions(+), 1516 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5b481dcb..3ee4d3e1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,18 +23,18 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.24.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli 0.31.1", + "gimli 0.29.0", ] [[package]] -name = "adler2" -version = "2.0.0" +name = "adler" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" @@ -77,19 +77,19 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.15", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.12" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.3.3", + "getrandom 0.2.15", "once_cell", "version_check", "zerocopy", @@ -106,9 +106,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.21" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "always-assert" @@ -142,9 +142,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" dependencies = [ "anstyle", "anstyle-parse", @@ -157,44 +157,43 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.8" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6680de5231bd6ee4c6191b8a1325daa282b415391ec9d3a37bd34f2060dc73fa" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" dependencies = [ "anstyle", - "once_cell_polyfill", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "approx" @@ -230,7 +229,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -376,9 +375,9 @@ checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" -version = "0.3.9" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb" +checksum = "9d151e35f61089500b617991b791fc8bfd237ae50cd5950803758a179b41e67a" [[package]] name = "arrayvec" @@ -391,9 +390,9 @@ dependencies = [ [[package]] name = "arrayvec" -version = "0.7.6" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "asn1-rs" @@ -407,7 +406,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror 1.0.69", + "thiserror", "time", ] @@ -460,20 +459,19 @@ dependencies = [ "concurrent-queue", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] name = "async-executor" -version = "1.13.2" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb812ffb58524bdd10860d7d974e2f01cc0950c2438a74ee5ec2e2280c6c4ffa" +checksum = "d7ebdfa2ebdab6b1760375fa7d6f382b9f486eac35fc994625a00e89280bdbb7" dependencies = [ "async-task", "concurrent-queue", - "fastrand 2.3.0", - "futures-lite 2.6.0", - "pin-project-lite 0.2.16", + "fastrand 2.1.0", + "futures-lite 2.3.0", "slab", ] @@ -503,7 +501,7 @@ dependencies = [ "log", "parking", "polling 2.8.0", - "rustix 0.37.28", + "rustix 0.37.27", "slab", "socket2 0.4.10", "waker-fn", @@ -511,21 +509,21 @@ dependencies = [ [[package]] name = "async-io" -version = "2.4.0" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059" +checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" dependencies = [ "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.6.0", + "futures-lite 2.3.0", "parking", - "polling 3.7.4", - "rustix 0.38.44", + "polling 3.7.2", + "rustix 0.38.34", "slab", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -543,9 +541,9 @@ version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 5.4.0", + "event-listener 5.3.1", "event-listener-strategy", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] @@ -572,26 +570,26 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.44", + "rustix 0.38.34", "windows-sys 0.48.0", ] [[package]] name = "async-signal" -version = "0.2.10" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "637e00349800c0bdf8bfc21ebbc0b6524abea702b0da4168ac00d070d0c0b9f3" +checksum = "dfb3634b73397aa844481f814fad23bbf07fdb0eabec10f2eb95e58944b1ec32" dependencies = [ - "async-io 2.4.0", + "async-io 2.3.3", "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.44", + "rustix 0.38.34", "signal-hook-registry", "slab", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -602,13 +600,13 @@ checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.88" +version = "0.1.81" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" +checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -621,7 +619,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] @@ -638,34 +636,34 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "auto_impl" -version = "1.3.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdcb70bdbc4d478427380519163274ac86e52916e10f0a8889adf0f96d3fee7" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "autocfg" -version = "1.4.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.75" +version = "0.3.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6806a6321ec58106fea15becdad98371e28d92ccbc7c8f1b3b6dd724fe8f1002" +checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" dependencies = [ - "addr2line 0.24.2", + "addr2line 0.22.0", + "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.36.7", + "object 0.36.2", "rustc-demangle", - "windows-targets 0.52.6", ] [[package]] @@ -700,9 +698,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" -version = "1.7.3" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "beef" @@ -743,22 +741,22 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.32", + "prettyplease 0.2.20", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "bip39" -version = "2.1.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33415e24172c1b7d6066f6d999545375ab8e1d95421d6784bdfff9496f292387" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.11.0", ] [[package]] @@ -767,6 +765,12 @@ 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" @@ -785,9 +789,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.9.1" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -835,37 +839,37 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e903a20b159e944f91ec8499fe1e55651480c541ea0a584f5d967c49ad9d99" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", - "arrayvec 0.7.6", - "constant_time_eq 0.3.1", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", ] [[package]] name = "blake2s_simd" -version = "1.0.3" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90f7deecfac93095eb874a40febd69427776e24e1bd7f87f33ac62d6f0174df" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", - "arrayvec 0.7.6", - "constant_time_eq 0.3.1", + "arrayvec 0.7.4", + "constant_time_eq 0.3.0", ] [[package]] name = "blake3" -version = "1.8.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0" +checksum = "e9ec96fe9a81b5e365f9db71fe00edc4fe4ca2cc7dcb7861f0603012a7caa210" dependencies = [ "arrayref", - "arrayvec 0.7.6", + "arrayvec 0.7.4", "cc", "cfg-if", - "constant_time_eq 0.3.1", + "constant_time_eq 0.3.0", ] [[package]] @@ -916,15 +920,15 @@ dependencies = [ "async-channel 2.3.1", "async-task", "futures-io", - "futures-lite 2.6.0", + "futures-lite 2.3.0", "piper", ] [[package]] name = "bounded-collections" -version = "0.2.4" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ad8a0bed7827f0b07a5d23cec2e58cc02038a99e4ca81616cb2bb2025f804d" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -938,7 +942,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -969,12 +973,12 @@ dependencies = [ [[package]] name = "bstr" -version = "1.12.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", - "regex-automata 0.4.9", + "regex-automata 0.4.7", "serde", ] @@ -989,15 +993,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" -version = "1.2.3" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7575182f7272186991736b70173b0ea045398f984bf5ebbb3804736ce1330c9d" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] name = "byte-tools" @@ -1007,9 +1011,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.23.0" +version = "1.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9134a6ef01ce4b366b50689c94f82c14bc72bc5d0386829828a2e2752ef7958c" +checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" [[package]] name = "byteorder" @@ -1019,17 +1023,18 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.10.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" +checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952" [[package]] name = "bzip2-sys" -version = "0.1.13+1.0.8" +version = "0.1.11+1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225bff33b2141874fe80d71e07d6eec4f85c5c216453dd96388240f96e1acc14" +checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" dependencies = [ "cc", + "libc", "pkg-config", ] @@ -1045,18 +1050,18 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.9" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" dependencies = [ "serde", ] [[package]] name = "cargo-platform" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -1069,21 +1074,20 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.26", + "semver 1.0.23", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror", ] [[package]] name = "cc" -version = "1.2.24" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16595d3be041c03b09d08d0858631facccee9221e579704070e6e9e4915d3bc7" +checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" dependencies = [ "jobserver", "libc", - "shlex", ] [[package]] @@ -1116,12 +1120,6 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" -[[package]] -name = "cfg_aliases" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" - [[package]] name = "chacha" version = "0.3.0" @@ -1158,16 +1156,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.41" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-link", + "windows-targets 0.52.6", ] [[package]] @@ -1180,7 +1178,7 @@ dependencies = [ "multibase", "multihash 0.17.0", "serde", - "unsigned-varint 0.7.2", + "unsigned-varint", ] [[package]] @@ -1193,7 +1191,7 @@ dependencies = [ "multibase", "multihash 0.18.1", "serde", - "unsigned-varint 0.7.2", + "unsigned-varint", ] [[package]] @@ -1238,9 +1236,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.38" +version = "4.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" +checksum = "8f6b81fb3c84f5563d509c59b5a48d935f689e993afa90fe39047f05adef9142" dependencies = [ "clap_builder", "clap_derive", @@ -1248,9 +1246,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.38" +version = "4.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" +checksum = "5ca6706fd5224857d9ac5eb9355f6683563cc0541c7cd9d014043b57cbec78ac" dependencies = [ "anstream", "anstyle", @@ -1261,27 +1259,27 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.32" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09176aae279615badda0765c0c0b3f6ed53f4709118af73cf4655d85d1530cd7" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" +checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" [[package]] name = "coarsetime" -version = "0.1.36" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91849686042de1b41cd81490edc83afbcb0abe5a9b6f2c4114f23ce8cca1bcf4" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" dependencies = [ "libc", "wasix", @@ -1290,20 +1288,19 @@ dependencies = [ [[package]] name = "codespan-reporting" -version = "0.12.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe6d2e5af09e8c8ad56c969f2157a3d4238cebc7c55f0a517728c38f7b200f81" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" dependencies = [ - "serde", "termcolor", "unicode-width", ] [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" [[package]] name = "combine" @@ -1317,11 +1314,12 @@ dependencies = [ [[package]] name = "comfy-table" -version = "7.1.4" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a65ebfec4fb190b6f90e944a817d60499ee0744e582530e2c9900a22e591d9a" +checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "unicode-segmentation", + "strum 0.26.3", + "strum_macros 0.26.4", "unicode-width", ] @@ -1342,15 +1340,15 @@ dependencies = [ [[package]] name = "console" -version = "0.15.11" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8" +checksum = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" dependencies = [ "encode_unicode", + "lazy_static", "libc", - "once_cell", "unicode-width", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -1374,31 +1372,11 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] -[[package]] -name = "const_format" -version = "0.2.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "126f97965c8ad46d6d9163268ff28432e8f6a1196a55578867832e3049df63dd" -dependencies = [ - "const_format_proc_macros", -] - -[[package]] -name = "const_format_proc_macros" -version = "0.2.34" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" -dependencies = [ - "proc-macro2", - "quote", - "unicode-xid", -] - [[package]] name = "constant_time_eq" version = "0.1.5" @@ -1407,9 +1385,15 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + +[[package]] +name = "constcat" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" +checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" [[package]] name = "convert_case" @@ -1429,9 +1413,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.7" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "core2" @@ -1463,9 +1447,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.17" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -1570,9 +1554,9 @@ dependencies = [ [[package]] name = "crc" -version = "3.3.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9710d3b3739c2e349eb44fe848ad0b7c8cb1e42bd87ee49371df2f7acaf3e675" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" dependencies = [ "crc-catalog", ] @@ -1594,9 +1578,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.6" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ "crossbeam-epoch", "crossbeam-utils", @@ -1613,24 +1597,24 @@ dependencies = [ [[package]] name = "crossbeam-queue" -version = "0.3.12" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f58bbc28f91df819d0aa2a2c00cd19754769c2fad90579b3592b1c9ba7a3115" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.21" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" -version = "0.2.3" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-bigint" @@ -1807,7 +1791,7 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -1994,10 +1978,10 @@ name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -2188,7 +2172,7 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-state-machine", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -2265,7 +2249,7 @@ dependencies = [ "sp-state-machine", "sp-storage", "sp-version", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-util", "tracing", @@ -2323,7 +2307,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -2341,61 +2325,46 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.158" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a71ea7f29c73f7ffa64c50b83c9fe4d3a6d4be89a86b009eb80d5a6d3429d741" +checksum = "273dcfd3acd4e1e276af13ed2a43eea7001318823e7a726a6b3ed39b4acc0b82" dependencies = [ "cc", - "cxxbridge-cmd", "cxxbridge-flags", "cxxbridge-macro", - "foldhash", "link-cplusplus", ] [[package]] name = "cxx-build" -version = "1.0.158" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36a8232661d66dcf713394726157d3cfe0a89bfc85f52d6e9f9bbc2306797fe7" +checksum = "d8b2766fbd92be34e9ed143898fce6c572dc009de39506ed6903e5a05b68914e" dependencies = [ "cc", "codespan-reporting", + "once_cell", "proc-macro2", "quote", "scratch", - "syn 2.0.101", -] - -[[package]] -name = "cxxbridge-cmd" -version = "1.0.158" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f44296c8693e9ea226a48f6a122727f77aa9e9e338380cb021accaeeb7ee279" -dependencies = [ - "clap", - "codespan-reporting", - "proc-macro2", - "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "cxxbridge-flags" -version = "1.0.158" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c42f69c181c176981ae44ba9876e2ea41ce8e574c296b38d06925ce9214fb8e4" +checksum = "839fcd5e43464614ffaa989eaf1c139ef1f0c51672a1ed08023307fa1b909ccd" [[package]] name = "cxxbridge-macro" -version = "1.0.158" +version = "1.0.124" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8faff5d4467e0709448187df29ccbf3b0982cc426ee444a193f87b11afb565a8" +checksum = "4b2c1c1776b986979be68bb2285da855f8d8a35851a769fca8740df7c3d07877" dependencies = [ "proc-macro2", "quote", - "rustversion", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -2413,15 +2382,15 @@ dependencies = [ [[package]] name = "data-encoding" -version = "2.9.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" -version = "0.1.18" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47ce6c96ea0102f01122a185683611bd5ac8d99e62bc59dd12e6bda344ee673d" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2429,19 +2398,19 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.16" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" dependencies = [ "data-encoding", - "syn 2.0.101", + "syn 1.0.109", ] [[package]] name = "der" -version = "0.7.10" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -2463,9 +2432,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.4.0" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -2489,40 +2458,20 @@ checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "derive_more" -version = "0.99.20" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version", - "syn 2.0.101", -] - -[[package]] -name = "derive_more" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" -dependencies = [ - "derive_more-impl", -] - -[[package]] -name = "derive_more-impl" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -2611,23 +2560,23 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "docify" -version = "0.2.9" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a772b62b1837c8f060432ddcc10b17aae1453ef17617a99bc07789252d2a5896" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.9" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60e6be249b0a462a14784a99b19bf35a667bb5e09de611738bb7362fa4c95ff7" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", "derive-syn-parse", @@ -2635,9 +2584,9 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.101", + "syn 2.0.72", "termcolor", - "toml 0.8.22", + "toml 0.8.15", "walkdir", ] @@ -2655,15 +2604,15 @@ checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" -version = "1.0.10" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" +checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" [[package]] name = "dyn-clonable" -version = "0.9.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a36efbb9bfd58e1723780aa04b61aba95ace6a05d9ffabfdb0b43672552f0805" +checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" dependencies = [ "dyn-clonable-impl", "dyn-clone", @@ -2671,20 +2620,20 @@ dependencies = [ [[package]] name = "dyn-clonable-impl" -version = "0.9.2" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8671d54058979a37a26f3511fbf8d198ba1aa35ffb202c42587d918d77213a" +checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 1.0.109", ] [[package]] name = "dyn-clone" -version = "1.0.19" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a8fb8a9fbf66c1f703fe16184d10ca0ee9d23be5b4436400408ba54a95005" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "ecdsa" @@ -2744,7 +2693,7 @@ dependencies = [ "ed25519 2.2.3", "rand_core 0.6.4", "serde", - "sha2 0.10.9", + "sha2 0.10.8", "subtle 2.6.1", "zeroize", ] @@ -2774,15 +2723,15 @@ dependencies = [ "hashbrown 0.14.5", "hex", "rand_core 0.6.4", - "sha2 0.10.9", + "sha2 0.10.8", "zeroize", ] [[package]] name = "either" -version = "1.15.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -2806,9 +2755,9 @@ dependencies = [ [[package]] name = "encode_unicode" -version = "1.0.0" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0" +checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "enum-as-inner" @@ -2824,45 +2773,45 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.6.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" dependencies = [ - "heck 0.5.0", + "heck 0.4.1", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "enumflags2" -version = "0.7.11" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba2f4b465f5318854c6f8dd686ede6c0a9dc67d4b1ac241cf0eb51521a309147" +checksum = "d232db7f5956f3f14313dc2f87985c58bd2c695ce124c8cdd984e08e15ac133d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.11" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc4caf64a58d7a6d65ab00639b046ff54399a39f5f2554728895ace4b297cd79" +checksum = "de0d48a183585823424a4ce1aa132d174a6a81bd540895822eb4c8373a8e49e8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "enumn" -version = "0.1.14" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f9ed6b3789237c8a0c1c505af1c7eb2c560df6186f01b098c3a1064ea532f38" +checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -2886,18 +2835,18 @@ checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" [[package]] name = "equivalent" -version = "1.0.2" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.12" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -2963,28 +2912,28 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener" -version = "5.4.0" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener-strategy" -version = "0.5.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8be9f3dfaaffdae2972880079a491a1a8bb7cbed0b8dd7a347f668b4150a3b93" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 5.4.0", - "pin-project-lite 0.2.16", + "event-listener 5.3.1", + "pin-project-lite 0.2.14", ] [[package]] @@ -3075,10 +3024,10 @@ dependencies = [ "blake2 0.10.6", "file-guard", "fs-err", - "prettyplease 0.2.32", + "prettyplease 0.2.20", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3110,9 +3059,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.3.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fatality" @@ -3121,7 +3070,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2ad875162843b0d046276327afe0136e9ed3a23d5a754210fb6f1f33610d39ab" dependencies = [ "fatality-proc-macro", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -3136,7 +3085,7 @@ dependencies = [ "proc-macro2", "quote", "syn 1.0.109", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -3243,7 +3192,7 @@ dependencies = [ "sp-storage", "sp-timestamp", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -3286,14 +3235,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", - "thiserror 1.0.69", + "thiserror", ] [[package]] name = "ff" -version = "0.13.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", "subtle 2.6.1", @@ -3327,21 +3276,21 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" dependencies = [ "cfg-if", "libc", - "libredox", - "windows-sys 0.59.0", + "redox_syscall 0.4.1", + "windows-sys 0.52.0", ] [[package]] name = "finality-grandpa" -version = "0.16.3" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4f8f43dc520133541781ec03a8cab158ae8b7f7169cdf22e9050aa6cf0fbdfc" +checksum = "36530797b9bf31cd4ff126dcfee8170f86b00cfdcea3269d73133cc0415945c3" dependencies = [ "either", "futures", @@ -3373,9 +3322,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.1.1" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "libz-sys", @@ -3397,12 +3346,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" -[[package]] -name = "foldhash" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" - [[package]] name = "foreign-types" version = "0.3.2" @@ -3483,7 +3426,7 @@ source = "git+https://github.com/polkadot-evm/frontier?branch=polkadot-v1.11.0#5 dependencies = [ "evm", "frame-support", - "num_enum 0.7.3", + "num_enum 0.7.2", "parity-scale-codec", "scale-info", "serde", @@ -3530,9 +3473,9 @@ dependencies = [ [[package]] name = "fragile" -version = "2.0.1" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28dd6caf6059519a65843af8fe2a3ae298b14b80179855aeb4adc2c1934ee619" +checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" @@ -3605,7 +3548,7 @@ dependencies = [ "sp-storage", "sp-trie", "sp-wasm-interface", - "thiserror 1.0.69", + "thiserror", "thousands", ] @@ -3614,10 +3557,10 @@ name = "frame-election-provider-solution-type" version = "13.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3740,7 +3683,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3749,10 +3692,10 @@ version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "frame-support-procedural-tools-derive", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3762,7 +3705,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3846,7 +3789,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.44", + "rustix 0.38.34", "windows-sys 0.48.0", ] @@ -3858,9 +3801,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ "futures-channel", "futures-core", @@ -3873,9 +3816,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", "futures-sink", @@ -3883,15 +3826,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-executor" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" dependencies = [ "futures-core", "futures-task", @@ -3901,9 +3844,9 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" @@ -3916,32 +3859,32 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "waker-fn", ] [[package]] name = "futures-lite" -version = "2.6.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.3.0", + "fastrand 2.1.0", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] name = "futures-macro" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -3957,15 +3900,15 @@ dependencies = [ [[package]] name = "futures-sink" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" @@ -3975,9 +3918,9 @@ checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" -version = "0.3.31" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-channel", "futures-core", @@ -3986,7 +3929,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "pin-utils", "slab", ] @@ -4043,27 +3986,15 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.16" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "getrandom" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" -dependencies = [ - "cfg-if", - "libc", - "r-efi", - "wasi 0.14.2+wasi-0.2.4", -] - [[package]] name = "getrandom_or_panic" version = "0.0.3" @@ -4107,15 +4038,15 @@ dependencies = [ [[package]] name = "gimli" -version = "0.31.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "glob" -version = "0.3.2" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" +checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "governor" @@ -4160,7 +4091,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.9.0", + "indexmap 2.2.6", "slab", "tokio", "tokio-util", @@ -4178,7 +4109,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -4211,7 +4142,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", ] [[package]] @@ -4220,17 +4151,11 @@ version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", "allocator-api2", "serde", ] -[[package]] -name = "hashbrown" -version = "0.15.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" - [[package]] name = "hashlink" version = "0.8.4" @@ -4264,12 +4189,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" -[[package]] -name = "hermit-abi" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f154ce46856750ed433c8649605bf7ed2de3bc35fd9d2a9f30cddd873c80cb08" - [[package]] name = "hex" version = "0.4.3" @@ -4335,11 +4254,22 @@ dependencies = [ [[package]] name = "home" -version = "0.5.11" +version = "0.5.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "hostname" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" dependencies = [ - "windows-sys 0.59.0", + "libc", + "match_cfg", + "winapi", ] [[package]] @@ -4361,7 +4291,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", ] [[package]] @@ -4372,9 +4302,9 @@ checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" [[package]] name = "httparse" -version = "1.10.1" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" +checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" [[package]] name = "httpdate" @@ -4384,15 +4314,15 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" -version = "2.2.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b112acc8b3adf4b107a8ec20977da0273a8c386765a3ec0229bd500a1443f9f" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.32" +version = "0.14.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" +checksum = "a152ddd61dfaec7273fe8419ab357f33aee0d914c5f4efbf0d96fa749eea5ec9" dependencies = [ "bytes", "futures-channel", @@ -4404,8 +4334,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.16", - "socket2 0.5.9", + "pin-project-lite 0.2.14", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -4430,17 +4360,16 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.63" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", - "log", "wasm-bindgen", - "windows-core 0.61.2", + "windows-core 0.52.0", ] [[package]] @@ -4452,92 +4381,6 @@ dependencies = [ "cc", ] -[[package]] -name = "icu_collections" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "200072f5d0e3614556f94a9930d5dc3e0662a652823904c3a75dc3b0af7fee47" -dependencies = [ - "displaydoc", - "potential_utf", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cde2700ccaed3872079a65fb1a78f6c0a36c91570f28755dda67bc8f7d9f00a" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "436880e8e18df4d7bbc06d58432329d6458cc84531f7ac5f024e93deadb37979" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00210d6893afc98edb752b664b8890f0ef174c8adbb8d0be9710fa66fbbf72d3" - -[[package]] -name = "icu_properties" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "016c619c1eeb94efb86809b015c58f479963de65bdb6253345c1a1276f22e32b" -dependencies = [ - "displaydoc", - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "potential_utf", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "298459143998310acd25ffe6810ed544932242d3f07083eee1084d83a71bd632" - -[[package]] -name = "icu_provider" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c80da27b5f4187909049ee2d72f276f0d9f99a42c306bd0131ecfe04d8e5af" -dependencies = [ - "displaydoc", - "icu_locale_core", - "stable_deref_trait", - "tinystr", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - [[package]] name = "idna" version = "0.2.3" @@ -4561,23 +4404,12 @@ dependencies = [ [[package]] name = "idna" -version = "1.0.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" -dependencies = [ - "icu_normalizer", - "icu_properties", + "unicode-bidi", + "unicode-normalization", ] [[package]] @@ -4592,21 +4424,17 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.2.1" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf9d64cfcf380606e64f9a0bcf493616b65331199f984151a6fa11a7b3cde38" +checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.4.0", + "async-io 2.3.3", "core-foundation", "fnv", "futures", "if-addrs", "ipnet", "log", - "netlink-packet-core", - "netlink-packet-route", - "netlink-proto", - "netlink-sys", "rtnetlink", "system-configuration", "tokio", @@ -4642,13 +4470,13 @@ dependencies = [ [[package]] name = "impl-trait-for-tuples" -version = "0.2.3" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0eb5a3343abf848c0984fe4604b2b105da9539376e24fc0a3b0007411ae4fd9" +checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 1.0.109", ] [[package]] @@ -4683,12 +4511,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.9.0" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.15.3", + "hashbrown 0.14.5", ] [[package]] @@ -4699,9 +4527,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "inout" -version = "0.1.4" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" +checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" dependencies = [ "generic-array 0.14.7", ] @@ -4753,7 +4581,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.9", + "socket2 0.5.7", "widestring", "windows-sys 0.48.0", "winreg", @@ -4761,35 +4589,35 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.11.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.16" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.5.1", + "hermit-abi 0.3.9", "libc", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] name = "is_executable" -version = "1.0.4" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2" +checksum = "fa9acdc6d67b75e626ad644734e8bc6df893d9cd2a834129065d3dd6158ea9c8" dependencies = [ "winapi", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" [[package]] name = "itertools" @@ -4820,27 +4648,25 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.15" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.33" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" dependencies = [ - "getrandom 0.3.3", "libc", ] [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ - "once_cell", "wasm-bindgen", ] @@ -4869,10 +4695,10 @@ dependencies = [ "http", "jsonrpsee-core", "pin-project", - "rustls-native-certs 0.7.3", + "rustls-native-certs 0.7.1", "rustls-pki-types", "soketto", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-rustls 0.25.0", "tokio-util", @@ -4899,7 +4725,7 @@ dependencies = [ "rustc-hash", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", "tracing", @@ -4912,10 +4738,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d0bb047e79a143b32ea03974a6bf59b62c2a4c5f5d42a381c907a8bbb3f75c0" dependencies = [ "heck 0.4.1", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -4934,7 +4760,7 @@ dependencies = [ "serde", "serde_json", "soketto", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", "tokio-util", @@ -4952,7 +4778,7 @@ dependencies = [ "beef", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -4970,16 +4796,16 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e3919bbaa2945715f0bb6d3934a173d1e9a59ac23767fbaaef277265a7411b" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", "once_cell", "serdect", - "sha2 0.10.9", + "sha2 0.10.8", ] [[package]] @@ -5038,7 +4864,7 @@ checksum = "9baa9eeb6e315942429397e617a190f4fdc696ef1ee0342939d641029cbb4ea7" dependencies = [ "enumflags2", "libc", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -5055,25 +4881,25 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.172" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" -version = "0.8.7" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a793df0d7afeac54f95b471d3af7f0d4fb975699f972341a4b76988d49cdf0c" +checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" dependencies = [ "cfg-if", - "windows-targets 0.53.0", + "windows-targets 0.52.6", ] [[package]] name = "libm" -version = "0.2.15" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libp2p" @@ -5084,7 +4910,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.16", + "getrandom 0.2.15", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5155,8 +4981,8 @@ dependencies = [ "rand 0.8.5", "rw-stream-sink", "smallvec", - "thiserror 1.0.69", - "unsigned-varint 0.7.2", + "thiserror", + "unsigned-varint", "void", ] @@ -5192,7 +5018,7 @@ dependencies = [ "quick-protobuf", "quick-protobuf-codec", "smallvec", - "thiserror 1.0.69", + "thiserror", "void", ] @@ -5209,8 +5035,8 @@ dependencies = [ "multihash 0.17.0", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.9", - "thiserror 1.0.69", + "sha2 0.10.8", + "thiserror", "zeroize", ] @@ -5220,7 +5046,7 @@ version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ - "arrayvec 0.7.6", + "arrayvec 0.7.4", "asynchronous-codec", "bytes", "either", @@ -5234,11 +5060,11 @@ dependencies = [ "log", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.9", + "sha2 0.10.8", "smallvec", - "thiserror 1.0.69", + "thiserror", "uint", - "unsigned-varint 0.7.2", + "unsigned-varint", "void", ] @@ -5292,10 +5118,10 @@ dependencies = [ "once_cell", "quick-protobuf", "rand 0.8.5", - "sha2 0.10.9", + "sha2 0.10.8", "snow", "static_assertions", - "thiserror 1.0.69", + "thiserror", "x25519-dalek 1.1.1", "zeroize", ] @@ -5335,7 +5161,7 @@ dependencies = [ "quinn-proto", "rand 0.8.5", "rustls 0.20.9", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -5416,7 +5242,7 @@ dependencies = [ "rcgen", "ring 0.16.20", "rustls 0.20.9", - "thiserror 1.0.69", + "thiserror", "webpki", "x509-parser 0.14.0", "yasna", @@ -5464,7 +5290,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "thiserror 1.0.69", + "thiserror", "yamux", ] @@ -5474,9 +5300,8 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "libc", - "redox_syscall 0.5.12", ] [[package]] @@ -5496,12 +5321,12 @@ dependencies = [ [[package]] name = "libsecp256k1" -version = "0.7.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e79019718125edc905a079a70cfa5f3820bc76139fc91d6f9abc27ea2a887139" +checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" dependencies = [ "arrayref", - "base64 0.22.1", + "base64 0.13.1", "digest 0.9.0", "hmac-drbg", "libsecp256k1-core", @@ -5544,9 +5369,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.22" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b70e7a7df205e92a1a4cd9aaae7898dac0aa555503cc0a649494d0d60e7651d" +checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" dependencies = [ "cc", "pkg-config", @@ -5555,9 +5380,9 @@ dependencies = [ [[package]] name = "link-cplusplus" -version = "1.0.10" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a6f6da007f968f9def0d65a05b187e2960183de70c160204ecfccf0ee330212" +checksum = "9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9" dependencies = [ "cc", ] @@ -5570,18 +5395,18 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "linked_hash_set" -version = "0.1.5" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae85b5be22d9843c80e5fc80e9b64c8a3b1f98f867c709956eca3efff4e92e2" +checksum = "47186c6da4d81ca383c7c47c1bfc80f4b95f4720514d860a5407aaf4233f9588" dependencies = [ "linked-hash-map", ] [[package]] name = "linregress" -version = "0.5.4" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9eda9dcf4f2a99787827661f312ac3219292549c2ee992bf9a6248ffb066bf7" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ "nalgebra", ] @@ -5600,15 +5425,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - -[[package]] -name = "linux-raw-sys" -version = "0.9.4" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lioness" @@ -5622,12 +5441,6 @@ dependencies = [ "keystream", ] -[[package]] -name = "litemap" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" - [[package]] name = "litep2p" version = "0.5.0" @@ -5642,7 +5455,7 @@ dependencies = [ "futures", "futures-timer", "hex-literal 0.4.1", - "indexmap 2.9.0", + "indexmap 2.2.6", "libc", "mockall 0.12.1", "multiaddr", @@ -5659,14 +5472,14 @@ dependencies = [ "ring 0.16.20", "rustls 0.20.9", "serde", - "sha2 0.10.9", + "sha2 0.10.8", "simple-dns", "smallvec", "snow", - "socket2 0.5.9", + "socket2 0.5.7", "static_assertions", "str0m", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", "tokio-tungstenite", @@ -5674,7 +5487,7 @@ dependencies = [ "tracing", "trust-dns-resolver 0.23.2", "uint", - "unsigned-varint 0.7.2", + "unsigned-varint", "url", "webpki", "x25519-dalek 2.0.1", @@ -5695,9 +5508,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.27" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" @@ -5725,18 +5538,19 @@ dependencies = [ [[package]] name = "lz4" -version = "1.28.1" +version = "1.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20b523e860d03443e98350ceaac5e71c6ba89aea7d960769ec3ce37f4de5af4" +checksum = "958b4caa893816eea05507c20cfe47574a43d9a697138a7872990bba8a0ece68" dependencies = [ + "libc", "lz4-sys", ] [[package]] name = "lz4-sys" -version = "1.11.1+lz4-1.10.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bd8c0d6c6ed0cd30b3652886bb8711dc4bb01d637a68105a3d5158039b418e6" +checksum = "109de74d5d2353660401699a4174a4ff23fcc649caf553df71933c7fb45ad868" dependencies = [ "cc", "libc", @@ -5760,7 +5574,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -5774,7 +5588,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -5785,7 +5599,7 @@ checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -5796,9 +5610,15 @@ checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.101", + "syn 2.0.72", ] +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + [[package]] name = "matchers" version = "0.1.0" @@ -5816,9 +5636,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.10" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06de3016e9fae57a36fd14dba131fccf49f74b40b7fbdb472f96e361ec71a08" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ "autocfg", "rawpointer", @@ -5836,7 +5656,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.44", + "rustix 0.38.34", ] [[package]] @@ -5850,9 +5670,9 @@ dependencies = [ [[package]] name = "memmap2" -version = "0.9.5" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f" +checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322" dependencies = [ "libc", ] @@ -5920,19 +5740,20 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.8" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ - "adler2", + "adler", ] [[package]] name = "mio" -version = "1.0.3" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" +checksum = "4569e456d394deccd22ce1c1913e6ea0e54519f577285001215d33557431afe4" dependencies = [ + "hermit-abi 0.3.9", "libc", "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", @@ -5945,7 +5766,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "daa3eb39495d8e2e2947a1d862852c90cc6a4a8845f8b41c8829cb9fcc047f4a" dependencies = [ "arrayref", - "arrayvec 0.7.6", + "arrayvec 0.7.4", "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", @@ -5959,7 +5780,7 @@ dependencies = [ "rand_chacha 0.3.1", "rand_distr", "subtle 2.6.1", - "thiserror 1.0.69", + "thiserror", "zeroize", ] @@ -6023,7 +5844,7 @@ dependencies = [ "fragile", "lazy_static", "mockall_derive 0.12.1", - "predicates 3.1.3", + "predicates 3.1.2", "predicates-tree", ] @@ -6048,7 +5869,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -6066,7 +5887,7 @@ dependencies = [ "percent-encoding", "serde", "static_assertions", - "unsigned-varint 0.7.2", + "unsigned-varint", "url", ] @@ -6093,9 +5914,9 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive 0.8.1", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", - "unsigned-varint 0.7.2", + "unsigned-varint", ] [[package]] @@ -6110,19 +5931,19 @@ dependencies = [ "core2", "digest 0.10.7", "multihash-derive 0.8.1", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", - "unsigned-varint 0.7.2", + "unsigned-varint", ] [[package]] name = "multihash" -version = "0.19.3" +version = "0.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b430e7953c29dd6a09afc29ff0bb69c6e306329ee6794700aee27b76a1aea8d" +checksum = "076d548d76a0e2a0d4ab471d0b1c36c577786dfc4471242035d97a12a735c492" dependencies = [ "core2", - "unsigned-varint 0.8.0", + "unsigned-varint", ] [[package]] @@ -6136,11 +5957,11 @@ dependencies = [ "blake3", "core2", "digest 0.10.7", - "multihash-derive 0.9.1", + "multihash-derive 0.9.0", "ripemd", "serde", "sha1", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", "strobe-rs", ] @@ -6161,26 +5982,27 @@ dependencies = [ [[package]] name = "multihash-derive" -version = "0.9.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f1b7edab35d920890b88643a765fc9bd295cf0201f4154dda231bef9b8404eb" +checksum = "890e72cb7396cb99ed98c1246a97b243cc16394470d94e0bc8b0c2c11d84290e" dependencies = [ "core2", - "multihash 0.19.3", + "multihash 0.19.1", "multihash-derive-impl", ] [[package]] name = "multihash-derive-impl" -version = "0.1.2" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3dc7141bd06405929948754f0628d247f5ca1865be745099205e5086da957cb" +checksum = "3958713ce794e12f7c6326fac9aa274c68d74c4881dd37b3e2662b8a2046bb19" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 2.0.0", + "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.101", - "synstructure 0.13.2", + "syn 2.0.72", + "synstructure 0.13.1", ] [[package]] @@ -6200,17 +6022,18 @@ dependencies = [ "log", "pin-project", "smallvec", - "unsigned-varint 0.7.2", + "unsigned-varint", ] [[package]] name = "nalgebra" -version = "0.33.2" +version = "0.32.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26aecdf64b707efd1310e3544d709c5c0ac61c13756046aaaba41be5c4f66a3b" +checksum = "7b5c17de023a86f59ed79891b2e5d5a94c705dbe904a5b5c9c952ea6221b03e4" dependencies = [ "approx", "matrixmultiply", + "nalgebra-macros", "num-complex", "num-rational", "num-traits", @@ -6218,6 +6041,17 @@ dependencies = [ "typenum", ] +[[package]] +name = "nalgebra-macros" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.72", +] + [[package]] name = "names" version = "0.14.0" @@ -6235,20 +6069,21 @@ checksum = "6a51313c5820b0b02bd422f4b44776fbf47961755c74ce64afc73bfad10226c3" [[package]] name = "netlink-packet-core" -version = "0.7.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4" +checksum = "345b8ab5bd4e71a2986663e88c56856699d060e78e152e6e9d7966fcd5491297" dependencies = [ "anyhow", "byteorder", + "libc", "netlink-packet-utils", ] [[package]] name = "netlink-packet-route" -version = "0.17.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "053998cea5a306971f88580d0829e90f270f940befd7cf928da179d4187a5a66" +checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" dependencies = [ "anyhow", "bitflags 1.3.2", @@ -6267,28 +6102,29 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror 1.0.69", + "thiserror", ] [[package]] name = "netlink-proto" -version = "0.11.5" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72452e012c2f8d612410d89eea01e2d9b56205274abb35d53f60200b2ec41d60" +checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", "futures", "log", "netlink-packet-core", "netlink-sys", - "thiserror 2.0.12", + "thiserror", + "tokio", ] [[package]] name = "netlink-sys" -version = "0.8.7" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16c903aa70590cb93691bf97a767c8d1d6122d2cc9070433deb3bbf36ce8bd23" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", "futures", @@ -6305,7 +6141,7 @@ checksum = "a4a43439bf756eed340bdf8feba761e2d50c7d47175d87545cd5cbe4a137c4d1" dependencies = [ "cc", "libc", - "thiserror 1.0.69", + "thiserror", "winapi", ] @@ -6465,9 +6301,9 @@ dependencies = [ [[package]] name = "nix" -version = "0.26.4" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "fa52e972a9a719cecb6864fb88568781eb706bac2cd1d4f04a648542dbf78069" dependencies = [ "bitflags 1.3.2", "cfg-if", @@ -6480,7 +6316,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "cfg-if", "libc", ] @@ -6586,7 +6422,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a652d9771a63711fd3c3deb670acfbe5c30a4072e664d7a3bf5a9e1056ac72c3" dependencies = [ - "arrayvec 0.7.6", + "arrayvec 0.7.4", "itoa", ] @@ -6652,11 +6488,11 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.3" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" +checksum = "02339744ee7253741199f897151b38e72257d13802d4ee837285cc2990a90845" dependencies = [ - "num_enum_derive 0.7.3", + "num_enum_derive 0.7.2", ] [[package]] @@ -6672,14 +6508,14 @@ dependencies = [ [[package]] name = "num_enum_derive" -version = "0.7.3" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" +checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -6705,9 +6541,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.7" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" +checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e" dependencies = [ "memchr", ] @@ -6723,15 +6559,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.21.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" - -[[package]] -name = "once_cell_polyfill" -version = "1.70.1" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" @@ -6747,11 +6577,11 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl" -version = "0.10.72" +version = "0.10.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da" +checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "cfg-if", "foreign-types", "libc", @@ -6768,29 +6598,29 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "openssl-probe" -version = "0.1.6" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-src" -version = "300.5.0+3.5.0" +version = "300.3.1+3.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8ce546f549326b0e6052b649198487d91320875da901e7bd11a06d1ee3f9c2f" +checksum = "7259953d42a81bf137fbbd73bd30a8e1914d6dce43c2b90ed575783a22608b91" dependencies = [ "cc", ] [[package]] name = "openssl-sys" -version = "0.9.108" +version = "0.9.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847" +checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6" dependencies = [ "cc", "libc", @@ -6818,7 +6648,7 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "thiserror 1.0.69", + "thiserror", "tracing", ] @@ -6829,10 +6659,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" dependencies = [ "expander 2.2.1", - "indexmap 2.9.0", + "indexmap 2.2.6", "itertools 0.11.0", "petgraph", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -7344,7 +7174,7 @@ dependencies = [ name = "pallet-evm-precompile-assets-erc20" version = "1.1.1" dependencies = [ - "derive_more 0.99.20", + "derive_more", "fp-evm", "frame-support", "frame-system", @@ -7911,10 +7741,10 @@ name = "pallet-staking-reward-curve" version = "11.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -8217,7 +8047,7 @@ version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ - "bitcoin_hashes", + "bitcoin_hashes 0.13.0", "rand 0.8.5", "rand_core 0.6.4", "serde", @@ -8247,31 +8077,29 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.7.5" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "799781ae679d79a948e13d4824a40970bfa500058d245760dd857301059810fa" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ - "arrayvec 0.7.6", + "arrayvec 0.7.4", "bitvec", "byte-slice-cast", "bytes", - "const_format", "impl-trait-for-tuples", "parity-scale-codec-derive", - "rustversion", "serde", ] [[package]] name = "parity-scale-codec-derive" -version = "3.7.5" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34b4653168b563151153c9e4c08ebed57fb8262bebfa79711552fa983c623e7a" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 1.0.109", ] [[package]] @@ -8288,9 +8116,9 @@ checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" -version = "2.2.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "parking_lot" @@ -8335,7 +8163,7 @@ checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.5.12", + "redox_syscall 0.5.3", "smallvec", "windows-targets 0.52.6", ] @@ -8396,20 +8224,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.8.0" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" +checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ "memchr", - "thiserror 2.0.12", + "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.8.0" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" +checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" dependencies = [ "pest", "pest_generator", @@ -8417,26 +8245,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.8.0" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" +checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "pest_meta" -version = "2.8.0" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" +checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" dependencies = [ "once_cell", "pest", - "sha2 0.10.9", + "sha2 0.10.8", ] [[package]] @@ -8446,27 +8274,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.9.0", + "indexmap 2.2.6", ] [[package]] name = "pin-project" -version = "1.1.10" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.10" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -8477,9 +8305,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.16" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -8489,12 +8317,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +checksum = "ae1d5c74c9876f070d3e8fd503d748c7d974c3e48da8f41350fa5222ef9b4391" dependencies = [ "atomic-waker", - "fastrand 2.3.0", + "fastrand 2.1.0", "futures-io", ] @@ -8510,9 +8338,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.32" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "polkadot-approval-distribution" @@ -8555,7 +8383,7 @@ name = "polkadot-availability-distribution" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "derive_more 0.99.20", + "derive_more", "fatality", "futures", "parity-scale-codec", @@ -8569,7 +8397,7 @@ dependencies = [ "schnellru", "sp-core", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8591,7 +8419,7 @@ dependencies = [ "rand 0.8.5", "sc-network", "schnellru", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing-gum", ] @@ -8621,7 +8449,7 @@ dependencies = [ "sp-maybe-compressed-blob", "sp-runtime", "substrate-build-script-utils", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -8641,7 +8469,7 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "thiserror 1.0.69", + "thiserror", "tokio-util", "tracing-gum", ] @@ -8663,11 +8491,11 @@ name = "polkadot-dispute-distribution" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "derive_more 0.99.20", + "derive_more", "fatality", "futures", "futures-timer", - "indexmap 2.9.0", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -8679,7 +8507,7 @@ dependencies = [ "schnellru", "sp-application-crypto", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8694,7 +8522,7 @@ dependencies = [ "reed-solomon-novelpoly", "sp-core", "sp-trie", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -8738,7 +8566,7 @@ dependencies = [ "polkadot-primitives", "sc-network", "sp-consensus", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8756,7 +8584,7 @@ dependencies = [ "polkadot-primitives", "sp-core", "sp-maybe-compressed-blob", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8766,7 +8594,7 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bitvec", - "derive_more 0.99.20", + "derive_more", "futures", "futures-timer", "itertools 0.10.5", @@ -8789,7 +8617,7 @@ dependencies = [ "sp-consensus", "sp-consensus-slots", "sp-runtime", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8811,7 +8639,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-consensus", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8831,7 +8659,7 @@ dependencies = [ "polkadot-statement-table", "schnellru", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8845,7 +8673,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", "wasm-timer", ] @@ -8898,7 +8726,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8917,7 +8745,7 @@ dependencies = [ "polkadot-primitives", "sc-keystore", "schnellru", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8934,7 +8762,7 @@ dependencies = [ "polkadot-primitives", "sp-blockchain", "sp-inherents", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8951,7 +8779,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8969,7 +8797,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "schnellru", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -8997,7 +8825,7 @@ dependencies = [ "slotmap", "sp-core", "tempfile", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing-gum", ] @@ -9014,7 +8842,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -9040,7 +8868,7 @@ dependencies = [ "sp-externalities", "sp-io", "sp-tracing", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -9074,7 +8902,7 @@ dependencies = [ "sc-network", "sc-network-types", "sp-core", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -9105,7 +8933,7 @@ dependencies = [ "async-channel 1.9.0", "async-trait", "bitvec", - "derive_more 0.99.20", + "derive_more", "fatality", "futures", "hex", @@ -9119,7 +8947,7 @@ dependencies = [ "sc-network-types", "sp-runtime", "strum 0.26.3", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -9142,7 +8970,7 @@ dependencies = [ "sp-keystore", "sp-maybe-compressed-blob", "sp-runtime", - "thiserror 1.0.69", + "thiserror", "zstd 0.12.4", ] @@ -9163,7 +8991,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "async-trait", "bitvec", - "derive_more 0.99.20", + "derive_more", "futures", "orchestra", "polkadot-node-jaeger", @@ -9182,7 +9010,7 @@ dependencies = [ "sp-consensus-babe", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -9191,7 +9019,7 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "async-trait", - "derive_more 0.99.20", + "derive_more", "fatality", "futures", "futures-channel", @@ -9216,7 +9044,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -9248,7 +9076,7 @@ version = "6.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "bounded-collections", - "derive_more 0.99.20", + "derive_more", "parity-scale-codec", "polkadot-core-primitives", "scale-info", @@ -9390,7 +9218,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "bitflags 1.3.2", "bitvec", - "derive_more 0.99.20", + "derive_more", "frame-benchmarking", "frame-support", "frame-system", @@ -9544,7 +9372,7 @@ dependencies = [ "sp-weights", "staging-xcm", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", "tracing-gum", "westend-runtime", "xcm-fee-payment-runtime-api", @@ -9555,12 +9383,12 @@ name = "polkadot-statement-distribution" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "arrayvec 0.7.6", + "arrayvec 0.7.4", "bitvec", "fatality", "futures", "futures-timer", - "indexmap 2.9.0", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -9569,7 +9397,7 @@ dependencies = [ "polkadot-primitives", "sp-keystore", "sp-staking", - "thiserror 1.0.69", + "thiserror", "tracing-gum", ] @@ -9633,7 +9461,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -9643,7 +9471,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -9679,23 +9507,23 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.7.4" +version = "3.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f" +checksum = "a3ed00ed3fbf728b5816498ecd316d1716eecaced9c0c8d2c5a6740ca214985b" dependencies = [ "cfg-if", "concurrent-queue", "hermit-abi 0.4.0", - "pin-project-lite 0.2.16", - "rustix 0.38.44", + "pin-project-lite 0.2.14", + "rustix 0.38.34", "tracing", - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -9723,18 +9551,9 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" - -[[package]] -name = "potential_utf" -version = "0.1.2" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5a7c30837279ca13e7c867e9e40053bc68740f988cb07f7ca6df43cc734b585" -dependencies = [ - "zerovec", -] +checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265" [[package]] name = "powerfmt" @@ -9744,12 +9563,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.21" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "precompile-utils" @@ -9803,9 +9619,9 @@ dependencies = [ [[package]] name = "predicates" -version = "3.1.3" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5d19ee57562043d37e82899fade9a22ebab7be9cef5026b07fda9cdd4293573" +checksum = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" dependencies = [ "anstyle", "predicates-core", @@ -9813,15 +9629,15 @@ dependencies = [ [[package]] name = "predicates-core" -version = "1.0.9" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "727e462b119fe9c93fd0eb1429a5f7647394014cf3c04ab2c0350eeb09095ffa" +checksum = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174" [[package]] name = "predicates-tree" -version = "1.0.12" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72dd2d6d381dfb73a193c7fca536518d7caee39fc8503f74e7dc0be0531b425c" +checksum = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf" dependencies = [ "predicates-core", "termtree", @@ -9839,12 +9655,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.32" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "664ec5419c51e34154eec046ebcba56312d5a2fc3b09a06da188e1ad21afadf6" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -9869,11 +9685,11 @@ checksum = "a172e6cc603231f2cf004232eabcecccc0da53ba576ab286ef7baa0cfc7927ad" dependencies = [ "coarsetime", "crossbeam-queue", - "derive_more 0.99.20", + "derive_more", "futures", "futures-timer", "nanorand", - "thiserror 1.0.69", + "thiserror", "tracing", ] @@ -9883,17 +9699,26 @@ version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a" dependencies = [ - "thiserror 1.0.69", + "thiserror", "toml 0.5.11", ] [[package]] name = "proc-macro-crate" -version = "3.3.0" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_edit", + "toml_edit 0.21.1", ] [[package]] @@ -9922,20 +9747,20 @@ dependencies = [ [[package]] name = "proc-macro-warning" -version = "1.84.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75eea531cfcd120e0851a3f8aed42c4841f78c889eefafd96339c72677ae42c3" +checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -9951,7 +9776,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot 0.12.3", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -9974,7 +9799,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -10042,7 +9867,7 @@ dependencies = [ "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -10056,18 +9881,18 @@ dependencies = [ [[package]] name = "psm" -version = "0.1.26" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e944464ec8536cd1beb0bbfd96987eb5e3b72f2ecdafdc5c769a37f1fa2ae1f" +checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874" dependencies = [ "cc", ] [[package]] name = "quanta" -version = "0.12.5" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bd1fe6824cea6538803de3ff1bc0cf3949024db3d43c9643024bfb33a807c0e" +checksum = "8e5167a477619228a0b284fac2674e3c388cba90631d7b7de620e6f1fcd08da5" dependencies = [ "crossbeam-utils", "libc", @@ -10078,6 +9903,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "quick-error" +version = "1.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" + [[package]] name = "quick-protobuf" version = "0.8.1" @@ -10096,8 +9927,8 @@ dependencies = [ "asynchronous-codec", "bytes", "quick-protobuf", - "thiserror 1.0.69", - "unsigned-varint 0.7.2", + "thiserror", + "unsigned-varint", ] [[package]] @@ -10118,12 +9949,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e8b432585672228923edbbf64b8b12c14e1112f62e88737655b4a083dbcd78e" dependencies = [ "bytes", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "quinn-proto", "quinn-udp", "rustc-hash", "rustls 0.20.9", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing", "webpki", @@ -10141,7 +9972,7 @@ dependencies = [ "rustc-hash", "rustls 0.20.9", "slab", - "thiserror 1.0.69", + "thiserror", "tinyvec", "tracing", "webpki", @@ -10162,19 +9993,13 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.40" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] -[[package]] -name = "r-efi" -version = "5.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" - [[package]] name = "radium" version = "0.7.0" @@ -10240,7 +10065,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.15", ] [[package]] @@ -10273,11 +10098,11 @@ dependencies = [ [[package]] name = "raw-cpuid" -version = "11.5.0" +version = "11.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6df7ab838ed27997ba19a4664507e6f82b41fe6e20be42929332156e5e85146" +checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", ] [[package]] @@ -10329,22 +10154,31 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.12" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +dependencies = [ + "bitflags 1.3.2", +] + +[[package]] +name = "redox_syscall" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" +checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", ] [[package]] name = "redox_users" -version = "0.4.6" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.16", + "getrandom 0.2.15", "libredox", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -10353,30 +10187,30 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87413ebb313323d431e85d0afc5a68222aaed972843537cbfe5f061cf1b4bcab" dependencies = [ - "derive_more 0.99.20", + "derive_more", "fs-err", "static_init", - "thiserror 1.0.69", + "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.24" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.24" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -10406,14 +10240,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.11.1" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", + "regex-automata 0.4.7", + "regex-syntax 0.8.4", ] [[package]] @@ -10427,13 +10261,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.5", + "regex-syntax 0.8.4", ] [[package]] @@ -10444,15 +10278,19 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "resolv-conf" -version = "0.7.4" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" +checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" +dependencies = [ + "hostname", + "quick-error", +] [[package]] name = "rfc6979" @@ -10481,14 +10319,15 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.14" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.16", + "getrandom 0.2.15", "libc", + "spin 0.9.8", "untrusted 0.9.0", "windows-sys 0.52.0", ] @@ -10659,41 +10498,38 @@ checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" [[package]] name = "rpassword" -version = "7.4.0" +version = "7.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d4c8b64f049c6721ec8ccec37ddfc3d641c4a7fca57e8f2a89de509c73df39" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" dependencies = [ "libc", "rtoolbox", - "windows-sys 0.59.0", + "windows-sys 0.48.0", ] [[package]] name = "rtnetlink" -version = "0.13.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a552eb82d19f38c3beed3f786bd23aa434ceb9ac43ab44419ca6d67a7e186c0" +checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ "futures", "log", - "netlink-packet-core", "netlink-packet-route", - "netlink-packet-utils", "netlink-proto", - "netlink-sys", - "nix 0.26.4", - "thiserror 1.0.69", + "nix 0.24.3", + "thiserror", "tokio", ] [[package]] name = "rtoolbox" -version = "0.0.3" +version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cc970b249fbe527d6e02e0a227762c9108b2f49d81094fe357ffc6d14d7f6f" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.48.0", ] [[package]] @@ -10716,11 +10552,11 @@ checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" [[package]] name = "rustc_version" -version = "0.4.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.26", + "semver 1.0.23", ] [[package]] @@ -10748,9 +10584,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.28" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "519165d378b97752ca44bbe15047d5d3409e875f39327546b42ac81d7e18c1b6" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", "errno", @@ -10762,28 +10598,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.44" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "errno", "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustix" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" -dependencies = [ - "bitflags 2.9.1", - "errno", - "libc", - "linux-raw-sys 0.9.4", - "windows-sys 0.59.0", + "linux-raw-sys 0.4.14", + "windows-sys 0.52.0", ] [[package]] @@ -10805,7 +10628,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.14", + "ring 0.17.8", "rustls-webpki 0.101.7", "sct", ] @@ -10817,9 +10640,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" dependencies = [ "log", - "ring 0.17.14", + "ring 0.17.8", "rustls-pki-types", - "rustls-webpki 0.102.8", + "rustls-webpki 0.102.6", "subtle 2.6.1", "zeroize", ] @@ -10838,12 +10661,12 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.7.3" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" +checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba" dependencies = [ "openssl-probe", - "rustls-pemfile 2.2.0", + "rustls-pemfile 2.1.2", "rustls-pki-types", "schannel", "security-framework", @@ -10860,21 +10683,19 @@ dependencies = [ [[package]] name = "rustls-pemfile" -version = "2.2.0" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ + "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.12.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "229a4a4c221013e7e1f1a043678c5cc39fe5171437c88fb47151a21e6f5b5c79" -dependencies = [ - "zeroize", -] +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" @@ -10882,26 +10703,26 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.14", + "ring 0.17.8", "untrusted 0.9.0", ] [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.102.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" dependencies = [ - "ring 0.17.14", + "ring 0.17.8", "rustls-pki-types", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.21" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "ruzstd" @@ -10927,15 +10748,15 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.20" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" -version = "0.7.4" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b02de82ddbe1b636e6170c21be622223aea188ef2e139be0a5b219ec215323" +checksum = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" dependencies = [ "bytemuck", ] @@ -10957,7 +10778,7 @@ dependencies = [ "log", "sp-core", "sp-wasm-interface", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -10988,7 +10809,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11036,7 +10857,7 @@ dependencies = [ "array-bytes 6.2.3", "docify", "log", - "memmap2 0.9.5", + "memmap2 0.9.4", "parity-scale-codec", "sc-chain-spec-derive", "sc-client-api", @@ -11060,10 +10881,10 @@ name = "sc-chain-spec-derive" version = "11.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -11103,7 +10924,7 @@ dependencies = [ "sp-panic-handler", "sp-runtime", "sp-version", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -11182,7 +11003,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11211,7 +11032,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11247,7 +11068,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11269,7 +11090,7 @@ dependencies = [ "sp-core", "sp-keystore", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11304,7 +11125,7 @@ dependencies = [ "sp-mmr-primitives", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", "tokio", "wasm-timer", ] @@ -11325,7 +11146,7 @@ dependencies = [ "sp-consensus-beefy", "sp-core", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11346,7 +11167,7 @@ name = "sc-consensus-grandpa" version = "0.19.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", "array-bytes 6.2.3", "async-trait", "dyn-clone", @@ -11382,7 +11203,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11402,7 +11223,7 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11460,7 +11281,7 @@ dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", - "thiserror 1.0.69", + "thiserror", "wasm-instrument", ] @@ -11521,7 +11342,7 @@ dependencies = [ "sp-application-crypto", "sp-core", "sp-keystore", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11530,7 +11351,7 @@ version = "0.4.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "array-bytes 4.2.0", - "arrayvec 0.7.6", + "arrayvec 0.7.4", "blake2 0.10.6", "bytes", "futures", @@ -11550,7 +11371,7 @@ dependencies = [ "sp-keystore", "sp-mixnet", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11595,10 +11416,10 @@ dependencies = [ "sp-core", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", - "unsigned-varint 0.7.2", + "unsigned-varint", "void", "wasm-timer", "zeroize", @@ -11627,7 +11448,7 @@ name = "sc-network-gossip" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", "futures", "futures-timer", "libp2p", @@ -11660,7 +11481,7 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11695,7 +11516,7 @@ dependencies = [ "sp-core", "sp-runtime", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", ] @@ -11731,7 +11552,7 @@ dependencies = [ "multiaddr", "multihash 0.17.0", "rand 0.8.5", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11827,7 +11648,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11875,7 +11696,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-version", - "thiserror 1.0.69", + "thiserror", "tokio", "tokio-stream", ] @@ -11938,7 +11759,7 @@ dependencies = [ "static_init", "substrate-prometheus-endpoint", "tempfile", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing", "tracing-futures", @@ -11964,7 +11785,7 @@ dependencies = [ "fs4", "log", "sp-core", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -11984,7 +11805,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -11992,7 +11813,7 @@ name = "sc-sysinfo" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "derive_more 0.99.20", + "derive_more", "futures", "libc", "log", @@ -12024,7 +11845,7 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror", "wasm-timer", ] @@ -12052,7 +11873,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-tracing", - "thiserror 1.0.69", + "thiserror", "tracing", "tracing-log 0.1.4", "tracing-subscriber", @@ -12063,10 +11884,10 @@ name = "sc-tracing-proc-macro" version = "11.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -12093,7 +11914,7 @@ dependencies = [ "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -12109,7 +11930,7 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -12143,7 +11964,7 @@ version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ - "derive_more 0.99.20", + "derive_more", "parity-scale-codec", "scale-bits", "scale-type-resolver", @@ -12152,13 +11973,13 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.6" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "346a3b32eba2640d17a9cb5927056b08f3de90f65b72fe09402c2ad07d684d0b" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", - "derive_more 1.0.0", + "derive_more", "parity-scale-codec", "scale-info-derive", "serde", @@ -12166,14 +11987,14 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.6" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6630024bf739e2179b91fb424b28898baf819414262c5d376677dbff1fe7ebf" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 1.0.109", ] [[package]] @@ -12184,20 +12005,20 @@ checksum = "f0cded6518aa0bd6c1be2b88ac81bf7044992f0f154bfbabd5ad34f43512abcb" [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] name = "schnellru" -version = "0.2.4" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356285bbf17bea63d9e52e96bd18f039672ac92b55b8cb997d6162a2a37d1649" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -12209,7 +12030,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" dependencies = [ "arrayref", - "arrayvec 0.7.6", + "arrayvec 0.7.4", "curve25519-dalek-ng", "merlin", "rand_core 0.6.4", @@ -12226,13 +12047,13 @@ checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ "aead", "arrayref", - "arrayvec 0.7.6", + "arrayvec 0.7.4", "curve25519-dalek 4.1.3", "getrandom_or_panic", "merlin", "rand_core 0.6.4", "serde_bytes", - "sha2 0.10.9", + "sha2 0.10.8", "subtle 2.6.1", "zeroize", ] @@ -12245,9 +12066,9 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "scratch" -version = "1.0.8" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6280af86e5f559536da57a45ebc84948833b3bee313a7dd25232e09c878a52" +checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" [[package]] name = "sct" @@ -12255,7 +12076,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.14", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -12271,7 +12092,7 @@ dependencies = [ "log", "rand 0.8.5", "slab", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -12331,7 +12152,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -12340,9 +12161,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf" dependencies = [ "core-foundation-sys", "libc", @@ -12359,9 +12180,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.26" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -12374,50 +12195,49 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.219" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" +checksum = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" dependencies = [ "serde_derive", ] [[package]] name = "serde_bytes" -version = "0.11.17" +version = "0.11.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8437fd221bde2d4ca316d61b90e337e9e702b3820b87d63caa9ba6c02bd06d96" +checksum = "387cc504cb06bb40a96c8e04e951fe01854cf6bc921053c954e4a606d9675c6a" dependencies = [ "serde", ] [[package]] name = "serde_derive" -version = "1.0.219" +version = "1.0.204" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" +checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "4e0d21c9a8cae1235ad58a00c11cb40d4b1e5c784f1ef2c537876ed6ffd8b7c5" dependencies = [ "itoa", - "memchr", "ryu", "serde", ] [[package]] name = "serde_spanned" -version = "0.6.8" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -12492,9 +12312,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.9" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", @@ -12541,9 +12361,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -12566,9 +12386,9 @@ dependencies = [ [[package]] name = "simba" -version = "0.9.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" +checksum = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae" dependencies = [ "approx", "num-complex", @@ -12579,9 +12399,9 @@ dependencies = [ [[package]] name = "similar" -version = "2.7.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" +checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e" dependencies = [ "bstr", "unicode-segmentation", @@ -12589,9 +12409,9 @@ dependencies = [ [[package]] name = "similar-asserts" -version = "1.7.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b441962c817e33508847a22bd82f03a30cff43642dc2fae8b050566121eb9a" +checksum = "e041bb827d1bfca18f213411d51b665309f1afb37a04a5d1464530e13779fc0f" dependencies = [ "console", "similar", @@ -12603,7 +12423,7 @@ version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cae9a3fcdadafb6d97f4c0e007e4247b114ee0f119f650c3cbf3a8b3a1479694" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", ] [[package]] @@ -12668,9 +12488,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.15.0" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -12695,7 +12515,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0bb30cf57b7b5f6109ce17c3164445e2d6f270af2cb48f6e4d31c2967c9a9f5" dependencies = [ - "arrayvec 0.7.6", + "arrayvec 0.7.4", "async-lock 2.8.0", "atomic-take", "base64 0.21.7", @@ -12704,7 +12524,7 @@ dependencies = [ "bs58 0.5.1", "chacha20", "crossbeam-queue", - "derive_more 0.99.20", + "derive_more", "ed25519-zebra 4.0.3", "either", "event-listener 2.5.3", @@ -12731,7 +12551,7 @@ dependencies = [ "schnorrkel 0.10.2", "serde", "serde_json", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", "siphasher", "slab", @@ -12753,7 +12573,7 @@ dependencies = [ "async-lock 2.8.0", "base64 0.21.7", "blake2-rfc", - "derive_more 0.99.20", + "derive_more", "either", "event-listener 2.5.3", "fnv", @@ -12796,9 +12616,9 @@ dependencies = [ "chacha20poly1305", "curve25519-dalek 4.1.3", "rand_core 0.6.4", - "ring 0.17.14", + "ring 0.17.8", "rustc_version", - "sha2 0.10.9", + "sha2 0.10.8", "subtle 2.6.1", ] @@ -12814,9 +12634,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.9" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f5fd57c80058a56cf5c777ab8a126398ece8e442983605d280a44ce79d0edef" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", "windows-sys 0.52.0", @@ -12858,7 +12678,7 @@ dependencies = [ "sp-std", "sp-trie", "sp-version", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -12869,10 +12689,10 @@ dependencies = [ "Inflector", "blake2 0.10.6", "expander 2.2.1", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -12940,7 +12760,7 @@ dependencies = [ "sp-database", "sp-runtime", "sp-state-machine", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -12955,7 +12775,7 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -13080,7 +12900,7 @@ dependencies = [ "sp-storage", "ss58-registry", "substrate-bip39", - "thiserror 1.0.69", + "thiserror", "tracing", "w3f-bls", "zeroize", @@ -13094,7 +12914,7 @@ dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", "twox-hash", ] @@ -13106,7 +12926,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -13125,7 +12945,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -13160,7 +12980,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -13215,7 +13035,7 @@ name = "sp-maybe-compressed-blob" version = "11.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "thiserror 1.0.69", + "thiserror", "zstd 0.12.4", ] @@ -13254,7 +13074,7 @@ dependencies = [ "sp-core", "sp-debug-derive", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -13350,10 +13170,10 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "Inflector", "expander 2.2.1", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -13398,7 +13218,7 @@ dependencies = [ "sp-externalities", "sp-panic-handler", "sp-trie", - "thiserror 1.0.69", + "thiserror", "tracing", "trie-db", ] @@ -13415,7 +13235,7 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sha2 0.10.9", + "sha2 0.10.8", "sp-api", "sp-application-crypto", "sp-core", @@ -13423,7 +13243,7 @@ dependencies = [ "sp-externalities", "sp-runtime", "sp-runtime-interface", - "thiserror 1.0.69", + "thiserror", "x25519-dalek 2.0.1", ] @@ -13453,7 +13273,7 @@ dependencies = [ "parity-scale-codec", "sp-inherents", "sp-runtime", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -13495,7 +13315,7 @@ name = "sp-trie" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ - "ahash 0.8.12", + "ahash 0.8.11", "hash-db", "lazy_static", "memory-db", @@ -13507,7 +13327,7 @@ dependencies = [ "schnellru", "sp-core", "sp-externalities", - "thiserror 1.0.69", + "thiserror", "tracing", "trie-db", "trie-root", @@ -13527,7 +13347,7 @@ dependencies = [ "sp-runtime", "sp-std", "sp-version-proc-macro", - "thiserror 1.0.69", + "thiserror", ] [[package]] @@ -13538,7 +13358,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -13600,9 +13420,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.51.0" +version = "1.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19409f13998e55816d1c728395af0b52ec066206341d939e22e7766df9b494b8" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" dependencies = [ "Inflector", "num-format", @@ -13702,26 +13522,26 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "static_init" -version = "1.0.4" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bae1df58c5fea7502e8e352ec26b5579f6178e1fdb311e088580c980dee25ed" +checksum = "8a2a1c578e98c1c16fc3b8ec1328f7659a500737d7a0c6d625e73e830ff9c1f6" dependencies = [ "bitflags 1.3.2", - "cfg_aliases 0.2.1", + "cfg_aliases", "libc", - "parking_lot 0.12.3", - "parking_lot_core 0.9.10", + "parking_lot 0.11.2", + "parking_lot_core 0.8.6", "static_init_macro", "winapi", ] [[package]] name = "static_init_macro" -version = "1.0.4" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1389c88ddd739ec6d3f8f83343764a0e944cd23cfbf126a9796a714b0b6edd6f" +checksum = "70a2595fc3aa78f2d0e45dd425b22282dd863273761cc77780914b2cf3003acf" dependencies = [ - "cfg_aliases 0.1.1", + "cfg_aliases", "memchr", "proc-macro2", "quote", @@ -13736,7 +13556,7 @@ checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ "combine", "crc", - "fastrand 2.3.0", + "fastrand 2.1.0", "hmac 0.12.1", "once_cell", "openssl", @@ -13744,7 +13564,7 @@ dependencies = [ "sctp-proto", "serde", "sha-1 0.10.1", - "thiserror 1.0.69", + "thiserror", "tracing", ] @@ -13805,7 +13625,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -13816,7 +13636,7 @@ dependencies = [ "hmac 0.12.1", "pbkdf2", "schnorrkel 0.11.4", - "sha2 0.10.9", + "sha2 0.10.8", "zeroize", ] @@ -13852,7 +13672,7 @@ dependencies = [ "hyper", "log", "prometheus", - "thiserror 1.0.69", + "thiserror", "tokio", ] @@ -13896,7 +13716,7 @@ dependencies = [ "sp-version", "strum 0.26.3", "tempfile", - "toml 0.8.22", + "toml 0.8.15", "walkdir", "wasm-opt", ] @@ -13932,9 +13752,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.101" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -13955,31 +13775,31 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.2" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" +checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "system-configuration" -version = "0.6.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" +checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" dependencies = [ - "bitflags 2.9.1", + "bitflags 1.3.2", "core-foundation", "system-configuration-sys", ] [[package]] name = "system-configuration-sys" -version = "0.6.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4" +checksum = "a75fb188eb626b924683e3b95e3a48e63551fcfb51949de2f06a9d91dbee93c9" dependencies = [ "core-foundation-sys", "libc", @@ -13993,21 +13813,20 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.16" +version = "0.12.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" +checksum = "4873307b7c257eddcb50c9bedf158eb669578359fb28428bef438fec8e6ba7c2" [[package]] name = "tempfile" -version = "3.20.0" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ - "fastrand 2.3.0", - "getrandom 0.3.3", - "once_cell", - "rustix 1.0.7", - "windows-sys 0.59.0", + "cfg-if", + "fastrand 2.1.0", + "rustix 0.38.34", + "windows-sys 0.52.0", ] [[package]] @@ -14021,36 +13840,27 @@ dependencies = [ [[package]] name = "terminal_size" -version = "0.4.2" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "rustix 1.0.7", - "windows-sys 0.59.0", + "rustix 0.38.34", + "windows-sys 0.48.0", ] [[package]] name = "termtree" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683" - -[[package]] -name = "thiserror" -version = "1.0.69" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] +checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" [[package]] name = "thiserror" -version = "2.0.12" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl", ] [[package]] @@ -14070,29 +13880,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -14156,9 +13955,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.41" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -14171,15 +13970,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.4" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.22" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", @@ -14194,21 +13993,11 @@ dependencies = [ "crunchy", ] -[[package]] -name = "tinystr" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b" -dependencies = [ - "displaydoc", - "zerovec", -] - [[package]] name = "tinyvec" -version = "1.9.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09b3661f17e86524eccd4371ab0429194e0d7c008abb45f7a7495b1719463c71" +checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" dependencies = [ "tinyvec_macros", ] @@ -14221,31 +14010,31 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.45.0" +version = "1.39.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2513ca694ef9ede0fb23fe71a4ee4107cb102b9dc1930f6d0fd77aae068ae165" +checksum = "d040ac2b29ab03b09d4129c2f5bbd012a3ac2f79d38ff506a4bf8dd34b0eac8a" dependencies = [ "backtrace", "bytes", "libc", "mio", "parking_lot 0.12.3", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2 0.5.9", + "socket2 0.5.7", "tokio-macros", "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -14271,12 +14060,12 @@ dependencies = [ [[package]] name = "tokio-stream" -version = "0.1.17" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "tokio", "tokio-util", ] @@ -14298,15 +14087,15 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "tokio", ] @@ -14321,44 +14110,59 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.22" +version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05ae329d1f08c4d17a59bed7ff5b5a769d062e64a62d34a3261b219e62cd5aae" +checksum = "ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit", + "toml_edit 0.22.16", ] [[package]] name = "toml_datetime" -version = "0.6.9" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da5db5a963e24bc68be8b17b6fa82814bb22ee8660f192bb182771d498f09a3" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.22.26" +version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "310068873db2c5b3e7659d2cc35d21855dbafa50d1ce336397c666e3cb08137e" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.9.0", - "serde", - "serde_spanned", + "indexmap 2.2.6", "toml_datetime", - "toml_write", - "winnow", + "winnow 0.5.40", ] [[package]] -name = "toml_write" -version = "0.1.1" +name = "toml_edit" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfb942dfe1d8e29a7ee7fcbde5bd2b9a25fb89aa70caea2eba3bee836ff41076" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" +dependencies = [ + "indexmap 2.2.6", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788" +dependencies = [ + "indexmap 2.2.6", + "serde", + "serde_spanned", + "toml_datetime", + "winnow 0.6.15", +] [[package]] name = "tower" @@ -14369,7 +14173,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", "tracing", @@ -14381,58 +14185,58 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.9.1", + "bitflags 2.6.0", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", ] [[package]] name = "tower-layer" -version = "0.3.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" [[package]] name = "tower-service" -version = "0.3.3" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.16", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", "valuable", @@ -14465,10 +14269,10 @@ version = "5.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" dependencies = [ "expander 2.2.1", - "proc-macro-crate 3.3.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -14495,9 +14299,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.19" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8189decb5ac0fa7bc8b96b7cb9b2701d60d48805aca84a238004d665fcc4008" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "matchers", "nu-ansi-term", @@ -14552,7 +14356,7 @@ dependencies = [ "rand 0.8.5", "smallvec", "socket2 0.4.10", - "thiserror 1.0.69", + "thiserror", "tinyvec", "tokio", "tracing", @@ -14568,7 +14372,7 @@ dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.6.1", + "enum-as-inner 0.6.0", "futures-channel", "futures-io", "futures-util", @@ -14577,7 +14381,7 @@ dependencies = [ "once_cell", "rand 0.8.5", "smallvec", - "thiserror 1.0.69", + "thiserror", "tinyvec", "tokio", "tracing", @@ -14598,7 +14402,7 @@ dependencies = [ "parking_lot 0.12.3", "resolv-conf", "smallvec", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing", "trust-dns-proto 0.22.0", @@ -14619,7 +14423,7 @@ dependencies = [ "rand 0.8.5", "resolv-conf", "smallvec", - "thiserror 1.0.69", + "thiserror", "tokio", "tracing", "trust-dns-proto 0.23.2", @@ -14652,7 +14456,7 @@ dependencies = [ "rand 0.8.5", "rustls 0.21.12", "sha1", - "thiserror 1.0.69", + "thiserror", "url", "utf-8", ] @@ -14671,15 +14475,15 @@ dependencies = [ [[package]] name = "typenum" -version = "1.18.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.7" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "uint" @@ -14695,15 +14499,15 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.18" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -14716,21 +14520,21 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.12.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.2.0" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" -version = "0.2.6" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "universal-hash" @@ -14755,12 +14559,6 @@ dependencies = [ "tokio-util", ] -[[package]] -name = "unsigned-varint" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb066959b24b5196ae73cb057f45598450d2c5f71460e98c49b738086eff9c06" - [[package]] name = "untrusted" version = "0.7.1" @@ -14775,12 +14573,12 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", - "idna 1.0.3", + "idna 0.5.0", "percent-encoding", ] @@ -14790,12 +14588,6 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf8_iter" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" - [[package]] name = "utf8parse" version = "0.2.2" @@ -14804,9 +14596,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "valuable" -version = "0.1.1" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" [[package]] name = "vcpkg" @@ -14816,9 +14608,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.5" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "void" @@ -14828,9 +14620,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.9" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6bfb937b3d12077654a9e43e32a4e9c20177dd9fea0f3aba673e7840bb54f32" +checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -14839,12 +14631,14 @@ dependencies = [ "ark-serialize", "ark-serialize-derive", "arrayref", + "constcat", "digest 0.10.7", "rand 0.8.5", "rand_chacha 0.3.1", "rand_core 0.6.4", - "sha2 0.10.9", + "sha2 0.10.8", "sha3 0.10.8", + "thiserror", "zeroize", ] @@ -14885,15 +14679,6 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" -[[package]] -name = "wasi" -version = "0.14.2+wasi-0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" -dependencies = [ - "wit-bindgen-rt", -] - [[package]] name = "wasix" version = "0.12.21" @@ -14905,48 +14690,46 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", - "once_cell", - "rustversion", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.100" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", + "once_cell", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", - "once_cell", "wasm-bindgen", "web-sys", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -14954,25 +14737,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" -dependencies = [ - "unicode-ident", -] +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-instrument" @@ -14994,7 +14774,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror 1.0.69", + "thiserror", "wasm-opt-cxx-sys", "wasm-opt-sys", ] @@ -15139,7 +14919,7 @@ dependencies = [ "log", "rustix 0.36.17", "serde", - "sha2 0.10.9", + "sha2 0.10.8", "toml 0.5.11", "windows-sys 0.45.0", "zstd 0.11.2+zstd.1.5.2", @@ -15161,7 +14941,7 @@ dependencies = [ "log", "object 0.30.4", "target-lexicon", - "thiserror 1.0.69", + "thiserror", "wasmparser", "wasmtime-cranelift-shared", "wasmtime-environ", @@ -15196,7 +14976,7 @@ dependencies = [ "object 0.30.4", "serde", "target-lexicon", - "thiserror 1.0.69", + "thiserror", "wasmparser", "wasmtime-types", ] @@ -15279,15 +15059,15 @@ checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", - "thiserror 1.0.69", + "thiserror", "wasmparser", ] [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -15299,7 +15079,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.14", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -15444,14 +15224,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.44", + "rustix 0.38.34", ] [[package]] name = "wide" -version = "0.7.32" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41b5576b9a81633f3e8df296ce0063042a73507636cbe956c61133dd7034ab22" +checksum = "901e8597c777fa042e9e245bd56c0dc4418c5db3f845b6ff94fbac732c6a0692" dependencies = [ "bytemuck", "safe_arch", @@ -15459,9 +15239,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.2.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "winapi" @@ -15481,11 +15261,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -15496,92 +15276,32 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.53.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efc5cf48f83140dcaab716eeaea345f9e93d0018fb81162753a3f76c3397b538" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core 0.53.0", - "windows-targets 0.52.6", + "windows-core 0.51.1", + "windows-targets 0.48.5", ] [[package]] name = "windows-core" -version = "0.53.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9dcc5b895a6377f1ab9fa55acedab1fd5ac0db66ad1e6c7f47e28a22e446a5dd" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-targets 0.48.5", ] [[package]] name = "windows-core" -version = "0.61.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" -dependencies = [ - "windows-implement", - "windows-interface", - "windows-link", - "windows-result 0.3.4", - "windows-strings", -] - -[[package]] -name = "windows-implement" -version = "0.60.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", -] - -[[package]] -name = "windows-interface" -version = "0.59.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", -] - -[[package]] -name = "windows-link" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" - -[[package]] -name = "windows-result" -version = "0.1.2" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-result" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" -dependencies = [ - "windows-link", -] - -[[package]] -name = "windows-strings" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" -dependencies = [ - "windows-link", -] - [[package]] name = "windows-sys" version = "0.42.0" @@ -15624,15 +15344,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-targets" version = "0.42.2" @@ -15672,29 +15383,13 @@ dependencies = [ "windows_aarch64_gnullvm 0.52.6", "windows_aarch64_msvc 0.52.6", "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", + "windows_i686_gnullvm", "windows_i686_msvc 0.52.6", "windows_x86_64_gnu 0.52.6", "windows_x86_64_gnullvm 0.52.6", "windows_x86_64_msvc 0.52.6", ] -[[package]] -name = "windows-targets" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" -dependencies = [ - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", -] - [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -15713,12 +15408,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -15737,12 +15426,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -15761,24 +15444,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" -[[package]] -name = "windows_i686_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" - [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -15797,12 +15468,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_i686_msvc" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -15821,12 +15486,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" - [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -15845,12 +15504,6 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -15870,16 +15523,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "windows_x86_64_msvc" -version = "0.53.0" +name = "winnow" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] [[package]] name = "winnow" -version = "0.7.10" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06928c8748d81b05c9be96aad92e1b6ff01833332f281e8cfca3be4b35fc9ec" +checksum = "557404e450152cd6795bb558bca69e43c585055f4606e3bcae5894fc6dac9ba0" dependencies = [ "memchr", ] @@ -15894,21 +15550,6 @@ dependencies = [ "windows-sys 0.48.0", ] -[[package]] -name = "wit-bindgen-rt" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" -dependencies = [ - "bitflags 2.9.1", -] - -[[package]] -name = "writeable" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" - [[package]] name = "wyz" version = "0.5.1" @@ -15955,7 +15596,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror 1.0.69", + "thiserror", "time", ] @@ -15972,7 +15613,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror 1.0.69", + "thiserror", "time", ] @@ -15999,7 +15640,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -16025,69 +15666,24 @@ dependencies = [ "time", ] -[[package]] -name = "yoke" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f41bb01b8226ef4bfd589436a297c53d118f65921786300e427be8d487695cc" -dependencies = [ - "serde", - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", - "synstructure 0.13.2", -] - [[package]] name = "zerocopy" -version = "0.8.25" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.25" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", -] - -[[package]] -name = "zerofrom" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", - "synstructure 0.13.2", + "syn 2.0.72", ] [[package]] @@ -16107,40 +15703,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.101", -] - -[[package]] -name = "zerotrie" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36f0bbd478583f79edad978b407914f61b2972f5af6fa089686016be8f9af595" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", -] - -[[package]] -name = "zerovec" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.101", + "syn 2.0.72", ] [[package]] @@ -16183,9 +15746,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.15+zstd.1.5.7" +version = "2.0.12+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" +checksum = "0a4e40c320c3cb459d9a9ff6de98cff88f4751ee9275d140e2be94a2b74e4c13" dependencies = [ "cc", "pkg-config", From 4616b5dbbdb1c865de2beb791eaa52f2730b1a33 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Thu, 14 Aug 2025 12:35:29 +0200 Subject: [PATCH 04/89] fix cargo.lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 3ee4d3e1..2dee91be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 4 +version = 3 [[package]] name = "Inflector" From eec273e3bb537951d9f9847f8625eebf30746bca Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 15 Jul 2025 16:23:54 +0200 Subject: [PATCH 05/89] foriegn assets --- pallets/asset-router/src/lib.rs | 125 ++++++++++++++++++++++++++++++++ runtime/src/lib.rs | 31 +++++++- 2 files changed, 155 insertions(+), 1 deletion(-) create mode 100644 pallets/asset-router/src/lib.rs diff --git a/pallets/asset-router/src/lib.rs b/pallets/asset-router/src/lib.rs new file mode 100644 index 00000000..53724b96 --- /dev/null +++ b/pallets/asset-router/src/lib.rs @@ -0,0 +1,125 @@ +// src/lib.rs +#![cfg_attr(not(feature = "std"), no_std)] + +use frame_support::{ + dispatch::DispatchResult, + pallet_prelude::*, + traits::fungibles::{Inspect, Mutate, Transfer}, +}; +use frame_system::pallet_prelude::*; + +// Define a unified AssetId enum +#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +pub enum AssetId { + Native, + Local(u32), + Foreign(u32), +} + +// Router struct +pub struct AssetRouter; + +// --- Transfer --- +impl Transfer for AssetRouter { + fn transfer( + asset: AssetId, + from: &T::AccountId, + to: &T::AccountId, + amount: T::Balance, + keep_alive: bool, + ) -> DispatchResult { + match asset { + AssetId::Native => pallet_balances::Pallet::::transfer( + frame_system::RawOrigin::Signed(from.clone()).into(), + to.clone(), + amount, + ), + AssetId::Local(id) => pallet_assets::Pallet::::transfer( + frame_system::RawOrigin::Signed(from.clone()).into(), + id, + to.clone(), + amount, + ), + AssetId::Foreign(id) => pallet_assets::Pallet::::transfer( + frame_system::RawOrigin::Signed(from.clone()).into(), + id, + to.clone(), + amount, + ), + } + } +} + +// --- Inspect --- +impl Inspect for AssetRouter { + type AssetId = AssetId; + type Balance = T::Balance; + + fn balance(asset: Self::AssetId, who: &T::AccountId) -> Self::Balance { + match asset { + AssetId::Native => pallet_balances::Pallet::::free_balance(who), + AssetId::Local(id) => pallet_assets::Pallet::::balance(id, who), + AssetId::Foreign(id) => pallet_assets::Pallet::::balance(id, who), + } + } + + fn total_issuance(asset: Self::AssetId) -> Self::Balance { + match asset { + AssetId::Native => pallet_balances::Pallet::::total_issuance(), + AssetId::Local(id) => pallet_assets::Pallet::::total_issuance(id), + AssetId::Foreign(id) => pallet_assets::Pallet::::total_issuance(id), + } + } +} + +// --- Mutate --- +impl Mutate for AssetRouter { + fn mint_into(asset: Self::AssetId, dest: &T::AccountId, amount: Self::Balance) -> DispatchResult { + match asset { + AssetId::Native => pallet_balances::Pallet::::deposit_creating(dest, amount), + AssetId::Local(id) => pallet_assets::Pallet::::mint( + frame_system::RawOrigin::Root.into(), + id, + dest.clone(), + amount, + ), + AssetId::Foreign(id) => pallet_assets::Pallet::::mint( + frame_system::RawOrigin::Root.into(), + id, + dest.clone(), + amount, + ), + }; + Ok(()) + } + + fn burn_from(asset: Self::AssetId, dest: &T::AccountId, amount: Self::Balance) -> DispatchResult { + match asset { + AssetId::Native => pallet_balances::Pallet::::withdraw( + dest, + amount, + frame_support::traits::WithdrawReasons::TRANSFER, + frame_support::traits::ExistenceRequirement::AllowDeath, + ).map(|_| ()), + AssetId::Local(id) => pallet_assets::Pallet::::burn( + frame_system::RawOrigin::Signed(dest.clone()).into(), + id, + amount, + ), + AssetId::Foreign(id) => pallet_assets::Pallet::::burn( + frame_system::RawOrigin::Signed(dest.clone()).into(), + id, + amount, + ), + } + } +} + +// Pallet configuration trait +pub trait Config: frame_system::Config { + type Balance: Parameter + AtLeast32BitUnsigned + Default + Copy + MaxEncodedLen; +} + +// Dummy instance markers for assets pallets +pub enum Instance1 {} +pub enum Instance2 {} diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9b9ab820..90bf99ab 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -59,7 +59,8 @@ pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; pub use sp_runtime::{MultiAddress, Perbill, Permill}; use pallet_transaction_payment::{ConstFeeMultiplier, Multiplier}; use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; -use xcm_config::{XcmOriginToTransactDispatchOrigin}; +use xcm::v3::MultiLocation; +use xcm_config::XcmOriginToTransactDispatchOrigin; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -874,6 +875,14 @@ parameter_types! { pub const MetadataDepositPerByte: Balance = 1 * OTP; } +pub enum UnifiedAssetId { + Native, + Local(u32), + Foreign(MultiLocation), // now directly holds location +} + + +// Local Assets impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = u128; @@ -895,6 +904,26 @@ impl pallet_assets::Config for Runtime { type RemoveItemsLimit = ConstU32<656>; } +// Foreign Assets +type ForeignAssets = pallet_assets::Instance2; +impl pallet_assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = MultiLocation; + type Currency = Balances; + type CreateOrigin = EnsureRoot; + type ForceOrigin = EnsureRoot; + type AssetDeposit = ForeignAssetDeposit; + type AssetAccountDeposit = ForeignAssetAccountDeposit; + type MetadataDepositBase = ConstU32<0>; + type MetadataDepositPerByte = ConstU32<0>; + type ApprovalDeposit = ForeignAssetApprovalDeposit; + type StringLimit = ForeignAssetStringLimit; + type Freezer = (); + type Extra = (); + type WeightInfo = (); +} + pub struct EvmRevertCodeHandler; impl pallet_xc_asset_config::XcAssetChanged for EvmRevertCodeHandler { fn xc_asset_registered(asset_id: AssetId) { From 0489a855c5db7cebf8a679ebc375965c238d3ecd Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 21 Jul 2025 18:30:25 +0200 Subject: [PATCH 06/89] Add ForeignAssets --- pallets/asset-router/src/lib.rs | 125 -------------------------------- runtime/src/assets.rs | 90 +++++++++++++++++++++++ runtime/src/lib.rs | 101 +++----------------------- 3 files changed, 101 insertions(+), 215 deletions(-) delete mode 100644 pallets/asset-router/src/lib.rs create mode 100644 runtime/src/assets.rs diff --git a/pallets/asset-router/src/lib.rs b/pallets/asset-router/src/lib.rs deleted file mode 100644 index 53724b96..00000000 --- a/pallets/asset-router/src/lib.rs +++ /dev/null @@ -1,125 +0,0 @@ -// src/lib.rs -#![cfg_attr(not(feature = "std"), no_std)] - -use frame_support::{ - dispatch::DispatchResult, - pallet_prelude::*, - traits::fungibles::{Inspect, Mutate, Transfer}, -}; -use frame_system::pallet_prelude::*; - -// Define a unified AssetId enum -#[derive(Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)] -pub enum AssetId { - Native, - Local(u32), - Foreign(u32), -} - -// Router struct -pub struct AssetRouter; - -// --- Transfer --- -impl Transfer for AssetRouter { - fn transfer( - asset: AssetId, - from: &T::AccountId, - to: &T::AccountId, - amount: T::Balance, - keep_alive: bool, - ) -> DispatchResult { - match asset { - AssetId::Native => pallet_balances::Pallet::::transfer( - frame_system::RawOrigin::Signed(from.clone()).into(), - to.clone(), - amount, - ), - AssetId::Local(id) => pallet_assets::Pallet::::transfer( - frame_system::RawOrigin::Signed(from.clone()).into(), - id, - to.clone(), - amount, - ), - AssetId::Foreign(id) => pallet_assets::Pallet::::transfer( - frame_system::RawOrigin::Signed(from.clone()).into(), - id, - to.clone(), - amount, - ), - } - } -} - -// --- Inspect --- -impl Inspect for AssetRouter { - type AssetId = AssetId; - type Balance = T::Balance; - - fn balance(asset: Self::AssetId, who: &T::AccountId) -> Self::Balance { - match asset { - AssetId::Native => pallet_balances::Pallet::::free_balance(who), - AssetId::Local(id) => pallet_assets::Pallet::::balance(id, who), - AssetId::Foreign(id) => pallet_assets::Pallet::::balance(id, who), - } - } - - fn total_issuance(asset: Self::AssetId) -> Self::Balance { - match asset { - AssetId::Native => pallet_balances::Pallet::::total_issuance(), - AssetId::Local(id) => pallet_assets::Pallet::::total_issuance(id), - AssetId::Foreign(id) => pallet_assets::Pallet::::total_issuance(id), - } - } -} - -// --- Mutate --- -impl Mutate for AssetRouter { - fn mint_into(asset: Self::AssetId, dest: &T::AccountId, amount: Self::Balance) -> DispatchResult { - match asset { - AssetId::Native => pallet_balances::Pallet::::deposit_creating(dest, amount), - AssetId::Local(id) => pallet_assets::Pallet::::mint( - frame_system::RawOrigin::Root.into(), - id, - dest.clone(), - amount, - ), - AssetId::Foreign(id) => pallet_assets::Pallet::::mint( - frame_system::RawOrigin::Root.into(), - id, - dest.clone(), - amount, - ), - }; - Ok(()) - } - - fn burn_from(asset: Self::AssetId, dest: &T::AccountId, amount: Self::Balance) -> DispatchResult { - match asset { - AssetId::Native => pallet_balances::Pallet::::withdraw( - dest, - amount, - frame_support::traits::WithdrawReasons::TRANSFER, - frame_support::traits::ExistenceRequirement::AllowDeath, - ).map(|_| ()), - AssetId::Local(id) => pallet_assets::Pallet::::burn( - frame_system::RawOrigin::Signed(dest.clone()).into(), - id, - amount, - ), - AssetId::Foreign(id) => pallet_assets::Pallet::::burn( - frame_system::RawOrigin::Signed(dest.clone()).into(), - id, - amount, - ), - } - } -} - -// Pallet configuration trait -pub trait Config: frame_system::Config { - type Balance: Parameter + AtLeast32BitUnsigned + Default + Copy + MaxEncodedLen; -} - -// Dummy instance markers for assets pallets -pub enum Instance1 {} -pub enum Instance2 {} diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs new file mode 100644 index 00000000..5ffb296f --- /dev/null +++ b/runtime/src/assets.rs @@ -0,0 +1,90 @@ +use super::*; +use frame_support::{ + pallet_prelude::*, + traits::{ + fungible::{Inspect as FungibleInspect, Mutate as FungibleMutate, Unbalanced as FungibleUnbalanced}, fungibles::{Dust, Inspect as FungiblesInspect, Mutate as FungiblesMutate, Unbalanced as FungiblesUnbalanced}, + tokens::{fungibles, DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}, + AsEnsureOriginWithArg, + }, +}; + +/// The existential deposit. Set to 1/10 of the Connected Relay Chain. +pub const EXISTENTIAL_DEPOSIT: Balance = OTP; + +parameter_types! { + pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; +} + +// Native Asset +impl pallet_balances::Config for Runtime { + type MaxLocks = ConstU32<50>; + /// The type for recording an account's balance. + type Balance = Balance; + /// The ubiquitous event type. + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ExistentialDeposit; + type AccountStore = System; + type WeightInfo = pallet_balances::weights::SubstrateWeight; + type MaxReserves = ConstU32<50>; + type ReserveIdentifier = [u8; 8]; + type RuntimeHoldReason = RuntimeHoldReason; + type RuntimeFreezeReason = RuntimeFreezeReason; + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<1>; +} + +parameter_types! { + pub const AssetDeposit: Balance = 100 * OTP; + pub const AssetAccountDeposit: Balance = 100 * OTP; + pub const ApprovalDeposit: Balance = 0; + pub const StringLimit: u32 = 50; + pub const MetadataDepositBase: Balance = 10 * OTP; + pub const MetadataDepositPerByte: Balance = 1 * OTP; +} + +// Local Assets +impl pallet_assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = AssetId; + type AssetIdParameter = codec::Compact; + type Currency = Balances; + type CreateOrigin = AsEnsureOriginWithArg>; + type ForceOrigin = EnsureRoot; + type AssetDeposit = AssetDeposit; + type AssetAccountDeposit = AssetAccountDeposit; + type MetadataDepositBase = MetadataDepositBase; + type MetadataDepositPerByte = MetadataDepositPerByte; + type ApprovalDeposit = ApprovalDeposit; + type StringLimit = StringLimit; + type Freezer = (); + type Extra = (); + type CallbackHandle = (); + type WeightInfo = pallet_assets::weights::SubstrateWeight; + type RemoveItemsLimit = ConstU32<656>; +} + +// Foreign Assets +impl pallet_assets::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = MultiLocation; + type AssetIdParameter = MultiLocation; + type Currency = Balances; + type CreateOrigin = AsEnsureOriginWithArg>; + type ForceOrigin = EnsureRoot; + type AssetDeposit = AssetDeposit; + type AssetAccountDeposit = AssetAccountDeposit; + type MetadataDepositBase = MetadataDepositBase; + type MetadataDepositPerByte = MetadataDepositPerByte; + type ApprovalDeposit = ApprovalDeposit; + type StringLimit = StringLimit; + type Freezer = (); + type Extra = (); + type CallbackHandle = (); + type WeightInfo = pallet_assets::weights::SubstrateWeight; + type RemoveItemsLimit = ConstU32<656>; +} + + diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 90bf99ab..8ba11f06 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -6,8 +6,10 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); +mod assets; mod weights; pub mod xcm_config; +pub use frame_support::traits::Get; use cumulus_pallet_parachain_system::RelayNumberMonotonicallyIncreases; use smallvec::smallvec; @@ -17,7 +19,7 @@ use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, DispatchResult, traits::{ AccountIdConversion, IdentityLookup, BlakeTwo256, Block as BlockT, - ConvertInto, DispatchInfoOf, Dispatchable, IdentifyAccount, + ConvertInto, DispatchInfoOf, Dispatchable, IdentifyAccount, PostDispatchInfoOf, UniqueSaturatedInto, Verify, One }, transaction_validity::{ @@ -38,9 +40,9 @@ use frame_support::{ traits::{ tokens::{PayFromAccount, UnityAssetBalanceConversion}, fungible::{Balanced, Credit, HoldConsideration, Inspect}, - AsEnsureOriginWithArg, Currency as PalletCurrency, EqualPrivilegeOnly, EitherOfDiverse, + Currency as PalletCurrency, EqualPrivilegeOnly, EitherOfDiverse, Everything, FindAuthor, ReservableCurrency, Imbalance, InstanceFilter, OnUnbalanced, ConstBool, - ConstU128, ConstU32, ConstU64, ConstU8, WithdrawReasons, OnFinalize, LinearStoragePrice, + ConstU32, ConstU64, ConstU8, WithdrawReasons, OnFinalize, LinearStoragePrice, ExistenceRequirement, TransformOrigin }, dispatch::DispatchClass, @@ -182,9 +184,6 @@ pub const OTP: Balance = 1_000_000_000_000; pub const MILLIOTP: Balance = 1_000_000_000; pub const MICROOTP: Balance = 1_000_000; -/// The existential deposit. Set to 1/10 of the Connected Relay Chain. -pub const EXISTENTIAL_DEPOSIT: Balance = OTP; - /// We assume that ~5% of the block weight is consumed by `on_initialize` handlers. This is /// used to limit the maximal weight of a single extrinsic. const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(5); @@ -324,30 +323,8 @@ impl pallet_authorship::Config for Runtime { type EventHandler = (CollatorSelection,); } -parameter_types! { - pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; -} - -impl pallet_balances::Config for Runtime { - type MaxLocks = ConstU32<50>; - /// The type for recording an account's balance. - type Balance = Balance; - /// The ubiquitous event type. - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ExistentialDeposit; - type AccountStore = System; - type WeightInfo = pallet_balances::weights::SubstrateWeight; - type MaxReserves = ConstU32<50>; - type ReserveIdentifier = [u8; 8]; - type RuntimeHoldReason = RuntimeHoldReason; - type RuntimeFreezeReason = RuntimeFreezeReason; - type FreezeIdentifier = (); - type MaxFreezes = ConstU32<1>; -} - -pub struct ToStakingPot; -impl OnUnbalanced> for ToStakingPot +pub struct CollatorsIncentivesPot; +impl OnUnbalanced> for CollatorsIncentivesPot { fn on_nonzero_unbalanced(amount: Credit) { let staking_pot = PotId::get().into_account_truncating(); @@ -360,8 +337,8 @@ impl OnUnbalanced> for FutureAuctionsPot { fn on_nonzero_unbalanced(amount: Credit) { let future_auctions_pot = FutureAuctionsPalletId::get().into_account_truncating(); - let _ = Balances::resolve(&future_auctions_pot, amount); - } + let _ = Balances::resolve(&future_auctions_pot, amount); + } } pub struct DkgIncentivesPot; @@ -727,7 +704,7 @@ impl pallet_base_fee::Config for Runtime { type FungibleAccountId = ::AccountId; -type BalanceFor = +type BalanceFor = <::Currency as Inspect>>::Balance; pub struct OnChargeEVMTransaction(sp_std::marker::PhantomData); @@ -867,63 +844,6 @@ impl AddressToAssetId for Runtime { } } -parameter_types! { - pub const AssetDeposit: Balance = 100 * OTP; - pub const ApprovalDeposit: Balance = 0; - pub const StringLimit: u32 = 50; - pub const MetadataDepositBase: Balance = 10 * OTP; - pub const MetadataDepositPerByte: Balance = 1 * OTP; -} - -pub enum UnifiedAssetId { - Native, - Local(u32), - Foreign(MultiLocation), // now directly holds location -} - - -// Local Assets -impl pallet_assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = u128; - type AssetId = AssetId; - type AssetIdParameter = codec::Compact; - type Currency = Balances; - type CreateOrigin = AsEnsureOriginWithArg>; - type ForceOrigin = EnsureRoot; - type AssetDeposit = AssetDeposit; - type AssetAccountDeposit = ConstU128; - type MetadataDepositBase = MetadataDepositBase; - type MetadataDepositPerByte = MetadataDepositPerByte; - type ApprovalDeposit = ApprovalDeposit; - type StringLimit = StringLimit; - type Freezer = (); - type Extra = (); - type CallbackHandle = (); - type WeightInfo = pallet_assets::weights::SubstrateWeight; - type RemoveItemsLimit = ConstU32<656>; -} - -// Foreign Assets -type ForeignAssets = pallet_assets::Instance2; -impl pallet_assets::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Balance = Balance; - type AssetId = MultiLocation; - type Currency = Balances; - type CreateOrigin = EnsureRoot; - type ForceOrigin = EnsureRoot; - type AssetDeposit = ForeignAssetDeposit; - type AssetAccountDeposit = ForeignAssetAccountDeposit; - type MetadataDepositBase = ConstU32<0>; - type MetadataDepositPerByte = ConstU32<0>; - type ApprovalDeposit = ForeignAssetApprovalDeposit; - type StringLimit = ForeignAssetStringLimit; - type Freezer = (); - type Extra = (); - type WeightInfo = (); -} - pub struct EvmRevertCodeHandler; impl pallet_xc_asset_config::XcAssetChanged for EvmRevertCodeHandler { fn xc_asset_registered(asset_id: AssetId) { @@ -1191,6 +1111,7 @@ construct_runtime!( Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event} = 13, Assets: pallet_assets::{Pallet, Call, Storage, Event} = 14, XcAssetConfig: pallet_xc_asset_config = 15, + ForeignAssets: pallet_assets::::{Pallet, Call, Storage, Event} = 16, // Collator support. The order of these 4 are important and shall not change. Authorship: pallet_authorship::{Pallet, Storage} = 20, From c8a3e4e35efbeb822b8090ff753f10d73926d359 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 21 Jul 2025 18:30:49 +0200 Subject: [PATCH 07/89] Add MultiCurrencyAdapter --- runtime/src/assets.rs | 236 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 236 insertions(+) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 5ffb296f..c251ea6b 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -87,4 +87,240 @@ impl pallet_assets::Config for Runtime { type RemoveItemsLimit = ConstU32<656>; } +// MulticurrencyAdapter +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] +pub enum UnifiedAssetId { + Native, + Local(u128), + Foreign(MultiLocation), // now directly holds location +} + +pub struct MulticurrencyAdapter; +impl FungiblesInspect for MulticurrencyAdapter { + type AssetId = UnifiedAssetId; + type Balance = u128; + + fn total_issuance(asset: UnifiedAssetId) -> Self::Balance { + match asset { + UnifiedAssetId::Native => + >::total_issuance(), + UnifiedAssetId::Local(id) => + >::total_issuance(id.into()), + UnifiedAssetId::Foreign(loc) => + >::total_issuance(loc), + } + } + + fn minimum_balance(asset: UnifiedAssetId) -> Self::Balance { + match asset { + UnifiedAssetId::Native => >::minimum_balance(), + UnifiedAssetId::Local(id) => >::minimum_balance(id.into()), + UnifiedAssetId::Foreign(loc) => >::minimum_balance(loc), + } + } + + fn balance(asset: UnifiedAssetId, who: &AccountId) -> Self::Balance { + match asset { + UnifiedAssetId::Native => >::balance(who), + UnifiedAssetId::Local(id) => >::balance(id.into(), who), + UnifiedAssetId::Foreign(loc) => >::balance(loc, who), + } + } + + fn reducible_balance( + asset: UnifiedAssetId, + who: &AccountId, + preservation: Preservation, + force: Fortitude, + ) -> Self::Balance { + match asset { + UnifiedAssetId::Native => { + >::reducible_balance( + who, preservation, force + ) + }, + UnifiedAssetId::Local(id) => { + >::reducible_balance( + id.into(), who, preservation, force + ) + }, + UnifiedAssetId::Foreign(loc) => { + >::reducible_balance( + loc, who, preservation, force + ) + }, + } + } + + fn can_deposit( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + mint: Provenance, + ) -> DepositConsequence { + match asset { + UnifiedAssetId::Native => + >::can_deposit(who, amount, mint), + UnifiedAssetId::Local(id) => + >::can_deposit(id.into(), who, amount, mint), + UnifiedAssetId::Foreign(loc) => + >::can_deposit(loc, who, amount, mint), + } + } + + fn can_withdraw( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + ) -> WithdrawConsequence { + match asset { + UnifiedAssetId::Native => + >::can_withdraw(who, amount), + UnifiedAssetId::Local(id) => + >::can_withdraw(id.into(), who, amount), + UnifiedAssetId::Foreign(loc) => + >::can_withdraw(loc, who, amount), + } + } + + fn asset_exists(asset: UnifiedAssetId) -> bool { + match asset { + UnifiedAssetId::Native => true, + UnifiedAssetId::Local(id) => >::asset_exists(id.into()), + UnifiedAssetId::Foreign(loc) => >::asset_exists(loc), + } + } + + fn total_balance(asset: UnifiedAssetId, who: &AccountId) -> Self::Balance { + match asset { + UnifiedAssetId::Native => + >::total_balance(who), + UnifiedAssetId::Local(id) => + >::total_balance(id.into(), who), + UnifiedAssetId::Foreign(loc) => + >::total_balance(loc, who), + } + } +} +impl FungiblesMutate for MulticurrencyAdapter { + fn mint_into( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + ) -> Result { + match asset { + UnifiedAssetId::Native => >::mint_into(who, amount), + UnifiedAssetId::Local(id) => >::mint_into(id.into(), who, amount), + UnifiedAssetId::Foreign(loc) => >::mint_into(loc, who, amount), + } + } + + fn burn_from( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + precision: Precision, + force: Fortitude, + ) -> Result { + match asset { + UnifiedAssetId::Native => { + >::burn_from( + who, amount, precision, force + ) + }, + UnifiedAssetId::Local(id) => >::burn_from(id.into(), who, amount, precision, force), + UnifiedAssetId::Foreign(loc) => >::burn_from(loc, who, amount, precision, force), + } + } + + fn transfer( + asset: UnifiedAssetId, + source: &AccountId, + dest: &AccountId, + amount: Self::Balance, + preservation: Preservation, + ) -> Result { + match asset { + UnifiedAssetId::Native => { + >::transfer( + source, + dest, + amount, + preservation + ) + }, + UnifiedAssetId::Local(id) => { + >::transfer( + id.into(), source, dest, amount, preservation + ) + }, + UnifiedAssetId::Foreign(loc) => { + >::transfer( + loc, source, dest, amount, preservation + ) + } + } + } + + fn set_balance( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + ) -> Self::Balance { + let current = Self::balance(asset.clone(), who); + + match current.cmp(&amount) { + core::cmp::Ordering::Greater => { + if let Err(e) = Self::burn_from(asset, who, current - amount, Precision::BestEffort, Fortitude::Force) { + log::warn!("Failed to burn excess balance: {:?}", e); + } + }, + core::cmp::Ordering::Less => { + if let Err(e) = Self::mint_into(asset, who, amount - current) { + log::warn!("Failed to mint required balance: {:?}", e); + } + }, + core::cmp::Ordering::Equal => { + // Already at target balance + } + } + + amount + } +} + +impl FungiblesUnbalanced for MulticurrencyAdapter { + fn handle_dust(_dust: Dust) { + // No-op: You can log it, burn it, or track it if needed + } + + fn write_balance( + asset: UnifiedAssetId, + who: &AccountId, + amount: Self::Balance, + ) -> Result, DispatchError> { + match asset { + UnifiedAssetId::Native => { + >::write_balance(who, amount) + }, + UnifiedAssetId::Local(id) => { + >::write_balance(id.into(), who, amount) + }, + UnifiedAssetId::Foreign(loc) => { + >::write_balance(loc, who, amount) + }, + } + } + + fn set_total_issuance(asset: UnifiedAssetId, amount: Self::Balance) { + match asset { + UnifiedAssetId::Native => + >::set_total_issuance(amount), + UnifiedAssetId::Local(id) => + >::set_total_issuance(id.into(), amount), + UnifiedAssetId::Foreign(loc) => + >::set_total_issuance(loc, amount), + } + } +} From 66ec3e69101c58f31efcc6ccd8c55c133cc3a5bb Mon Sep 17 00:00:00 2001 From: cl0w Date: Wed, 23 Jul 2025 11:41:13 +0200 Subject: [PATCH 08/89] add pallet-wrapper --- Cargo.lock | 25 ++++ Cargo.toml | 2 + pallets/wrapper/Cargo.toml | 57 ++++++++++ pallets/wrapper/src/lib.rs | 226 +++++++++++++++++++++++++++++++++++++ runtime/Cargo.toml | 11 +- runtime/src/assets.rs | 29 ++++- runtime/src/lib.rs | 23 +++- 7 files changed, 363 insertions(+), 10 deletions(-) create mode 100644 pallets/wrapper/Cargo.toml create mode 100644 pallets/wrapper/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 2dee91be..8f2a8331 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6270,7 +6270,12 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", "pallet-utility", +<<<<<<< HEAD "pallet-vesting", +======= + "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-wrapper", +>>>>>>> c9d25a0 (add pallet-wrapper) "pallet-xc-asset-config", "pallet-xcm", "parachains-common", @@ -7947,6 +7952,26 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-wrapper" +version = "0.1.0" +dependencies = [ + "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "log", + "pallet-assets", + "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "parity-scale-codec", + "scale-info", + "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", +] + [[package]] name = "pallet-xc-asset-config" version = "1.1.1" diff --git a/Cargo.toml b/Cargo.toml index c5c779d7..2abe23ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -178,6 +178,7 @@ xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/parit xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } # Local +pallet-wrapper = { path = "pallets/wrapper", default-features = false } neuroweb-runtime = { path = "./runtime" } precompile-utils = { path = "./precompiles/utils", default-features = false } @@ -185,3 +186,4 @@ precompile-utils = { path = "./precompiles/utils", default-features = false } # Build deps substrate-wasm-builder = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } + diff --git a/pallets/wrapper/Cargo.toml b/pallets/wrapper/Cargo.toml new file mode 100644 index 00000000..87699f25 --- /dev/null +++ b/pallets/wrapper/Cargo.toml @@ -0,0 +1,57 @@ +[package] +name = "pallet-wrapper" +version = "0.1.0" +description = "TRAC token wrapper pallet for converting between foreign and local TRAC assets" +authors.workspace = true +edition.workspace = true +repository.workspace = true + +[dependencies] +# Substrate Core +codec = { workspace = true, features = ["derive"], default-features = false } +scale-info = { workspace = true, features = ["derive"], default-features = false } +log = { workspace = true, default-features = false } + +# Frame Dependencies +frame-benchmarking = { workspace = true, optional = true, default-features = false } +frame-support = { workspace = true, default-features = false } +frame-system = { workspace = true, default-features = false } +sp-core = { workspace = true, default-features = false } +sp-runtime = { workspace = true, default-features = false } +sp-std = { workspace = true, default-features = false } + +# XCM Dependencies (for MultiLocation support) +xcm = { workspace = true, default-features = false } + +[dev-dependencies] +# Testing Dependencies +pallet-balances = { workspace = true, default-features = false } +pallet-assets = { workspace = true, default-features = false } +sp-io = { workspace = true, default-features = false } +sp-keystore = { workspace = true, default-features = false } + +[features] +default = ["std"] +std = [ + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "log/std", + "scale-info/std", + "sp-core/std", + "sp-runtime/std", + "sp-std/std", + "xcm/std", +] +runtime-benchmarks = [ + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs new file mode 100644 index 00000000..c52aa69a --- /dev/null +++ b/pallets/wrapper/src/lib.rs @@ -0,0 +1,226 @@ +#![cfg_attr(not(feature = "std"), no_std)] + +use frame_support::{ + dispatch::{DispatchResult, DispatchResultWithPostInfo}, + pallet_prelude::*, + traits::{ + fungibles::{Inspect, Mutate}, + Get, + }, +}; +use frame_system::pallet_prelude::*; +use sp_runtime::traits::{AccountIdConversion, Zero}; +use codec::Codec; +use sp_runtime::traits::AtLeast32BitUnsigned; + +pub use pallet::*; + +#[frame_support::pallet] +pub mod pallet { + use super::*; + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::config] + pub trait Config: frame_system::Config { + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + /// Multi-currency support for handling TRAC assets + type MultiCurrency: Inspect + + Mutate; + + type AssetId: Parameter + + Member + + Clone + + MaybeSerializeDeserialize + + Ord + + TypeInfo + + MaxEncodedLen; + + /// The balance type + type Balance: Parameter + + Member + + AtLeast32BitUnsigned + + Codec + + Default + + Copy + + MaybeSerializeDeserialize + + MaxEncodedLen + + TypeInfo + + From + + Into; + + /// The asset ID for local TRAC token + #[pallet::constant] + type LocalTracAssetId: Get; + + /// The MultiLocation for foreign TRAC token + #[pallet::constant] + type ForeignTracAssetId: Get; + + /// The pallet ID for account derivation + #[pallet::constant] + type PalletId: Get; + } + + #[pallet::storage] + #[pallet::getter(fn something)] + pub type Something = StorageValue<_, u32>; + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event { + /// TRAC tokens wrapped successfully + TracWrapped { + who: T::AccountId, + amount: T::Balance, + }, + /// TRAC tokens unwrapped successfully + TracUnwrapped { + who: T::AccountId, + amount: T::Balance, + }, + } + + #[pallet::error] + pub enum Error { + /// Insufficient foreign TRAC balance + InsufficientForeignBalance, + /// Insufficient local TRAC balance + InsufficientLocalBalance, + /// Insufficient pallet foreign TRAC balance for unwrapping + InsufficientPalletBalance, + /// Transfer failed + TransferFailed, + /// Mint failed + MintFailed, + /// Burn failed + BurnFailed, + /// Amount is zero + ZeroAmount, + } + + #[pallet::call] + impl Pallet { + /// Wrap foreign TRAC tokens into local TRAC tokens + /// + /// Transfers foreign TRAC from sender to pallet account and mints equal amount of local TRAC to sender + #[pallet::call_index(0)] + #[pallet::weight(10_000)] + pub fn trac_wrap( + origin: OriginFor, + #[pallet::compact] amount: T::Balance, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + + // Ensure amount is not zero + ensure!(!amount.is_zero(), Error::::ZeroAmount); + + let pallet_account = Self::pallet_account_id(); + let foreign_trac_asset = T::ForeignTracAssetId::get(); + let local_trac_asset = T::LocalTracAssetId::get(); + + // Check if user has sufficient foreign TRAC balance + let user_foreign_balance = T::MultiCurrency::balance(foreign_trac_asset.clone(), &who); + ensure!( + user_foreign_balance >= amount, + Error::::InsufficientForeignBalance + ); + + // Transfer foreign TRAC from user to pallet account + T::MultiCurrency::transfer( + foreign_trac_asset, + &who, + &pallet_account, + amount, + frame_support::traits::tokens::Preservation::Expendable, + ) + .map_err(|_| Error::::TransferFailed)?; + + // Mint local TRAC to user + T::MultiCurrency::mint_into(local_trac_asset, &who, amount) + .map_err(|_| Error::::MintFailed)?; + + // Emit event + Self::deposit_event(Event::TracWrapped { who, amount }); + + Ok(().into()) + } + + /// Unwrap local TRAC tokens back to foreign TRAC tokens + /// + /// Burns local TRAC from sender and transfers equal amount of foreign TRAC from pallet account to sender + #[pallet::call_index(1)] + #[pallet::weight(10_000)] + pub fn trac_unwrap( + origin: OriginFor, + #[pallet::compact] amount: T::Balance, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + + // Ensure amount is not zero + ensure!(!amount.is_zero(), Error::::ZeroAmount); + + let pallet_account = Self::pallet_account_id(); + let foreign_trac_asset = T::ForeignTracAssetId::get(); + let local_trac_asset = T::LocalTracAssetId::get(); + + // Check if user has sufficient local TRAC balance + let user_local_balance = T::MultiCurrency::balance(local_trac_asset.clone(), &who); + ensure!( + user_local_balance >= amount, + Error::::InsufficientLocalBalance + ); + + // Check if pallet has sufficient foreign TRAC balance + let pallet_foreign_balance = T::MultiCurrency::balance(foreign_trac_asset.clone(), &pallet_account); + ensure!( + pallet_foreign_balance >= amount, + Error::::InsufficientPalletBalance + ); + + // Burn local TRAC from user + T::MultiCurrency::burn_from( + local_trac_asset, + &who, + amount, + frame_support::traits::tokens::Precision::Exact, + frame_support::traits::tokens::Fortitude::Polite, + ) + .map_err(|_| Error::::BurnFailed)?; + + // Transfer foreign TRAC from pallet account to user + T::MultiCurrency::transfer( + foreign_trac_asset, + &pallet_account, + &who, + amount, + frame_support::traits::tokens::Preservation::Expendable, + ) + .map_err(|_| Error::::TransferFailed)?; + + // Emit event + Self::deposit_event(Event::TracUnwrapped { who, amount }); + + Ok(().into()) + } + } + + impl Pallet { + /// Get the account ID of the pallet + pub fn pallet_account_id() -> T::AccountId { + T::PalletId::get().into_account_truncating() + } + + /// Get the foreign TRAC balance of the pallet + pub fn pallet_foreign_trac_balance() -> T::Balance { + T::MultiCurrency::balance(T::ForeignTracAssetId::get(), &Self::pallet_account_id()) + } + + /// Get the total supply of local TRAC tokens + pub fn local_trac_total_supply() -> T::Balance { + T::MultiCurrency::total_issuance(T::LocalTracAssetId::get()) + } + } +} diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 0f329b18..f17e9357 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -8,9 +8,6 @@ homepage = "https://neuroweb.ai/" repository = "https://github.com/OriginTrail/neuroweb/" edition = "2021" -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] - [dependencies] codec = { workspace = true } hex-literal = { workspace = true, optional = true } @@ -98,6 +95,13 @@ pallet-democracy = { workspace = true } pallet-identity = { workspace = true } pallet-preimage = { workspace = true } +<<<<<<< HEAD +======= +# Local +pallet-parachain-staking = { workspace = true } +pallet-wrapper = { workspace = true } + +>>>>>>> c9d25a0 (add pallet-wrapper) [build-dependencies] substrate-wasm-builder = { workspace = true, optional = true } @@ -149,6 +153,7 @@ std = [ "pallet-treasury/std", "pallet-utility/std", "pallet-vesting/std", + "pallet-wrapper/std", "pallet-xc-asset-config/std", "pallet-xcm/std", "parachain-info/std", diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index c251ea6b..3b22e4d7 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -3,14 +3,31 @@ use frame_support::{ pallet_prelude::*, traits::{ fungible::{Inspect as FungibleInspect, Mutate as FungibleMutate, Unbalanced as FungibleUnbalanced}, fungibles::{Dust, Inspect as FungiblesInspect, Mutate as FungiblesMutate, Unbalanced as FungiblesUnbalanced}, - tokens::{fungibles, DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}, + tokens::{DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}, AsEnsureOriginWithArg, }, }; +use serde::{Serialize, Deserialize}; +use xcm::v3::{MultiLocation, Junction, NetworkId, Junctions}; /// The existential deposit. Set to 1/10 of the Connected Relay Chain. pub const EXISTENTIAL_DEPOSIT: Balance = OTP; +pub const LOCAL_TRAC_ASSET_ID: u128 = 1; +pub const LOCAL_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Local(LOCAL_TRAC_ASSET_ID); + +pub const FOREIGN_TRAC_ASSET_LOCATION: MultiLocation = MultiLocation { + parents: 2, + interior: Junctions::X2( + Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 1 }), + Junction::AccountKey20 { + network: None, + key: [0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, 0x09, 0x4b, 0x8d, 0x0f, 0x0a, 0x6f] + } + ) +}; +pub const FOREIGN_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Foreign(FOREIGN_TRAC_ASSET_LOCATION); + parameter_types! { pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } @@ -88,15 +105,15 @@ impl pallet_assets::Config for Runtime { } // MulticurrencyAdapter -#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen)] +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen, Serialize, Deserialize)] pub enum UnifiedAssetId { Native, Local(u128), Foreign(MultiLocation), // now directly holds location } -pub struct MulticurrencyAdapter; -impl FungiblesInspect for MulticurrencyAdapter { +pub struct MultiCurrencyAdapter; +impl FungiblesInspect for MultiCurrencyAdapter { type AssetId = UnifiedAssetId; type Balance = u128; @@ -203,7 +220,7 @@ impl FungiblesInspect for MulticurrencyAdapter { } } -impl FungiblesMutate for MulticurrencyAdapter { +impl FungiblesMutate for MultiCurrencyAdapter { fn mint_into( asset: UnifiedAssetId, who: &AccountId, @@ -290,7 +307,7 @@ impl FungiblesMutate for MulticurrencyAdapter { } } -impl FungiblesUnbalanced for MulticurrencyAdapter { +impl FungiblesUnbalanced for MultiCurrencyAdapter { fn handle_dust(_dust: Dust) { // No-op: You can log it, burn it, or track it if needed } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 8ba11f06..6eec3da2 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -7,6 +7,8 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); mod assets; +use assets::*; + mod weights; pub mod xcm_config; pub use frame_support::traits::Get; @@ -61,7 +63,6 @@ pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; pub use sp_runtime::{MultiAddress, Perbill, Permill}; use pallet_transaction_payment::{ConstFeeMultiplier, Multiplier}; use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; -use xcm::v3::MultiLocation; use xcm_config::XcmOriginToTransactDispatchOrigin; #[cfg(any(feature = "std", test))] @@ -1089,6 +1090,25 @@ impl pallet_proxy::Config for Runtime { } +parameter_types! { + pub const TracWrapperPalletId: PalletId = PalletId(*b"wrappers"); + pub const LocalTracAssetId: UnifiedAssetId = LOCAL_TRAC_UNIFIED_ASSET_ID; + pub const ForeignTracAssetId: UnifiedAssetId = FOREIGN_TRAC_UNIFIED_ASSET_ID; + +} + +impl pallet_wrapper::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type MultiCurrency = assets::MultiCurrencyAdapter; + type AssetId = assets::UnifiedAssetId; + type Balance = Balance; + type LocalTracAssetId = LocalTracAssetId; // Local TRAC asset ID + type ForeignTracAssetId = ForeignTracAssetId; // Define this constant + type PalletId = TracWrapperPalletId; // Define this constant +} + + + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub struct Runtime @@ -1119,6 +1139,7 @@ construct_runtime!( Session: pallet_session::{Pallet, Call, Storage, Event, Config} = 22, Aura: pallet_aura::{Pallet, Storage, Config} = 23, AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config} = 24, + Wrapper: pallet_wrapper = 25, // XCM helpers. XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 30, From 4d11da3446d86d96245d0274dea1d10cba83931b Mon Sep 17 00:00:00 2001 From: vgantchev Date: Fri, 25 Jul 2025 18:25:10 +0200 Subject: [PATCH 09/89] refactor pallet --- pallets/wrapper/Cargo.toml | 31 +++++------ pallets/wrapper/src/lib.rs | 108 ++++++++++++++++--------------------- runtime/src/assets.rs | 1 + runtime/src/lib.rs | 4 +- 4 files changed, 64 insertions(+), 80 deletions(-) diff --git a/pallets/wrapper/Cargo.toml b/pallets/wrapper/Cargo.toml index 87699f25..c1878d94 100644 --- a/pallets/wrapper/Cargo.toml +++ b/pallets/wrapper/Cargo.toml @@ -8,33 +8,33 @@ repository.workspace = true [dependencies] # Substrate Core -codec = { workspace = true, features = ["derive"], default-features = false } -scale-info = { workspace = true, features = ["derive"], default-features = false } -log = { workspace = true, default-features = false } +codec = { workspace = true, features = ["derive"] } +scale-info = { workspace = true, features = ["derive"] } +log = { workspace = true } # Frame Dependencies -frame-benchmarking = { workspace = true, optional = true, default-features = false } -frame-support = { workspace = true, default-features = false } -frame-system = { workspace = true, default-features = false } -sp-core = { workspace = true, default-features = false } -sp-runtime = { workspace = true, default-features = false } -sp-std = { workspace = true, default-features = false } +frame-benchmarking = { workspace = true, optional = true } +frame-support = { workspace = true } +frame-system = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } # XCM Dependencies (for MultiLocation support) -xcm = { workspace = true, default-features = false } +xcm = { workspace = true } [dev-dependencies] # Testing Dependencies -pallet-balances = { workspace = true, default-features = false } -pallet-assets = { workspace = true, default-features = false } -sp-io = { workspace = true, default-features = false } -sp-keystore = { workspace = true, default-features = false } +pallet-balances = { workspace = true } +pallet-assets = { workspace = true } +sp-io = { workspace = true } +sp-keystore = { workspace = true } [features] default = ["std"] std = [ "codec/std", - "frame-benchmarking?/std", + "frame-benchmarking/std", "frame-support/std", "frame-system/std", "log/std", @@ -43,6 +43,7 @@ std = [ "sp-runtime/std", "sp-std/std", "xcm/std", + "pallet-assets/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index c52aa69a..3444afe9 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -1,7 +1,8 @@ #![cfg_attr(not(feature = "std"), no_std)] +use codec::Codec; use frame_support::{ - dispatch::{DispatchResult, DispatchResultWithPostInfo}, + dispatch::DispatchResult, pallet_prelude::*, traits::{ fungibles::{Inspect, Mutate}, @@ -9,9 +10,7 @@ use frame_support::{ }, }; use frame_system::pallet_prelude::*; -use sp_runtime::traits::{AccountIdConversion, Zero}; -use codec::Codec; -use sp_runtime::traits::AtLeast32BitUnsigned; +use sp_runtime::traits::{AccountIdConversion, AtLeast32BitUnsigned, Zero}; pub use pallet::*; @@ -24,12 +23,6 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config { - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - - /// Multi-currency support for handling TRAC assets - type MultiCurrency: Inspect - + Mutate; - type AssetId: Parameter + Member + Clone @@ -40,16 +33,18 @@ pub mod pallet { /// The balance type type Balance: Parameter - + Member - + AtLeast32BitUnsigned - + Codec - + Default - + Copy - + MaybeSerializeDeserialize - + MaxEncodedLen - + TypeInfo - + From - + Into; + + Member + + AtLeast32BitUnsigned + + Codec + + Default + + Copy + + MaybeSerializeDeserialize + + MaxEncodedLen + + TypeInfo; + + // Multi-currency support for handling TRAC assets + type Currency: Inspect + + Mutate; /// The asset ID for local TRAC token #[pallet::constant] @@ -62,11 +57,9 @@ pub mod pallet { /// The pallet ID for account derivation #[pallet::constant] type PalletId: Get; - } - #[pallet::storage] - #[pallet::getter(fn something)] - pub type Something = StorageValue<_, u32>; + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + } #[pallet::event] #[pallet::generate_deposit(pub(super) fn deposit_event)] @@ -85,18 +78,10 @@ pub mod pallet { #[pallet::error] pub enum Error { - /// Insufficient foreign TRAC balance - InsufficientForeignBalance, - /// Insufficient local TRAC balance - InsufficientLocalBalance, + /// Insufficient user balance + InsufficientUserBalance, /// Insufficient pallet foreign TRAC balance for unwrapping InsufficientPalletBalance, - /// Transfer failed - TransferFailed, - /// Mint failed - MintFailed, - /// Burn failed - BurnFailed, /// Amount is zero ZeroAmount, } @@ -111,41 +96,39 @@ pub mod pallet { pub fn trac_wrap( origin: OriginFor, #[pallet::compact] amount: T::Balance, - ) -> DispatchResultWithPostInfo { + ) -> DispatchResult { let who = ensure_signed(origin)?; // Ensure amount is not zero ensure!(!amount.is_zero(), Error::::ZeroAmount); let pallet_account = Self::pallet_account_id(); - let foreign_trac_asset = T::ForeignTracAssetId::get(); - let local_trac_asset = T::LocalTracAssetId::get(); + let foreign_trac_asset_id = T::ForeignTracAssetId::get(); + let local_trac_asset_id = T::LocalTracAssetId::get(); // Check if user has sufficient foreign TRAC balance - let user_foreign_balance = T::MultiCurrency::balance(foreign_trac_asset.clone(), &who); + let user_foreign_balance = T::Currency::balance(foreign_trac_asset_id.clone(), &who); ensure!( user_foreign_balance >= amount, - Error::::InsufficientForeignBalance + Error::::InsufficientUserBalance ); // Transfer foreign TRAC from user to pallet account - T::MultiCurrency::transfer( - foreign_trac_asset, + T::Currency::transfer( + foreign_trac_asset_id, &who, &pallet_account, amount, frame_support::traits::tokens::Preservation::Expendable, - ) - .map_err(|_| Error::::TransferFailed)?; + )?; // Mint local TRAC to user - T::MultiCurrency::mint_into(local_trac_asset, &who, amount) - .map_err(|_| Error::::MintFailed)?; + T::Currency::mint_into(local_trac_asset_id, &who, amount)?; // Emit event Self::deposit_event(Event::TracWrapped { who, amount }); - Ok(().into()) + Ok(()) } /// Unwrap local TRAC tokens back to foreign TRAC tokens @@ -156,54 +139,53 @@ pub mod pallet { pub fn trac_unwrap( origin: OriginFor, #[pallet::compact] amount: T::Balance, - ) -> DispatchResultWithPostInfo { + ) -> DispatchResult { let who = ensure_signed(origin)?; // Ensure amount is not zero ensure!(!amount.is_zero(), Error::::ZeroAmount); let pallet_account = Self::pallet_account_id(); - let foreign_trac_asset = T::ForeignTracAssetId::get(); - let local_trac_asset = T::LocalTracAssetId::get(); + let foreign_trac_asset_id = T::ForeignTracAssetId::get(); + let local_trac_asset_id = T::LocalTracAssetId::get(); // Check if user has sufficient local TRAC balance - let user_local_balance = T::MultiCurrency::balance(local_trac_asset.clone(), &who); + let user_local_balance = T::Currency::balance(local_trac_asset_id.clone(), &who); ensure!( user_local_balance >= amount, - Error::::InsufficientLocalBalance + Error::::InsufficientUserBalance ); // Check if pallet has sufficient foreign TRAC balance - let pallet_foreign_balance = T::MultiCurrency::balance(foreign_trac_asset.clone(), &pallet_account); + let pallet_foreign_balance = + T::Currency::balance(foreign_trac_asset_id.clone(), &pallet_account); ensure!( pallet_foreign_balance >= amount, Error::::InsufficientPalletBalance ); // Burn local TRAC from user - T::MultiCurrency::burn_from( - local_trac_asset, + T::Currency::burn_from( + local_trac_asset_id, &who, amount, frame_support::traits::tokens::Precision::Exact, frame_support::traits::tokens::Fortitude::Polite, - ) - .map_err(|_| Error::::BurnFailed)?; + )?; // Transfer foreign TRAC from pallet account to user - T::MultiCurrency::transfer( - foreign_trac_asset, + T::Currency::transfer( + foreign_trac_asset_id, &pallet_account, &who, amount, frame_support::traits::tokens::Preservation::Expendable, - ) - .map_err(|_| Error::::TransferFailed)?; + )?; // Emit event Self::deposit_event(Event::TracUnwrapped { who, amount }); - Ok(().into()) + Ok(()) } } @@ -215,12 +197,12 @@ pub mod pallet { /// Get the foreign TRAC balance of the pallet pub fn pallet_foreign_trac_balance() -> T::Balance { - T::MultiCurrency::balance(T::ForeignTracAssetId::get(), &Self::pallet_account_id()) + T::Currency::balance(T::ForeignTracAssetId::get(), &Self::pallet_account_id()) } /// Get the total supply of local TRAC tokens pub fn local_trac_total_supply() -> T::Balance { - T::MultiCurrency::total_issuance(T::LocalTracAssetId::get()) + T::Currency::total_issuance(T::LocalTracAssetId::get()) } } } diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 3b22e4d7..8290d17a 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -89,6 +89,7 @@ impl pallet_assets::Config for Runtime { type AssetId = MultiLocation; type AssetIdParameter = MultiLocation; type Currency = Balances; + // TODO: XCM type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = EnsureRoot; type AssetDeposit = AssetDeposit; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 6eec3da2..a8366cf5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1099,8 +1099,8 @@ parameter_types! { impl pallet_wrapper::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type MultiCurrency = assets::MultiCurrencyAdapter; - type AssetId = assets::UnifiedAssetId; + type Currency = MultiCurrencyAdapter; + type AssetId = UnifiedAssetId; type Balance = Balance; type LocalTracAssetId = LocalTracAssetId; // Local TRAC asset ID type ForeignTracAssetId = ForeignTracAssetId; // Define this constant From 1309d98bd6871c1790c420dd9ee8a7141289fbfa Mon Sep 17 00:00:00 2001 From: vgantchev Date: Fri, 25 Jul 2025 22:36:29 +0200 Subject: [PATCH 10/89] add tests for pallet-wrapper --- pallets/wrapper/src/lib.rs | 8 + pallets/wrapper/src/mock.rs | 162 ++++++++++++++++ pallets/wrapper/src/tests.rs | 353 +++++++++++++++++++++++++++++++++++ runtime/src/lib.rs | 2 +- 4 files changed, 524 insertions(+), 1 deletion(-) create mode 100644 pallets/wrapper/src/mock.rs create mode 100644 pallets/wrapper/src/tests.rs diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 3444afe9..53af0ba5 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -14,6 +14,14 @@ use sp_runtime::traits::{AccountIdConversion, AtLeast32BitUnsigned, Zero}; pub use pallet::*; +#[cfg(test)] +mod mock; + +#[cfg(test)] +mod tests; + +// TODO: Benchmarks + #[frame_support::pallet] pub mod pallet { use super::*; diff --git a/pallets/wrapper/src/mock.rs b/pallets/wrapper/src/mock.rs new file mode 100644 index 00000000..506067fc --- /dev/null +++ b/pallets/wrapper/src/mock.rs @@ -0,0 +1,162 @@ +#![cfg(test)] + +use frame_support::{ + construct_runtime, parameter_types, + traits::{AsEnsureOriginWithArg, ConstU32, ConstU64}, + weights::Weight, + PalletId, +}; +use frame_system as system; +use frame_system::EnsureSigned; +use sp_core::H256; +use sp_runtime::{ + traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, +}; +use sp_std::{vec, vec::Vec}; + +type Block = frame_system::mocking::MockBlock; +type AccountId = u64; +type Balance = u128; +type AssetId = u32; + +// Configure a mock runtime to test the pallet. +construct_runtime!( + pub enum Test + { + System: frame_system, + Assets: pallet_assets, + Wrapper: crate, + } +); + +parameter_types! { + pub const BlockHashCount: u64 = 250; + pub const SS58Prefix: u8 = 42; +} + +impl system::Config for Test { + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Block = Block; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = BlockHashCount; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = (); + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = SS58Prefix; + type OnSetCode = (); + type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); +} + +parameter_types! { + pub const AssetDeposit: u32 = 100; + pub const ApprovalDeposit: u32 = 1; + pub const StringLimit: u32 = 50; + pub const MetadataDepositBase: u32 = 10; + pub const MetadataDepositPerByte: u32 = 1; +} + +impl pallet_assets::Config for Test { + type RuntimeEvent = RuntimeEvent; + type Balance = Balance; + type AssetId = AssetId; + type AssetIdParameter = codec::Compact; + type Currency = (); // Not used in our tests + type CreateOrigin = AsEnsureOriginWithArg>; + type ForceOrigin = frame_system::EnsureRoot; + type AssetDeposit = AssetDeposit; + type AssetAccountDeposit = ConstU32<1>; + type MetadataDepositBase = MetadataDepositBase; + type MetadataDepositPerByte = MetadataDepositPerByte; + type ApprovalDeposit = ApprovalDeposit; + type StringLimit = StringLimit; + type Freezer = (); + type Extra = (); + type CallbackHandle = (); + type WeightInfo = (); + type RemoveItemsLimit = ConstU32<656>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); +} + +parameter_types! { + pub const WrapperPalletId: PalletId = PalletId(*b"pwrapper"); + pub const LocalTracAssetId: AssetId = 1; + pub const ForeignTracAssetId: AssetId = 2; +} + +impl crate::Config for Test { + type RuntimeEvent = RuntimeEvent; + type Currency = pallet_assets::Pallet; + type AssetId = AssetId; + type Balance = Balance; + type LocalTracAssetId = LocalTracAssetId; + type ForeignTracAssetId = ForeignTracAssetId; + type PalletId = WrapperPalletId; +} + +// Test accounts +pub const ALICE: AccountId = 1; +pub const BOB: AccountId = 2; +pub const CHARLIE: AccountId = 3; + +// Build genesis storage according to the mock runtime. +pub fn new_test_ext() -> sp_io::TestExternalities { + let mut t = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap(); + + pallet_assets::GenesisConfig:: { + assets: vec![ + // Local TRAC asset + (LocalTracAssetId::get(), ALICE, true, 1), + // Foreign TRAC asset + (ForeignTracAssetId::get(), ALICE, true, 1), + ], + metadata: vec![ + ( + LocalTracAssetId::get(), + "Local TRAC".into(), + "LTRAC".into(), + 18, + ), + ( + ForeignTracAssetId::get(), + "Foreign TRAC".into(), + "FTRAC".into(), + 18, + ), + ], + accounts: vec![ + // Give ALICE some foreign TRAC + (ForeignTracAssetId::get(), ALICE, 1000000), + // Give BOB some foreign TRAC + (ForeignTracAssetId::get(), BOB, 500000), + ], + } + .assimilate_storage(&mut t) + .unwrap(); + + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| System::set_block_number(1)); + ext +} diff --git a/pallets/wrapper/src/tests.rs b/pallets/wrapper/src/tests.rs new file mode 100644 index 00000000..69b9cdef --- /dev/null +++ b/pallets/wrapper/src/tests.rs @@ -0,0 +1,353 @@ +use super::*; +use crate::mock::*; +use frame_support::{ + assert_noop, assert_ok, + traits::fungibles::Inspect, +}; + +#[test] +fn trac_wrap_works() { + new_test_ext().execute_with(|| { + let wrap_amount = 1000; + + // Check initial balances + assert_eq!(Assets::balance(ForeignTracAssetId::get(), &ALICE), 1000000); + assert_eq!(Assets::balance(LocalTracAssetId::get(), &ALICE), 0); + + // Perform wrap operation + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + + // Check balances after wrap + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &ALICE), + 1000000 - wrap_amount + ); + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount + ); + + // Check pallet foreign TRAC balance increased + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + wrap_amount + ); + + // Check total supply of local TRAC + assert_eq!(Wrapper::local_trac_total_supply(), wrap_amount); + + // Check event was emitted + System::assert_last_event(RuntimeEvent::Wrapper(Event::TracWrapped { + who: ALICE, + amount: wrap_amount, + })); + }); +} + +#[test] +fn trac_wrap_with_insufficient_user_balance_fails() { + new_test_ext().execute_with(|| { + let wrap_amount = 2000000; // More than ALICE has + + // Should fail with insufficient balance + assert_noop!( + Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), wrap_amount), + Error::::InsufficientUserBalance + ); + }); +} + +#[test] +fn trac_wrap_with_zero_amount_fails() { + new_test_ext().execute_with(|| { + // Should fail with zero amount + assert_noop!( + Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), 0), + Error::::ZeroAmount + ); + }); +} + +#[test] +fn trac_unwrap_works() { + new_test_ext().execute_with(|| { + let wrap_amount = 1000; + let unwrap_amount = 500; + + // First wrap some tokens + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + + // Check state after wrap + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount + ); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &ALICE), + 1000000 - wrap_amount + ); + + // Now unwrap partial amount + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + unwrap_amount + )); + + // Check balances after unwrap + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount - unwrap_amount + ); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &ALICE), + 1000000 - wrap_amount + unwrap_amount + ); + + // Check pallet foreign TRAC balance decreased + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + wrap_amount - unwrap_amount + ); + + // Check total supply of local TRAC decreased + assert_eq!( + Wrapper::local_trac_total_supply(), + wrap_amount - unwrap_amount + ); + + // Check event was emitted + System::assert_last_event(RuntimeEvent::Wrapper(Event::TracUnwrapped { + who: ALICE, + amount: unwrap_amount, + })); + }); +} + +#[test] +fn trac_unwrap_with_insufficient_user_balance_fails() { + new_test_ext().execute_with(|| { + let unwrap_amount = 1000; + + // ALICE has no local TRAC initially + assert_eq!(Assets::balance(LocalTracAssetId::get(), &ALICE), 0); + + // Should fail with insufficient local balance + assert_noop!( + Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), unwrap_amount), + Error::::InsufficientUserBalance + ); + }); +} + +#[test] +fn trac_unwrap_with_insufficient_pallet_balance_fails() { + new_test_ext().execute_with(|| { + let local_amount = 1000; + + // Mint local TRAC directly to ALICE without going through wrap + // This creates a situation where there's local TRAC but no foreign TRAC in pallet + assert_ok!(Assets::mint( + RuntimeOrigin::signed(ALICE), + LocalTracAssetId::get().into(), + ALICE, + local_amount + )); + + // Check ALICE has local TRAC + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + local_amount + ); + + // Check pallet has no foreign TRAC + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + 0 + ); + + // Should fail with insufficient pallet balance + assert_noop!( + Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), local_amount), + Error::::InsufficientPalletBalance + ); + }); +} + +#[test] +fn trac_unwrap_with_zero_amount_fails() { + new_test_ext().execute_with(|| { + // Should fail with zero amount + assert_noop!( + Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), 0), + Error::::ZeroAmount + ); + }); +} + +#[test] +fn multiple_wrap_unwrap_operations_work() { + new_test_ext().execute_with(|| { + let wrap_amount_1 = 1000; + let wrap_amount_2 = 2000; + let unwrap_amount = 1500; + + // First wrap + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount_1 + )); + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount_1 + ); + + // Second wrap + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount_2 + )); + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount_1 + wrap_amount_2 + ); + + // Partial unwrap + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + unwrap_amount + )); + assert_eq!( + Assets::balance(LocalTracAssetId::get(), &ALICE), + wrap_amount_1 + wrap_amount_2 - unwrap_amount + ); + + // Check pallet balance consistency + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + wrap_amount_1 + wrap_amount_2 - unwrap_amount + ); + + // Check total supply consistency + assert_eq!( + Wrapper::local_trac_total_supply(), + wrap_amount_1 + wrap_amount_2 - unwrap_amount + ); + }); +} + +#[test] +fn cross_user_wrap_operations_work() { + new_test_ext().execute_with(|| { + let alice_wrap = 1000; + let bob_wrap = 2000; + + // ALICE wraps + assert_ok!(Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), alice_wrap)); + + // BOB wraps + assert_ok!(Wrapper::trac_wrap(RuntimeOrigin::signed(BOB), bob_wrap)); + + // Check individual balances + assert_eq!(Assets::balance(LocalTracAssetId::get(), &ALICE), alice_wrap); + assert_eq!(Assets::balance(LocalTracAssetId::get(), &BOB), bob_wrap); + + // Check pallet total + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + alice_wrap + bob_wrap + ); + + // Check total supply + assert_eq!(Wrapper::local_trac_total_supply(), alice_wrap + bob_wrap); + + // ALICE unwraps all + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + alice_wrap + )); + assert_eq!(Assets::balance(LocalTracAssetId::get(), &ALICE), 0); + + // BOB still has local TRAC, pallet still has BOB's foreign TRAC + assert_eq!(Assets::balance(LocalTracAssetId::get(), &BOB), bob_wrap); + assert_eq!( + Assets::balance(ForeignTracAssetId::get(), &pallet_account), + bob_wrap + ); + assert_eq!(Wrapper::local_trac_total_supply(), bob_wrap); + }); +} + +#[test] +fn pallet_account_id_helper_is_correct() { + new_test_ext().execute_with(|| { + let pallet_account = Wrapper::pallet_account_id(); + assert_eq!(pallet_account, 7021806093762588525); + }); +} + +#[test] +fn pallet_foreign_trac_balance_helper_is_correct() { + new_test_ext().execute_with(|| { + // Initially pallet should have no foreign TRAC + assert_eq!(Wrapper::pallet_foreign_trac_balance(), 0); + + let wrap_amount = 1000; + + // After wrap, pallet should have foreign TRAC + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + assert_eq!(Wrapper::pallet_foreign_trac_balance(), wrap_amount); + + // After unwrap, pallet balance should decrease + let unwrap_amount = 300; + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + unwrap_amount + )); + assert_eq!( + Wrapper::pallet_foreign_trac_balance(), + wrap_amount - unwrap_amount + ); + }); +} + +#[test] +fn local_trac_total_supply_helper_is_correct() { + new_test_ext().execute_with(|| { + // Initially should be zero + assert_eq!(Wrapper::local_trac_total_supply(), 0); + + let wrap_amount = 1000; + + // After wrap, total supply should increase + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + assert_eq!(Wrapper::local_trac_total_supply(), wrap_amount); + + // After unwrap, total supply should decrease + let unwrap_amount = 400; + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + unwrap_amount + )); + assert_eq!( + Wrapper::local_trac_total_supply(), + wrap_amount - unwrap_amount + ); + }); +} diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a8366cf5..6a297781 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1091,7 +1091,7 @@ impl pallet_proxy::Config for Runtime { parameter_types! { - pub const TracWrapperPalletId: PalletId = PalletId(*b"wrappers"); + pub const TracWrapperPalletId: PalletId = PalletId(*b"pwrapper"); pub const LocalTracAssetId: UnifiedAssetId = LOCAL_TRAC_UNIFIED_ASSET_ID; pub const ForeignTracAssetId: UnifiedAssetId = FOREIGN_TRAC_UNIFIED_ASSET_ID; From ab58ffeb23ffcd6f1c982684d6dcede05fadfc0d Mon Sep 17 00:00:00 2001 From: vgantchev Date: Fri, 25 Jul 2025 23:18:37 +0200 Subject: [PATCH 11/89] Add benchmarks for pallet-wrapper --- Cargo.lock | 4 --- pallets/wrapper/src/benchmarking.rs | 50 +++++++++++++++++++++++++++++ pallets/wrapper/src/lib.rs | 5 +-- runtime/Cargo.toml | 6 ++-- runtime/src/assets.rs | 25 +++++++++++++++ runtime/src/lib.rs | 7 ++-- runtime/src/xcm_config.rs | 2 -- 7 files changed, 83 insertions(+), 16 deletions(-) create mode 100644 pallets/wrapper/src/benchmarking.rs diff --git a/Cargo.lock b/Cargo.lock index 8f2a8331..5dfdfb68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6270,12 +6270,8 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "pallet-treasury", "pallet-utility", -<<<<<<< HEAD "pallet-vesting", -======= - "pallet-vesting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", "pallet-wrapper", ->>>>>>> c9d25a0 (add pallet-wrapper) "pallet-xc-asset-config", "pallet-xcm", "parachains-common", diff --git a/pallets/wrapper/src/benchmarking.rs b/pallets/wrapper/src/benchmarking.rs new file mode 100644 index 00000000..1aefda83 --- /dev/null +++ b/pallets/wrapper/src/benchmarking.rs @@ -0,0 +1,50 @@ +#![cfg(feature = "runtime-benchmarks")] + +use super::*; +use crate::Pallet as Wrapper; + +use frame_benchmarking::{account, benchmarks}; +use frame_support::traits::fungibles::{Inspect, Mutate}; +use frame_system::RawOrigin; +use sp_runtime::traits::Zero; + +benchmarks! { + trac_wrap { + let caller: T::AccountId = account("caller", 0, 0); + let pallet_account = Wrapper::::pallet_account_id(); + let amount = 1000u32.into(); + let foreign_asset_id = T::ForeignTracAssetId::get(); + let local_asset_id = T::LocalTracAssetId::get(); + + // Setup: give caller some foreign TRAC to wrap + T::Currency::mint_into(foreign_asset_id.clone(), &caller, amount)?; + }: _(RawOrigin::Signed(caller.clone()), amount) + verify { + // Verify foreign TRAC was transferred to pallet account + assert_eq!(T::Currency::balance(foreign_asset_id.clone(), &pallet_account), amount); + + // Verify local TRAC was minted to caller + assert_eq!(T::Currency::balance(local_asset_id, &caller), amount); + } + + trac_unwrap { + let caller: T::AccountId = account("caller", 0, 0); + let pallet_account = Wrapper::::pallet_account_id(); + let amount = 1000u32.into(); + let foreign_asset_id = T::ForeignTracAssetId::get(); + let local_asset_id = T::LocalTracAssetId::get(); + + // Setup: give pallet some foreign TRAC and caller some local TRAC + T::Currency::mint_into(foreign_asset_id.clone(), &pallet_account, amount)?; + T::Currency::mint_into(local_asset_id.clone(), &caller, amount)?; + }: _(RawOrigin::Signed(caller.clone()), amount) + verify { + // Verify local TRAC was burned from caller + assert!(T::Currency::balance(local_asset_id, &caller).is_zero()); + + // Verify foreign TRAC was transferred from pallet to caller + assert_eq!(T::Currency::balance(foreign_asset_id.clone(), &caller), amount); + assert!(T::Currency::balance(foreign_asset_id, &pallet_account).is_zero()); + } + +} \ No newline at end of file diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 53af0ba5..010a980b 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -14,14 +14,15 @@ use sp_runtime::traits::{AccountIdConversion, AtLeast32BitUnsigned, Zero}; pub use pallet::*; +#[cfg(feature = "runtime-benchmarks")] +pub mod benchmarking; + #[cfg(test)] mod mock; #[cfg(test)] mod tests; -// TODO: Benchmarks - #[frame_support::pallet] pub mod pallet { use super::*; diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index f17e9357..835c02fa 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -95,13 +95,9 @@ pallet-democracy = { workspace = true } pallet-identity = { workspace = true } pallet-preimage = { workspace = true } -<<<<<<< HEAD -======= # Local -pallet-parachain-staking = { workspace = true } pallet-wrapper = { workspace = true } ->>>>>>> c9d25a0 (add pallet-wrapper) [build-dependencies] substrate-wasm-builder = { workspace = true, optional = true } @@ -207,6 +203,7 @@ runtime-benchmarks = [ "xcm-builder/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", "cumulus-pallet-parachain-system/runtime-benchmarks", + "pallet-wrapper/runtime-benchmarks", ] try-runtime = [ @@ -237,6 +234,7 @@ try-runtime = [ "pallet-transaction-payment/try-runtime", "pallet-xcm/try-runtime", "parachain-info/try-runtime", + "pallet-wrapper/try-runtime", ] metadata-hash = ["substrate-wasm-builder/metadata-hash"] diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 8290d17a..5d31a25d 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -80,6 +80,8 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = (); type WeightInfo = pallet_assets::weights::SubstrateWeight; type RemoveItemsLimit = ConstU32<656>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = AssetsBenchmarkHelper; } // Foreign Assets @@ -103,6 +105,8 @@ impl pallet_assets::Config for Runtime { type CallbackHandle = (); type WeightInfo = pallet_assets::weights::SubstrateWeight; type RemoveItemsLimit = ConstU32<656>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = XcmBenchmarkHelper; } // MulticurrencyAdapter @@ -342,3 +346,24 @@ impl FungiblesUnbalanced for MultiCurrencyAdapter { } } } + +// Benchmarking helpers +#[cfg(feature = "runtime-benchmarks")] +pub struct AssetsBenchmarkHelper; + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_assets::BenchmarkHelper> for AssetsBenchmarkHelper { + fn create_asset_id_parameter(id: u32) -> codec::Compact { + (id as u128).into() + } +} + +#[cfg(feature = "runtime-benchmarks")] +pub struct XcmBenchmarkHelper; + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { + fn create_asset_id_parameter(id: u32) -> MultiLocation { + MultiLocation::new(1, Junction::Parachain(id)) + } +} \ No newline at end of file diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 6a297781..15be2903 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -651,7 +651,7 @@ impl pallet_treasury::Config for Runtime { type BalanceConverter = UnityAssetBalanceConversion; type PayoutPeriod = ConstU32<0>; #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = BenchmarkHelper; + type BenchmarkHelper = (); } pub struct MergeAccountEvm; @@ -1165,7 +1165,6 @@ construct_runtime!( ); #[cfg(feature = "runtime-benchmarks")] -#[macro_use] extern crate frame_benchmarking; #[cfg(feature = "runtime-benchmarks")] @@ -1173,13 +1172,13 @@ mod benches { frame_benchmarking::define_benchmarks!( [frame_system, SystemBench::] [pallet_balances, Balances] - [pallet_collective, CouncilCollective] [pallet_democracy, Democracy] [pallet_identity, Identity] [pallet_preimage, Preimage] [pallet_proxy, Proxy] [pallet_timestamp, Timestamp] [pallet_collator_selection, CollatorSelection] + [pallet_wrapper, Wrapper] [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_utility, Utility] ); @@ -1769,7 +1768,7 @@ impl_runtime_apis! { use frame_system_benchmarking::Pallet as SystemBench; impl frame_system_benchmarking::Config for Runtime {} - use frame_support::traits::{TrackedStorageKey, WhitelistedStorageKeys}; + use frame_support::traits::WhitelistedStorageKeys; let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); let mut batches = Vec::::new(); diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 195dcce3..27ca14c9 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -239,8 +239,6 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = crate::weights::pallet_xcm::WeightInfo; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); - #[cfg(feature = "runtime-benchmarks")] - type ReachableDest = ReachableDest; type AdminOrigin = EnsureRoot; } From d77f2ea61060560eb1dfbb104831a6b0a7b1a5a6 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Fri, 25 Jul 2025 23:55:50 +0200 Subject: [PATCH 12/89] Fix HostFunctions and benchmarking command --- Cargo.lock | 20 ++++++++++---------- node/src/command.rs | 10 +++++++++- node/src/service.rs | 1 + 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5dfdfb68..0c2187b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7952,20 +7952,20 @@ dependencies = [ name = "pallet-wrapper" version = "0.1.0" dependencies = [ - "frame-benchmarking 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "frame-system 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-assets", - "pallet-balances 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-io 30.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-keystore 0.34.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-core", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-std", + "staging-xcm", ] [[package]] diff --git a/node/src/command.rs b/node/src/command.rs index 2dbde9bd..6a85f361 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -188,7 +188,15 @@ pub fn run() -> Result<()> { match cmd { BenchmarkCmd::Pallet(cmd) => { if cfg!(feature = "runtime-benchmarks") { - runner.sync_run(|config| cmd.run::, ()>(config)) + #[allow(deprecated)] + runner.sync_run(|config| { + cmd.run::, ( + sp_io::SubstrateHostFunctions, + cumulus_client_service::storage_proof_size::HostFunctions, + frame_benchmarking::benchmarking::HostFunctions, + cumulus_client_service::ParachainHostFunctions, + )>(config) + }) } else { Err("Benchmarking wasn't enabled when building the node. \ You can enable it with `--features runtime-benchmarks`." diff --git a/node/src/service.rs b/node/src/service.rs index c3bd32fd..9424f319 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -45,6 +45,7 @@ type ParachainClient = TFullClient< RuntimeApi, WasmExecutor<( sp_io::SubstrateHostFunctions, + cumulus_client_service::storage_proof_size::HostFunctions, frame_benchmarking::benchmarking::HostFunctions, cumulus_client_service::ParachainHostFunctions, )>, From 5924d37607b44db4c4c91e7b6c7f8b55cf5a013d Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 26 Jul 2025 22:29:45 +0200 Subject: [PATCH 13/89] move UnifiedAssetId to primitives --- Cargo.lock | 14 ++++++++++++++ Cargo.toml | 2 ++ primitives/Cargo.toml | 25 +++++++++++++++++++++++++ primitives/src/lib.rs | 27 +++++++++++++++++++++++++++ runtime/src/lib.rs | 3 +-- 5 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 primitives/Cargo.toml create mode 100644 primitives/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 0c2187b3..f83d8b16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6278,6 +6278,7 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives", "polkadot-runtime-common", + "primitives", "scale-info", "serde", "smallvec", @@ -7959,6 +7960,7 @@ dependencies = [ "pallet-assets", "pallet-balances", "parity-scale-codec", + "primitives", "scale-info", "sp-core", "sp-io", @@ -9698,6 +9700,18 @@ dependencies = [ "uint", ] +[[package]] +name = "primitives" +version = "0.1.0" +dependencies = [ + "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "parity-scale-codec", + "scale-info", + "serde", + "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", +] + [[package]] name = "prioritized-metered-channel" version = "0.6.1" diff --git a/Cargo.toml b/Cargo.toml index 2abe23ad..9059cf01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,6 +5,7 @@ panic = "unwind" members = [ "node", "pallets/*", + "primitives", "runtime", ] @@ -178,6 +179,7 @@ xcm-builder = { package = "staging-xcm-builder", git = "https://github.com/parit xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } # Local +primitives = { path = "primitives", default-features = false } pallet-wrapper = { path = "pallets/wrapper", default-features = false } neuroweb-runtime = { path = "./runtime" } precompile-utils = { path = "./precompiles/utils", default-features = false } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml new file mode 100644 index 00000000..376767ae --- /dev/null +++ b/primitives/Cargo.toml @@ -0,0 +1,25 @@ +[package] +name = "primitives" +description = "Primitives for the Neuroweb runtime" +authors = { workspace = true } +edition = "2021" +version = "0.1.0" + +[dependencies] +codec = { workspace = true } +scale-info = { workspace = true } +frame-support = { workspace = true } +sp-runtime = { workspace = true } +xcm = { workspace = true } +serde = { workspace = true } + +[features] +default = ["std"] +std = [ + "codec/std", + "scale-info/std", + "frame-support/std", + "sp-runtime/std", + "xcm/std", + "serde/std", +] diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs new file mode 100644 index 00000000..13b1b81a --- /dev/null +++ b/primitives/src/lib.rs @@ -0,0 +1,27 @@ +// This program 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. + +// This program 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 this program. If not, see . +#![cfg_attr(not(feature = "std"), no_std)] + +use codec::{Encode, Decode}; +use scale_info::TypeInfo; +use frame_support::pallet_prelude::MaxEncodedLen; +use serde::{Serialize, Deserialize}; +use xcm::v3::MultiLocation; + +// Adapter for supporting different currencies +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen, Serialize, Deserialize)] +pub enum UnifiedAssetId { + Native, + Local(u128), + Foreign(MultiLocation), +} diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 15be2903..3b8fe7b6 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -8,6 +8,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); mod assets; use assets::*; +use primitives::UnifiedAssetId; mod weights; pub mod xcm_config; @@ -1107,8 +1108,6 @@ impl pallet_wrapper::Config for Runtime { type PalletId = TracWrapperPalletId; // Define this constant } - - // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub struct Runtime From f9c507e8e3e531a0b3a6b2a632c88d8ff34b69ce Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 26 Jul 2025 22:35:53 +0200 Subject: [PATCH 14/89] refactor benchmarks --- pallets/wrapper/Cargo.toml | 11 ++- pallets/wrapper/src/benchmarking.rs | 112 ++++++++++++++++++++++------ primitives/src/lib.rs | 21 +++++- runtime/Cargo.toml | 2 + runtime/src/assets.rs | 10 +-- 5 files changed, 118 insertions(+), 38 deletions(-) diff --git a/pallets/wrapper/Cargo.toml b/pallets/wrapper/Cargo.toml index c1878d94..cc7d35e8 100644 --- a/pallets/wrapper/Cargo.toml +++ b/pallets/wrapper/Cargo.toml @@ -23,10 +23,15 @@ sp-std = { workspace = true } # XCM Dependencies (for MultiLocation support) xcm = { workspace = true } +# For runtime benchmarks +pallet-assets = { workspace = true, optional = true } +pallet-balances = { workspace = true, optional = true } +primitives = { workspace = true } + [dev-dependencies] -# Testing Dependencies -pallet-balances = { workspace = true } +# Testing and Benchmarking Dependencies pallet-assets = { workspace = true } +pallet-balances = { workspace = true } sp-io = { workspace = true } sp-keystore = { workspace = true } @@ -50,6 +55,8 @@ runtime-benchmarks = [ "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", + "pallet-assets/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", ] try-runtime = [ "frame-support/try-runtime", diff --git a/pallets/wrapper/src/benchmarking.rs b/pallets/wrapper/src/benchmarking.rs index 1aefda83..eaa10963 100644 --- a/pallets/wrapper/src/benchmarking.rs +++ b/pallets/wrapper/src/benchmarking.rs @@ -1,3 +1,15 @@ +// This program 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. + +// This program 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 this program. If not, see . #![cfg(feature = "runtime-benchmarks")] use super::*; @@ -6,45 +18,99 @@ use crate::Pallet as Wrapper; use frame_benchmarking::{account, benchmarks}; use frame_support::traits::fungibles::{Inspect, Mutate}; use frame_system::RawOrigin; -use sp_runtime::traits::Zero; +use primitives::UnifiedAssetId; +use sp_runtime::traits::{StaticLookup, Zero}; +use xcm::v3::MultiLocation; + +pub const NEURO: u128 = 1_000_000_000_000; +pub const TRAC: u128 = 1_000_000_000_000_000; benchmarks! { + where_clause { where + T: Config, + T: Config, + T: pallet_assets::Config>, + T: pallet_assets::Config, + T: pallet_balances::Config, + } trac_wrap { let caller: T::AccountId = account("caller", 0, 0); - let pallet_account = Wrapper::::pallet_account_id(); - let amount = 1000u32.into(); - let foreign_asset_id = T::ForeignTracAssetId::get(); - let local_asset_id = T::LocalTracAssetId::get(); + let amount = 3 * TRAC; - // Setup: give caller some foreign TRAC to wrap - T::Currency::mint_into(foreign_asset_id.clone(), &caller, amount)?; + setup_assets::(caller.clone())?; + + // Give caller some foreign TRAC to wrap + ::Currency::mint_into(T::ForeignTracAssetId::get(), &caller, amount)?; }: _(RawOrigin::Signed(caller.clone()), amount) verify { // Verify foreign TRAC was transferred to pallet account - assert_eq!(T::Currency::balance(foreign_asset_id.clone(), &pallet_account), amount); - + assert_eq!(::Currency::balance(T::ForeignTracAssetId::get(), &Wrapper::::pallet_account_id()), amount); + // Verify local TRAC was minted to caller - assert_eq!(T::Currency::balance(local_asset_id, &caller), amount); + assert_eq!(::Currency::balance(T::LocalTracAssetId::get(), &caller), amount); } trac_unwrap { let caller: T::AccountId = account("caller", 0, 0); - let pallet_account = Wrapper::::pallet_account_id(); - let amount = 1000u32.into(); - let foreign_asset_id = T::ForeignTracAssetId::get(); - let local_asset_id = T::LocalTracAssetId::get(); - - // Setup: give pallet some foreign TRAC and caller some local TRAC - T::Currency::mint_into(foreign_asset_id.clone(), &pallet_account, amount)?; - T::Currency::mint_into(local_asset_id.clone(), &caller, amount)?; + let amount = 3 * TRAC; + + setup_assets::(caller.clone())?; + + // Give pallet some foreign TRAC and caller some local TRAC + ::Currency::mint_into(T::ForeignTracAssetId::get(), &Wrapper::::pallet_account_id(), amount)?; + ::Currency::mint_into(T::LocalTracAssetId::get(), &caller, amount)?; }: _(RawOrigin::Signed(caller.clone()), amount) verify { // Verify local TRAC was burned from caller - assert!(T::Currency::balance(local_asset_id, &caller).is_zero()); - + assert!(::Currency::balance(T::LocalTracAssetId::get(), &caller).is_zero()); + // Verify foreign TRAC was transferred from pallet to caller - assert_eq!(T::Currency::balance(foreign_asset_id.clone(), &caller), amount); - assert!(T::Currency::balance(foreign_asset_id, &pallet_account).is_zero()); + assert_eq!(::Currency::balance(T::ForeignTracAssetId::get(), &caller), amount); + assert!(::Currency::balance(T::ForeignTracAssetId::get(), &Wrapper::::pallet_account_id()).is_zero()); } +} + +fn setup_assets(caller: T::AccountId) -> DispatchResult +where + T: Config, + T: pallet_assets::Config>, + T: pallet_assets::Config, + T: pallet_balances::Config, +{ + let pallet_account = Wrapper::::pallet_account_id(); + + // Native asset (needed for tx fees) + let initial_neuro_balance = 100 * NEURO; + as frame_support::traits::Currency>::make_free_balance_be(&caller, initial_neuro_balance.into()); + as frame_support::traits::Currency>::make_free_balance_be(&pallet_account, initial_neuro_balance.into()); + + // Local TRAC + let local_trac_asset_id = match T::LocalTracAssetId::get() { + UnifiedAssetId::Local(id) => id, + _ => panic!(), + }; + + pallet_assets::Pallet::::force_create( + RawOrigin::Root.into(), // Root required for force_create + codec::Compact(local_trac_asset_id), + ::Lookup::unlookup(caller.clone()), + true, + 1u32.into(), + )?; + + // Foreign TRAC + let foreign_trac_asset_location = match T::ForeignTracAssetId::get() { + UnifiedAssetId::Foreign(loc) => loc, + _ => panic!(), + }; + + pallet_assets::Pallet::::force_create( + RawOrigin::Root.into(), + foreign_trac_asset_location, + ::Lookup::unlookup(caller.clone()), + true, + 1u32.into(), + )?; -} \ No newline at end of file + Ok(()) +} diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 13b1b81a..394bdb72 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -12,14 +12,27 @@ // along with this program. If not, see . #![cfg_attr(not(feature = "std"), no_std)] -use codec::{Encode, Decode}; -use scale_info::TypeInfo; +use codec::{Decode, Encode}; use frame_support::pallet_prelude::MaxEncodedLen; -use serde::{Serialize, Deserialize}; +use scale_info::TypeInfo; +use serde::{Deserialize, Serialize}; use xcm::v3::MultiLocation; // Adapter for supporting different currencies -#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen, Serialize, Deserialize)] +#[derive( + Clone, + PartialEq, + Eq, + PartialOrd, + Ord, + Debug, + Encode, + Decode, + TypeInfo, + MaxEncodedLen, + Serialize, + Deserialize, +)] pub enum UnifiedAssetId { Native, Local(u128), diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 835c02fa..2c93c60c 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -97,6 +97,7 @@ pallet-preimage = { workspace = true } # Local pallet-wrapper = { workspace = true } +primitives = { workspace = true } [build-dependencies] substrate-wasm-builder = { workspace = true, optional = true } @@ -152,6 +153,7 @@ std = [ "pallet-wrapper/std", "pallet-xc-asset-config/std", "pallet-xcm/std", + "primitives/std", "parachain-info/std", "parachains-common/std", "polkadot-parachain/std", diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 5d31a25d..86bf35e6 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -7,7 +7,7 @@ use frame_support::{ AsEnsureOriginWithArg, }, }; -use serde::{Serialize, Deserialize}; +use primitives::UnifiedAssetId; use xcm::v3::{MultiLocation, Junction, NetworkId, Junctions}; /// The existential deposit. Set to 1/10 of the Connected Relay Chain. @@ -109,14 +109,6 @@ impl pallet_assets::Config for Runtime { type BenchmarkHelper = XcmBenchmarkHelper; } -// MulticurrencyAdapter -#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Debug, Encode, Decode, TypeInfo, MaxEncodedLen, Serialize, Deserialize)] -pub enum UnifiedAssetId { - Native, - Local(u128), - Foreign(MultiLocation), // now directly holds location -} - pub struct MultiCurrencyAdapter; impl FungiblesInspect for MultiCurrencyAdapter { type AssetId = UnifiedAssetId; From e92743b43cfbc0e3926882341c6a80b5cbc35fcc Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 26 Jul 2025 22:58:18 +0200 Subject: [PATCH 15/89] Add weights template --- scripts/pallet-weight-template.hbs | 81 ++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 scripts/pallet-weight-template.hbs diff --git a/scripts/pallet-weight-template.hbs b/scripts/pallet-weight-template.hbs new file mode 100644 index 00000000..00ae2eae --- /dev/null +++ b/scripts/pallet-weight-template.hbs @@ -0,0 +1,81 @@ +// This program 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. + +// This program 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 this program. If not, see . + +{{header}} +//! Autogenerated weights for `{{pallet}}` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} +//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: `{{cmd.repeat}}`, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! WORST CASE MAP SIZE: `{{cmd.worst_case_map_values}}` +//! HOSTNAME: `{{hostname}}`, CPU: `{{cpuname}}` +//! WASM-EXECUTION: `{{cmd.wasm_execution}}`, CHAIN: `{{cmd.chain}}`, DB CACHE: `{{cmd.db_cache}}` + +// Executed Command: +{{#each args as |arg|}} +// {{arg}} +{{/each}} + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `{{pallet}}`. +pub struct WeightInfo(PhantomData); + +/// Weights for `{{pallet}}` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl {{pallet}}::WeightInfo for NeurowebWeight { + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + /// {{comment}} + {{/each}} + {{#each benchmark.component_ranges as |range|}} + /// The range of component `{{range.name}}` is `[{{range.min}}, {{range.max}}]`. + {{/each}} + fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + // Proof Size summary in bytes: + // Measured: `{{benchmark.base_recorded_proof_size}}{{#each benchmark.component_recorded_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Estimated: `{{benchmark.base_calculated_proof_size}}{{#each benchmark.component_calculated_proof_size as |cp|}} + {{cp.name}} * ({{cp.slope}} ±{{underscore cp.error}}){{/each}}` + // Minimum execution time: {{underscore benchmark.min_execution_time}}_000 picoseconds. + Weight::from_parts({{underscore benchmark.base_weight}}, {{benchmark.base_calculated_proof_size}}) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}, 0).saturating_mul({{cw.name}}.into())) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}.into()))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}.into()))) + {{/each}} + {{#each benchmark.component_calculated_proof_size as |cp|}} + .saturating_add(Weight::from_parts(0, {{cp.slope}}).saturating_mul({{cp.name}}.into())) + {{/each}} + } + {{/each}} +} \ No newline at end of file From 361c9308324aa85507568d0df921a67e85b19822 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 26 Jul 2025 22:58:41 +0200 Subject: [PATCH 16/89] Add weights for wrapper --- Cargo.lock | 6 +-- pallets/wrapper/src/lib.rs | 10 +++- pallets/wrapper/src/mock.rs | 1 + pallets/wrapper/src/weights.rs | 69 ++++++++++++++++++++++++++ runtime/src/lib.rs | 1 + runtime/src/weights/mod.rs | 1 + runtime/src/weights/wrapper.rs | 90 ++++++++++++++++++++++++++++++++++ wrapper.rs | 90 ++++++++++++++++++++++++++++++++++ 8 files changed, 263 insertions(+), 5 deletions(-) create mode 100644 pallets/wrapper/src/weights.rs create mode 100644 runtime/src/weights/wrapper.rs create mode 100644 wrapper.rs diff --git a/Cargo.lock b/Cargo.lock index f83d8b16..bdbc997d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9704,12 +9704,12 @@ dependencies = [ name = "primitives" version = "0.1.0" dependencies = [ - "frame-support 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 31.0.1 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", - "staging-xcm 7.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0)", + "sp-runtime", + "staging-xcm", ] [[package]] diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 010a980b..f3a07e2a 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -17,6 +17,9 @@ pub use pallet::*; #[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; +pub mod weights; +pub use weights::*; + #[cfg(test)] mod mock; @@ -67,6 +70,9 @@ pub mod pallet { #[pallet::constant] type PalletId: Get; + /// Weight information for extrinsics in this pallet. + type WeightInfo: WeightInfo; + type RuntimeEvent: From> + IsType<::RuntimeEvent>; } @@ -101,7 +107,7 @@ pub mod pallet { /// /// Transfers foreign TRAC from sender to pallet account and mints equal amount of local TRAC to sender #[pallet::call_index(0)] - #[pallet::weight(10_000)] + #[pallet::weight(T::WeightInfo::trac_wrap())] pub fn trac_wrap( origin: OriginFor, #[pallet::compact] amount: T::Balance, @@ -144,7 +150,7 @@ pub mod pallet { /// /// Burns local TRAC from sender and transfers equal amount of foreign TRAC from pallet account to sender #[pallet::call_index(1)] - #[pallet::weight(10_000)] + #[pallet::weight(T::WeightInfo::trac_unwrap())] pub fn trac_unwrap( origin: OriginFor, #[pallet::compact] amount: T::Balance, diff --git a/pallets/wrapper/src/mock.rs b/pallets/wrapper/src/mock.rs index 506067fc..1ad38fe1 100644 --- a/pallets/wrapper/src/mock.rs +++ b/pallets/wrapper/src/mock.rs @@ -112,6 +112,7 @@ impl crate::Config for Test { type LocalTracAssetId = LocalTracAssetId; type ForeignTracAssetId = ForeignTracAssetId; type PalletId = WrapperPalletId; + type WeightInfo = (); } // Test accounts diff --git a/pallets/wrapper/src/weights.rs b/pallets/wrapper/src/weights.rs new file mode 100644 index 00000000..0dc2cef4 --- /dev/null +++ b/pallets/wrapper/src/weights.rs @@ -0,0 +1,69 @@ +// This program 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. + +// This program 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 this program. If not, see . + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_wrapper`. +pub trait WeightInfo { + fn trac_wrap() -> Weight; + fn trac_unwrap() -> Weight; +} + +/// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. +impl WeightInfo for () { + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn trac_wrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `855` + // Estimated: `7404` + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(69_000_000, 7404) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn trac_unwrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `975` + // Estimated: `7404` + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(79_000_000, 7404) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) + } +} \ No newline at end of file diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 3b8fe7b6..5947a2c8 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1106,6 +1106,7 @@ impl pallet_wrapper::Config for Runtime { type LocalTracAssetId = LocalTracAssetId; // Local TRAC asset ID type ForeignTracAssetId = ForeignTracAssetId; // Define this constant type PalletId = TracWrapperPalletId; // Define this constant + type WeightInfo = weights::wrapper::NeurowebWeight; } // Create the runtime by composing the FRAME pallets that were previously configured. diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index bd1e58db..bf212d21 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod rocksdb_weights; pub mod evm_accounts_weights; pub mod pallet_xc_asset_config; pub mod pallet_xcm; +pub mod wrapper; pub use block_weights::constants::BlockExecutionWeight; pub use extrinsic_weights::constants::ExtrinsicBaseWeight; diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs new file mode 100644 index 00000000..913ad65c --- /dev/null +++ b/runtime/src/weights/wrapper.rs @@ -0,0 +1,90 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_wrapper` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-07-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `MBP.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-wrapper +// --output=wrapper.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_wrapper`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_wrapper::WeightInfo for NeurowebWeight { + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn trac_wrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `855` + // Estimated: `7404` + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(69_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn trac_unwrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `975` + // Estimated: `7404` + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(79_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } +} \ No newline at end of file diff --git a/wrapper.rs b/wrapper.rs new file mode 100644 index 00000000..20331e43 --- /dev/null +++ b/wrapper.rs @@ -0,0 +1,90 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_wrapper` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-07-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `MBP.local`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-wrapper +// --output=wrapper.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_wrapper`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_wrapper::WeightInfo for NeurowebWeight { + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn trac_wrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `855` + // Estimated: `7404` + // Minimum execution time: 70_000_000 picoseconds. + Weight::from_parts(71_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + fn trac_unwrap() -> Weight { + // Proof Size summary in bytes: + // Measured: `975` + // Estimated: `7404` + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(81_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) + } +} \ No newline at end of file From 5d31d9aa051267022d74cf9317407302f8f746b3 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 26 Jul 2025 23:22:19 +0200 Subject: [PATCH 17/89] refactor --- runtime/src/assets.rs | 5 ++--- runtime/src/weights/wrapper.rs | 3 --- wrapper.rs | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 86bf35e6..52a97a03 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -64,6 +64,7 @@ parameter_types! { impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; + type RemoveItemsLimit = ConstU32<656>; type AssetId = AssetId; type AssetIdParameter = codec::Compact; type Currency = Balances; @@ -79,7 +80,6 @@ impl pallet_assets::Config for Runtime { type Extra = (); type CallbackHandle = (); type WeightInfo = pallet_assets::weights::SubstrateWeight; - type RemoveItemsLimit = ConstU32<656>; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = AssetsBenchmarkHelper; } @@ -88,10 +88,10 @@ impl pallet_assets::Config for Runtime { impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; + type RemoveItemsLimit = ConstU32<656>; type AssetId = MultiLocation; type AssetIdParameter = MultiLocation; type Currency = Balances; - // TODO: XCM type CreateOrigin = AsEnsureOriginWithArg>; type ForceOrigin = EnsureRoot; type AssetDeposit = AssetDeposit; @@ -104,7 +104,6 @@ impl pallet_assets::Config for Runtime { type Extra = (); type CallbackHandle = (); type WeightInfo = pallet_assets::weights::SubstrateWeight; - type RemoveItemsLimit = ConstU32<656>; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = XcmBenchmarkHelper; } diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs index 913ad65c..3116317e 100644 --- a/runtime/src/weights/wrapper.rs +++ b/runtime/src/weights/wrapper.rs @@ -43,9 +43,6 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; use crate::*; -/// Weights for `pallet_wrapper`. -pub struct WeightInfo(PhantomData); - /// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl pallet_wrapper::WeightInfo for NeurowebWeight { diff --git a/wrapper.rs b/wrapper.rs index 20331e43..24fe929d 100644 --- a/wrapper.rs +++ b/wrapper.rs @@ -63,8 +63,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `855` // Estimated: `7404` - // Minimum execution time: 70_000_000 picoseconds. - Weight::from_parts(71_000_000, 7404) + // Minimum execution time: 69_000_000 picoseconds. + Weight::from_parts(70_000_000, 7404) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } From dc38aca2b2d3472eff143ee0af113befc933a944 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 28 Jul 2025 13:39:13 +0200 Subject: [PATCH 18/89] xcm config --- runtime/src/xcm_config.rs | 83 +++++++++++++++++++++++++++++++++------ 1 file changed, 72 insertions(+), 11 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 27ca14c9..4ca6a40a 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -1,5 +1,5 @@ use super::{ - AccountId, AllPalletsWithSystem, Balances, DealWithFees, Runtime, RuntimeCall, RuntimeEvent, + AccountId, AllPalletsWithSystem, Balances, Assets, ForeignAssets, DealWithFees, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, ParachainInfo, ParachainSystem, PolkadotXcm, WeightToFee, XcmpQueue, }; use frame_support::{ @@ -12,11 +12,13 @@ use polkadot_parachain::primitives::Sibling; use xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - FungibleAdapter, EnsureXcmOrigin, FixedWeightBounds, IsConcrete, NativeAsset, ParentIsPreset, + FungibleAdapter, FungiblesAdapter, EnsureXcmOrigin, FixedWeightBounds, IsConcrete, NativeAsset, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, - UsingComponents, WithComputedOrigin, + UsingComponents, WithComputedOrigin, ConvertedConcreteId, StartsWith, }; +use frame_support::traits::TrackedStorageKey; +use xcm_executor::traits::{JustTry, Identity}; use frame_system::EnsureRoot; use xcm_executor::{traits::WithOriginFilter, XcmExecutor}; @@ -30,6 +32,18 @@ parameter_types! { PalletInstance(::index() as u8) ].into() }; + pub AssetsLocation: Location = Location { + parents: 0, + interior: [ + PalletInstance(::index() as u8) + ].into() + }; + pub ForeignAssetsLocation: Location = Location { + parents: 0, + interior: [ + PalletInstance(::index() as u8) + ].into() + }; pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); } @@ -45,20 +59,65 @@ pub type LocationToAccountId = ( AccountId32Aliases, ); -/// Means for transacting assets on this chain. -pub type LocalAssetTransactor = FungibleAdapter< - // Use this currency: +// Handle native currency (NEURO) via Balances pallet +pub type NativeAssetTransactor = FungibleAdapter< Balances, - // Use this currency when it is a fungible asset matching the given location or name: IsConcrete, - // 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, - // We don't track any teleports. (), >; +pub type ForeignAssetTransactor = FungiblesAdapter< + ForeignAssets, + ConvertedConcreteId< + xcm::v3::MultiLocation, + u128, + StartsWith, + Identity, + >, + LocationToAccountId, + AccountId, + xcm_builder::NoChecking, + (), +>; + +/// Means for transacting assets on this chain. +pub type AssetTransactors = ( + NativeAssetTransactor, + ForeignAssetTransactor, +); + +// // Handle local assets via Assets pallet (Instance1) +// FungiblesAdapter< +// Assets, +// ConvertedConcreteId< +// u128, +// u128, +// StartsWith, +// Identity, +// >, +// LocationToAccountId, +// AccountId, +// xcm_builder::NoChecking, +// (), +// >, +// // Handle foreign assets via ForeignAssets pallet (Instance2) +// FungiblesAdapter< +// ForeignAssets, +// ConvertedConcreteId< +// xcm::v3::MultiLocation, +// u128, +// JustTry>, +// Identity, +// >, +// LocationToAccountId, +// AccountId, +// xcm_builder::NoChecking, +// (), +// >, +// ); + /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, /// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can /// biases the kind of local `Origin` it will become. @@ -136,6 +195,8 @@ impl Contains for SafeCallFilter { ) | RuntimeCall::Timestamp(..) | RuntimeCall::Balances(..) | + RuntimeCall::Assets(..) | + RuntimeCall::ForeignAssets(..) | RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) | RuntimeCall::Treasury(..) | RuntimeCall::Vesting(..) | @@ -167,7 +228,7 @@ impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; type XcmSender = XcmRouter; // How to withdraw and deposit an asset. - type AssetTransactor = LocalAssetTransactor; + type AssetTransactor = AssetTransactors; type OriginConverter = XcmOriginToTransactDispatchOrigin; type IsReserve = NativeAsset; type IsTeleporter = (); // Teleporting is disabled. From 7e5595136e931b64532273dc3a9a8e90316c916d Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 28 Jul 2025 18:43:16 +0200 Subject: [PATCH 19/89] xcm config --- Cargo.toml | 6 + pallets/wrapper/src/lib.rs | 11 +- runtime/Cargo.toml | 5 + runtime/src/xcm_config.rs | 281 ++++++++++++++++++++++--------------- 4 files changed, 183 insertions(+), 120 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9059cf01..0b4812ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,11 @@ slices = "0.2.0" smallvec = "1.10.0" serde = { version = "1.0.152", default-features = false } serde_json = "1.0.92" +itertools = { version = "0.11", default-features = false, features = [ + "use_alloc", +] } +rustc-hex = { version = "2.0.1", default-features = false } +tracing = { version = "0.1.37", default-features = false } # Substrate frame-benchmarking = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } @@ -164,6 +169,7 @@ cumulus-primitives-utility = { git = "https://github.com/paritytech/polkadot-sdk pallet-collator-selection = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } parachain-info = { package = "staging-parachain-info", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } parachains-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } +assets-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } # Polkadot polkadot-cli = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.11.0" } diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index f3a07e2a..490fd2e5 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -14,17 +14,18 @@ use sp_runtime::traits::{AccountIdConversion, AtLeast32BitUnsigned, Zero}; pub use pallet::*; +#[cfg(test)] +mod mock; + +#[cfg(test)] +mod tests; + #[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; pub mod weights; pub use weights::*; -#[cfg(test)] -mod mock; - -#[cfg(test)] -mod tests; #[frame_support::pallet] pub mod pallet { diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 2c93c60c..67dad2fc 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -15,6 +15,8 @@ log = { workspace = true } scale-info = { workspace = true } smallvec = { workspace = true } serde = { workspace = true } +impl-trait-for-tuples = { workspace = true } +tracing = { workspace = true } # Substrate frame-benchmarking = { workspace = true, optional = true } @@ -76,6 +78,7 @@ cumulus-primitives-utility = { workspace = true } pallet-collator-selection = { workspace = true } parachain-info = { workspace = true } parachains-common = { workspace = true } +assets-common = { workspace = true } # Frontier pallet-base-fee = { workspace = true } @@ -108,6 +111,7 @@ std = [ "codec/std", "log/std", "scale-info/std", + "tracing/std", "cumulus-pallet-aura-ext/std", "cumulus-pallet-dmp-queue/std", "cumulus-pallet-parachain-system/std", @@ -156,6 +160,7 @@ std = [ "primitives/std", "parachain-info/std", "parachains-common/std", + "assets-common/std", "polkadot-parachain/std", "polkadot-runtime-common/std", "sp-api/std", diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 4ca6a40a..91cbc187 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -1,50 +1,47 @@ use super::{ - AccountId, AllPalletsWithSystem, Balances, Assets, ForeignAssets, DealWithFees, Runtime, RuntimeCall, RuntimeEvent, - RuntimeOrigin, ParachainInfo, ParachainSystem, PolkadotXcm, WeightToFee, XcmpQueue, + AccountId, AllPalletsWithSystem, Assets, Balance, Balances, DealWithFees, ForeignAssets, + ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, + WeightToFee, XcmpQueue, }; +use codec::Encode; +use core::marker::PhantomData; use frame_support::{ parameter_types, - traits::{ConstU32, Contains, Everything, Nothing, PalletInfoAccess}, + traits::{ConstU32, Contains, Everything, Get, Nothing, PalletInfoAccess}, weights::Weight, }; +use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; +use sp_core::blake2_256; use xcm::latest::prelude::*; use xcm_builder::{ - AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, AllowTopLevelPaidExecutionFrom, - FungibleAdapter, FungiblesAdapter, EnsureXcmOrigin, FixedWeightBounds, IsConcrete, NativeAsset, ParentIsPreset, - RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, - SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, - UsingComponents, WithComputedOrigin, ConvertedConcreteId, StartsWith, + AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, + AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, + FixedWeightBounds, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete, + NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, + SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, +}; +use xcm_executor::{ + traits::{ConvertLocation, WithOriginFilter}, + XcmExecutor, }; -use frame_support::traits::TrackedStorageKey; -use xcm_executor::traits::{JustTry, Identity}; -use frame_system::EnsureRoot; -use xcm_executor::{traits::WithOriginFilter, XcmExecutor}; parameter_types! { pub const RelayLocation: Location = Location::parent(); pub const RelayNetwork: NetworkId = NetworkId::Polkadot; pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); + pub TokenLocation: Location = Location { parents:0, interior: [ PalletInstance(::index() as u8) ].into() }; - pub AssetsLocation: Location = Location { - parents: 0, - interior: [ - PalletInstance(::index() as u8) - ].into() - }; - pub ForeignAssetsLocation: Location = Location { - parents: 0, - interior: [ - PalletInstance(::index() as u8) - ].into() - }; + pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); + pub CheckingAccount: AccountId = PolkadotXcm::check_account(); } /// Type for specifying how a `Location` can be converted into an `AccountId`. This is used @@ -57,66 +54,30 @@ pub type LocationToAccountId = ( SiblingParachainConvertsVia, // Straight up local `AccountId32` origins just alias directly to `AccountId`. AccountId32Aliases, + // Ethereum contract sovereign account. + // (Used to get convert ethereum contract locations to sovereign account) + ExternalConsensusLocationsConverterFor, ); // Handle native currency (NEURO) via Balances pallet -pub type NativeAssetTransactor = FungibleAdapter< - Balances, - IsConcrete, - LocationToAccountId, - AccountId, - (), ->; +pub type NativeAssetTransactor = + FungibleAdapter, LocationToAccountId, AccountId, ()>; pub type ForeignAssetTransactor = FungiblesAdapter< ForeignAssets, - ConvertedConcreteId< - xcm::v3::MultiLocation, - u128, - StartsWith, - Identity, - >, + ForeignAssetsConvertedConcreteId, LocationToAccountId, AccountId, - xcm_builder::NoChecking, - (), + NoChecking, + CheckingAccount, >; -/// Means for transacting assets on this chain. -pub type AssetTransactors = ( - NativeAssetTransactor, - ForeignAssetTransactor, -); +/// `AssetId`/`Balance` converter for `ForeignAssets` +pub type ForeignAssetsConvertedConcreteId = + assets_common::ForeignAssetsConvertedConcreteId<(), Balance, xcm::v3::MultiLocation>; -// // Handle local assets via Assets pallet (Instance1) -// FungiblesAdapter< -// Assets, -// ConvertedConcreteId< -// u128, -// u128, -// StartsWith, -// Identity, -// >, -// LocationToAccountId, -// AccountId, -// xcm_builder::NoChecking, -// (), -// >, -// // Handle foreign assets via ForeignAssets pallet (Instance2) -// FungiblesAdapter< -// ForeignAssets, -// ConvertedConcreteId< -// xcm::v3::MultiLocation, -// u128, -// JustTry>, -// Identity, -// >, -// LocationToAccountId, -// AccountId, -// xcm_builder::NoChecking, -// (), -// >, -// ); +/// Means for transacting assets on this chain. +pub type AssetTransactors = (NativeAssetTransactor, ForeignAssetTransactor); /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, /// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can @@ -181,46 +142,49 @@ pub type Barrier = ( /// 3. Have a defined proof size weight, e.g. no unbounded vecs in call parameters. pub struct SafeCallFilter; impl Contains for SafeCallFilter { - fn contains(call: &RuntimeCall) -> bool { - #[cfg(feature = "runtime-benchmarks")] - { - if matches!(call, RuntimeCall::System(frame_system::Call::remark_with_event { .. })) { - return true - } - } + fn contains(call: &RuntimeCall) -> bool { + #[cfg(feature = "runtime-benchmarks")] + { + if matches!( + call, + RuntimeCall::System(frame_system::Call::remark_with_event { .. }) + ) { + return true; + } + } - match call { - RuntimeCall::System( - frame_system::Call::kill_prefix { .. } | frame_system::Call::set_heap_pages { .. }, - ) | - RuntimeCall::Timestamp(..) | - RuntimeCall::Balances(..) | - RuntimeCall::Assets(..) | - RuntimeCall::ForeignAssets(..) | - RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) | - RuntimeCall::Treasury(..) | - RuntimeCall::Vesting(..) | - RuntimeCall::Utility(pallet_utility::Call::as_derivative { .. }) | - RuntimeCall::Identity( - pallet_identity::Call::add_registrar { .. } | - pallet_identity::Call::set_identity { .. } | - pallet_identity::Call::clear_identity { .. } | - pallet_identity::Call::request_judgement { .. } | - pallet_identity::Call::cancel_request { .. } | - pallet_identity::Call::set_fee { .. } | - pallet_identity::Call::set_account_id { .. } | - pallet_identity::Call::set_fields { .. } | - pallet_identity::Call::provide_judgement { .. } | - pallet_identity::Call::kill_identity { .. } | - pallet_identity::Call::add_sub { .. } | - pallet_identity::Call::rename_sub { .. } | - pallet_identity::Call::remove_sub { .. } | - pallet_identity::Call::quit_sub { .. }, - ) | - RuntimeCall::PolkadotXcm(..) => true, - _ => false, - } - } + match call { + RuntimeCall::System( + frame_system::Call::kill_prefix { .. } | frame_system::Call::set_heap_pages { .. }, + ) + | RuntimeCall::Timestamp(..) + | RuntimeCall::Balances(..) + | RuntimeCall::Assets(..) + | RuntimeCall::ForeignAssets(..) + | RuntimeCall::Session(pallet_session::Call::purge_keys { .. }) + | RuntimeCall::Treasury(..) + | RuntimeCall::Vesting(..) + | RuntimeCall::Utility(pallet_utility::Call::as_derivative { .. }) + | RuntimeCall::Identity( + pallet_identity::Call::add_registrar { .. } + | pallet_identity::Call::set_identity { .. } + | pallet_identity::Call::clear_identity { .. } + | pallet_identity::Call::request_judgement { .. } + | pallet_identity::Call::cancel_request { .. } + | pallet_identity::Call::set_fee { .. } + | pallet_identity::Call::set_account_id { .. } + | pallet_identity::Call::set_fields { .. } + | pallet_identity::Call::provide_judgement { .. } + | pallet_identity::Call::kill_identity { .. } + | pallet_identity::Call::add_sub { .. } + | pallet_identity::Call::rename_sub { .. } + | pallet_identity::Call::remove_sub { .. } + | pallet_identity::Call::quit_sub { .. }, + ) + | RuntimeCall::PolkadotXcm(..) => true, + _ => false, + } + } } pub struct XcmConfig; @@ -235,8 +199,7 @@ impl xcm_executor::Config for XcmConfig { type UniversalLocation = UniversalLocation; type Barrier = Barrier; type Weigher = FixedWeightBounds; - type Trader = - UsingComponents; + type Trader = UsingComponents; type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; type AssetClaims = PolkadotXcm; @@ -271,7 +234,7 @@ pub type XcmRouter = ( #[cfg(feature = "runtime-benchmarks")] parameter_types! { - pub ReachableDest: Option = Some(Parent.into()); + pub ReachableDest: Option = Some(Parent.into()); } impl pallet_xcm::Config for Runtime { @@ -307,3 +270,91 @@ impl cumulus_pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type XcmExecutor = XcmExecutor; } + +// The parts below are copied from a later version of polkadot-sdk +// Copied from +// https://github.com/paritytech/polkadot-sdk/blob/7ef027551fd1290c42581a85052b643bffc9cbe4/polkadot/xcm/xcm-builder/src/location_conversion.rs +/// Converts locations from external global consensus systems (e.g., Ethereum, other parachains) +/// into `AccountId`. +/// +/// Replaces `GlobalConsensusParachainConvertsFor` and `EthereumLocationsConverterFor` in a +/// backwards-compatible way, and extends them for also handling child locations (e.g., +/// `AccountId(Alice)`). +pub struct ExternalConsensusLocationsConverterFor( + PhantomData<(UniversalLocation, AccountId)>, +); + +impl, AccountId: From<[u8; 32]> + Clone> + ConvertLocation + for ExternalConsensusLocationsConverterFor +{ + fn convert_location(location: &Location) -> Option { + let universal_source = UniversalLocation::get(); + tracing::trace!( + target: "xcm::location_conversion", + "ExternalConsensusLocationsConverterFor universal_source: {:?}, location: {:?}", + universal_source, location, + ); + let (remote_network, remote_location) = + ensure_is_remote(universal_source, location.clone()).ok()?; + + // replaces and extends `EthereumLocationsConverterFor` and + // `GlobalConsensusParachainConvertsFor` + let acc_id: AccountId = if let Ethereum { chain_id } = &remote_network { + match remote_location.as_slice() { + // equivalent to `EthereumLocationsConverterFor` + [] => (b"ethereum-chain", chain_id) + .using_encoded(blake2_256) + .into(), + // equivalent to `EthereumLocationsConverterFor` + [AccountKey20 { network: _, key }] => (b"ethereum-chain", chain_id, *key) + .using_encoded(blake2_256) + .into(), + // extends `EthereumLocationsConverterFor` + tail => (b"ethereum-chain", chain_id, tail) + .using_encoded(blake2_256) + .into(), + } + } else { + match remote_location.as_slice() { + // equivalent to `GlobalConsensusParachainConvertsFor` + [Parachain(para_id)] => (b"glblcnsnss/prchn_", remote_network, para_id) + .using_encoded(blake2_256) + .into(), + // converts everything else based on hash of encoded location tail + tail => (b"glblcnsnss", remote_network, tail) + .using_encoded(blake2_256) + .into(), + } + }; + Some(acc_id) + } +} + +// Copied from +// https://github.com/paritytech/polkadot-sdk/blob/a15d066faac70676101854cfa9b55f00f61e865a/polkadot/xcm/xcm-builder/src/universal_exports.rs#L34 +/// Returns the network ID and consensus location within that network of the remote +/// location `dest` which is itself specified as a location relative to the local +/// chain, itself situated at `universal_local` within the consensus universe. If +/// `dest` is not a location in remote consensus, then an error is returned. +pub fn ensure_is_remote( + universal_local: impl Into, + dest: impl Into, +) -> Result<(NetworkId, InteriorLocation), Location> { + let dest = dest.into(); + let universal_local = universal_local.into(); + let local_net = match universal_local.global_consensus() { + Ok(x) => x, + Err(_) => return Err(dest), + }; + let universal_destination: InteriorLocation = universal_local + .into_location() + .appended_with(dest.clone()) + .map_err(|x| x.1)? + .try_into()?; + let (remote_dest, remote_net) = match universal_destination.split_first() { + (d, Some(GlobalConsensus(n))) if n != local_net => (d, n), + _ => return Err(dest), + }; + Ok((remote_net, remote_dest)) +} From 5d6afb5596f4c4f02e9b1b33e5ce19081d266261 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 28 Jul 2025 22:15:53 +0200 Subject: [PATCH 20/89] refactor balance check --- pallets/wrapper/src/lib.rs | 32 ++--------- pallets/wrapper/src/mock.rs | 4 +- pallets/wrapper/src/tests.rs | 7 +-- runtime/Cargo.toml | 1 + runtime/src/weights/wrapper.rs | 2 +- scripts/pallet-weight-template.hbs | 2 +- wrapper.rs | 90 ------------------------------ 7 files changed, 12 insertions(+), 126 deletions(-) delete mode 100644 wrapper.rs diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 490fd2e5..08872921 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -94,10 +94,8 @@ pub mod pallet { #[pallet::error] pub enum Error { - /// Insufficient user balance - InsufficientUserBalance, - /// Insufficient pallet foreign TRAC balance for unwrapping - InsufficientPalletBalance, + /// Insufficient funds for the operation + InsufficientFunds, /// Amount is zero ZeroAmount, } @@ -122,12 +120,6 @@ pub mod pallet { let foreign_trac_asset_id = T::ForeignTracAssetId::get(); let local_trac_asset_id = T::LocalTracAssetId::get(); - // Check if user has sufficient foreign TRAC balance - let user_foreign_balance = T::Currency::balance(foreign_trac_asset_id.clone(), &who); - ensure!( - user_foreign_balance >= amount, - Error::::InsufficientUserBalance - ); // Transfer foreign TRAC from user to pallet account T::Currency::transfer( @@ -136,7 +128,7 @@ pub mod pallet { &pallet_account, amount, frame_support::traits::tokens::Preservation::Expendable, - )?; + ).map_err(|_| Error::::InsufficientFunds)?; // Mint local TRAC to user T::Currency::mint_into(local_trac_asset_id, &who, amount)?; @@ -165,20 +157,6 @@ pub mod pallet { let foreign_trac_asset_id = T::ForeignTracAssetId::get(); let local_trac_asset_id = T::LocalTracAssetId::get(); - // Check if user has sufficient local TRAC balance - let user_local_balance = T::Currency::balance(local_trac_asset_id.clone(), &who); - ensure!( - user_local_balance >= amount, - Error::::InsufficientUserBalance - ); - - // Check if pallet has sufficient foreign TRAC balance - let pallet_foreign_balance = - T::Currency::balance(foreign_trac_asset_id.clone(), &pallet_account); - ensure!( - pallet_foreign_balance >= amount, - Error::::InsufficientPalletBalance - ); // Burn local TRAC from user T::Currency::burn_from( @@ -187,7 +165,7 @@ pub mod pallet { amount, frame_support::traits::tokens::Precision::Exact, frame_support::traits::tokens::Fortitude::Polite, - )?; + ).map_err(|_| Error::::InsufficientFunds)?; // Transfer foreign TRAC from pallet account to user T::Currency::transfer( @@ -196,7 +174,7 @@ pub mod pallet { &who, amount, frame_support::traits::tokens::Preservation::Expendable, - )?; + ).map_err(|_| Error::::InsufficientFunds)?; // Emit event Self::deposit_event(Event::TracUnwrapped { who, amount }); diff --git a/pallets/wrapper/src/mock.rs b/pallets/wrapper/src/mock.rs index 1ad38fe1..5d83c37a 100644 --- a/pallets/wrapper/src/mock.rs +++ b/pallets/wrapper/src/mock.rs @@ -2,8 +2,7 @@ use frame_support::{ construct_runtime, parameter_types, - traits::{AsEnsureOriginWithArg, ConstU32, ConstU64}, - weights::Weight, + traits::{AsEnsureOriginWithArg, ConstU32}, PalletId, }; use frame_system as system; @@ -118,7 +117,6 @@ impl crate::Config for Test { // Test accounts pub const ALICE: AccountId = 1; pub const BOB: AccountId = 2; -pub const CHARLIE: AccountId = 3; // Build genesis storage according to the mock runtime. pub fn new_test_ext() -> sp_io::TestExternalities { diff --git a/pallets/wrapper/src/tests.rs b/pallets/wrapper/src/tests.rs index 69b9cdef..a62a532a 100644 --- a/pallets/wrapper/src/tests.rs +++ b/pallets/wrapper/src/tests.rs @@ -2,7 +2,6 @@ use super::*; use crate::mock::*; use frame_support::{ assert_noop, assert_ok, - traits::fungibles::Inspect, }; #[test] @@ -56,7 +55,7 @@ fn trac_wrap_with_insufficient_user_balance_fails() { // Should fail with insufficient balance assert_noop!( Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), wrap_amount), - Error::::InsufficientUserBalance + Error::::InsufficientFunds ); }); } @@ -142,7 +141,7 @@ fn trac_unwrap_with_insufficient_user_balance_fails() { // Should fail with insufficient local balance assert_noop!( Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), unwrap_amount), - Error::::InsufficientUserBalance + Error::::InsufficientFunds ); }); } @@ -177,7 +176,7 @@ fn trac_unwrap_with_insufficient_pallet_balance_fails() { // Should fail with insufficient pallet balance assert_noop!( Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), local_amount), - Error::::InsufficientPalletBalance + Error::::InsufficientFunds ); }); } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 67dad2fc..5fada690 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -183,6 +183,7 @@ std = [ runtime-benchmarks = [ "hex-literal", + "assets-common/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs index 3116317e..8a50e6d6 100644 --- a/runtime/src/weights/wrapper.rs +++ b/runtime/src/weights/wrapper.rs @@ -84,4 +84,4 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } -} \ No newline at end of file +} diff --git a/scripts/pallet-weight-template.hbs b/scripts/pallet-weight-template.hbs index 00ae2eae..139f7d74 100644 --- a/scripts/pallet-weight-template.hbs +++ b/scripts/pallet-weight-template.hbs @@ -78,4 +78,4 @@ impl {{pallet}}::WeightInfo for NeurowebWeight { {{/each}} } {{/each}} -} \ No newline at end of file +} diff --git a/wrapper.rs b/wrapper.rs deleted file mode 100644 index 24fe929d..00000000 --- a/wrapper.rs +++ /dev/null @@ -1,90 +0,0 @@ -// This program 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. - -// This program 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 this program. If not, see . - - -//! Autogenerated weights for `pallet_wrapper` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `MBP.local`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` - -// Executed Command: -// target/release/neuroweb -// benchmark -// pallet -// --chain=dev -// --steps=50 -// --repeat=20 -// --wasm-execution=compiled -// --heap-pages=4096 -// --template=scripts/pallet-weight-template.hbs -// --pallet=pallet-wrapper -// --output=wrapper.rs -// --extrinsic=* - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] -#![allow(missing_docs)] - -use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; -use core::marker::PhantomData; -use crate::*; - -/// Weights for `pallet_wrapper`. -pub struct WeightInfo(PhantomData); - -/// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. -pub struct NeurowebWeight(PhantomData); -impl pallet_wrapper::WeightInfo for NeurowebWeight { - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - fn trac_wrap() -> Weight { - // Proof Size summary in bytes: - // Measured: `855` - // Estimated: `7404` - // Minimum execution time: 69_000_000 picoseconds. - Weight::from_parts(70_000_000, 7404) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:2 w:2) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Asset` (r:1 w:1) - /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) - fn trac_unwrap() -> Weight { - // Proof Size summary in bytes: - // Measured: `975` - // Estimated: `7404` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(81_000_000, 7404) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) - } -} \ No newline at end of file From eec2e5385e891bf598c3e134fd8ebf02724c2cdb Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 28 Jul 2025 22:19:56 +0200 Subject: [PATCH 21/89] format --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0b4812ee..e52bf008 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ panic = "unwind" members = [ "node", "pallets/*", - "primitives", + "primitives", "runtime", ] From e03b0eaf1c4682d5d2bf3bc89f85a1db3050f2be Mon Sep 17 00:00:00 2001 From: cl0w Date: Sun, 10 Aug 2025 12:49:29 +0200 Subject: [PATCH 22/89] Add pausing functionality --- pallets/wrapper/src/benchmarking.rs | 19 +++++ pallets/wrapper/src/lib.rs | 45 ++++++++++- pallets/wrapper/src/mock.rs | 1 + pallets/wrapper/src/tests.rs | 121 ++++++++++++++++++++++++++++ pallets/wrapper/src/weights.rs | 22 +++++ runtime/src/lib.rs | 1 + runtime/src/weights/wrapper.rs | 20 +++++ 7 files changed, 228 insertions(+), 1 deletion(-) diff --git a/pallets/wrapper/src/benchmarking.rs b/pallets/wrapper/src/benchmarking.rs index eaa10963..d7b95976 100644 --- a/pallets/wrapper/src/benchmarking.rs +++ b/pallets/wrapper/src/benchmarking.rs @@ -68,6 +68,25 @@ benchmarks! { assert_eq!(::Currency::balance(T::ForeignTracAssetId::get(), &caller), amount); assert!(::Currency::balance(T::ForeignTracAssetId::get(), &Wrapper::::pallet_account_id()).is_zero()); } + + pause { + // Ensure pallet is not paused initially + assert!(!Wrapper::::is_paused()); + }: _(RawOrigin::Root) + verify { + // Verify pallet is now paused + assert!(Wrapper::::is_paused()); + } + + unpause { + // First pause the pallet + Wrapper::::pause(RawOrigin::Root.into())?; + assert!(Wrapper::::is_paused()); + }: _(RawOrigin::Root) + verify { + // Verify pallet is now unpaused + assert!(!Wrapper::::is_paused()); + } } fn setup_assets(caller: T::AccountId) -> DispatchResult diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 08872921..f28d7330 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -6,7 +6,7 @@ use frame_support::{ pallet_prelude::*, traits::{ fungibles::{Inspect, Mutate}, - Get, + Get, EnsureOrigin, }, }; use frame_system::pallet_prelude::*; @@ -74,6 +74,9 @@ pub mod pallet { /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; + /// Origin that can pause/unpause the pallet + type PauseOrigin: EnsureOrigin; + type RuntimeEvent: From> + IsType<::RuntimeEvent>; } @@ -90,14 +93,24 @@ pub mod pallet { who: T::AccountId, amount: T::Balance, }, + /// Pallet paused + Paused, + /// Pallet unpaused + Unpaused, } + #[pallet::storage] + #[pallet::getter(fn is_paused)] + pub type IsPaused = StorageValue<_, bool, ValueQuery>; + #[pallet::error] pub enum Error { /// Insufficient funds for the operation InsufficientFunds, /// Amount is zero ZeroAmount, + /// Pallet is paused + Paused, } #[pallet::call] @@ -113,6 +126,9 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin)?; + // Ensure pallet is not paused + ensure!(!Self::is_paused(), Error::::Paused); + // Ensure amount is not zero ensure!(!amount.is_zero(), Error::::ZeroAmount); @@ -150,6 +166,9 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin)?; + // Ensure pallet is not paused + ensure!(!Self::is_paused(), Error::::Paused); + // Ensure amount is not zero ensure!(!amount.is_zero(), Error::::ZeroAmount); @@ -181,6 +200,30 @@ pub mod pallet { Ok(()) } + + /// Pause the pallet, preventing all transactions + #[pallet::call_index(2)] + #[pallet::weight(T::WeightInfo::pause())] + pub fn pause(origin: OriginFor) -> DispatchResult { + T::PauseOrigin::ensure_origin(origin)?; + + IsPaused::::put(true); + Self::deposit_event(Event::Paused); + + Ok(()) + } + + /// Unpause the pallet, allowing transactions again + #[pallet::call_index(3)] + #[pallet::weight(T::WeightInfo::unpause())] + pub fn unpause(origin: OriginFor) -> DispatchResult { + T::PauseOrigin::ensure_origin(origin)?; + + IsPaused::::put(false); + Self::deposit_event(Event::Unpaused); + + Ok(()) + } } impl Pallet { diff --git a/pallets/wrapper/src/mock.rs b/pallets/wrapper/src/mock.rs index 5d83c37a..1faab1c9 100644 --- a/pallets/wrapper/src/mock.rs +++ b/pallets/wrapper/src/mock.rs @@ -111,6 +111,7 @@ impl crate::Config for Test { type LocalTracAssetId = LocalTracAssetId; type ForeignTracAssetId = ForeignTracAssetId; type PalletId = WrapperPalletId; + type PauseOrigin = frame_system::EnsureRoot; type WeightInfo = (); } diff --git a/pallets/wrapper/src/tests.rs b/pallets/wrapper/src/tests.rs index a62a532a..70059ff4 100644 --- a/pallets/wrapper/src/tests.rs +++ b/pallets/wrapper/src/tests.rs @@ -350,3 +350,124 @@ fn local_trac_total_supply_helper_is_correct() { ); }); } + +#[test] +fn pause_works() { + new_test_ext().execute_with(|| { + // Initially not paused + assert!(!Wrapper::is_paused()); + + // Root can pause + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + assert!(Wrapper::is_paused()); + + // Check event + System::assert_last_event(RuntimeEvent::Wrapper(Event::Paused)); + }); +} + +#[test] +fn unpause_works() { + new_test_ext().execute_with(|| { + // First pause + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + assert!(Wrapper::is_paused()); + + // Then unpause + assert_ok!(Wrapper::unpause(RuntimeOrigin::root())); + assert!(!Wrapper::is_paused()); + + // Check event + System::assert_last_event(RuntimeEvent::Wrapper(Event::Unpaused)); + }); +} + +#[test] +fn pause_requires_root_origin() { + new_test_ext().execute_with(|| { + // Non-root cannot pause + assert_noop!( + Wrapper::pause(RuntimeOrigin::signed(ALICE)), + sp_runtime::traits::BadOrigin + ); + }); +} + +#[test] +fn unpause_requires_root_origin() { + new_test_ext().execute_with(|| { + // First pause with root + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + + // Non-root cannot unpause + assert_noop!( + Wrapper::unpause(RuntimeOrigin::signed(ALICE)), + sp_runtime::traits::BadOrigin + ); + }); +} + +#[test] +fn trac_wrap_fails_when_paused() { + new_test_ext().execute_with(|| { + // Pause the pallet + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + + // Wrap should fail + assert_noop!( + Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), 1000), + Error::::Paused + ); + }); +} + +#[test] +fn trac_unwrap_fails_when_paused() { + new_test_ext().execute_with(|| { + let wrap_amount = 1000; + + // First wrap some tokens while not paused + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + + // Then pause the pallet + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + + // Unwrap should fail + assert_noop!( + Wrapper::trac_unwrap(RuntimeOrigin::signed(ALICE), 500), + Error::::Paused + ); + }); +} + +#[test] +fn transactions_work_after_unpause() { + new_test_ext().execute_with(|| { + let wrap_amount = 1000; + + // Pause the pallet + assert_ok!(Wrapper::pause(RuntimeOrigin::root())); + + // Operations should fail + assert_noop!( + Wrapper::trac_wrap(RuntimeOrigin::signed(ALICE), wrap_amount), + Error::::Paused + ); + + // Unpause + assert_ok!(Wrapper::unpause(RuntimeOrigin::root())); + + // Operations should work again + assert_ok!(Wrapper::trac_wrap( + RuntimeOrigin::signed(ALICE), + wrap_amount + )); + assert_ok!(Wrapper::trac_unwrap( + RuntimeOrigin::signed(ALICE), + wrap_amount / 2 + )); + }); +} diff --git a/pallets/wrapper/src/weights.rs b/pallets/wrapper/src/weights.rs index 0dc2cef4..ade75c29 100644 --- a/pallets/wrapper/src/weights.rs +++ b/pallets/wrapper/src/weights.rs @@ -24,6 +24,8 @@ use crate::*; pub trait WeightInfo { fn trac_wrap() -> Weight; fn trac_unwrap() -> Weight; + fn pause() -> Weight; + fn unpause() -> Weight; } /// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. @@ -66,4 +68,24 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } + /// Storage: `Wrapper::IsPaused` (r:0 w:1) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + fn pause() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `Wrapper::IsPaused` (r:0 w:1) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + fn unpause() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } } \ No newline at end of file diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5947a2c8..3ccd448d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1106,6 +1106,7 @@ impl pallet_wrapper::Config for Runtime { type LocalTracAssetId = LocalTracAssetId; // Local TRAC asset ID type ForeignTracAssetId = ForeignTracAssetId; // Define this constant type PalletId = TracWrapperPalletId; // Define this constant + type PauseOrigin = EnsureRootOrThreeFiftsOfCouncil; type WeightInfo = weights::wrapper::NeurowebWeight; } diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs index 8a50e6d6..71e8c8c8 100644 --- a/runtime/src/weights/wrapper.rs +++ b/runtime/src/weights/wrapper.rs @@ -84,4 +84,24 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } + /// Storage: `Wrapper::IsPaused` (r:0 w:1) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + fn pause() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `Wrapper::IsPaused` (r:0 w:1) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + fn unpause() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } } From bf7fd501dcd005e4962953173826d6252c776230 Mon Sep 17 00:00:00 2001 From: cl0w Date: Sun, 10 Aug 2025 13:49:16 +0200 Subject: [PATCH 23/89] Restrict creation of local and foreign assets to Root --- runtime/src/assets.rs | 273 ++++++++++++++++++++++++++++-------------- runtime/src/lib.rs | 2 +- 2 files changed, 187 insertions(+), 88 deletions(-) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 52a97a03..9e918ad8 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -2,13 +2,21 @@ use super::*; use frame_support::{ pallet_prelude::*, traits::{ - fungible::{Inspect as FungibleInspect, Mutate as FungibleMutate, Unbalanced as FungibleUnbalanced}, fungibles::{Dust, Inspect as FungiblesInspect, Mutate as FungiblesMutate, Unbalanced as FungiblesUnbalanced}, - tokens::{DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence}, + fungible::{ + Inspect as FungibleInspect, Mutate as FungibleMutate, Unbalanced as FungibleUnbalanced, + }, + fungibles::{ + Dust, Inspect as FungiblesInspect, Mutate as FungiblesMutate, + Unbalanced as FungiblesUnbalanced, + }, + tokens::{ + DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence, + }, AsEnsureOriginWithArg, }, }; use primitives::UnifiedAssetId; -use xcm::v3::{MultiLocation, Junction, NetworkId, Junctions}; +use xcm::v3::{Junction, Junctions, MultiLocation, NetworkId}; /// The existential deposit. Set to 1/10 of the Connected Relay Chain. pub const EXISTENTIAL_DEPOSIT: Balance = OTP; @@ -22,11 +30,15 @@ pub const FOREIGN_TRAC_ASSET_LOCATION: MultiLocation = MultiLocation { Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 1 }), Junction::AccountKey20 { network: None, - key: [0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, 0x09, 0x4b, 0x8d, 0x0f, 0x0a, 0x6f] - } - ) + key: [ + 0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, + 0x09, 0x4b, 0x8d, 0x0f, 0x0a, 0x6f, + ], + }, + ), }; -pub const FOREIGN_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Foreign(FOREIGN_TRAC_ASSET_LOCATION); +pub const FOREIGN_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = + UnifiedAssetId::Foreign(FOREIGN_TRAC_ASSET_LOCATION); parameter_types! { pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; @@ -58,6 +70,44 @@ parameter_types! { pub const StringLimit: u32 = 50; pub const MetadataDepositBase: Balance = 10 * OTP; pub const MetadataDepositPerByte: Balance = 1 * OTP; + pub const LocalAssetsPalletId: PalletId = PalletId(*b"p/locass"); + pub const ForeignAssetsPalletId: PalletId = PalletId(*b"p/fgnass"); +} + +pub fn local_assets_pallet_account() -> AccountId { + LocalAssetsPalletId::get().into_account_truncating() +} + +pub fn foreign_assets_pallet_account() -> AccountId { + ForeignAssetsPalletId::get().into_account_truncating() +} + +// CreateOrigin for local assets +// Root which returns the local_assets_pallet_account +pub struct RootWithLocalAssetsPalletAccount; +impl frame_support::traits::EnsureOriginWithArg + for RootWithLocalAssetsPalletAccount +{ + type Success = AccountId; + fn try_origin(o: RuntimeOrigin, _asset_id: &u128) -> Result { + as frame_support::traits::EnsureOriginWithArg>::try_origin(o, _asset_id).map(|_| local_assets_pallet_account()) + } +} + +// CreateOrigin for foreign assets +// Root which returns the foreign_assets_pallet_account +pub struct RootWithForeignAssetsPalletsAccount; +impl frame_support::traits::EnsureOriginWithArg + for RootWithForeignAssetsPalletsAccount +{ + type Success = AccountId; + fn try_origin(o: RuntimeOrigin, _asset_id: &MultiLocation) -> Result { + as frame_support::traits::EnsureOriginWithArg< + RuntimeOrigin, + MultiLocation, + >>::try_origin(o, _asset_id) + .map(|_| foreign_assets_pallet_account()) + } } // Local Assets @@ -68,7 +118,7 @@ impl pallet_assets::Config for Runtime { type AssetId = AssetId; type AssetIdParameter = codec::Compact; type Currency = Balances; - type CreateOrigin = AsEnsureOriginWithArg>; + type CreateOrigin = RootWithLocalAssetsPalletAccount; type ForceOrigin = EnsureRoot; type AssetDeposit = AssetDeposit; type AssetAccountDeposit = AssetAccountDeposit; @@ -92,7 +142,7 @@ impl pallet_assets::Config for Runtime { type AssetId = MultiLocation; type AssetIdParameter = MultiLocation; type Currency = Balances; - type CreateOrigin = AsEnsureOriginWithArg>; + type CreateOrigin = RootWithForeignAssetsPalletsAccount; type ForceOrigin = EnsureRoot; type AssetDeposit = AssetDeposit; type AssetAccountDeposit = AssetAccountDeposit; @@ -115,28 +165,37 @@ impl FungiblesInspect for MultiCurrencyAdapter { fn total_issuance(asset: UnifiedAssetId) -> Self::Balance { match asset { - UnifiedAssetId::Native => - >::total_issuance(), - UnifiedAssetId::Local(id) => - >::total_issuance(id.into()), - UnifiedAssetId::Foreign(loc) => - >::total_issuance(loc), + UnifiedAssetId::Native => >::total_issuance(), + UnifiedAssetId::Local(id) => { + >::total_issuance(id.into()) + } + UnifiedAssetId::Foreign(loc) => { + >::total_issuance(loc) + } } } fn minimum_balance(asset: UnifiedAssetId) -> Self::Balance { match asset { UnifiedAssetId::Native => >::minimum_balance(), - UnifiedAssetId::Local(id) => >::minimum_balance(id.into()), - UnifiedAssetId::Foreign(loc) => >::minimum_balance(loc), + UnifiedAssetId::Local(id) => { + >::minimum_balance(id.into()) + } + UnifiedAssetId::Foreign(loc) => { + >::minimum_balance(loc) + } } } fn balance(asset: UnifiedAssetId, who: &AccountId) -> Self::Balance { match asset { UnifiedAssetId::Native => >::balance(who), - UnifiedAssetId::Local(id) => >::balance(id.into(), who), - UnifiedAssetId::Foreign(loc) => >::balance(loc, who), + UnifiedAssetId::Local(id) => { + >::balance(id.into(), who) + } + UnifiedAssetId::Foreign(loc) => { + >::balance(loc, who) + } } } @@ -147,21 +206,27 @@ impl FungiblesInspect for MultiCurrencyAdapter { force: Fortitude, ) -> Self::Balance { match asset { - UnifiedAssetId::Native => { - >::reducible_balance( - who, preservation, force - ) - }, + UnifiedAssetId::Native => >::reducible_balance( + who, + preservation, + force, + ), UnifiedAssetId::Local(id) => { >::reducible_balance( - id.into(), who, preservation, force + id.into(), + who, + preservation, + force, ) - }, + } UnifiedAssetId::Foreign(loc) => { >::reducible_balance( - loc, who, preservation, force + loc, + who, + preservation, + force, ) - }, + } } } @@ -172,12 +237,15 @@ impl FungiblesInspect for MultiCurrencyAdapter { mint: Provenance, ) -> DepositConsequence { match asset { - UnifiedAssetId::Native => - >::can_deposit(who, amount, mint), - UnifiedAssetId::Local(id) => - >::can_deposit(id.into(), who, amount, mint), - UnifiedAssetId::Foreign(loc) => - >::can_deposit(loc, who, amount, mint), + UnifiedAssetId::Native => { + >::can_deposit(who, amount, mint) + } + UnifiedAssetId::Local(id) => { + >::can_deposit(id.into(), who, amount, mint) + } + UnifiedAssetId::Foreign(loc) => { + >::can_deposit(loc, who, amount, mint) + } } } @@ -187,31 +255,39 @@ impl FungiblesInspect for MultiCurrencyAdapter { amount: Self::Balance, ) -> WithdrawConsequence { match asset { - UnifiedAssetId::Native => - >::can_withdraw(who, amount), - UnifiedAssetId::Local(id) => - >::can_withdraw(id.into(), who, amount), - UnifiedAssetId::Foreign(loc) => - >::can_withdraw(loc, who, amount), + UnifiedAssetId::Native => { + >::can_withdraw(who, amount) + } + UnifiedAssetId::Local(id) => { + >::can_withdraw(id.into(), who, amount) + } + UnifiedAssetId::Foreign(loc) => { + >::can_withdraw(loc, who, amount) + } } } fn asset_exists(asset: UnifiedAssetId) -> bool { match asset { UnifiedAssetId::Native => true, - UnifiedAssetId::Local(id) => >::asset_exists(id.into()), - UnifiedAssetId::Foreign(loc) => >::asset_exists(loc), + UnifiedAssetId::Local(id) => { + >::asset_exists(id.into()) + } + UnifiedAssetId::Foreign(loc) => { + >::asset_exists(loc) + } } } fn total_balance(asset: UnifiedAssetId, who: &AccountId) -> Self::Balance { match asset { - UnifiedAssetId::Native => - >::total_balance(who), - UnifiedAssetId::Local(id) => - >::total_balance(id.into(), who), - UnifiedAssetId::Foreign(loc) => - >::total_balance(loc, who), + UnifiedAssetId::Native => >::total_balance(who), + UnifiedAssetId::Local(id) => { + >::total_balance(id.into(), who) + } + UnifiedAssetId::Foreign(loc) => { + >::total_balance(loc, who) + } } } } @@ -223,9 +299,15 @@ impl FungiblesMutate for MultiCurrencyAdapter { amount: Self::Balance, ) -> Result { match asset { - UnifiedAssetId::Native => >::mint_into(who, amount), - UnifiedAssetId::Local(id) => >::mint_into(id.into(), who, amount), - UnifiedAssetId::Foreign(loc) => >::mint_into(loc, who, amount), + UnifiedAssetId::Native => { + >::mint_into(who, amount) + } + UnifiedAssetId::Local(id) => { + >::mint_into(id.into(), who, amount) + } + UnifiedAssetId::Foreign(loc) => { + >::mint_into(loc, who, amount) + } } } @@ -238,12 +320,20 @@ impl FungiblesMutate for MultiCurrencyAdapter { ) -> Result { match asset { UnifiedAssetId::Native => { - >::burn_from( - who, amount, precision, force + >::burn_from(who, amount, precision, force) + } + UnifiedAssetId::Local(id) => >::burn_from( + id.into(), + who, + amount, + precision, + force, + ), + UnifiedAssetId::Foreign(loc) => { + >::burn_from( + loc, who, amount, precision, force, ) - }, - UnifiedAssetId::Local(id) => >::burn_from(id.into(), who, amount, precision, force), - UnifiedAssetId::Foreign(loc) => >::burn_from(loc, who, amount, precision, force), + } } } @@ -255,45 +345,51 @@ impl FungiblesMutate for MultiCurrencyAdapter { preservation: Preservation, ) -> Result { match asset { - UnifiedAssetId::Native => { - >::transfer( + UnifiedAssetId::Native => >::transfer( + source, + dest, + amount, + preservation, + ), + UnifiedAssetId::Local(id) => >::transfer( + id.into(), + source, + dest, + amount, + preservation, + ), + UnifiedAssetId::Foreign(loc) => { + >::transfer( + loc, source, dest, amount, - preservation - ) - }, - UnifiedAssetId::Local(id) => { - >::transfer( - id.into(), source, dest, amount, preservation - ) - }, - UnifiedAssetId::Foreign(loc) => { - >::transfer( - loc, source, dest, amount, preservation + preservation, ) } } } - fn set_balance( - asset: UnifiedAssetId, - who: &AccountId, - amount: Self::Balance, - ) -> Self::Balance { + fn set_balance(asset: UnifiedAssetId, who: &AccountId, amount: Self::Balance) -> Self::Balance { let current = Self::balance(asset.clone(), who); match current.cmp(&amount) { core::cmp::Ordering::Greater => { - if let Err(e) = Self::burn_from(asset, who, current - amount, Precision::BestEffort, Fortitude::Force) { + if let Err(e) = Self::burn_from( + asset, + who, + current - amount, + Precision::BestEffort, + Fortitude::Force, + ) { log::warn!("Failed to burn excess balance: {:?}", e); } - }, + } core::cmp::Ordering::Less => { if let Err(e) = Self::mint_into(asset, who, amount - current) { log::warn!("Failed to mint required balance: {:?}", e); } - }, + } core::cmp::Ordering::Equal => { // Already at target balance } @@ -316,24 +412,27 @@ impl FungiblesUnbalanced for MultiCurrencyAdapter { match asset { UnifiedAssetId::Native => { >::write_balance(who, amount) - }, + } UnifiedAssetId::Local(id) => { >::write_balance(id.into(), who, amount) - }, + } UnifiedAssetId::Foreign(loc) => { >::write_balance(loc, who, amount) - }, + } } } fn set_total_issuance(asset: UnifiedAssetId, amount: Self::Balance) { match asset { - UnifiedAssetId::Native => - >::set_total_issuance(amount), - UnifiedAssetId::Local(id) => - >::set_total_issuance(id.into(), amount), - UnifiedAssetId::Foreign(loc) => - >::set_total_issuance(loc, amount), + UnifiedAssetId::Native => { + >::set_total_issuance(amount) + } + UnifiedAssetId::Local(id) => { + >::set_total_issuance(id.into(), amount) + } + UnifiedAssetId::Foreign(loc) => { + >::set_total_issuance(loc, amount) + } } } } @@ -357,4 +456,4 @@ impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> MultiLocation { MultiLocation::new(1, Junction::Parachain(id)) } -} \ No newline at end of file +} diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 3ccd448d..8b9c184d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1092,7 +1092,7 @@ impl pallet_proxy::Config for Runtime { parameter_types! { - pub const TracWrapperPalletId: PalletId = PalletId(*b"pwrapper"); + pub const TracWrapperPalletId: PalletId = PalletId(*b"p/wrpper"); pub const LocalTracAssetId: UnifiedAssetId = LOCAL_TRAC_UNIFIED_ASSET_ID; pub const ForeignTracAssetId: UnifiedAssetId = FOREIGN_TRAC_UNIFIED_ASSET_ID; From ed3359782f31f45060b08c61ba0fca8a3415d1c9 Mon Sep 17 00:00:00 2001 From: cl0w Date: Sun, 10 Aug 2025 13:54:59 +0200 Subject: [PATCH 24/89] Add ForeignAssets and Wrapper to filter for Proxy NonTransfer --- runtime/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 8b9c184d..cdc3a923 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1054,7 +1054,9 @@ impl InstanceFilter for ProxyType { c, RuntimeCall::Balances(..) | RuntimeCall::Assets(..) | - RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) + RuntimeCall::ForeignAssets(..) | + RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) | + RuntimeCall::Wrapper(..) ), ProxyType::Governance => matches!( c, From e82b264455b70457f981946ab60f86467d7f3814 Mon Sep 17 00:00:00 2001 From: cl0w Date: Sun, 10 Aug 2025 13:59:09 +0200 Subject: [PATCH 25/89] Set ApprovalDeposit to non-zero --- runtime/src/assets.rs | 74 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 9e918ad8..014c07a8 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -66,7 +66,7 @@ impl pallet_balances::Config for Runtime { parameter_types! { pub const AssetDeposit: Balance = 100 * OTP; pub const AssetAccountDeposit: Balance = 100 * OTP; - pub const ApprovalDeposit: Balance = 0; + pub const ApprovalDeposit: Balance = 100 * OTP; pub const StringLimit: u32 = 50; pub const MetadataDepositBase: Balance = 10 * OTP; pub const MetadataDepositPerByte: Balance = 1 * OTP; @@ -74,42 +74,6 @@ parameter_types! { pub const ForeignAssetsPalletId: PalletId = PalletId(*b"p/fgnass"); } -pub fn local_assets_pallet_account() -> AccountId { - LocalAssetsPalletId::get().into_account_truncating() -} - -pub fn foreign_assets_pallet_account() -> AccountId { - ForeignAssetsPalletId::get().into_account_truncating() -} - -// CreateOrigin for local assets -// Root which returns the local_assets_pallet_account -pub struct RootWithLocalAssetsPalletAccount; -impl frame_support::traits::EnsureOriginWithArg - for RootWithLocalAssetsPalletAccount -{ - type Success = AccountId; - fn try_origin(o: RuntimeOrigin, _asset_id: &u128) -> Result { - as frame_support::traits::EnsureOriginWithArg>::try_origin(o, _asset_id).map(|_| local_assets_pallet_account()) - } -} - -// CreateOrigin for foreign assets -// Root which returns the foreign_assets_pallet_account -pub struct RootWithForeignAssetsPalletsAccount; -impl frame_support::traits::EnsureOriginWithArg - for RootWithForeignAssetsPalletsAccount -{ - type Success = AccountId; - fn try_origin(o: RuntimeOrigin, _asset_id: &MultiLocation) -> Result { - as frame_support::traits::EnsureOriginWithArg< - RuntimeOrigin, - MultiLocation, - >>::try_origin(o, _asset_id) - .map(|_| foreign_assets_pallet_account()) - } -} - // Local Assets impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -437,6 +401,42 @@ impl FungiblesUnbalanced for MultiCurrencyAdapter { } } +pub fn local_assets_pallet_account() -> AccountId { + LocalAssetsPalletId::get().into_account_truncating() +} + +pub fn foreign_assets_pallet_account() -> AccountId { + ForeignAssetsPalletId::get().into_account_truncating() +} + +// CreateOrigin for local assets +// Root which returns the local_assets_pallet_account +pub struct RootWithLocalAssetsPalletAccount; +impl frame_support::traits::EnsureOriginWithArg +for RootWithLocalAssetsPalletAccount +{ + type Success = AccountId; + fn try_origin(o: RuntimeOrigin, _asset_id: &u128) -> Result { + as frame_support::traits::EnsureOriginWithArg>::try_origin(o, _asset_id).map(|_| local_assets_pallet_account()) + } +} + +// CreateOrigin for foreign assets +// Root which returns the foreign_assets_pallet_account +pub struct RootWithForeignAssetsPalletsAccount; +impl frame_support::traits::EnsureOriginWithArg +for RootWithForeignAssetsPalletsAccount +{ + type Success = AccountId; + fn try_origin(o: RuntimeOrigin, _asset_id: &MultiLocation) -> Result { + as frame_support::traits::EnsureOriginWithArg< + RuntimeOrigin, + MultiLocation, + >>::try_origin(o, _asset_id) + .map(|_| foreign_assets_pallet_account()) + } +} + // Benchmarking helpers #[cfg(feature = "runtime-benchmarks")] pub struct AssetsBenchmarkHelper; From 851834fe7850d564d34f304bc11329ebe4f864c5 Mon Sep 17 00:00:00 2001 From: cl0w Date: Sun, 10 Aug 2025 14:10:08 +0200 Subject: [PATCH 26/89] Add pallet-wrapper to xcm SafeCallFilter --- runtime/src/xcm_config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 91cbc187..741ffd37 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -181,6 +181,7 @@ impl Contains for SafeCallFilter { | pallet_identity::Call::remove_sub { .. } | pallet_identity::Call::quit_sub { .. }, ) + | RuntimeCall::Wrapper(..) | RuntimeCall::PolkadotXcm(..) => true, _ => false, } From b11ed7f06a950300dc1e459f4397d1c86b989e18 Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 12 Aug 2025 19:53:50 +0200 Subject: [PATCH 27/89] add try_successful_origin for runtime-benchmarks --- runtime/src/assets.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 014c07a8..ef52ef6c 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -419,6 +419,11 @@ for RootWithLocalAssetsPalletAccount fn try_origin(o: RuntimeOrigin, _asset_id: &u128) -> Result { as frame_support::traits::EnsureOriginWithArg>::try_origin(o, _asset_id).map(|_| local_assets_pallet_account()) } + + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin(_asset_id: &u128) -> Result { + Ok(frame_system::RawOrigin::Root.into()) + } } // CreateOrigin for foreign assets @@ -435,6 +440,11 @@ for RootWithForeignAssetsPalletsAccount >>::try_origin(o, _asset_id) .map(|_| foreign_assets_pallet_account()) } + + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin(_asset_id: &MultiLocation) -> Result { + Ok(frame_system::RawOrigin::Root.into()) + } } // Benchmarking helpers From fc9203165d2353276abe799efaec3bae9a5f1366 Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 12 Aug 2025 20:00:58 +0200 Subject: [PATCH 28/89] rerun benchmarks --- pallets/wrapper/src/weights.rs | 40 +++++++++++++++++-------------- runtime/src/assets.rs | 1 - runtime/src/weights/wrapper.rs | 44 ++++++++++++++++++---------------- runtime/src/xcm_config.rs | 6 ++--- 4 files changed, 49 insertions(+), 42 deletions(-) diff --git a/pallets/wrapper/src/weights.rs b/pallets/wrapper/src/weights.rs index ade75c29..2dd9bea7 100644 --- a/pallets/wrapper/src/weights.rs +++ b/pallets/wrapper/src/weights.rs @@ -30,10 +30,12 @@ pub trait WeightInfo { /// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. impl WeightInfo for () { - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Wrapper::IsPaused` (r:1 w:0) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Assets::Asset` (r:1 w:1) @@ -42,30 +44,32 @@ impl WeightInfo for () { /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn trac_wrap() -> Weight { // Proof Size summary in bytes: - // Measured: `855` + // Measured: `968` // Estimated: `7404` - // Minimum execution time: 69_000_000 picoseconds. - Weight::from_parts(69_000_000, 7404) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(52_000_000, 7404) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Wrapper::IsPaused` (r:1 w:0) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn trac_unwrap() -> Weight { // Proof Size summary in bytes: - // Measured: `975` + // Measured: `1088` // Estimated: `7404` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(79_000_000, 7404) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(60_000_000, 7404) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) @@ -74,8 +78,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) @@ -84,8 +88,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } \ No newline at end of file diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index ef52ef6c..5aa35b32 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -12,7 +12,6 @@ use frame_support::{ tokens::{ DepositConsequence, Fortitude, Precision, Preservation, Provenance, WithdrawConsequence, }, - AsEnsureOriginWithArg, }, }; use primitives::UnifiedAssetId; diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs index 71e8c8c8..80519214 100644 --- a/runtime/src/weights/wrapper.rs +++ b/runtime/src/weights/wrapper.rs @@ -46,10 +46,12 @@ use crate::*; /// Weights for `pallet_wrapper` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl pallet_wrapper::WeightInfo for NeurowebWeight { - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Wrapper::IsPaused` (r:1 w:0) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `Assets::Asset` (r:1 w:1) @@ -58,30 +60,32 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) fn trac_wrap() -> Weight { // Proof Size summary in bytes: - // Measured: `855` + // Measured: `968` // Estimated: `7404` - // Minimum execution time: 69_000_000 picoseconds. - Weight::from_parts(69_000_000, 7404) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(52_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `ForeignAssets::Account` (r:2 w:2) - /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `Wrapper::IsPaused` (r:1 w:0) + /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) /// Storage: `Assets::Asset` (r:1 w:1) /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// Storage: `ForeignAssets::Asset` (r:1 w:1) /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn trac_unwrap() -> Weight { // Proof Size summary in bytes: - // Measured: `975` + // Measured: `1088` // Estimated: `7404` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(79_000_000, 7404) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(60_000_000, 7404) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) @@ -90,9 +94,9 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) /// Proof: `Wrapper::IsPaused` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) @@ -100,8 +104,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Minimum execution time: 3_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } } diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 741ffd37..7b2f9750 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -1,5 +1,5 @@ use super::{ - AccountId, AllPalletsWithSystem, Assets, Balance, Balances, DealWithFees, ForeignAssets, + AccountId, AllPalletsWithSystem, Balance, Balances, DealWithFees, ForeignAssets, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, }; @@ -17,8 +17,8 @@ use sp_core::blake2_256; use xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, DescribeAllTerminal, DescribeFamily, EnsureXcmOrigin, - FixedWeightBounds, FungibleAdapter, FungiblesAdapter, HashedDescription, IsConcrete, + AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, + FixedWeightBounds, FungibleAdapter, FungiblesAdapter, IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, From 20db7dd871835d6eaf1f09764289b0365dd372eb Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 12 Aug 2025 20:21:13 +0200 Subject: [PATCH 29/89] add pallet docs --- pallets/wrapper/src/lib.rs | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index f28d7330..a54f7dbc 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -1,3 +1,43 @@ +// # Pallet: TRAC Wrapper +// +// ## Overview +// This pallet enables seamless wrapping and unwrapping between **foreign TRAC tokens** (bridged +// from Ethereum via Snowbridge) and a **local TRAC representation** (native asset on this chain). +// +// ## Key Features +// - **Wrap**: Transfer foreign TRAC from the user to the pallet account and mint the same amount of +// local TRAC to the user. +// - **Unwrap**: Burn local TRAC from the user and transfer an equal amount of foreign TRAC from the +// pallet account to the user. +// - **Pause/Unpause**: Governance-controlled circuit breaker to halt all operations in emergencies. +// - **Events**: Emitted on every wrap, unwrap, pause, and unpause action. +// - **Balance Queries**: Helpers for checking pallet’s foreign TRAC balance and total local TRAC supply. +// +// ## Technical Details +// - Uses the `fungibles` `Inspect`/`Mutate` traits for multi-currency support. +// - Works with both native and asset-pallet-based currencies via `AssetId` and `Balance` generics. +// - `LocalTracAssetId` and `ForeignTracAssetId` are runtime constants pointing to the respective assets. +// - The pallet account is derived from a configurable `PalletId`. +// - Governance authority for pausing is defined via the `PauseOrigin` associated type. +// +// ## Storage +// - `IsPaused`: `bool` — whether pallet operations are currently paused. +// +// ## Events +// - `TracWrapped { who, amount }` — User wrapped foreign → local TRAC. +// - `TracUnwrapped { who, amount }` — User unwrapped local → foreign TRAC. +// - `Paused` / `Unpaused` — Pallet operations toggled. +// +// ## Errors +// - `InsufficientFunds` — Not enough balance for the operation. +// - `ZeroAmount` — Amount provided was zero. +// - `Paused` — Attempt to perform an operation while the pallet is paused. +// +// ## Security Considerations +// - Wrap/unwrap operations are **1:1** with no fees or slippage in this pallet. +// - Pausing capability allows governance to freeze operations during exploits or bridge malfunctions. +// - Asset IDs must be correctly configured at runtime to prevent misrouting of tokens. +// #![cfg_attr(not(feature = "std"), no_std)] use codec::Codec; From 18fd7a0ad4929810187e5a29b317a9de9a61b9d4 Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 12 Aug 2025 20:22:39 +0200 Subject: [PATCH 30/89] license headers --- pallets/wrapper/src/lib.rs | 13 +++++++++++++ pallets/wrapper/src/mock.rs | 13 +++++++++++++ pallets/wrapper/src/tests.rs | 13 +++++++++++++ runtime/src/assets.rs | 13 +++++++++++++ 4 files changed, 52 insertions(+) diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index a54f7dbc..4b77472c 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -1,3 +1,16 @@ +// This program 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. + +// This program 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 this program. If not, see . + // # Pallet: TRAC Wrapper // // ## Overview diff --git a/pallets/wrapper/src/mock.rs b/pallets/wrapper/src/mock.rs index 1faab1c9..a085db52 100644 --- a/pallets/wrapper/src/mock.rs +++ b/pallets/wrapper/src/mock.rs @@ -1,3 +1,16 @@ +// This program 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. + +// This program 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 this program. If not, see . + #![cfg(test)] use frame_support::{ diff --git a/pallets/wrapper/src/tests.rs b/pallets/wrapper/src/tests.rs index 70059ff4..1ac9dbbc 100644 --- a/pallets/wrapper/src/tests.rs +++ b/pallets/wrapper/src/tests.rs @@ -1,3 +1,16 @@ +// This program 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. + +// This program 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 this program. If not, see . + use super::*; use crate::mock::*; use frame_support::{ diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 5aa35b32..ca7e5683 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -1,3 +1,16 @@ +// This program 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. + +// This program 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 this program. If not, see . + use super::*; use frame_support::{ pallet_prelude::*, From 72ee421c09dcdd2d55e40b12d3b3cdd802045f2e Mon Sep 17 00:00:00 2001 From: vgantchev Date: Thu, 14 Aug 2025 20:51:35 +0200 Subject: [PATCH 31/89] merge conflicts --- Cargo.lock | 26 ++++++++++++++++++++++++++ runtime/src/lib.rs | 4 ++-- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bdbc997d..2bd9a2f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -439,6 +439,29 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" +[[package]] +name = "assets-common" +version = "0.7.0" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.11.0#581fe47eefe5b5e8681953ed2e7532a4085198dc" +dependencies = [ + "cumulus-primitives-core", + "frame-support", + "impl-trait-for-tuples", + "log", + "pallet-asset-conversion", + "pallet-xcm", + "parachains-common", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-runtime", + "sp-std", + "staging-xcm", + "staging-xcm-builder", + "staging-xcm-executor", + "substrate-wasm-builder", +] + [[package]] name = "async-channel" version = "1.9.0" @@ -6221,6 +6244,7 @@ dependencies = [ name = "neuroweb-runtime" version = "1.5.3" dependencies = [ + "assets-common", "cumulus-pallet-aura-ext", "cumulus-pallet-dmp-queue", "cumulus-pallet-parachain-system", @@ -6242,6 +6266,7 @@ dependencies = [ "frame-system-rpc-runtime-api", "frame-try-runtime", "hex-literal 0.3.4", + "impl-trait-for-tuples", "log", "pallet-assets", "pallet-aura", @@ -6299,6 +6324,7 @@ dependencies = [ "staging-xcm-builder", "staging-xcm-executor", "substrate-wasm-builder", + "tracing", ] [[package]] diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index cdc3a923..0d0c89c0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -325,8 +325,8 @@ impl pallet_authorship::Config for Runtime { type EventHandler = (CollatorSelection,); } -pub struct CollatorsIncentivesPot; -impl OnUnbalanced> for CollatorsIncentivesPot +pub struct ToStakingPot; +impl OnUnbalanced> for ToStakingPot { fn on_nonzero_unbalanced(amount: Credit) { let staking_pot = PotId::get().into_account_truncating(); From 662a89f0d83d23b3bc627fde9146c480fbf28fdb Mon Sep 17 00:00:00 2001 From: vgantchev Date: Thu, 14 Aug 2025 20:53:03 +0200 Subject: [PATCH 32/89] fix chain spec --- node/src/chain_spec.rs | 2 +- runtime/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index b594936a..f70c4c8a 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -1,6 +1,6 @@ use cumulus_primitives_core::ParaId; use neuroweb_runtime::{AccountId, AuraId, - EVMConfig, Signature, EXISTENTIAL_DEPOSIT}; + EVMConfig, Signature, assets::EXISTENTIAL_DEPOSIT}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; use serde::{Deserialize, Serialize}; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 0d0c89c0..9e01e327 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -6,7 +6,7 @@ #[cfg(feature = "std")] include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); -mod assets; +pub mod assets; use assets::*; use primitives::UnifiedAssetId; From f969bf89a4497f73ad4d85e708ebd25ddfc83fac Mon Sep 17 00:00:00 2001 From: vgantchev Date: Thu, 14 Aug 2025 21:06:29 +0200 Subject: [PATCH 33/89] bump runtime version --- Cargo.lock | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2bd9a2f4..c31a9c3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "1.5.3" +version = "139.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 5fada690..a1f8809f 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "1.5.3" +version = "139.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9e01e327..eb915e2c 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 138, + spec_version: 139, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From ae89246f384e113af1b4fe2a81cfa5dbcf0ec330 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 22:02:11 +0200 Subject: [PATCH 34/89] add missing benchmarks to runtime --- runtime/src/lib.rs | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index eb915e2c..e05817b0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1174,16 +1174,26 @@ extern crate frame_benchmarking; mod benches { frame_benchmarking::define_benchmarks!( [frame_system, SystemBench::] + [cumulus_pallet_parachain_system, ParachainSystem] + [cumulus_pallet_xcmp_queue, XcmpQueue] + [pallet_assets, Assets] + [pallet_assets::, Assets] [pallet_balances, Balances] + [pallet_collator_selection, CollatorSelection] + [pallet_collective::, Council] [pallet_democracy, Democracy] [pallet_identity, Identity] + [pallet_message_queue, MessageQueue] + [pallet_multisig, Multisig] [pallet_preimage, Preimage] [pallet_proxy, Proxy] + [pallet_scheduler, Scheduler] [pallet_timestamp, Timestamp] - [pallet_collator_selection, CollatorSelection] - [pallet_wrapper, Wrapper] - [cumulus_pallet_xcmp_queue, XcmpQueue] + [pallet_treasury, Treasury] [pallet_utility, Utility] + [pallet_vesting, Vesting] + [pallet_wrapper, Wrapper] + [pallet_xc_asset_config, XcAssetConfig] ); } From beb0a97090b5d26d673776a5dfe95f6681e7733f Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 22:21:34 +0200 Subject: [PATCH 35/89] rebench pallet-wrapper --- pallets/wrapper/src/weights.rs | 40 ++++++++++++++++++++++++++-------- runtime/src/weights/wrapper.rs | 20 ++++++++--------- 2 files changed, 41 insertions(+), 19 deletions(-) diff --git a/pallets/wrapper/src/weights.rs b/pallets/wrapper/src/weights.rs index 2dd9bea7..e14d85c4 100644 --- a/pallets/wrapper/src/weights.rs +++ b/pallets/wrapper/src/weights.rs @@ -11,6 +11,28 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +//! Autogenerated weights for `pallet_wrapper` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-wrapper +// --output=wrapper.rs +// --extrinsic=* + #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -46,8 +68,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `968` // Estimated: `7404` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(52_000_000, 7404) + // Minimum execution time: 94_174_000 picoseconds. + Weight::from_parts(95_730_000, 7404) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -67,8 +89,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1088` // Estimated: `7404` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(60_000_000, 7404) + // Minimum execution time: 104_969_000 picoseconds. + Weight::from_parts(106_111_000, 7404) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -78,8 +100,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 6_890_000 picoseconds. + Weight::from_parts(7_002_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) @@ -88,8 +110,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 6_624_000 picoseconds. + Weight::from_parts(6_827_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/wrapper.rs index 80519214..fb4a5b21 100644 --- a/runtime/src/weights/wrapper.rs +++ b/runtime/src/weights/wrapper.rs @@ -15,9 +15,9 @@ //! Autogenerated weights for `pallet_wrapper` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2025-07-26, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `MBP.local`, CPU: `` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: @@ -62,8 +62,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `968` // Estimated: `7404` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(52_000_000, 7404) + // Minimum execution time: 94_174_000 picoseconds. + Weight::from_parts(95_730_000, 7404) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -83,8 +83,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `1088` // Estimated: `7404` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(60_000_000, 7404) + // Minimum execution time: 104_969_000 picoseconds. + Weight::from_parts(106_111_000, 7404) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -94,8 +94,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 6_890_000 picoseconds. + Weight::from_parts(7_002_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Wrapper::IsPaused` (r:0 w:1) @@ -104,8 +104,8 @@ impl pallet_wrapper::WeightInfo for NeurowebWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 6_624_000 picoseconds. + Weight::from_parts(6_827_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } From 953d9209b88d8b658c689fd653b299f4b9053d63 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 22:23:35 +0200 Subject: [PATCH 36/89] rebench frame_system --- runtime/src/lib.rs | 2 +- runtime/src/weights/frame_system.rs | 181 ++++++++++++++++++++++++++++ runtime/src/weights/mod.rs | 1 + 3 files changed, 183 insertions(+), 1 deletion(-) create mode 100644 runtime/src/weights/frame_system.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index e05817b0..cd642235 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -292,7 +292,7 @@ impl frame_system::Config for Runtime { /// The basic call filter to use in dispatchable. type BaseCallFilter = Everything; /// Weight information for the extrinsics of this pallet. - type SystemWeightInfo = (); + type SystemWeightInfo = weights::frame_system::NeurowebWeight; /// Block & extrinsics weights: base values and limits. type BlockWeights = RuntimeBlockWeights; /// The maximum length of a block (in bytes). diff --git a/runtime/src/weights/frame_system.rs b/runtime/src/weights/frame_system.rs new file mode 100644 index 00000000..67e53746 --- /dev/null +++ b/runtime/src/weights/frame_system.rs @@ -0,0 +1,181 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `frame_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=frame-system +// --output=weights.rs +// --extrinsic=remark,remark_with_event,set_heap_pages,set_storage,kill_storage,kill_prefix,authorize_upgrade + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `frame_system`. +pub struct WeightInfo(PhantomData); + +/// Weights for `frame_system` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl frame_system::WeightInfo for NeurowebWeight { + /// The range of component `b` is `[0, 3932160]`. + fn remark(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_800_000 picoseconds. + Weight::from_parts(2_896_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(371, 0).saturating_mul(b.into())) + } + /// The range of component `b` is `[0, 3932160]`. + fn remark_with_event(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 7_611_000 picoseconds. + Weight::from_parts(7_816_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_471, 0).saturating_mul(b.into())) + } + /// Storage: `System::Digest` (r:1 w:1) + /// Proof: `System::Digest` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + /// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1) + fn set_heap_pages() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 5_026_000 picoseconds. + Weight::from_parts(5_234_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `231` + // Estimated: `1716` + // Minimum execution time: 125_984_015_000 picoseconds. + Weight::from_parts(127_788_433_000, 1716) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `i` is `[0, 1000]`. + fn set_storage(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_881_000 picoseconds. + Weight::from_parts(2_992_000, 0) + // Standard Error: 1_985 + .saturating_add(Weight::from_parts(744_280, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `i` is `[0, 1000]`. + fn kill_storage(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_800_000 picoseconds. + Weight::from_parts(2_927_000, 0) + // Standard Error: 810 + .saturating_add(Weight::from_parts(535_973, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) + } + /// Storage: `Skipped::Metadata` (r:0 w:0) + /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `p` is `[0, 1000]`. + fn kill_prefix(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `91 + p * (69 ±0)` + // Estimated: `89 + p * (70 ±0)` + // Minimum execution time: 5_761_000 picoseconds. + Weight::from_parts(5_855_000, 89) + // Standard Error: 934 + .saturating_add(Weight::from_parts(988_761, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) + } + /// Storage: `System::AuthorizedUpgrade` (r:0 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + fn authorize_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_004_000 picoseconds. + Weight::from_parts(10_297_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + + /// Storage: `System::AuthorizedUpgrade` (r:1 w:1) + /// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ValidationData` (r:1 w:0) + /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::UpgradeRestrictionSignal` (r:1 w:0) + /// Proof: `ParachainSystem::UpgradeRestrictionSignal` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingValidationCode` (r:1 w:1) + /// Proof: `ParachainSystem::PendingValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::NewValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::NewValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::DidSetValidationCode` (r:0 w:1) + /// Proof: `ParachainSystem::DidSetValidationCode` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn apply_authorized_upgrade() -> Weight { + // Proof Size summary in bytes: + // Measured: `253` + // Estimated: `1738` + // Minimum execution time: 123_941_613_000 picoseconds. + Weight::from_parts(126_233_952_000, 1738) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } +} diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index bf212d21..c3f8894a 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -19,6 +19,7 @@ pub mod block_weights; pub mod extrinsic_weights; +pub mod frame_system; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; From f7e6dba1b01eafe4c596e0f91e261a1a58d84b1b Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 22:32:32 +0200 Subject: [PATCH 37/89] rebench xcmp queue --- runtime/src/lib.rs | 5 +- .../src/weights/cumulus_pallet_xcmp_queue.rs | 154 ++++++++++++++++++ runtime/src/weights/mod.rs | 1 + 3 files changed, 157 insertions(+), 3 deletions(-) create mode 100644 runtime/src/weights/cumulus_pallet_xcmp_queue.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index cd642235..9329d8b4 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -456,7 +456,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type MaxInboundSuspended = ConstU32<1_000>; type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin; - type WeightInfo = cumulus_pallet_xcmp_queue::weights::SubstrateWeight; + type WeightInfo = weights::cumulus_pallet_xcmp_queue::NeurowebWeight; type PriceForSiblingDelivery = NoPriceForMessageDelivery; } @@ -1174,10 +1174,9 @@ extern crate frame_benchmarking; mod benches { frame_benchmarking::define_benchmarks!( [frame_system, SystemBench::] - [cumulus_pallet_parachain_system, ParachainSystem] [cumulus_pallet_xcmp_queue, XcmpQueue] [pallet_assets, Assets] - [pallet_assets::, Assets] + [pallet_assets::, ForeignAssets] [pallet_balances, Balances] [pallet_collator_selection, CollatorSelection] [pallet_collective::, Council] diff --git a/runtime/src/weights/cumulus_pallet_xcmp_queue.rs b/runtime/src/weights/cumulus_pallet_xcmp_queue.rs new file mode 100644 index 00000000..e8136e94 --- /dev/null +++ b/runtime/src/weights/cumulus_pallet_xcmp_queue.rs @@ -0,0 +1,154 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `cumulus_pallet_xcmp_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=cumulus_pallet_xcmp_queue +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `cumulus_pallet_xcmp_queue` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl cumulus_pallet_xcmp_queue::WeightInfo for NeurowebWeight { + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:1) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn set_config_with_u32() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 6_425_000 picoseconds. + Weight::from_parts(6_655_000, 1561) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn enqueue_xcmp_message() -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `3517` + // Minimum execution time: 16_229_000 picoseconds. + Weight::from_parts(16_591_000, 3517) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn suspend_channel() -> Weight { + // Proof Size summary in bytes: + // Measured: `76` + // Estimated: `1561` + // Minimum execution time: 3_679_000 picoseconds. + Weight::from_parts(3_853_000, 1561) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn resume_channel() -> Weight { + // Proof Size summary in bytes: + // Measured: `111` + // Estimated: `1596` + // Minimum execution time: 4_589_000 picoseconds. + Weight::from_parts(4_791_000, 1596) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn take_first_concatenated_xcm() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_414_000 picoseconds. + Weight::from_parts(10_698_000, 0) + } + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn on_idle_good_msg() -> Weight { + // Proof Size summary in bytes: + // Measured: `134355` + // Estimated: `137820` + // Minimum execution time: 220_329_000 picoseconds. + Weight::from_parts(223_492_000, 137820) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6b345d8e88afa015075c945637c07e8f20` (r:1 w:1) + /// Storage: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Proof: UNKNOWN KEY `0x7b3237373ffdfeb1cab4222e3b520d6bedc49980ba3aa32b0a189290fd036649` (r:1 w:1) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `XcmpQueue::QueueConfig` (r:1 w:0) + /// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::InboundXcmpSuspended` (r:1 w:0) + /// Proof: `XcmpQueue::InboundXcmpSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn on_idle_large_msg() -> Weight { + // Proof Size summary in bytes: + // Measured: `65752` + // Estimated: `69217` + // Minimum execution time: 128_155_000 picoseconds. + Weight::from_parts(128_907_000, 69217) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } +} diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index c3f8894a..232b8add 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -18,6 +18,7 @@ //! Expose the auto generated weight files. pub mod block_weights; +pub mod cumulus_pallet_xcmp_queue; pub mod extrinsic_weights; pub mod frame_system; pub mod paritydb_weights; From 42a44a00a58861ad67902f8f2e6296d01c69ae02 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 22:57:01 +0200 Subject: [PATCH 38/89] rebench pallet_assets --- runtime/src/assets.rs | 10 +- runtime/src/weights/mod.rs | 2 + runtime/src/weights/pallet_assets_foreign.rs | 491 +++++++++++++++++++ runtime/src/weights/pallet_assets_local.rs | 491 +++++++++++++++++++ 4 files changed, 989 insertions(+), 5 deletions(-) create mode 100644 runtime/src/weights/pallet_assets_foreign.rs create mode 100644 runtime/src/weights/pallet_assets_local.rs diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index ca7e5683..cb06ab75 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -105,7 +105,7 @@ impl pallet_assets::Config for Runtime { type Freezer = (); type Extra = (); type CallbackHandle = (); - type WeightInfo = pallet_assets::weights::SubstrateWeight; + type WeightInfo = weights::pallet_assets_local::NeurowebWeight; #[cfg(feature = "runtime-benchmarks")] type BenchmarkHelper = AssetsBenchmarkHelper; } @@ -129,9 +129,9 @@ impl pallet_assets::Config for Runtime { type Freezer = (); type Extra = (); type CallbackHandle = (); - type WeightInfo = pallet_assets::weights::SubstrateWeight; + type WeightInfo = weights::pallet_assets_foreign::NeurowebWeight; #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = XcmBenchmarkHelper; + type BenchmarkHelper = ForeignAssetsBenchmarkHelper; } pub struct MultiCurrencyAdapter; @@ -471,10 +471,10 @@ impl pallet_assets::BenchmarkHelper> for AssetsBenchmarkHel } #[cfg(feature = "runtime-benchmarks")] -pub struct XcmBenchmarkHelper; +pub struct ForeignAssetsBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for XcmBenchmarkHelper { +impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHelper { fn create_asset_id_parameter(id: u32) -> MultiLocation { MultiLocation::new(1, Junction::Parachain(id)) } diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 232b8add..ac808643 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -21,6 +21,8 @@ pub mod block_weights; pub mod cumulus_pallet_xcmp_queue; pub mod extrinsic_weights; pub mod frame_system; +pub mod pallet_assets_local; +pub mod pallet_assets_foreign; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; diff --git a/runtime/src/weights/pallet_assets_foreign.rs b/runtime/src/weights/pallet_assets_foreign.rs new file mode 100644 index 00000000..733d0612 --- /dev/null +++ b/runtime/src/weights/pallet_assets_foreign.rs @@ -0,0 +1,491 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_assets` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_assets +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_assets` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_assets::WeightInfo for NeurowebWeight { + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn create() -> Weight { + // Proof Size summary in bytes: + // Measured: `146` + // Estimated: `3687` + // Minimum execution time: 30_015_000 picoseconds. + Weight::from_parts(30_602_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn force_create() -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `3687` + // Minimum execution time: 12_771_000 picoseconds. + Weight::from_parts(13_233_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn start_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 13_353_000 picoseconds. + Weight::from_parts(13_596_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:657 w:656) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:656 w:656) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 656]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `156 + c * (208 ±0)` + // Estimated: `3687 + c * (2621 ±0)` + // Minimum execution time: 18_478_000 picoseconds. + Weight::from_parts(18_799_000, 3687) + // Standard Error: 8_823 + .saturating_add(Weight::from_parts(13_459_234, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:657 w:656) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 656]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `389 + a * (86 ±0)` + // Estimated: `3687 + a * (2635 ±0)` + // Minimum execution time: 18_945_000 picoseconds. + Weight::from_parts(19_039_000, 3687) + // Standard Error: 4_788 + .saturating_add(Weight::from_parts(15_564_160, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn finish_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 15_416_000 picoseconds. + Weight::from_parts(15_858_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn mint() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 26_952_000 picoseconds. + Weight::from_parts(27_312_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 34_181_000 picoseconds. + Weight::from_parts(34_646_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 48_292_000 picoseconds. + Weight::from_parts(49_019_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 43_408_000 picoseconds. + Weight::from_parts(43_682_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 48_537_000 picoseconds. + Weight::from_parts(49_209_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn freeze() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_699_000 picoseconds. + Weight::from_parts(17_906_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn thaw() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_763_000 picoseconds. + Weight::from_parts(18_032_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn freeze_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 12_886_000 picoseconds. + Weight::from_parts(13_268_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn thaw_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 12_992_000 picoseconds. + Weight::from_parts(13_276_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn transfer_ownership() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 15_682_000 picoseconds. + Weight::from_parts(15_928_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn set_team() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 13_762_000 picoseconds. + Weight::from_parts(13_935_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 29_902_000 picoseconds. + Weight::from_parts(30_836_133, 3687) + // Standard Error: 453 + .saturating_add(Weight::from_parts(545, 0).saturating_mul(n.into())) + // Standard Error: 453 + .saturating_add(Weight::from_parts(3_020, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `431` + // Estimated: `3687` + // Minimum execution time: 31_004_000 picoseconds. + Weight::from_parts(31_329_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `3687` + // Minimum execution time: 14_827_000 picoseconds. + Weight::from_parts(15_595_129, 3687) + // Standard Error: 300 + .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) + // Standard Error: 300 + .saturating_add(Weight::from_parts(25, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn force_clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `431` + // Estimated: `3687` + // Minimum execution time: 30_658_000 picoseconds. + Weight::from_parts(31_154_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn force_asset_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 13_238_000 picoseconds. + Weight::from_parts(13_571_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn approve_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 34_852_000 picoseconds. + Weight::from_parts(35_275_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `629` + // Estimated: `6232` + // Minimum execution time: 72_047_000 picoseconds. + Weight::from_parts(72_635_000, 6232) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `471` + // Estimated: `3687` + // Minimum execution time: 37_364_000 picoseconds. + Weight::from_parts(37_712_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn force_cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `471` + // Estimated: `3687` + // Minimum execution time: 37_594_000 picoseconds. + Weight::from_parts(38_054_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn set_min_balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 14_587_000 picoseconds. + Weight::from_parts(15_032_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn touch() -> Weight { + // Proof Size summary in bytes: + // Measured: `358` + // Estimated: `3687` + // Minimum execution time: 36_815_000 picoseconds. + Weight::from_parts(37_342_000, 3687) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn touch_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 34_001_000 picoseconds. + Weight::from_parts(34_489_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn refund() -> Weight { + // Proof Size summary in bytes: + // Measured: `496` + // Estimated: `3687` + // Minimum execution time: 35_971_000 picoseconds. + Weight::from_parts(36_443_000, 3687) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn refund_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `426` + // Estimated: `3687` + // Minimum execution time: 32_851_000 picoseconds. + Weight::from_parts(33_410_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn block() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_450_000 picoseconds. + Weight::from_parts(17_877_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtime/src/weights/pallet_assets_local.rs b/runtime/src/weights/pallet_assets_local.rs new file mode 100644 index 00000000..733d0612 --- /dev/null +++ b/runtime/src/weights/pallet_assets_local.rs @@ -0,0 +1,491 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_assets` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_assets +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_assets` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_assets::WeightInfo for NeurowebWeight { + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn create() -> Weight { + // Proof Size summary in bytes: + // Measured: `146` + // Estimated: `3687` + // Minimum execution time: 30_015_000 picoseconds. + Weight::from_parts(30_602_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn force_create() -> Weight { + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `3687` + // Minimum execution time: 12_771_000 picoseconds. + Weight::from_parts(13_233_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn start_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 13_353_000 picoseconds. + Weight::from_parts(13_596_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:657 w:656) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:656 w:656) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 656]`. + fn destroy_accounts(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `156 + c * (208 ±0)` + // Estimated: `3687 + c * (2621 ±0)` + // Minimum execution time: 18_478_000 picoseconds. + Weight::from_parts(18_799_000, 3687) + // Standard Error: 8_823 + .saturating_add(Weight::from_parts(13_459_234, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:657 w:656) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 656]`. + fn destroy_approvals(a: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `389 + a * (86 ±0)` + // Estimated: `3687 + a * (2635 ±0)` + // Minimum execution time: 18_945_000 picoseconds. + Weight::from_parts(19_039_000, 3687) + // Standard Error: 4_788 + .saturating_add(Weight::from_parts(15_564_160, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) + .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn finish_destroy() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 15_416_000 picoseconds. + Weight::from_parts(15_858_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn mint() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 26_952_000 picoseconds. + Weight::from_parts(27_312_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn burn() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 34_181_000 picoseconds. + Weight::from_parts(34_646_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 48_292_000 picoseconds. + Weight::from_parts(49_019_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 43_408_000 picoseconds. + Weight::from_parts(43_682_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `447` + // Estimated: `6232` + // Minimum execution time: 48_537_000 picoseconds. + Weight::from_parts(49_209_000, 6232) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn freeze() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_699_000 picoseconds. + Weight::from_parts(17_906_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn thaw() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_763_000 picoseconds. + Weight::from_parts(18_032_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn freeze_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 12_886_000 picoseconds. + Weight::from_parts(13_268_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn thaw_asset() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 12_992_000 picoseconds. + Weight::from_parts(13_276_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:0) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn transfer_ownership() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 15_682_000 picoseconds. + Weight::from_parts(15_928_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn set_team() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 13_762_000 picoseconds. + Weight::from_parts(13_935_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 29_902_000 picoseconds. + Weight::from_parts(30_836_133, 3687) + // Standard Error: 453 + .saturating_add(Weight::from_parts(545, 0).saturating_mul(n.into())) + // Standard Error: 453 + .saturating_add(Weight::from_parts(3_020, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `431` + // Estimated: `3687` + // Minimum execution time: 31_004_000 picoseconds. + Weight::from_parts(31_329_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 50]`. + /// The range of component `s` is `[0, 50]`. + fn force_set_metadata(n: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `3687` + // Minimum execution time: 14_827_000 picoseconds. + Weight::from_parts(15_595_129, 3687) + // Standard Error: 300 + .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) + // Standard Error: 300 + .saturating_add(Weight::from_parts(25, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Metadata` (r:1 w:1) + /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + fn force_clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `431` + // Estimated: `3687` + // Minimum execution time: 30_658_000 picoseconds. + Weight::from_parts(31_154_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn force_asset_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 13_238_000 picoseconds. + Weight::from_parts(13_571_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn approve_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3687` + // Minimum execution time: 34_852_000 picoseconds. + Weight::from_parts(35_275_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:2 w:2) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `629` + // Estimated: `6232` + // Minimum execution time: 72_047_000 picoseconds. + Weight::from_parts(72_635_000, 6232) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `471` + // Estimated: `3687` + // Minimum execution time: 37_364_000 picoseconds. + Weight::from_parts(37_712_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Approvals` (r:1 w:1) + /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + fn force_cancel_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `471` + // Estimated: `3687` + // Minimum execution time: 37_594_000 picoseconds. + Weight::from_parts(38_054_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn set_min_balance() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 14_587_000 picoseconds. + Weight::from_parts(15_032_000, 3687) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn touch() -> Weight { + // Proof Size summary in bytes: + // Measured: `358` + // Estimated: `3687` + // Minimum execution time: 36_815_000 picoseconds. + Weight::from_parts(37_342_000, 3687) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn touch_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `3687` + // Minimum execution time: 34_001_000 picoseconds. + Weight::from_parts(34_489_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn refund() -> Weight { + // Proof Size summary in bytes: + // Measured: `496` + // Estimated: `3687` + // Minimum execution time: 35_971_000 picoseconds. + Weight::from_parts(36_443_000, 3687) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `Assets::Asset` (r:1 w:1) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + fn refund_other() -> Weight { + // Proof Size summary in bytes: + // Measured: `426` + // Estimated: `3687` + // Minimum execution time: 32_851_000 picoseconds. + Weight::from_parts(33_410_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Assets::Asset` (r:1 w:0) + /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `Assets::Account` (r:1 w:1) + /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + fn block() -> Weight { + // Proof Size summary in bytes: + // Measured: `375` + // Estimated: `3687` + // Minimum execution time: 17_450_000 picoseconds. + Weight::from_parts(17_877_000, 3687) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} From 99abb2075a4e4776f5f2276df704034bfcc37e55 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:10:35 +0200 Subject: [PATCH 39/89] rebench pallet_balances --- runtime/src/assets.rs | 2 +- runtime/src/weights/mod.rs | 1 + runtime/src/weights/pallet_balances.rs | 151 +++++++++++++++++++++++++ 3 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 runtime/src/weights/pallet_balances.rs diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index cb06ab75..58963a9b 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -66,7 +66,7 @@ impl pallet_balances::Config for Runtime { type DustRemoval = (); type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; - type WeightInfo = pallet_balances::weights::SubstrateWeight; + type WeightInfo = weights::pallet_balances::NeurowebWeight; type MaxReserves = ConstU32<50>; type ReserveIdentifier = [u8; 8]; type RuntimeHoldReason = RuntimeHoldReason; diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index ac808643..c5af2c95 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -23,6 +23,7 @@ pub mod extrinsic_weights; pub mod frame_system; pub mod pallet_assets_local; pub mod pallet_assets_foreign; +pub mod pallet_balances; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; diff --git a/runtime/src/weights/pallet_balances.rs b/runtime/src/weights/pallet_balances.rs new file mode 100644 index 00000000..7ea18a30 --- /dev/null +++ b/runtime/src/weights/pallet_balances.rs @@ -0,0 +1,151 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_balances` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_balances +// --output=weights.rs +// --extrinsic=transfer_allow_death,transfer_best_case,transfer_keep_alive,force_set_balance_creating,force_set_balance_killing,force_transfer,transfer_increasing_users,transfer_all,force_unreserve,upgrade_accounts + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_balances`. +pub struct WeightInfo(PhantomData); + +/// Weights for `pallet_balances` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_balances::WeightInfo for NeurowebWeight { + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_allow_death() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 59_918_000 picoseconds. + Weight::from_parts(60_536_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_keep_alive() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 47_294_000 picoseconds. + Weight::from_parts(47_650_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_set_balance_creating() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 18_936_000 picoseconds. + Weight::from_parts(19_396_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_set_balance_killing() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 25_982_000 picoseconds. + Weight::from_parts(26_256_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `103` + // Estimated: `6196` + // Minimum execution time: 63_329_000 picoseconds. + Weight::from_parts(63_889_000, 6196) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn transfer_all() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3593` + // Minimum execution time: 59_710_000 picoseconds. + Weight::from_parts(60_252_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn force_unreserve() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `3593` + // Minimum execution time: 22_722_000 picoseconds. + Weight::from_parts(23_050_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:999 w:999) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (136 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 22_482_000 picoseconds. + Weight::from_parts(22_813_000, 990) + // Standard Error: 8_940 + .saturating_add(Weight::from_parts(15_969_892, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .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: 9_444_000 picoseconds. + Weight::from_parts(9_737_000, 0) + } +} From 66e1723387ee83ffd235d41b5c591ac500c127b3 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:13:31 +0200 Subject: [PATCH 40/89] refactor --- runtime/src/lib.rs | 2 +- runtime/src/weights/frame_system.rs | 3 --- runtime/src/weights/mod.rs | 2 +- runtime/src/weights/pallet_balances.rs | 3 --- runtime/src/weights/{wrapper.rs => pallet_wrapper.rs} | 0 scripts/pallet-weight-template.hbs | 3 --- 6 files changed, 2 insertions(+), 11 deletions(-) rename runtime/src/weights/{wrapper.rs => pallet_wrapper.rs} (100%) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9329d8b4..c8e7be20 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1109,7 +1109,7 @@ impl pallet_wrapper::Config for Runtime { type ForeignTracAssetId = ForeignTracAssetId; // Define this constant type PalletId = TracWrapperPalletId; // Define this constant type PauseOrigin = EnsureRootOrThreeFiftsOfCouncil; - type WeightInfo = weights::wrapper::NeurowebWeight; + type WeightInfo = weights::pallet_wrapper::NeurowebWeight; } // Create the runtime by composing the FRAME pallets that were previously configured. diff --git a/runtime/src/weights/frame_system.rs b/runtime/src/weights/frame_system.rs index 67e53746..d6bbf0e0 100644 --- a/runtime/src/weights/frame_system.rs +++ b/runtime/src/weights/frame_system.rs @@ -43,9 +43,6 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; use crate::*; -/// Weights for `frame_system`. -pub struct WeightInfo(PhantomData); - /// Weights for `frame_system` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl frame_system::WeightInfo for NeurowebWeight { diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index c5af2c95..15e63998 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -27,9 +27,9 @@ pub mod pallet_balances; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; +pub mod pallet_wrapper; pub mod pallet_xc_asset_config; pub mod pallet_xcm; -pub mod wrapper; pub use block_weights::constants::BlockExecutionWeight; pub use extrinsic_weights::constants::ExtrinsicBaseWeight; diff --git a/runtime/src/weights/pallet_balances.rs b/runtime/src/weights/pallet_balances.rs index 7ea18a30..106b5b11 100644 --- a/runtime/src/weights/pallet_balances.rs +++ b/runtime/src/weights/pallet_balances.rs @@ -43,9 +43,6 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; use crate::*; -/// Weights for `pallet_balances`. -pub struct WeightInfo(PhantomData); - /// Weights for `pallet_balances` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl pallet_balances::WeightInfo for NeurowebWeight { diff --git a/runtime/src/weights/wrapper.rs b/runtime/src/weights/pallet_wrapper.rs similarity index 100% rename from runtime/src/weights/wrapper.rs rename to runtime/src/weights/pallet_wrapper.rs diff --git a/scripts/pallet-weight-template.hbs b/scripts/pallet-weight-template.hbs index 139f7d74..121b6d09 100644 --- a/scripts/pallet-weight-template.hbs +++ b/scripts/pallet-weight-template.hbs @@ -34,9 +34,6 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; use crate::*; -/// Weights for `{{pallet}}`. -pub struct WeightInfo(PhantomData); - /// Weights for `{{pallet}}` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl {{pallet}}::WeightInfo for NeurowebWeight { From 4487842164bd91df6667b4c22303300740f0baee Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:26:57 +0200 Subject: [PATCH 41/89] rebench pallet_collator_selection --- runtime/src/lib.rs | 2 +- runtime/src/weights/mod.rs | 1 + .../src/weights/pallet_collator_selection.rs | 265 ++++++++++++++++++ 3 files changed, 267 insertions(+), 1 deletion(-) create mode 100644 runtime/src/weights/pallet_collator_selection.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c8e7be20..a90a51e0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -576,7 +576,7 @@ impl pallet_collator_selection::Config for Runtime { type ValidatorId = ::AccountId; type ValidatorIdOf = pallet_collator_selection::IdentityCollator; type ValidatorRegistration = Session; - type WeightInfo = (); + type WeightInfo = weights::pallet_collator_selection::NeurowebWeight; } // Define the types required by the Scheduler pallet. diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 15e63998..7c84bd2d 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -24,6 +24,7 @@ pub mod frame_system; pub mod pallet_assets_local; pub mod pallet_assets_foreign; pub mod pallet_balances; +pub mod pallet_collator_selection; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; diff --git a/runtime/src/weights/pallet_collator_selection.rs b/runtime/src/weights/pallet_collator_selection.rs new file mode 100644 index 00000000..cc4d6ebc --- /dev/null +++ b/runtime/src/weights/pallet_collator_selection.rs @@ -0,0 +1,265 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_collator_selection` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_collator_selection +// --output=weights.rs +// --extrinsic=set_invulnerables,remove_invulnerable,set_desired_candidates,note_author + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_collator_selection` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_collator_selection::WeightInfo for NeurowebWeight { + /// Storage: `Session::NextKeys` (r:100 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:0 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 100]`. + fn set_invulnerables(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `215 + b * (78 ±0)` + // Estimated: `1204 + b * (2554 ±0)` + // Minimum execution time: 15_295_000 picoseconds. + Weight::from_parts(15_467_322, 1204) + // Standard Error: 3_459 + .saturating_add(Weight::from_parts(3_246_098, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(b.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 2554).saturating_mul(b.into())) + } + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `b` is `[1, 49]`. + /// The range of component `c` is `[1, 19]`. + fn add_invulnerable(b: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `959 + b * (40 ±0) + c * (48 ±0)` + // Estimated: `4439 + b * (42 ±0) + c * (47 ±0)` + // Minimum execution time: 55_157_000 picoseconds. + Weight::from_parts(54_833_233, 4439) + // Standard Error: 1_205 + .saturating_add(Weight::from_parts(114_232, 0).saturating_mul(b.into())) + // Standard Error: 3_176 + .saturating_add(Weight::from_parts(32_087, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 42).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 47).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(48002), added: 48497, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:1) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(3202), added: 3697, mode: `MaxEncodedLen`) + /// The range of component `b` is `[4, 100]`. + fn remove_invulnerable(b: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `153 + b * (32 ±0)` + // Estimated: `49487` + // Minimum execution time: 15_488_000 picoseconds. + Weight::from_parts(16_123_265, 49487) + // Standard Error: 401 + .saturating_add(Weight::from_parts(32_919, 0).saturating_mul(b.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `CollatorSelection::DesiredCandidates` (r:0 w:1) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + fn set_desired_candidates() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_005_000 picoseconds. + Weight::from_parts(8_122_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:1) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:20 w:20) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:20) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[0, 20]`. + /// The range of component `k` is `[0, 20]`. + fn set_candidacy_bond(c: u32, k: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + c * (179 ±0) + k * (128 ±0)` + // Estimated: `3593 + c * (848 ±30) + k * (848 ±30)` + // Minimum execution time: 15_061_000 picoseconds. + Weight::from_parts(15_453_000, 3593) + // Standard Error: 189_239 + .saturating_add(Weight::from_parts(6_539_492, 0).saturating_mul(c.into())) + // Standard Error: 189_239 + .saturating_add(Weight::from_parts(6_352_758, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 848).saturating_mul(k.into())) + } + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 20]`. + fn update_bond(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `495 + c * (48 ±0)` + // Estimated: `2446` + // Minimum execution time: 36_287_000 picoseconds. + Weight::from_parts(37_067_037, 2446) + // Standard Error: 4_934 + .saturating_add(Weight::from_parts(62_689, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[1, 19]`. + fn register_as_candidate(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `715 + c * (61 ±0)` + // Estimated: `4180 + c * (61 ±0)` + // Minimum execution time: 52_432_000 picoseconds. + Weight::from_parts(53_439_429, 4180) + // Standard Error: 1_956 + .saturating_add(Weight::from_parts(159_404, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::CandidacyBond` (r:1 w:0) + /// Proof: `CollatorSelection::CandidacyBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Session::NextKeys` (r:1 w:0) + /// Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:2) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 20]`. + fn take_candidate_slot(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `815 + c * (61 ±0)` + // Estimated: `4280 + c * (61 ±0)` + // Minimum execution time: 71_194_000 picoseconds. + Weight::from_parts(72_004_333, 4280) + // Standard Error: 2_193 + .saturating_add(Weight::from_parts(136_326, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 61).saturating_mul(c.into())) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:1) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// The range of component `c` is `[3, 20]`. + fn leave_intent(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `507 + c * (48 ±0)` + // Estimated: `3086` + // Minimum execution time: 39_072_000 picoseconds. + Weight::from_parts(39_673_539, 3086) + // Standard Error: 2_037 + .saturating_add(Weight::from_parts(96_410, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:0 w:1) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + fn note_author() -> Weight { + // Proof Size summary in bytes: + // Measured: `155` + // Estimated: `6196` + // Minimum execution time: 51_839_000 picoseconds. + Weight::from_parts(52_398_000, 6196) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `CollatorSelection::CandidateList` (r:1 w:0) + /// Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(961), added: 1456, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::LastAuthoredBlock` (r:20 w:0) + /// Proof: `CollatorSelection::LastAuthoredBlock` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::Invulnerables` (r:1 w:0) + /// Proof: `CollatorSelection::Invulnerables` (`max_values`: Some(1), `max_size`: Some(1601), added: 2096, mode: `MaxEncodedLen`) + /// Storage: `CollatorSelection::DesiredCandidates` (r:1 w:0) + /// Proof: `CollatorSelection::DesiredCandidates` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:18 w:18) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + /// The range of component `c` is `[1, 20]`. + fn new_session(r: u32, c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `466 + c * (98 ±0) + r * (134 ±0)` + // Estimated: `3086 + c * (2519 ±2) + r * (2571 ±3)` + // Minimum execution time: 26_984_000 picoseconds. + Weight::from_parts(27_256_000, 3086) + // Standard Error: 320_759 + .saturating_add(Weight::from_parts(15_247_489, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(c.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(c.into()))) + .saturating_add(Weight::from_parts(0, 2519).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 2571).saturating_mul(r.into())) + } +} From e0d685b0e319061c3376168c43acd821430bc1e4 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:29:33 +0200 Subject: [PATCH 42/89] tweak --- runtime/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a90a51e0..6b69394f 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1175,11 +1175,11 @@ mod benches { frame_benchmarking::define_benchmarks!( [frame_system, SystemBench::] [cumulus_pallet_xcmp_queue, XcmpQueue] - [pallet_assets, Assets] - [pallet_assets::, ForeignAssets] + [pallet_assets_local, Assets] + [pallet_assets_foreign, ForeignAssets] [pallet_balances, Balances] [pallet_collator_selection, CollatorSelection] - [pallet_collective::, Council] + [pallet_collective_council, Council] [pallet_democracy, Democracy] [pallet_identity, Identity] [pallet_message_queue, MessageQueue] From c486674f8e313510f9fa64a072b1686470355b61 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:50:11 +0200 Subject: [PATCH 43/89] rebench pallet_collective_council --- runtime/src/lib.rs | 2 +- runtime/src/weights/mod.rs | 1 + .../src/weights/pallet_collective_council.rs | 289 ++++++++++++++++++ 3 files changed, 291 insertions(+), 1 deletion(-) create mode 100644 runtime/src/weights/pallet_collective_council.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 6b69394f..c51e599f 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -912,7 +912,7 @@ impl pallet_collective::Config for Runtime { type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::MoreThanMajorityThenPrimeDefaultVote; type SetMembersOrigin = EnsureRoot; - type WeightInfo = pallet_collective::weights::SubstrateWeight; + type WeightInfo = weights::pallet_collective_council::NeurowebWeight; type MaxProposalWeight = MaxCollectivesProposalWeight; } diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 7c84bd2d..f4c59a27 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -25,6 +25,7 @@ pub mod pallet_assets_local; pub mod pallet_assets_foreign; pub mod pallet_balances; pub mod pallet_collator_selection; +pub mod pallet_collective_council; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; diff --git a/runtime/src/weights/pallet_collective_council.rs b/runtime/src/weights/pallet_collective_council.rs new file mode 100644 index 00000000..1d1b9342 --- /dev/null +++ b/runtime/src/weights/pallet_collective_council.rs @@ -0,0 +1,289 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_collective_council` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_collective_council +// --output=weights.rs +// --extrinsic=set_members,execute,propose_execute,propose_proposed,close_early_disapproved,close_early_approved,close_disapproved,close_approved,disapprove_proposal + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_collective_council` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_collective::WeightInfo for NeurowebWeight { + /// Storage: `Council::Members` (r:1 w:1) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:0) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:100 w:100) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:0 w:1) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[0, 5]`. + /// The range of component `n` is `[0, 5]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + m * (2831 ±0) + p * (149 ±0)` + // Estimated: `6568 + m * (1591 ±21) + p * (2560 ±1)` + // Minimum execution time: 9_495_000 picoseconds. + Weight::from_parts(9_761_000, 6568) + // Standard Error: 854_543 + .saturating_add(Weight::from_parts(30_621_599, 0).saturating_mul(m.into())) + // Standard Error: 44_638 + .saturating_add(Weight::from_parts(3_171_454, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((6_u64).saturating_mul(m.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 1591).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 2560).saturating_mul(p.into())) + } + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 5]`. + fn execute(b: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `33 + m * (32 ±0)` + // Estimated: `1517 + m * (32 ±0)` + // Minimum execution time: 15_064_000 picoseconds. + Weight::from_parts(15_412_308, 1517) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(b.into())) + // Standard Error: 4_031 + .saturating_add(Weight::from_parts(24_923, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + } + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:0) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[1, 5]`. + fn propose_execute(b: u32, m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `33 + m * (32 ±0)` + // Estimated: `3497 + m * (32 ±0)` + // Minimum execution time: 18_775_000 picoseconds. + Weight::from_parts(19_013_260, 3497) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_445, 0).saturating_mul(b.into())) + // Standard Error: 4_887 + .saturating_add(Weight::from_parts(53_682, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into())) + } + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalCount` (r:1 w:1) + /// Proof: `Council::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[2, 5]`. + /// The range of component `p` is `[1, 100]`. + fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `321 + m * (32 ±0) + p * (36 ±0)` + // Estimated: `3630 + m * (66 ±2) + p * (36 ±0)` + // Minimum execution time: 24_036_000 picoseconds. + Weight::from_parts(25_828_474, 3630) + // Standard Error: 66 + .saturating_add(Weight::from_parts(1_974, 0).saturating_mul(b.into())) + // Standard Error: 18_792 + .saturating_add(Weight::from_parts(167_240, 0).saturating_mul(m.into())) + // Standard Error: 680 + .saturating_add(Weight::from_parts(170_194, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(Weight::from_parts(0, 66).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 36).saturating_mul(p.into())) + } + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[5, 13]`. + fn vote(m: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `709 + m * (64 ±0)` + // Estimated: `4174 + m * (64 ±0)` + // Minimum execution time: 26_287_000 picoseconds. + Weight::from_parts(26_762_045, 4174) + // Standard Error: 2_264 + .saturating_add(Weight::from_parts(53_896, 0).saturating_mul(m.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into())) + } + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 5]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_disapproved(m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `361 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3278 + m * (184 ±6) + p * (37 ±0)` + // Minimum execution time: 25_690_000 picoseconds. + Weight::from_parts(27_339_167, 3278) + // Standard Error: 38_581 + .saturating_add(Weight::from_parts(134_510, 0).saturating_mul(m.into())) + // Standard Error: 597 + .saturating_add(Weight::from_parts(167_478, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 184).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) + } + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 5]`. + /// The range of component `p` is `[1, 100]`. + fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `662 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `3252 + b * (1 ±0) + m * (224 ±10) + p * (41 ±0)` + // Minimum execution time: 37_614_000 picoseconds. + Weight::from_parts(55_236_132, 3252) + // Standard Error: 193 + .saturating_add(Weight::from_parts(601, 0).saturating_mul(b.into())) + // Standard Error: 1_992 + .saturating_add(Weight::from_parts(192_934, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 224).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(p.into())) + } + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `m` is `[4, 5]`. + /// The range of component `p` is `[1, 100]`. + fn close_disapproved(m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `381 + m * (64 ±0) + p * (36 ±0)` + // Estimated: `3298 + m * (184 ±1) + p * (37 ±0)` + // Minimum execution time: 27_537_000 picoseconds. + Weight::from_parts(29_256_048, 3298) + // Standard Error: 40_519 + .saturating_add(Weight::from_parts(147_569, 0).saturating_mul(m.into())) + // Standard Error: 627 + .saturating_add(Weight::from_parts(170_577, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 184).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) + } + /// Storage: `Council::Voting` (r:1 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Members` (r:1 w:0) + /// Proof: `Council::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Prime` (r:1 w:0) + /// Proof: `Council::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:1 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// The range of component `b` is `[2, 1024]`. + /// The range of component `m` is `[4, 5]`. + /// The range of component `p` is `[1, 100]`. + fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `682 + b * (1 ±0) + m * (64 ±0) + p * (40 ±0)` + // Estimated: `3272 + b * (1 ±0) + m * (224 ±10) + p * (41 ±0)` + // Minimum execution time: 39_921_000 picoseconds. + Weight::from_parts(55_951_813, 3272) + // Standard Error: 185 + .saturating_add(Weight::from_parts(380, 0).saturating_mul(b.into())) + // Standard Error: 1_915 + .saturating_add(Weight::from_parts(187_491, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(0, 224).saturating_mul(m.into())) + .saturating_add(Weight::from_parts(0, 41).saturating_mul(p.into())) + } + /// Storage: `Council::Proposals` (r:1 w:1) + /// Proof: `Council::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `Council::Voting` (r:0 w:1) + /// Proof: `Council::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Council::ProposalOf` (r:0 w:1) + /// Proof: `Council::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `p` is `[1, 100]`. + fn disapprove_proposal(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `189 + p * (32 ±0)` + // Estimated: `1674 + p * (32 ±0)` + // Minimum execution time: 16_145_000 picoseconds. + Weight::from_parts(17_461_898, 1674) + // Standard Error: 635 + .saturating_add(Weight::from_parts(148_700, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into())) + } +} From 73dc83362cd59347009f474b4c9883b742a4fae4 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sat, 16 Aug 2025 23:54:14 +0200 Subject: [PATCH 44/89] rebench foreign assets --- runtime/src/weights/pallet_assets_foreign.rs | 520 +++++++++---------- 1 file changed, 259 insertions(+), 261 deletions(-) diff --git a/runtime/src/weights/pallet_assets_foreign.rs b/runtime/src/weights/pallet_assets_foreign.rs index 733d0612..0a328a3a 100644 --- a/runtime/src/weights/pallet_assets_foreign.rs +++ b/runtime/src/weights/pallet_assets_foreign.rs @@ -12,7 +12,7 @@ // along with this program. If not, see . -//! Autogenerated weights for `pallet_assets` +//! Autogenerated weights for `pallet_assets_foreign` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 //! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` @@ -30,7 +30,7 @@ // --wasm-execution=compiled // --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs -// --pallet=pallet_assets +// --pallet=pallet_assets_foreign // --output=weights.rs // --extrinsic=* @@ -43,448 +43,446 @@ use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; use core::marker::PhantomData; use crate::*; -/// Weights for `pallet_assets` using the Neuroweb node and recommended hardware. +/// Weights for `pallet_assets_foreign` using the Neuroweb node and recommended hardware. pub struct NeurowebWeight(PhantomData); impl pallet_assets::WeightInfo for NeurowebWeight { - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn create() -> Weight { // Proof Size summary in bytes: - // Measured: `146` - // Estimated: `3687` - // Minimum execution time: 30_015_000 picoseconds. - Weight::from_parts(30_602_000, 3687) + // Measured: `107` + // Estimated: `4273` + // Minimum execution time: 32_973_000 picoseconds. + Weight::from_parts(33_283_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_create() -> Weight { // Proof Size summary in bytes: - // Measured: `6` - // Estimated: `3687` - // Minimum execution time: 12_771_000 picoseconds. - Weight::from_parts(13_233_000, 3687) + // Measured: `4` + // Estimated: `4273` + // Minimum execution time: 14_720_000 picoseconds. + Weight::from_parts(15_217_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn start_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `3687` - // Minimum execution time: 13_353_000 picoseconds. - Weight::from_parts(13_596_000, 3687) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 15_143_000 picoseconds. + Weight::from_parts(15_415_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:657 w:656) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:657 w:656) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:656 w:656) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) /// The range of component `c` is `[0, 656]`. fn destroy_accounts(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `156 + c * (208 ±0)` - // Estimated: `3687 + c * (2621 ±0)` - // Minimum execution time: 18_478_000 picoseconds. - Weight::from_parts(18_799_000, 3687) - // Standard Error: 8_823 - .saturating_add(Weight::from_parts(13_459_234, 0).saturating_mul(c.into())) + // Measured: `132 + c * (208 ±0)` + // Estimated: `4273 + c * (3207 ±0)` + // Minimum execution time: 20_638_000 picoseconds. + Weight::from_parts(20_812_000, 4273) + // Standard Error: 8_542 + .saturating_add(Weight::from_parts(14_166_009, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(c.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(c.into()))) - .saturating_add(Weight::from_parts(0, 2621).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(0, 3207).saturating_mul(c.into())) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Approvals` (r:657 w:656) - /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Approvals` (r:657 w:656) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 656]`. fn destroy_approvals(a: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `389 + a * (86 ±0)` - // Estimated: `3687 + a * (2635 ±0)` - // Minimum execution time: 18_945_000 picoseconds. - Weight::from_parts(19_039_000, 3687) - // Standard Error: 4_788 - .saturating_add(Weight::from_parts(15_564_160, 0).saturating_mul(a.into())) + // Measured: `364 + a * (86 ±0)` + // Estimated: `4273 + a * (3221 ±0)` + // Minimum execution time: 21_156_000 picoseconds. + Weight::from_parts(21_434_000, 4273) + // Standard Error: 5_888 + .saturating_add(Weight::from_parts(16_435_344, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(a.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(a.into()))) - .saturating_add(Weight::from_parts(0, 2635).saturating_mul(a.into())) + .saturating_add(Weight::from_parts(0, 3221).saturating_mul(a.into())) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:0) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:0) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn finish_destroy() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 15_416_000 picoseconds. - Weight::from_parts(15_858_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 17_889_000 picoseconds. + Weight::from_parts(18_208_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn mint() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 26_952_000 picoseconds. - Weight::from_parts(27_312_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 29_497_000 picoseconds. + Weight::from_parts(30_032_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn burn() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `3687` - // Minimum execution time: 34_181_000 picoseconds. - Weight::from_parts(34_646_000, 3687) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 37_897_000 picoseconds. + Weight::from_parts(38_242_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `6232` - // Minimum execution time: 48_292_000 picoseconds. - Weight::from_parts(49_019_000, 6232) + // Measured: `422` + // Estimated: `7404` + // Minimum execution time: 53_349_000 picoseconds. + Weight::from_parts(53_822_000, 7404) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_keep_alive() -> Weight { // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `6232` - // Minimum execution time: 43_408_000 picoseconds. - Weight::from_parts(43_682_000, 6232) + // Measured: `422` + // Estimated: `7404` + // Minimum execution time: 47_756_000 picoseconds. + Weight::from_parts(48_389_000, 7404) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn force_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `447` - // Estimated: `6232` - // Minimum execution time: 48_537_000 picoseconds. - Weight::from_parts(49_209_000, 6232) + // Measured: `422` + // Estimated: `7404` + // Minimum execution time: 53_051_000 picoseconds. + Weight::from_parts(53_758_000, 7404) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn freeze() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `3687` - // Minimum execution time: 17_699_000 picoseconds. - Weight::from_parts(17_906_000, 3687) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 19_589_000 picoseconds. + Weight::from_parts(19_914_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn thaw() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `3687` - // Minimum execution time: 17_763_000 picoseconds. - Weight::from_parts(18_032_000, 3687) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 19_486_000 picoseconds. + Weight::from_parts(19_791_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn freeze_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `3687` - // Minimum execution time: 12_886_000 picoseconds. - Weight::from_parts(13_268_000, 3687) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 14_911_000 picoseconds. + Weight::from_parts(15_242_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn thaw_asset() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `3687` - // Minimum execution time: 12_992_000 picoseconds. - Weight::from_parts(13_276_000, 3687) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 14_970_000 picoseconds. + Weight::from_parts(15_262_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:0) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:0) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn transfer_ownership() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 15_682_000 picoseconds. - Weight::from_parts(15_928_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 18_403_000 picoseconds. + Weight::from_parts(18_824_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_team() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 13_762_000 picoseconds. - Weight::from_parts(13_935_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 15_982_000 picoseconds. + Weight::from_parts(16_328_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:1) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:1) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. - fn set_metadata(n: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 29_902_000 picoseconds. - Weight::from_parts(30_836_133, 3687) - // Standard Error: 453 - .saturating_add(Weight::from_parts(545, 0).saturating_mul(n.into())) - // Standard Error: 453 - .saturating_add(Weight::from_parts(3_020, 0).saturating_mul(s.into())) + fn set_metadata(n: u32, _s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 33_249_000 picoseconds. + Weight::from_parts(34_275_062, 4273) + // Standard Error: 476 + .saturating_add(Weight::from_parts(71, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:1) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:1) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `3687` - // Minimum execution time: 31_004_000 picoseconds. - Weight::from_parts(31_329_000, 3687) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 34_102_000 picoseconds. + Weight::from_parts(34_514_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:1) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:1) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) /// The range of component `n` is `[0, 50]`. /// The range of component `s` is `[0, 50]`. fn force_set_metadata(n: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `94` - // Estimated: `3687` - // Minimum execution time: 14_827_000 picoseconds. - Weight::from_parts(15_595_129, 3687) - // Standard Error: 300 - .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) - // Standard Error: 300 - .saturating_add(Weight::from_parts(25, 0).saturating_mul(s.into())) + // Measured: `81` + // Estimated: `4273` + // Minimum execution time: 16_538_000 picoseconds. + Weight::from_parts(17_096_983, 4273) + // Standard Error: 344 + .saturating_add(Weight::from_parts(68, 0).saturating_mul(n.into())) + // Standard Error: 344 + .saturating_add(Weight::from_parts(1_342, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Metadata` (r:1 w:1) - /// Proof: `Assets::Metadata` (`max_values`: None, `max_size`: Some(152), added: 2627, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Metadata` (r:1 w:1) + /// Proof: `ForeignAssets::Metadata` (`max_values`: None, `max_size`: Some(738), added: 3213, mode: `MaxEncodedLen`) fn force_clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `431` - // Estimated: `3687` - // Minimum execution time: 30_658_000 picoseconds. - Weight::from_parts(31_154_000, 3687) + // Measured: `406` + // Estimated: `4273` + // Minimum execution time: 32_953_000 picoseconds. + Weight::from_parts(33_430_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn force_asset_status() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 13_238_000 picoseconds. - Weight::from_parts(13_571_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 14_587_000 picoseconds. + Weight::from_parts(14_811_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Approvals` (r:1 w:1) - /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Approvals` (r:1 w:1) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn approve_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `289` - // Estimated: `3687` - // Minimum execution time: 34_852_000 picoseconds. - Weight::from_parts(35_275_000, 3687) + // Measured: `276` + // Estimated: `4273` + // Minimum execution time: 37_440_000 picoseconds. + Weight::from_parts(38_077_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Approvals` (r:1 w:1) - /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:2 w:2) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Approvals` (r:1 w:1) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:2 w:2) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn transfer_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `629` - // Estimated: `6232` - // Minimum execution time: 72_047_000 picoseconds. - Weight::from_parts(72_635_000, 6232) + // Measured: `592` + // Estimated: `7404` + // Minimum execution time: 77_902_000 picoseconds. + Weight::from_parts(78_438_000, 7404) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Approvals` (r:1 w:1) - /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Approvals` (r:1 w:1) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `471` - // Estimated: `3687` - // Minimum execution time: 37_364_000 picoseconds. - Weight::from_parts(37_712_000, 3687) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 40_668_000 picoseconds. + Weight::from_parts(40_940_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Approvals` (r:1 w:1) - /// Proof: `Assets::Approvals` (`max_values`: None, `max_size`: Some(160), added: 2635, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Approvals` (r:1 w:1) + /// Proof: `ForeignAssets::Approvals` (`max_values`: None, `max_size`: Some(746), added: 3221, mode: `MaxEncodedLen`) fn force_cancel_approval() -> Weight { // Proof Size summary in bytes: - // Measured: `471` - // Estimated: `3687` - // Minimum execution time: 37_594_000 picoseconds. - Weight::from_parts(38_054_000, 3687) + // Measured: `446` + // Estimated: `4273` + // Minimum execution time: 40_976_000 picoseconds. + Weight::from_parts(41_512_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn set_min_balance() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 14_587_000 picoseconds. - Weight::from_parts(15_032_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 16_264_000 picoseconds. + Weight::from_parts(16_576_000, 4273) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn touch() -> Weight { // Proof Size summary in bytes: - // Measured: `358` - // Estimated: `3687` - // Minimum execution time: 36_815_000 picoseconds. - Weight::from_parts(37_342_000, 3687) + // Measured: `345` + // Estimated: `4273` + // Minimum execution time: 40_493_000 picoseconds. + Weight::from_parts(41_045_000, 4273) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn touch_other() -> Weight { // Proof Size summary in bytes: - // Measured: `255` - // Estimated: `3687` - // Minimum execution time: 34_001_000 picoseconds. - Weight::from_parts(34_489_000, 3687) + // Measured: `242` + // Estimated: `4273` + // Minimum execution time: 37_710_000 picoseconds. + Weight::from_parts(38_059_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) fn refund() -> Weight { // Proof Size summary in bytes: - // Measured: `496` - // Estimated: `3687` - // Minimum execution time: 35_971_000 picoseconds. - Weight::from_parts(36_443_000, 3687) + // Measured: `471` + // Estimated: `4273` + // Minimum execution time: 38_167_000 picoseconds. + Weight::from_parts(38_687_000, 4273) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) - /// Storage: `Assets::Asset` (r:1 w:1) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:1) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) fn refund_other() -> Weight { // Proof Size summary in bytes: - // Measured: `426` - // Estimated: `3687` - // Minimum execution time: 32_851_000 picoseconds. - Weight::from_parts(33_410_000, 3687) + // Measured: `401` + // Estimated: `4273` + // Minimum execution time: 35_834_000 picoseconds. + Weight::from_parts(36_266_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `Assets::Asset` (r:1 w:0) - /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(222), added: 2697, mode: `MaxEncodedLen`) - /// Storage: `Assets::Account` (r:1 w:1) - /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(146), added: 2621, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Asset` (r:1 w:0) + /// Proof: `ForeignAssets::Asset` (`max_values`: None, `max_size`: Some(808), added: 3283, mode: `MaxEncodedLen`) + /// Storage: `ForeignAssets::Account` (r:1 w:1) + /// Proof: `ForeignAssets::Account` (`max_values`: None, `max_size`: Some(732), added: 3207, mode: `MaxEncodedLen`) fn block() -> Weight { // Proof Size summary in bytes: - // Measured: `375` - // Estimated: `3687` - // Minimum execution time: 17_450_000 picoseconds. - Weight::from_parts(17_877_000, 3687) + // Measured: `350` + // Estimated: `4273` + // Minimum execution time: 19_449_000 picoseconds. + Weight::from_parts(19_868_000, 4273) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } From e5f0b34831c3836df1e2b1e50b78398219c8a4c3 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sun, 17 Aug 2025 00:01:15 +0200 Subject: [PATCH 45/89] rebench democracy and identity --- runtime/src/lib.rs | 4 +- runtime/src/weights/mod.rs | 4 +- runtime/src/weights/pallet_democracy.rs | 502 ++++++++++++++++++++++++ runtime/src/weights/pallet_identity.rs | 411 +++++++++++++++++++ 4 files changed, 918 insertions(+), 3 deletions(-) create mode 100644 runtime/src/weights/pallet_democracy.rs create mode 100644 runtime/src/weights/pallet_identity.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c51e599f..2cd943b4 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -980,7 +980,7 @@ impl pallet_democracy::Config for Runtime { type Preimages = Preimage; type MaxDeposits = ConstU32<100>; type MaxBlacklisted = ConstU32<100>; - type WeightInfo = pallet_democracy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_democracy::NeurowebWeight; } parameter_types! { @@ -1010,7 +1010,7 @@ impl pallet_identity::Config for Runtime { type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; - type WeightInfo = pallet_identity::weights::SubstrateWeight; + type WeightInfo = weights::pallet_identity::NeurowebWeight; } parameter_types! { diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index f4c59a27..63788a71 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -26,6 +26,8 @@ pub mod pallet_assets_foreign; pub mod pallet_balances; pub mod pallet_collator_selection; pub mod pallet_collective_council; +pub mod pallet_democracy; +pub mod pallet_identity; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; @@ -36,4 +38,4 @@ pub mod pallet_xcm; pub use block_weights::constants::BlockExecutionWeight; pub use extrinsic_weights::constants::ExtrinsicBaseWeight; // pub use paritydb_weights::constants::ParityDbWeight; -pub use rocksdb_weights::constants::RocksDbWeight; \ No newline at end of file +pub use rocksdb_weights::constants::RocksDbWeight; diff --git a/runtime/src/weights/pallet_democracy.rs b/runtime/src/weights/pallet_democracy.rs new file mode 100644 index 00000000..d51e67a3 --- /dev/null +++ b/runtime/src/weights/pallet_democracy.rs @@ -0,0 +1,502 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_democracy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_democracy +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_democracy` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_democracy::WeightInfo for NeurowebWeight { + /// Storage: `Democracy::PublicPropCount` (r:1 w:1) + /// Proof: `Democracy::PublicPropCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:0 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + fn propose() -> Weight { + // Proof Size summary in bytes: + // Measured: `4734` + // Estimated: `18187` + // Minimum execution time: 43_004_000 picoseconds. + Weight::from_parts(43_420_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + fn second() -> Weight { + // Proof Size summary in bytes: + // Measured: `3489` + // Estimated: `6695` + // Minimum execution time: 41_003_000 picoseconds. + Weight::from_parts(41_919_000, 6695) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `3365` + // Estimated: `7260` + // Minimum execution time: 52_831_000 picoseconds. + Weight::from_parts(53_770_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3387` + // Estimated: `7260` + // Minimum execution time: 55_825_000 picoseconds. + Weight::from_parts(56_623_000, 7260) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Cancellations` (r:1 w:1) + /// Proof: `Democracy::Cancellations` (`max_values`: None, `max_size`: Some(33), added: 2508, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn emergency_cancel() -> Weight { + // Proof Size summary in bytes: + // Measured: `299` + // Estimated: `3666` + // Minimum execution time: 28_867_000 picoseconds. + Weight::from_parts(29_685_000, 3666) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:3 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:0 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + fn blacklist() -> Weight { + // Proof Size summary in bytes: + // Measured: `6083` + // Estimated: `18187` + // Minimum execution time: 107_799_000 picoseconds. + Weight::from_parts(109_136_000, 18187) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(8_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:0) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + fn external_propose() -> Weight { + // Proof Size summary in bytes: + // Measured: `3349` + // Estimated: `6703` + // Minimum execution time: 14_529_000 picoseconds. + Weight::from_parts(15_030_000, 6703) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + fn external_propose_majority() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_746_000 picoseconds. + Weight::from_parts(3_883_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::NextExternal` (r:0 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + fn external_propose_default() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_705_000 picoseconds. + Weight::from_parts(3_874_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:1) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:2) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + fn fast_track() -> Weight { + // Proof Size summary in bytes: + // Measured: `219` + // Estimated: `3518` + // Minimum execution time: 27_507_000 picoseconds. + Weight::from_parts(28_062_000, 3518) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:1) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::Blacklist` (r:1 w:1) + /// Proof: `Democracy::Blacklist` (`max_values`: None, `max_size`: Some(3238), added: 5713, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn veto_external() -> Weight { + // Proof Size summary in bytes: + // Measured: `3452` + // Estimated: `6703` + // Minimum execution time: 30_779_000 picoseconds. + Weight::from_parts(31_290_000, 6703) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::PublicProps` (r:1 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::DepositOf` (r:1 w:1) + /// Proof: `Democracy::DepositOf` (`max_values`: None, `max_size`: Some(3230), added: 5705, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn cancel_proposal() -> Weight { + // Proof Size summary in bytes: + // Measured: `5994` + // Estimated: `18187` + // Minimum execution time: 90_966_000 picoseconds. + Weight::from_parts(91_673_000, 18187) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) + } + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:0 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + fn cancel_referendum() -> Weight { + // Proof Size summary in bytes: + // Measured: `204` + // Estimated: `3518` + // Minimum execution time: 20_279_000 picoseconds. + Weight::from_parts(20_705_000, 3518) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `177 + r * (86 ±0)` + // Estimated: `1489 + r * (2676 ±0)` + // Minimum execution time: 6_427_000 picoseconds. + Weight::from_parts(10_407_262, 1489) + // Standard Error: 6_213 + .saturating_add(Weight::from_parts(3_237_087, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) + } + /// Storage: `Democracy::LowestUnbaked` (r:1 w:1) + /// Proof: `Democracy::LowestUnbaked` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumCount` (r:1 w:0) + /// Proof: `Democracy::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Democracy::LastTabledWasExternal` (r:1 w:0) + /// Proof: `Democracy::LastTabledWasExternal` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`) + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `177 + r * (86 ±0)` + // Estimated: `18187 + r * (2676 ±0)` + // Minimum execution time: 9_002_000 picoseconds. + Weight::from_parts(13_222_194, 18187) + // Standard Error: 6_060 + .saturating_add(Weight::from_parts(3_245_585, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) + } + /// Storage: `Democracy::VotingOf` (r:3 w:3) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn delegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `729 + r * (108 ±0)` + // Estimated: `19800 + r * (2676 ±0)` + // Minimum execution time: 45_819_000 picoseconds. + Weight::from_parts(52_504_804, 19800) + // Standard Error: 6_262 + .saturating_add(Weight::from_parts(4_273_152, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) + } + /// Storage: `Democracy::VotingOf` (r:2 w:2) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Democracy::ReferendumInfoOf` (r:99 w:99) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn undelegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `426 + r * (108 ±0)` + // Estimated: `13530 + r * (2676 ±0)` + // Minimum execution time: 22_244_000 picoseconds. + Weight::from_parts(24_681_121, 13530) + // Standard Error: 6_318 + .saturating_add(Weight::from_parts(4_200_259, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 2676).saturating_mul(r.into())) + } + /// Storage: `Democracy::PublicProps` (r:0 w:1) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + fn clear_public_proposals() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_862_000 picoseconds. + Weight::from_parts(4_054_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn unlock_remove(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `458` + // Estimated: `7260` + // Minimum execution time: 27_951_000 picoseconds. + Weight::from_parts(39_053_869, 7260) + // Standard Error: 2_481 + .saturating_add(Weight::from_parts(33_505, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 99]`. + fn unlock_set(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `459 + r * (22 ±0)` + // Estimated: `7260` + // Minimum execution time: 37_181_000 picoseconds. + Weight::from_parts(38_589_927, 7260) + // Standard Error: 635 + .saturating_add(Weight::from_parts(58_635, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 100]`. + fn remove_vote(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `661 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 19_439_000 picoseconds. + Weight::from_parts(22_042_856, 7260) + // Standard Error: 953 + .saturating_add(Weight::from_parts(64_027, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:1) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::VotingOf` (r:1 w:1) + /// Proof: `Democracy::VotingOf` (`max_values`: None, `max_size`: Some(3795), added: 6270, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 100]`. + fn remove_other_vote(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `661 + r * (26 ±0)` + // Estimated: `7260` + // Minimum execution time: 19_525_000 picoseconds. + Weight::from_parts(22_000_163, 7260) + // Standard Error: 926 + .saturating_add(Weight::from_parts(63_898, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn set_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `289` + // Estimated: `3556` + // Minimum execution time: 21_111_000 picoseconds. + Weight::from_parts(21_602_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::NextExternal` (r:1 w:0) + /// Proof: `Democracy::NextExternal` (`max_values`: Some(1), `max_size`: Some(132), added: 627, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn clear_external_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `219` + // Estimated: `3518` + // Minimum execution time: 17_779_000 picoseconds. + Weight::from_parts(17_998_000, 3518) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn set_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4821` + // Estimated: `18187` + // Minimum execution time: 42_915_000 picoseconds. + Weight::from_parts(43_180_000, 18187) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::PublicProps` (r:1 w:0) + /// Proof: `Democracy::PublicProps` (`max_values`: Some(1), `max_size`: Some(16702), added: 17197, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn clear_proposal_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `4755` + // Estimated: `18187` + // Minimum execution time: 38_405_000 picoseconds. + Weight::from_parts(38_819_000, 18187) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:0) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:0 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn set_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 18_325_000 picoseconds. + Weight::from_parts(18_696_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Democracy::ReferendumInfoOf` (r:1 w:0) + /// Proof: `Democracy::ReferendumInfoOf` (`max_values`: None, `max_size`: Some(201), added: 2676, mode: `MaxEncodedLen`) + /// Storage: `Democracy::MetadataOf` (r:1 w:1) + /// Proof: `Democracy::MetadataOf` (`max_values`: None, `max_size`: Some(53), added: 2528, mode: `MaxEncodedLen`) + fn clear_referendum_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `235` + // Estimated: `3666` + // Minimum execution time: 20_666_000 picoseconds. + Weight::from_parts(21_139_000, 3666) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtime/src/weights/pallet_identity.rs b/runtime/src/weights/pallet_identity.rs new file mode 100644 index 00000000..5e87750b --- /dev/null +++ b/runtime/src/weights/pallet_identity.rs @@ -0,0 +1,411 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_identity` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_identity +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_identity` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_identity::WeightInfo for NeurowebWeight { + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn add_registrar(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `31 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 11_193_000 picoseconds. + Weight::from_parts(11_797_043, 2626) + // Standard Error: 1_401 + .saturating_add(Weight::from_parts(92_025, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn set_identity(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6977 + r * (5 ±0)` + // Estimated: `11037` + // Minimum execution time: 149_217_000 picoseconds. + Weight::from_parts(150_647_804, 11037) + // Standard Error: 5_879 + .saturating_add(Weight::from_parts(82_943, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:100 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 100]`. + fn set_subs_new(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `100` + // Estimated: `11037 + s * (2589 ±0)` + // Minimum execution time: 12_512_000 picoseconds. + Weight::from_parts(28_476_854, 11037) + // Standard Error: 4_753 + .saturating_add(Weight::from_parts(3_771_677, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into()))) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + .saturating_add(Weight::from_parts(0, 2589).saturating_mul(s.into())) + } + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 100]`. + fn set_subs_old(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `193 + p * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 12_546_000 picoseconds. + Weight::from_parts(27_838_052, 11037) + // Standard Error: 3_633 + .saturating_add(Weight::from_parts(1_489_949, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) + } + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + /// The range of component `s` is `[0, 100]`. + fn clear_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7069 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 67_867_000 picoseconds. + Weight::from_parts(69_901_697, 11037) + // Standard Error: 6_627 + .saturating_add(Weight::from_parts(21_935, 0).saturating_mul(r.into())) + // Standard Error: 1_293 + .saturating_add(Weight::from_parts(1_496_346, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + } + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn request_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6967 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 100_305_000 picoseconds. + Weight::from_parts(101_513_898, 11037) + // Standard Error: 3_562 + .saturating_add(Weight::from_parts(116_558, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + fn cancel_request(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `6998` + // Estimated: `11037` + // Minimum execution time: 97_660_000 picoseconds. + Weight::from_parts(98_886_778, 11037) + // Standard Error: 2_214 + .saturating_add(Weight::from_parts(61_196, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn set_fee(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 8_365_000 picoseconds. + Weight::from_parts(8_759_222, 2626) + // Standard Error: 902 + .saturating_add(Weight::from_parts(68_654, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn set_account_id(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_427_000 picoseconds. + Weight::from_parts(7_828_569, 2626) + // Standard Error: 841 + .saturating_add(Weight::from_parts(64_227, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::Registrars` (r:1 w:1) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn set_fields(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `88 + r * (57 ±0)` + // Estimated: `2626` + // Minimum execution time: 7_336_000 picoseconds. + Weight::from_parts(7_677_029, 2626) + // Standard Error: 728 + .saturating_add(Weight::from_parts(67_931, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::Registrars` (r:1 w:0) + /// Proof: `Identity::Registrars` (`max_values`: Some(1), `max_size`: Some(1141), added: 1636, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 19]`. + fn provide_judgement(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7045 + r * (57 ±0)` + // Estimated: `11037` + // Minimum execution time: 128_516_000 picoseconds. + Weight::from_parts(129_592_537, 11037) + // Standard Error: 2_802 + .saturating_add(Weight::from_parts(71_077, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:0 w:100) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `r` is `[1, 20]`. + /// The range of component `s` is `[0, 100]`. + fn kill_identity(r: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `7412 + r * (5 ±0) + s * (32 ±0)` + // Estimated: `11037` + // Minimum execution time: 85_777_000 picoseconds. + Weight::from_parts(87_773_327, 11037) + // Standard Error: 7_406 + .saturating_add(Weight::from_parts(52_639, 0).saturating_mul(r.into())) + // Standard Error: 1_445 + .saturating_add(Weight::from_parts(1_504_962, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) + } + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 99]`. + fn add_sub(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `474 + s * (36 ±0)` + // Estimated: `11037` + // Minimum execution time: 32_464_000 picoseconds. + Weight::from_parts(36_734_282, 11037) + // Standard Error: 1_054 + .saturating_add(Weight::from_parts(54_496, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 100]`. + fn rename_sub(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `590 + s * (3 ±0)` + // Estimated: `11037` + // Minimum execution time: 15_799_000 picoseconds. + Weight::from_parts(17_954_617, 11037) + // Standard Error: 531 + .saturating_add(Weight::from_parts(21_090, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// The range of component `s` is `[1, 100]`. + fn remove_sub(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `637 + s * (35 ±0)` + // Estimated: `11037` + // Minimum execution time: 35_514_000 picoseconds. + Weight::from_parts(38_170_882, 11037) + // Standard Error: 689 + .saturating_add(Weight::from_parts(41_931, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Identity::SuperOf` (r:1 w:1) + /// Proof: `Identity::SuperOf` (`max_values`: None, `max_size`: Some(114), added: 2589, mode: `MaxEncodedLen`) + /// Storage: `Identity::SubsOf` (r:1 w:1) + /// Proof: `Identity::SubsOf` (`max_values`: None, `max_size`: Some(3258), added: 5733, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:0) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 99]`. + fn quit_sub(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `703 + s * (37 ±0)` + // Estimated: `6723` + // Minimum execution time: 27_991_000 picoseconds. + Weight::from_parts(30_184_136, 6723) + // Standard Error: 713 + .saturating_add(Weight::from_parts(45_044, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Identity::UsernameAuthorities` (r:0 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn add_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_826_000 picoseconds. + Weight::from_parts(9_184_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn remove_username_authority() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `3517` + // Minimum execution time: 12_424_000 picoseconds. + Weight::from_parts(12_783_000, 3517) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::UsernameAuthorities` (r:1 w:1) + /// Proof: `Identity::UsernameAuthorities` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::PendingUsernames` (r:1 w:0) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_username_for() -> Weight { + // Proof Size summary in bytes: + // Measured: `79` + // Estimated: `11037` + // Minimum execution time: 65_795_000 picoseconds. + Weight::from_parts(66_491_000, 11037) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + /// Storage: `Identity::AccountOfUsername` (r:0 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + fn accept_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `11037` + // Minimum execution time: 27_025_000 picoseconds. + Weight::from_parts(27_560_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Identity::PendingUsernames` (r:1 w:1) + /// Proof: `Identity::PendingUsernames` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + fn remove_expired_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `114` + // Estimated: `3550` + // Minimum execution time: 16_658_000 picoseconds. + Weight::from_parts(17_481_000, 3550) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:0) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:1) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn set_primary_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `256` + // Estimated: `11037` + // Minimum execution time: 21_910_000 picoseconds. + Weight::from_parts(22_382_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Identity::AccountOfUsername` (r:1 w:1) + /// Proof: `Identity::AccountOfUsername` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`) + /// Storage: `Identity::IdentityOf` (r:1 w:0) + /// Proof: `Identity::IdentityOf` (`max_values`: None, `max_size`: Some(7572), added: 10047, mode: `MaxEncodedLen`) + fn remove_dangling_username() -> Weight { + // Proof Size summary in bytes: + // Measured: `97` + // Estimated: `11037` + // Minimum execution time: 15_778_000 picoseconds. + Weight::from_parts(16_061_000, 11037) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} From 52ed9d4e6d00a6269073642e03b277d81286753a Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sun, 17 Aug 2025 10:15:55 +0200 Subject: [PATCH 46/89] rebench message_queue, multisig preimage, proxy --- runtime/src/lib.rs | 8 +- runtime/src/weights/mod.rs | 4 + runtime/src/weights/pallet_message_queue.rs | 172 ++++++++++++++ runtime/src/weights/pallet_multisig.rs | 154 ++++++++++++ runtime/src/weights/pallet_preimage.rs | 251 ++++++++++++++++++++ runtime/src/weights/pallet_proxy.rs | 208 ++++++++++++++++ 6 files changed, 793 insertions(+), 4 deletions(-) create mode 100644 runtime/src/weights/pallet_message_queue.rs create mode 100644 runtime/src/weights/pallet_multisig.rs create mode 100644 runtime/src/weights/pallet_preimage.rs create mode 100644 runtime/src/weights/pallet_proxy.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2cd943b4..25e588d5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -488,7 +488,7 @@ parameter_types! { impl pallet_message_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = pallet_message_queue::weights::SubstrateWeight; + type WeightInfo = weights::pallet_message_queue::NeurowebWeight; #[cfg(feature = "runtime-benchmarks")] type MessageProcessor = pallet_message_queue::mock_helpers::NoopMessageProcessor< cumulus_primitives_core::AggregateMessageOrigin, @@ -520,7 +520,7 @@ impl pallet_multisig::Config for Runtime { type DepositBase = DepositBase; type DepositFactor = DepositFactor; type MaxSignatories = ConstU32<100>; - type WeightInfo = pallet_multisig::weights::SubstrateWeight; + type WeightInfo = weights::pallet_multisig::NeurowebWeight; } parameter_types! { @@ -879,7 +879,7 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type WeightInfo = pallet_preimage::weights::SubstrateWeight; + type WeightInfo = weights::pallet_preimage::NeurowebWeight; type Consideration = HoldConsideration< AccountId, Balances, @@ -1085,7 +1085,7 @@ impl pallet_proxy::Config for Runtime { type ProxyDepositBase = ProxyDepositBase; type ProxyDepositFactor = ProxyDepositFactor; type MaxProxies = ConstU32<32>; - type WeightInfo = pallet_proxy::weights::SubstrateWeight; + type WeightInfo = weights::pallet_proxy::NeurowebWeight; type MaxPending = ConstU32<32>; type CallHasher = BlakeTwo256; type AnnouncementDepositBase = AnnouncementDepositBase; diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 63788a71..7672c82e 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -28,6 +28,10 @@ pub mod pallet_collator_selection; pub mod pallet_collective_council; pub mod pallet_democracy; pub mod pallet_identity; +pub mod pallet_message_queue; +pub mod pallet_multisig; +pub mod pallet_preimage; +pub mod pallet_proxy; pub mod paritydb_weights; pub mod rocksdb_weights; pub mod evm_accounts_weights; diff --git a/runtime/src/weights/pallet_message_queue.rs b/runtime/src/weights/pallet_message_queue.rs new file mode 100644 index 00000000..57d8f816 --- /dev/null +++ b/runtime/src/weights/pallet_message_queue.rs @@ -0,0 +1,172 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_message_queue` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_message_queue +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_message_queue` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_message_queue::WeightInfo for NeurowebWeight { + /// Storage: `MessageQueue::ServiceHead` (r:1 w:0) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn ready_ring_knit() -> Weight { + // Proof Size summary in bytes: + // Measured: `260` + // Estimated: `6044` + // Minimum execution time: 15_127_000 picoseconds. + Weight::from_parts(15_398_000, 6044) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:2 w:2) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + fn ready_ring_unknit() -> Weight { + // Proof Size summary in bytes: + // Measured: `255` + // Estimated: `6044` + // Minimum execution time: 13_510_000 picoseconds. + Weight::from_parts(13_709_000, 6044) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn service_queue_base() -> Weight { + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3517` + // Minimum execution time: 6_387_000 picoseconds. + Weight::from_parts(6_561_000, 3517) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_base_completion() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `137658` + // Minimum execution time: 8_088_000 picoseconds. + Weight::from_parts(8_342_000, 137658) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_base_no_completion() -> Weight { + // Proof Size summary in bytes: + // Measured: `109` + // Estimated: `137658` + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(8_569_000, 137658) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:0 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:0 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn service_page_item() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 312_735_000 picoseconds. + Weight::from_parts(315_204_000, 0) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:0) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + fn bump_service_head() -> Weight { + // Proof Size summary in bytes: + // Measured: `208` + // Estimated: `3517` + // Minimum execution time: 8_661_000 picoseconds. + Weight::from_parts(8_892_000, 3517) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn reap_page() -> Weight { + // Proof Size summary in bytes: + // Measured: `134311` + // Estimated: `137658` + // Minimum execution time: 98_976_000 picoseconds. + Weight::from_parts(99_636_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn execute_overweight_page_removed() -> Weight { + // Proof Size summary in bytes: + // Measured: `134311` + // Estimated: `137658` + // Minimum execution time: 140_391_000 picoseconds. + Weight::from_parts(146_463_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::Pages` (r:1 w:1) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + fn execute_overweight_page_updated() -> Weight { + // Proof Size summary in bytes: + // Measured: `134311` + // Estimated: `137658` + // Minimum execution time: 222_601_000 picoseconds. + Weight::from_parts(224_105_000, 137658) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } +} diff --git a/runtime/src/weights/pallet_multisig.rs b/runtime/src/weights/pallet_multisig.rs new file mode 100644 index 00000000..741675e4 --- /dev/null +++ b/runtime/src/weights/pallet_multisig.rs @@ -0,0 +1,154 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_multisig` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_multisig +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_multisig` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_multisig::WeightInfo for NeurowebWeight { + /// The range of component `z` is `[0, 10000]`. + fn as_multi_threshold_1(z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 13_103_000 picoseconds. + Weight::from_parts(13_572_683, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(544, 0).saturating_mul(z.into())) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_create(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `263 + s * (2 ±0)` + // Estimated: `6811` + // Minimum execution time: 43_656_000 picoseconds. + Weight::from_parts(38_561_353, 6811) + // Standard Error: 371 + .saturating_add(Weight::from_parts(56_385, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_234, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[3, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_approve(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `282` + // Estimated: `6811` + // Minimum execution time: 28_192_000 picoseconds. + Weight::from_parts(23_603_585, 6811) + // Standard Error: 334 + .saturating_add(Weight::from_parts(50_872, 0).saturating_mul(s.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + /// The range of component `z` is `[0, 10000]`. + fn as_multi_complete(s: u32, z: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `390 + s * (33 ±0)` + // Estimated: `6811` + // Minimum execution time: 48_977_000 picoseconds. + Weight::from_parts(43_378_372, 6811) + // Standard Error: 437 + .saturating_add(Weight::from_parts(67_458, 0).saturating_mul(s.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_237, 0).saturating_mul(z.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_create(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `271 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 35_362_000 picoseconds. + Weight::from_parts(36_272_448, 6811) + // Standard Error: 462 + .saturating_add(Weight::from_parts(58_429, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn approve_as_multi_approve(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `282` + // Estimated: `6811` + // Minimum execution time: 19_813_000 picoseconds. + Weight::from_parts(20_686_605, 6811) + // Standard Error: 414 + .saturating_add(Weight::from_parts(53_961, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Multisig::Multisigs` (r:1 w:1) + /// Proof: `Multisig::Multisigs` (`max_values`: None, `max_size`: Some(3346), added: 5821, mode: `MaxEncodedLen`) + /// The range of component `s` is `[2, 100]`. + fn cancel_as_multi(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `459 + s * (1 ±0)` + // Estimated: `6811` + // Minimum execution time: 36_402_000 picoseconds. + Weight::from_parts(37_459_058, 6811) + // Standard Error: 438 + .saturating_add(Weight::from_parts(54_668, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtime/src/weights/pallet_preimage.rs b/runtime/src/weights/pallet_preimage.rs new file mode 100644 index 00000000..64f581de --- /dev/null +++ b/runtime/src/weights/pallet_preimage.rs @@ -0,0 +1,251 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_preimage` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_preimage +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_preimage` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_preimage::WeightInfo for NeurowebWeight { + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3556` + // Minimum execution time: 56_839_000 picoseconds. + Weight::from_parts(57_076_000, 3556) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_246, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_requested_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `3556` + // Minimum execution time: 19_433_000 picoseconds. + Weight::from_parts(19_566_000, 3556) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_249, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 4194304]`. + fn note_no_deposit_preimage(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `3556` + // Minimum execution time: 19_257_000 picoseconds. + Weight::from_parts(19_387_000, 3556) + // Standard Error: 7 + .saturating_add(Weight::from_parts(2_270, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1 w:1) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unnote_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `243` + // Estimated: `3556` + // Minimum execution time: 59_063_000 picoseconds. + Weight::from_parts(59_824_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unnote_no_deposit_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 27_881_000 picoseconds. + Weight::from_parts(29_612_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn request_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `188` + // Estimated: `3556` + // Minimum execution time: 22_320_000 picoseconds. + Weight::from_parts(23_549_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn request_no_deposit_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 16_430_000 picoseconds. + Weight::from_parts(17_472_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn request_unnoted_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `42` + // Estimated: `3556` + // Minimum execution time: 16_967_000 picoseconds. + Weight::from_parts(17_292_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn request_requested_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `3556` + // Minimum execution time: 12_920_000 picoseconds. + Weight::from_parts(13_272_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::PreimageFor` (r:0 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `MaxEncodedLen`) + fn unrequest_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `144` + // Estimated: `3556` + // Minimum execution time: 25_016_000 picoseconds. + Weight::from_parts(26_760_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn unrequest_unnoted_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `3556` + // Minimum execution time: 12_514_000 picoseconds. + Weight::from_parts(13_001_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + fn unrequest_multi_referenced_preimage() -> Weight { + // Proof Size summary in bytes: + // Measured: `106` + // Estimated: `3556` + // Minimum execution time: 12_685_000 picoseconds. + Weight::from_parts(13_042_000, 3556) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Preimage::StatusFor` (r:1023 w:1023) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1023 w:1023) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Holds` (r:1023 w:1023) + /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:0 w:1023) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `n` is `[1, 1024]`. + fn ensure_updated(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + n * (227 ±0)` + // Estimated: `990 + n * (2603 ±0)` + // Minimum execution time: 61_505_000 picoseconds. + Weight::from_parts(62_020_000, 990) + // Standard Error: 28_202 + .saturating_add(Weight::from_parts(56_762_178, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into())) + } +} diff --git a/runtime/src/weights/pallet_proxy.rs b/runtime/src/weights/pallet_proxy.rs new file mode 100644 index 00000000..acf21e59 --- /dev/null +++ b/runtime/src/weights/pallet_proxy.rs @@ -0,0 +1,208 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_proxy` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_proxy +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_proxy` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_proxy::WeightInfo for NeurowebWeight { + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn proxy(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `161 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 16_279_000 picoseconds. + Weight::from_parts(16_957_185, 4706) + // Standard Error: 731 + .saturating_add(Weight::from_parts(39_062, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn proxy_announced(a: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `488 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 40_412_000 picoseconds. + Weight::from_parts(40_156_163, 5698) + // Standard Error: 5_304 + .saturating_add(Weight::from_parts(172_765, 0).saturating_mul(a.into())) + // Standard Error: 5_480 + .saturating_add(Weight::from_parts(33_739, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn remove_announcement(a: u32, _p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `403 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 27_036_000 picoseconds. + Weight::from_parts(28_040_651, 5698) + // Standard Error: 1_246 + .saturating_add(Weight::from_parts(158_553, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `403 + a * (68 ±0)` + // Estimated: `5698` + // Minimum execution time: 27_143_000 picoseconds. + Weight::from_parts(27_993_988, 5698) + // Standard Error: 1_154 + .saturating_add(Weight::from_parts(157_894, 0).saturating_mul(a.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:0) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// Storage: `Proxy::Announcements` (r:1 w:1) + /// Proof: `Proxy::Announcements` (`max_values`: None, `max_size`: Some(2233), added: 4708, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `a` is `[0, 31]`. + /// The range of component `p` is `[1, 31]`. + fn announce(a: u32, p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `420 + a * (68 ±0) + p * (37 ±0)` + // Estimated: `5698` + // Minimum execution time: 36_264_000 picoseconds. + Weight::from_parts(35_863_019, 5698) + // Standard Error: 1_120 + .saturating_add(Weight::from_parts(168_684, 0).saturating_mul(a.into())) + // Standard Error: 1_157 + .saturating_add(Weight::from_parts(27_795, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn add_proxy(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `161 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 25_867_000 picoseconds. + Weight::from_parts(26_566_278, 4706) + // Standard Error: 997 + .saturating_add(Weight::from_parts(35_872, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn remove_proxy(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `161 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 26_015_000 picoseconds. + Weight::from_parts(26_924_934, 4706) + // Standard Error: 1_715 + .saturating_add(Weight::from_parts(41_066, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn remove_proxies(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `161 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 25_116_000 picoseconds. + Weight::from_parts(26_065_822, 4706) + // Standard Error: 1_242 + .saturating_add(Weight::from_parts(30_856, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[1, 31]`. + fn create_pure(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `173` + // Estimated: `4706` + // Minimum execution time: 28_734_000 picoseconds. + Weight::from_parts(29_300_477, 4706) + // Standard Error: 733 + .saturating_add(Weight::from_parts(5_311, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Proxy::Proxies` (r:1 w:1) + /// Proof: `Proxy::Proxies` (`max_values`: None, `max_size`: Some(1241), added: 3716, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 30]`. + fn kill_pure(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `198 + p * (37 ±0)` + // Estimated: `4706` + // Minimum execution time: 26_224_000 picoseconds. + Weight::from_parts(26_922_471, 4706) + // Standard Error: 869 + .saturating_add(Weight::from_parts(41_779, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} From 7b5a32edab41e4aad20f13c2f5a5ef65d022eb32 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sun, 17 Aug 2025 12:27:55 +0200 Subject: [PATCH 47/89] rebench scheduler, timestamp. treasury, utility, vesting, and xc_asset_config --- runtime/src/lib.rs | 12 +- runtime/src/weights/mod.rs | 5 + runtime/src/weights/pallet_scheduler.rs | 269 ++++++++++++++++++ runtime/src/weights/pallet_timestamp.rs | 69 +++++ runtime/src/weights/pallet_treasury.rs | 174 +++++++++++ runtime/src/weights/pallet_utility.rs | 93 ++++++ runtime/src/weights/pallet_vesting.rs | 252 ++++++++++++++++ runtime/src/weights/pallet_xc_asset_config.rs | 149 ++++++---- 8 files changed, 964 insertions(+), 59 deletions(-) create mode 100644 runtime/src/weights/pallet_scheduler.rs create mode 100644 runtime/src/weights/pallet_timestamp.rs create mode 100644 runtime/src/weights/pallet_treasury.rs create mode 100644 runtime/src/weights/pallet_utility.rs create mode 100644 runtime/src/weights/pallet_vesting.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 25e588d5..7911925e 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -317,7 +317,7 @@ impl pallet_timestamp::Config for Runtime { type MinimumPeriod = ConstU64<0>; #[cfg(not(feature = "experimental"))] type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>; - type WeightInfo = pallet_timestamp::weights::SubstrateWeight; + type WeightInfo = weights::pallet_timestamp::NeurowebWeight; } impl pallet_authorship::Config for Runtime { @@ -594,7 +594,7 @@ impl pallet_scheduler::Config for Runtime { type MaximumWeight = MaximumSchedulerWeight; type ScheduleOrigin = frame_system::EnsureRoot; type MaxScheduledPerBlock = MaxScheduledPerBlock; - type WeightInfo = (); + type WeightInfo = weights::pallet_scheduler::NeurowebWeight; type Preimages = Preimage; type OriginPrivilegeCmp = EqualPrivilegeOnly; } @@ -610,7 +610,7 @@ impl pallet_vesting::Config for Runtime { type Currency = Balances; type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; - type WeightInfo = pallet_vesting::weights::SubstrateWeight; + type WeightInfo = weights::pallet_vesting::NeurowebWeight; type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; type BlockNumberProvider = System; // `VestingInfo` encode length is 36bytes. 28 schedules gets encoded as 1009 bytes, which is the @@ -641,7 +641,7 @@ impl pallet_treasury::Config for Runtime { type Burn = (); type BurnDestination = (); type SpendFunds = (); - type WeightInfo = pallet_treasury::weights::SubstrateWeight; + type WeightInfo = weights::pallet_treasury::NeurowebWeight; type MaxApprovals = MaxApprovals; type SpendOrigin = frame_support::traits::NeverEnsureOrigin; @@ -864,7 +864,7 @@ impl pallet_xc_asset_config::Config for Runtime { type AssetId = AssetId; type XcAssetChanged = EvmRevertCodeHandler; type ManagerOrigin = frame_system::EnsureRoot; - type WeightInfo = weights::pallet_xc_asset_config::WeightInfo; + type WeightInfo = weights::pallet_xc_asset_config::NeurowebWeight; } parameter_types! { @@ -892,7 +892,7 @@ impl pallet_utility::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; type PalletsOrigin = OriginCaller; - type WeightInfo = pallet_utility::weights::SubstrateWeight; + type WeightInfo = weights::pallet_utility::NeurowebWeight; } parameter_types! { diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 7672c82e..61d89257 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -32,8 +32,13 @@ pub mod pallet_message_queue; pub mod pallet_multisig; pub mod pallet_preimage; pub mod pallet_proxy; +pub mod pallet_scheduler; +pub mod pallet_timestamp; pub mod paritydb_weights; pub mod rocksdb_weights; +pub mod pallet_treasury; +pub mod pallet_utility; +pub mod pallet_vesting; pub mod evm_accounts_weights; pub mod pallet_wrapper; pub mod pallet_xc_asset_config; diff --git a/runtime/src/weights/pallet_scheduler.rs b/runtime/src/weights/pallet_scheduler.rs new file mode 100644 index 00000000..f7f5d98a --- /dev/null +++ b/runtime/src/weights/pallet_scheduler.rs @@ -0,0 +1,269 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_scheduler` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_scheduler +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_scheduler` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_scheduler::WeightInfo for NeurowebWeight { + /// Storage: `Scheduler::IncompleteSince` (r:1 w:1) + /// 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` + // Estimated: `1489` + // Minimum execution time: 3_787_000 picoseconds. + Weight::from_parts(4_058_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// 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)` + // Estimated: `42428` + // Minimum execution time: 5_195_000 picoseconds. + Weight::from_parts(8_286_741, 42428) + // Standard Error: 1_468 + .saturating_add(Weight::from_parts(454_129, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn service_task_base() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_422_000 picoseconds. + Weight::from_parts(4_675_000, 0) + } + /// Storage: `Preimage::PreimageFor` (r:1 w:1) + /// Proof: `Preimage::PreimageFor` (`max_values`: None, `max_size`: Some(4194344), added: 4196819, mode: `Measured`) + /// Storage: `Preimage::StatusFor` (r:1 w:0) + /// Proof: `Preimage::StatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// Storage: `Preimage::RequestStatusFor` (r:1 w:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `179 + s * (1 ±0)` + // Estimated: `3644 + s * (1 ±0)` + // Minimum execution time: 22_829_000 picoseconds. + Weight::from_parts(23_172_000, 3644) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_200, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(s.into())) + } + /// Storage: `Scheduler::Lookup` (r:0 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + fn service_task_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_915_000 picoseconds. + Weight::from_parts(7_159_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn service_task_periodic() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 4_453_000 picoseconds. + Weight::from_parts(4_666_000, 0) + } + fn execute_dispatch_signed() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_130_000 picoseconds. + Weight::from_parts(3_284_000, 0) + } + fn execute_dispatch_unsigned() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_200_000 picoseconds. + Weight::from_parts(3_295_000, 0) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 49]`. + fn schedule(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 14_269_000 picoseconds. + Weight::from_parts(17_418_920, 42428) + // Standard Error: 1_489 + .saturating_add(Weight::from_parts(450_563, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// 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`) + /// 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 cancel(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `78 + s * (177 ±0)` + // Estimated: `42428` + // Minimum execution time: 20_850_000 picoseconds. + Weight::from_parts(20_381_337, 42428) + // Standard Error: 864 + .saturating_add(Weight::from_parts(721_100, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// The range of component `s` is `[0, 49]`. + fn schedule_named(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `255 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 18_960_000 picoseconds. + Weight::from_parts(23_087_817, 42428) + // Standard Error: 2_411 + .saturating_add(Weight::from_parts(483_032, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, 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::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_named(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `281 + s * (185 ±0)` + // Estimated: `42428` + // Minimum execution time: 23_362_000 picoseconds. + Weight::from_parts(23_750_814, 42428) + // Standard Error: 1_225 + .saturating_add(Weight::from_parts(741_031, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// 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 schedule_retry(s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `42428` + // Minimum execution time: 12_765_000 picoseconds. + Weight::from_parts(13_310_734, 42428) + // Standard Error: 430 + .saturating_add(Weight::from_parts(27_043, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// 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`) + fn set_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8928` + // Estimated: `42428` + // Minimum execution time: 32_093_000 picoseconds. + Weight::from_parts(32_487_000, 42428) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// 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`) + fn set_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9606` + // Estimated: `42428` + // Minimum execution time: 38_218_000 picoseconds. + Weight::from_parts(38_652_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// 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`) + fn cancel_retry() -> Weight { + // Proof Size summary in bytes: + // Measured: `8940` + // Estimated: `42428` + // Minimum execution time: 31_276_000 picoseconds. + Weight::from_parts(31_605_000, 42428) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// 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`) + fn cancel_retry_named() -> Weight { + // Proof Size summary in bytes: + // Measured: `9618` + // Estimated: `42428` + // Minimum execution time: 37_683_000 picoseconds. + Weight::from_parts(38_083_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtime/src/weights/pallet_timestamp.rs b/runtime/src/weights/pallet_timestamp.rs new file mode 100644 index 00000000..90d31065 --- /dev/null +++ b/runtime/src/weights/pallet_timestamp.rs @@ -0,0 +1,69 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_timestamp` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_timestamp +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_timestamp` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_timestamp::WeightInfo for NeurowebWeight { + /// Storage: `Timestamp::Now` (r:1 w:1) + /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + /// Storage: `Aura::CurrentSlot` (r:1 w:0) + /// Proof: `Aura::CurrentSlot` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) + fn set() -> Weight { + // Proof Size summary in bytes: + // Measured: `122` + // Estimated: `1493` + // Minimum execution time: 9_709_000 picoseconds. + Weight::from_parts(10_194_000, 1493) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn on_finalize() -> Weight { + // Proof Size summary in bytes: + // Measured: `94` + // Estimated: `0` + // Minimum execution time: 4_388_000 picoseconds. + Weight::from_parts(4_624_000, 0) + } +} diff --git a/runtime/src/weights/pallet_treasury.rs b/runtime/src/weights/pallet_treasury.rs new file mode 100644 index 00000000..e2908e55 --- /dev/null +++ b/runtime/src/weights/pallet_treasury.rs @@ -0,0 +1,174 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_treasury` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_treasury +// --output=weights.rs +// --extrinsic=spend_local,propose_spend,reject_proposal,approve_proposal,remove_approval,spend + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_treasury` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_treasury::WeightInfo for NeurowebWeight { + fn spend_local() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + } + /// Storage: `Treasury::ProposalCount` (r:1 w:1) + /// Proof: `Treasury::ProposalCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:0 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + fn propose_spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `107` + // Estimated: `1489` + // Minimum execution time: 29_580_000 picoseconds. + Weight::from_parts(30_246_000, 1489) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Treasury::Proposals` (r:1 w:1) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn reject_proposal() -> Weight { + // Proof Size summary in bytes: + // Measured: `368` + // Estimated: `6196` + // Minimum execution time: 44_503_000 picoseconds. + Weight::from_parts(45_813_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Treasury::Proposals` (r:1 w:0) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. + fn approve_proposal(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `433 + p * (8 ±0)` + // Estimated: `3573` + // Minimum execution time: 11_660_000 picoseconds. + Weight::from_parts(14_787_150, 3573) + // Standard Error: 1_203 + .saturating_add(Weight::from_parts(32_346, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + fn remove_approval() -> Weight { + // Proof Size summary in bytes: + // Measured: `90` + // Estimated: `1887` + // Minimum execution time: 7_715_000 picoseconds. + Weight::from_parts(7_867_000, 1887) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `System::Account` (r:100 w:100) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Deactivated` (r:1 w:1) + /// Proof: `Treasury::Deactivated` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Approvals` (r:1 w:1) + /// Proof: `Treasury::Approvals` (`max_values`: Some(1), `max_size`: Some(402), added: 897, mode: `MaxEncodedLen`) + /// Storage: `Treasury::Proposals` (r:99 w:99) + /// Proof: `Treasury::Proposals` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`) + /// The range of component `p` is `[0, 99]`. + fn on_initialize_proposals(p: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `136 + p * (158 ±0)` + // Estimated: `3593 + p * (2603 ±0)` + // Minimum execution time: 25_823_000 picoseconds. + Weight::from_parts(38_286_585, 3593) + // Standard Error: 12_502 + .saturating_add(Weight::from_parts(24_834_807, 0).saturating_mul(p.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(p.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(p.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(p.into())) + } + fn spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 0_000 picoseconds. + Weight::from_parts(0, 0) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + fn payout() -> Weight { + // Proof Size summary in bytes: + // Measured: `382` + // Estimated: `6196` + // Minimum execution time: 65_980_000 picoseconds. + Weight::from_parts(66_669_000, 6196) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn check_status() -> Weight { + // Proof Size summary in bytes: + // Measured: `227` + // Estimated: `3534` + // Minimum execution time: 17_446_000 picoseconds. + Weight::from_parts(17_811_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Treasury::Spends` (r:1 w:1) + /// Proof: `Treasury::Spends` (`max_values`: None, `max_size`: Some(69), added: 2544, mode: `MaxEncodedLen`) + fn void_spend() -> Weight { + // Proof Size summary in bytes: + // Measured: `227` + // Estimated: `3534` + // Minimum execution time: 15_997_000 picoseconds. + Weight::from_parts(16_286_000, 3534) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } +} diff --git a/runtime/src/weights/pallet_utility.rs b/runtime/src/weights/pallet_utility.rs new file mode 100644 index 00000000..7096f60a --- /dev/null +++ b/runtime/src/weights/pallet_utility.rs @@ -0,0 +1,93 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_utility` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_utility +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_utility` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_utility::WeightInfo for NeurowebWeight { + /// The range of component `c` is `[0, 1000]`. + fn batch(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_426_000 picoseconds. + Weight::from_parts(4_677_895, 0) + // Standard Error: 2_568 + .saturating_add(Weight::from_parts(3_900_286, 0).saturating_mul(c.into())) + } + fn as_derivative() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_257_000 picoseconds. + Weight::from_parts(6_482_000, 0) + } + /// The range of component `c` is `[0, 1000]`. + fn batch_all(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_464_000 picoseconds. + Weight::from_parts(4_804_070, 0) + // Standard Error: 3_033 + .saturating_add(Weight::from_parts(4_226_058, 0).saturating_mul(c.into())) + } + fn dispatch_as() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 8_997_000 picoseconds. + Weight::from_parts(9_172_000, 0) + } + /// The range of component `c` is `[0, 1000]`. + fn force_batch(c: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_566_000 picoseconds. + Weight::from_parts(5_254_457, 0) + // Standard Error: 3_430 + .saturating_add(Weight::from_parts(3_939_417, 0).saturating_mul(c.into())) + } +} diff --git a/runtime/src/weights/pallet_vesting.rs b/runtime/src/weights/pallet_vesting.rs new file mode 100644 index 00000000..73e9329a --- /dev/null +++ b/runtime/src/weights/pallet_vesting.rs @@ -0,0 +1,252 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `pallet_vesting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_vesting +// --output=weights.rs +// --extrinsic=* + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `pallet_vesting` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_vesting::WeightInfo for NeurowebWeight { + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_locked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `205 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 35_309_000 picoseconds. + Weight::from_parts(34_204_182, 4764) + // Standard Error: 400 + .saturating_add(Weight::from_parts(39_163, 0).saturating_mul(l.into())) + // Standard Error: 711 + .saturating_add(Weight::from_parts(64_011, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_unlocked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `205 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 37_834_000 picoseconds. + Weight::from_parts(37_083_950, 4764) + // Standard Error: 655 + .saturating_add(Weight::from_parts(34_098, 0).saturating_mul(l.into())) + // Standard Error: 1_166 + .saturating_add(Weight::from_parts(50_623, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_other_locked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `308 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 38_254_000 picoseconds. + Weight::from_parts(37_349_039, 4764) + // Standard Error: 474 + .saturating_add(Weight::from_parts(37_022, 0).saturating_mul(l.into())) + // Standard Error: 843 + .saturating_add(Weight::from_parts(64_548, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[1, 28]`. + fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `308 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 40_736_000 picoseconds. + Weight::from_parts(40_063_183, 4764) + // Standard Error: 699 + .saturating_add(Weight::from_parts(31_697, 0).saturating_mul(l.into())) + // Standard Error: 1_244 + .saturating_add(Weight::from_parts(52_060, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[0, 27]`. + fn vested_transfer(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `412 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 78_421_000 picoseconds. + Weight::from_parts(78_601_516, 4764) + // Standard Error: 1_083 + .saturating_add(Weight::from_parts(41_055, 0).saturating_mul(l.into())) + // Standard Error: 1_927 + .saturating_add(Weight::from_parts(82_774, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[0, 27]`. + fn force_vested_transfer(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `515 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `6196` + // Minimum execution time: 81_637_000 picoseconds. + Weight::from_parts(80_789_246, 6196) + // Standard Error: 1_066 + .saturating_add(Weight::from_parts(43_085, 0).saturating_mul(l.into())) + // Standard Error: 1_898 + .saturating_add(Weight::from_parts(74_718, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. + fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `306 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 39_400_000 picoseconds. + Weight::from_parts(38_255_302, 4764) + // Standard Error: 476 + .saturating_add(Weight::from_parts(39_095, 0).saturating_mul(l.into())) + // Standard Error: 879 + .saturating_add(Weight::from_parts(61_469, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. + fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `306 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 42_192_000 picoseconds. + Weight::from_parts(41_061_902, 4764) + // Standard Error: 520 + .saturating_add(Weight::from_parts(36_323, 0).saturating_mul(l.into())) + // Standard Error: 960 + .saturating_add(Weight::from_parts(67_386, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Vesting::Vesting` (r:1 w:1) + /// Proof: `Vesting::Vesting` (`max_values`: None, `max_size`: Some(1057), added: 3532, mode: `MaxEncodedLen`) + /// Storage: `Balances::Locks` (r:1 w:1) + /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`) + /// Storage: `Balances::Freezes` (r:1 w:0) + /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(65), added: 2540, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// The range of component `l` is `[0, 49]`. + /// The range of component `s` is `[2, 28]`. + fn force_remove_vesting_schedule(l: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `412 + l * (25 ±0) + s * (36 ±0)` + // Estimated: `4764` + // Minimum execution time: 44_297_000 picoseconds. + Weight::from_parts(43_328_147, 4764) + // Standard Error: 516 + .saturating_add(Weight::from_parts(41_412, 0).saturating_mul(l.into())) + // Standard Error: 953 + .saturating_add(Weight::from_parts(61_344, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } +} diff --git a/runtime/src/weights/pallet_xc_asset_config.rs b/runtime/src/weights/pallet_xc_asset_config.rs index 82ab92d0..9e8568d3 100644 --- a/runtime/src/weights/pallet_xc_asset_config.rs +++ b/runtime/src/weights/pallet_xc_asset_config.rs @@ -1,76 +1,119 @@ +// This program 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. + +// This program 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 this program. If not, see . + //! Autogenerated weights for `pallet_xc_asset_config` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-03, STEPS: `20`, REPEAT: 10, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/neuroweb +// target/release/neuroweb // benchmark // pallet -// --chain -// dev -// --execution -// wasm -// --wasm-execution -// compiled -// --pallet -// pallet_xc_asset_config -// --steps -// 20 -// --repeat -// 10 -// --extrinsic -// * -// --output -// . +// --chain=dev +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet_xc_asset_config +// --output=weights.rs +// --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; -/// Weight functions for `pallet_xc_asset_config`. -pub struct WeightInfo(PhantomData); -impl pallet_xc_asset_config::WeightInfo for WeightInfo { - // Storage: XcAssetConfig AssetIdToLocation (r:1 w:1) - // Storage: EVM AccountCodes (r:0 w:1) - // Storage: XcAssetConfig AssetLocationToId (r:0 w:1) +/// Weights for `pallet_xc_asset_config` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_xc_asset_config::WeightInfo for NeurowebWeight { + /// Storage: `XcAssetConfig::AssetIdToLocation` (r:1 w:1) + /// Proof: `XcAssetConfig::AssetIdToLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationToId` (r:0 w:1) + /// Proof: `XcAssetConfig::AssetLocationToId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_asset_location() -> Weight { - Weight::from_parts(15_599_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Proof Size summary in bytes: + // Measured: `6` + // Estimated: `3471` + // Minimum execution time: 19_437_000 picoseconds. + Weight::from_parts(19_642_000, 3471) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - // Storage: XcAssetConfig AssetLocationToId (r:1 w:0) - // Storage: XcAssetConfig AssetLocationUnitsPerSecond (r:0 w:1) + /// Storage: `XcAssetConfig::AssetLocationToId` (r:1 w:0) + /// Proof: `XcAssetConfig::AssetLocationToId` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationUnitsPerSecond` (r:0 w:1) + /// Proof: `XcAssetConfig::AssetLocationUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_asset_units_per_second() -> Weight { - Weight::from_parts(14_326_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `93` + // Estimated: `3558` + // Minimum execution time: 16_164_000 picoseconds. + Weight::from_parts(16_456_000, 3558) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: XcAssetConfig AssetIdToLocation (r:1 w:1) - // Storage: XcAssetConfig AssetLocationUnitsPerSecond (r:1 w:2) - // Storage: XcAssetConfig AssetLocationToId (r:0 w:2) + /// Storage: `XcAssetConfig::AssetIdToLocation` (r:1 w:1) + /// Proof: `XcAssetConfig::AssetIdToLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationUnitsPerSecond` (r:1 w:2) + /// Proof: `XcAssetConfig::AssetLocationUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationToId` (r:0 w:2) + /// Proof: `XcAssetConfig::AssetLocationToId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn change_existing_asset_location() -> Weight { - Weight::from_parts(20_459_000, 0) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Proof Size summary in bytes: + // Measured: `141` + // Estimated: `3606` + // Minimum execution time: 25_290_000 picoseconds. + Weight::from_parts(25_944_000, 3606) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } - // Storage: XcAssetConfig AssetLocationUnitsPerSecond (r:0 w:1) + /// Storage: `XcAssetConfig::AssetLocationUnitsPerSecond` (r:0 w:1) + /// Proof: `XcAssetConfig::AssetLocationUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_payment_asset() -> Weight { - Weight::from_parts(11_221_000, 0) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 10_067_000 picoseconds. + Weight::from_parts(10_326_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - // Storage: XcAssetConfig AssetIdToLocation (r:1 w:1) - // Storage: EVM AccountCodes (r:0 w:1) - // Storage: XcAssetConfig AssetLocationUnitsPerSecond (r:0 w:1) - // Storage: XcAssetConfig AssetLocationToId (r:0 w:1) + /// Storage: `XcAssetConfig::AssetIdToLocation` (r:1 w:1) + /// Proof: `XcAssetConfig::AssetIdToLocation` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `EVM::AccountCodes` (r:0 w:1) + /// Proof: `EVM::AccountCodes` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationUnitsPerSecond` (r:0 w:1) + /// Proof: `XcAssetConfig::AssetLocationUnitsPerSecond` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `XcAssetConfig::AssetLocationToId` (r:0 w:1) + /// Proof: `XcAssetConfig::AssetLocationToId` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_asset() -> Weight { - Weight::from_parts(17_804_000, 0) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Proof Size summary in bytes: + // Measured: `128` + // Estimated: `3593` + // Minimum execution time: 20_611_000 picoseconds. + Weight::from_parts(21_121_000, 3593) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } -} \ No newline at end of file +} From 1ab11dd1b162de2f1a4c48cfb932b028c0e4a821 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Sun, 17 Aug 2025 17:38:52 +0200 Subject: [PATCH 48/89] add pallet_xcm_benchmarks --- Cargo.lock | 1 + Cargo.toml | 1 + runtime/Cargo.toml | 2 + runtime/src/lib.rs | 5 +- runtime/src/xcm_config.rs | 125 +++++++++++++++++++++++++++++++++++--- 5 files changed, 125 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c31a9c3c..58f67fc2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6299,6 +6299,7 @@ dependencies = [ "pallet-wrapper", "pallet-xc-asset-config", "pallet-xcm", + "pallet-xcm-benchmarks", "parachains-common", "parity-scale-codec", "polkadot-parachain-primitives", diff --git a/Cargo.toml b/Cargo.toml index e52bf008..f42faefb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -178,6 +178,7 @@ polkadot-service = { git = "https://github.com/paritytech/polkadot-sdk", branch # XCM pallet-xcm = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } +pallet-xcm-benchmarks = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } polkadot-parachain = { package = "polkadot-parachain-primitives", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } polkadot-runtime-common = { git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } xcm = { package = "staging-xcm", git = "https://github.com/paritytech/polkadot-sdk", default-features = false, branch = "release-polkadot-v1.11.0" } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index a1f8809f..9ef53dff 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -58,6 +58,7 @@ sp-version = { workspace = true } # Polkadot pallet-xcm = { workspace = true } +pallet-xcm-benchmarks = { workspace = true, optional = true } polkadot-parachain = { workspace = true } polkadot-runtime-common = { workspace = true } xcm = { workspace = true } @@ -207,6 +208,7 @@ runtime-benchmarks = [ "pallet-vesting/runtime-benchmarks", "pallet-xc-asset-config/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", + "pallet-xcm-benchmarks/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "xcm-builder/runtime-benchmarks", "cumulus-pallet-xcmp-queue/runtime-benchmarks", diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 7911925e..79c7f98a 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -181,6 +181,8 @@ pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); pub const HOURS: BlockNumber = MINUTES * 60; pub const DAYS: BlockNumber = HOURS * 24; +pub const UNITS: Balance = 1_000_000_000_000; + // OTP = the base number of indivisible units for balances pub const OTP: Balance = 1_000_000_000_000; pub const MILLIOTP: Balance = 1_000_000_000; @@ -1193,10 +1195,11 @@ mod benches { [pallet_vesting, Vesting] [pallet_wrapper, Wrapper] [pallet_xc_asset_config, XcAssetConfig] + [pallet_xcm_balances, pallet_xcm_benchmarks::fungible::Pallet::] + [pallet_xcm_generic, pallet_xcm_benchmarks::generic::Pallet::] ); } - impl fp_self_contained::SelfContainedCall for RuntimeCall { type SignedInfo = H160; diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 7b2f9750..db4530cb 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -1,8 +1,9 @@ use super::{ - AccountId, AllPalletsWithSystem, Balance, Balances, DealWithFees, ForeignAssets, - ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, - WeightToFee, XcmpQueue, + AccountId, AllPalletsWithSystem, Balance, Balances, DealWithFees, ForeignAssets, ParachainInfo, + ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, + XcmpQueue, MILLIOTP, UNITS, }; +use crate::assets::EXISTENTIAL_DEPOSIT; use codec::Encode; use core::marker::PhantomData; use frame_support::{ @@ -13,15 +14,16 @@ use frame_support::{ use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; +use scale_info::prelude::vec; use sp_core::blake2_256; use xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, - FixedWeightBounds, FungibleAdapter, FungiblesAdapter, IsConcrete, - NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, - SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WithComputedOrigin, + AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, FungibleAdapter, + FungiblesAdapter, IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, + SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + WithComputedOrigin, }; use xcm_executor::{ traits::{ConvertLocation, WithOriginFilter}, @@ -359,3 +361,110 @@ pub fn ensure_is_remote( }; Ok((remote_net, remote_dest)) } + +#[cfg(feature = "runtime-benchmarks")] +parameter_types! { + pub const TrustedTeleporter: Option<(Location, Asset)> = Some(( + RelayLocation::get(), + Asset { fun: Fungible(EXISTENTIAL_DEPOSIT), id: AssetId(RelayLocation::get()) }, + )); + pub const CheckedAccount: Option<(AccountId, xcm_builder::MintLocation)> = None; + pub TrustedReserve: Option<(Location, Asset)> = Some(( + RelayLocation::get(), + Asset { fun: Fungible(1_000), id: AssetId(RelayLocation::get()) }, + )); +} + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_xcm_benchmarks::Config for Runtime { + type XcmConfig = XcmConfig; + type AccountIdConverter = LocationToAccountId; + type DeliveryHelper = (); + fn valid_destination() -> Result { + Ok(RelayLocation::get()) + } + fn worst_case_holding(_depositable_count: u32) -> xcm::latest::Assets { + let asset = Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(1_000_000 * MILLIOTP), + }; + vec![asset].into() + } +} + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_xcm_benchmarks::fungible::Config for Runtime { + type TransactAsset = Balances; + type CheckedAccount = (); + type TrustedTeleporter = (); + type TrustedReserve = (); + + fn get_asset() -> Asset { + Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(EXISTENTIAL_DEPOSIT), + } + } +} + +#[cfg(feature = "runtime-benchmarks")] +impl pallet_xcm_benchmarks::generic::Config for Runtime { + type TransactAsset = Balances; + type RuntimeCall = RuntimeCall; + + fn worst_case_response() -> (u64, Response) { + (0u64, Response::Version(Default::default())) + } + + fn worst_case_asset_exchange() -> Result<(Assets, Assets), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn universal_alias() -> Result<(Location, Junction), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn transact_origin_and_runtime_call( + ) -> Result<(Location, RuntimeCall), frame_benchmarking::BenchmarkError> { + Ok(( + RelayLocation::get(), + frame_system::Call::remark_with_event { remark: vec![] }.into(), + )) + } + + fn subscribe_origin() -> Result { + Ok(RelayLocation::get()) + } + + fn claimable_asset() -> Result<(Location, Location, Assets), frame_benchmarking::BenchmarkError> + { + let origin = RelayLocation::get(); + let assets: Assets = (AssetId(RelayLocation::get()), 1_000 * UNITS).into(); + let ticket = Location { + parents: 0, + interior: Here, + }; + Ok((origin, ticket, assets)) + } + + fn fee_asset() -> Result { + Ok(Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(EXISTENTIAL_DEPOSIT), + }) + } + + fn unlockable_asset() -> Result<(Location, Location, Asset), frame_benchmarking::BenchmarkError> + { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn export_message_origin_and_destination( + ) -> Result<(Location, NetworkId, Junctions), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn alias_origin() -> Result<(Location, Location), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } +} From dffd80d265ac05e3abeb4bd819c25a7c2f0aef31 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 20:11:28 +0200 Subject: [PATCH 49/89] Add benchmarks for cumulus parachain system --- runtime/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 79c7f98a..428fb88f 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1177,6 +1177,7 @@ mod benches { frame_benchmarking::define_benchmarks!( [frame_system, SystemBench::] [cumulus_pallet_xcmp_queue, XcmpQueue] + [cumulus_pallet_parachain_system, ParachainSystem] [pallet_assets_local, Assets] [pallet_assets_foreign, ForeignAssets] [pallet_balances, Balances] From 92cd8eb7b7f66b1b7b3f7b3849dee60859c88b33 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 20:15:28 +0200 Subject: [PATCH 50/89] rename to fungible --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 428fb88f..2ddd22ba 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1196,7 +1196,7 @@ mod benches { [pallet_vesting, Vesting] [pallet_wrapper, Wrapper] [pallet_xc_asset_config, XcAssetConfig] - [pallet_xcm_balances, pallet_xcm_benchmarks::fungible::Pallet::] + [pallet_xcm_fungible, pallet_xcm_benchmarks::fungible::Pallet::] [pallet_xcm_generic, pallet_xcm_benchmarks::generic::Pallet::] ); } From 36357a39362d7582dae9c219666dfafe376cc474 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 20:37:50 +0200 Subject: [PATCH 51/89] rebench cumulus_pallet_parachain_system --- runtime/src/lib.rs | 3 +- .../cumulus_pallet_parachain_system.rs | 74 +++++++++++++++++++ runtime/src/weights/mod.rs | 1 + 3 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 runtime/src/weights/cumulus_pallet_parachain_system.rs diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2ddd22ba..710bf91a 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -436,8 +436,9 @@ impl cumulus_pallet_parachain_system::Config for Runtime { type ReservedXcmpWeight = ReservedXcmpWeight; type CheckAssociatedRelayNumber = RelayNumberMonotonicallyIncreases; type ConsensusHook = ConsensusHook; - type WeightInfo = cumulus_pallet_parachain_system::weights::SubstrateWeight; + type WeightInfo = weights::cumulus_pallet_parachain_system::NeurowebWeight; } + type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< Runtime, RELAY_CHAIN_SLOT_DURATION_MILLIS, diff --git a/runtime/src/weights/cumulus_pallet_parachain_system.rs b/runtime/src/weights/cumulus_pallet_parachain_system.rs new file mode 100644 index 00000000..2e92152b --- /dev/null +++ b/runtime/src/weights/cumulus_pallet_parachain_system.rs @@ -0,0 +1,74 @@ +// This program 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. + +// This program 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 this program. If not, see . + + +//! Autogenerated weights for `cumulus_pallet_parachain_system` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-18, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --runtime +// target/release/wbuild/neuroweb-runtime/neuroweb_runtime.compact.compressed.wasm +// --genesis-builder=runtime +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=cumulus_pallet_parachain_system +// --extrinsic=* +// --output=weights.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] +#![allow(missing_docs)] + +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; + +/// Weights for `cumulus_pallet_parachain_system` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl cumulus_pallet_parachain_system::WeightInfo for NeurowebWeight { + /// Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) + /// Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::BookStateFor` (r:1 w:1) + /// Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) + /// Storage: `MessageQueue::ServiceHead` (r:1 w:1) + /// Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::ProcessedDownwardMessages` (r:0 w:1) + /// Proof: `ParachainSystem::ProcessedDownwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `MessageQueue::Pages` (r:0 w:1000) + /// Proof: `MessageQueue::Pages` (`max_values`: None, `max_size`: Some(134193), added: 136668, mode: `MaxEncodedLen`) + /// The range of component `n` is `[0, 1000]`. + fn enqueue_inbound_downward_messages(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3517` + // Minimum execution time: 1_045_000 picoseconds. + Weight::from_parts(1_092_000, 3517) + // Standard Error: 34_873 + .saturating_add(Weight::from_parts(368_241_093, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + } +} diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 61d89257..032193ed 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -19,6 +19,7 @@ pub mod block_weights; pub mod cumulus_pallet_xcmp_queue; +pub mod cumulus_pallet_parachain_system; pub mod extrinsic_weights; pub mod frame_system; pub mod pallet_assets_local; From 85994872f875319f2165fb24135211a7ca65f62f Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 21:37:26 +0200 Subject: [PATCH 52/89] tweak bench --- runtime/src/xcm_config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index db4530cb..ec760024 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -371,7 +371,7 @@ parameter_types! { pub const CheckedAccount: Option<(AccountId, xcm_builder::MintLocation)> = None; pub TrustedReserve: Option<(Location, Asset)> = Some(( RelayLocation::get(), - Asset { fun: Fungible(1_000), id: AssetId(RelayLocation::get()) }, + Asset { fun: Fungible(UNITS), id: AssetId(RelayLocation::get()) }, )); } @@ -386,7 +386,7 @@ impl pallet_xcm_benchmarks::Config for Runtime { fn worst_case_holding(_depositable_count: u32) -> xcm::latest::Assets { let asset = Asset { id: AssetId(TokenLocation::get()), - fun: Fungible(1_000_000 * MILLIOTP), + fun: Fungible(1_000_000 * UNITS), }; vec![asset].into() } @@ -402,7 +402,7 @@ impl pallet_xcm_benchmarks::fungible::Config for Runtime { fn get_asset() -> Asset { Asset { id: AssetId(TokenLocation::get()), - fun: Fungible(EXISTENTIAL_DEPOSIT), + fun: Fungible(10 * EXISTENTIAL_DEPOSIT), } } } From 5c6d05f2bd77b8ad846db7cf034384438110c671 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 21:46:37 +0200 Subject: [PATCH 53/89] add xcm-weight-template --- scripts/xcm-weight-template.hbs | 63 +++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 scripts/xcm-weight-template.hbs diff --git a/scripts/xcm-weight-template.hbs b/scripts/xcm-weight-template.hbs new file mode 100644 index 00000000..9c131623 --- /dev/null +++ b/scripts/xcm-weight-template.hbs @@ -0,0 +1,63 @@ +// This program 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. + +// This program 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 this program. If not, see . + +//! Autogenerated weights for `{{pallet}}` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION {{version}} +//! DATE: {{date}}, STEPS: `{{cmd.steps}}`, REPEAT: {{cmd.repeat}}, LOW RANGE: `{{cmd.lowest_range_values}}`, HIGH RANGE: `{{cmd.highest_range_values}}` +//! EXECUTION: {{cmd.execution}}, WASM-EXECUTION: {{cmd.wasm_execution}}, CHAIN: {{cmd.chain}}, DB CACHE: {{cmd.db_cache}} + +// Executed Command: +{{#each args as |arg|}} +// {{arg}} +{{/each}} + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weights for `{{pallet}}`. +pub struct WeightInfo(PhantomData); +impl WeightInfo { + {{#each benchmarks as |benchmark|}} + {{#each benchmark.comments as |comment|}} + // {{comment}} + {{/each}} + pub(crate) fn {{benchmark.name~}} + ( + {{~#each benchmark.components as |c| ~}} + {{~#if (not c.is_used)}}_{{/if}}{{c.name}}: u32, {{/each~}} + ) -> Weight { + Weight::from_parts({{underscore benchmark.base_weight}}_u64, 0) + {{#each benchmark.component_weight as |cw|}} + // Standard Error: {{underscore cw.error}} + .saturating_add(Weight::from_parts({{underscore cw.slope}}_u64, 0).saturating_mul({{cw.name}}_u64)) + {{/each}} + {{#if (ne benchmark.base_reads "0")}} + .saturating_add(T::DbWeight::get().reads({{benchmark.base_reads}}_u64)) + {{/if}} + {{#each benchmark.component_reads as |cr|}} + .saturating_add(T::DbWeight::get().reads(({{cr.slope}}_u64).saturating_mul({{cr.name}}_u64))) + {{/each}} + {{#if (ne benchmark.base_writes "0")}} + .saturating_add(T::DbWeight::get().writes({{benchmark.base_writes}}_u64)) + {{/if}} + {{#each benchmark.component_writes as |cw|}} + .saturating_add(T::DbWeight::get().writes(({{cw.slope}}_u64).saturating_mul({{cw.name}}_u64))) + {{/each}} + } + {{/each}} +} From e9a271ebe547a73c68b690378a302e299a5c101d Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 21:56:19 +0200 Subject: [PATCH 54/89] fix xcm bench config --- runtime/src/xcm_config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index ec760024..21a2c22a 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -395,9 +395,9 @@ impl pallet_xcm_benchmarks::Config for Runtime { #[cfg(feature = "runtime-benchmarks")] impl pallet_xcm_benchmarks::fungible::Config for Runtime { type TransactAsset = Balances; - type CheckedAccount = (); - type TrustedTeleporter = (); - type TrustedReserve = (); + type CheckedAccount = CheckedAccount; + type TrustedTeleporter = TrustedTeleporter; + type TrustedReserve = TrustedReserve; fn get_asset() -> Asset { Asset { From a8baa2a6df27a3edbe9f5139ddc87134a4c1cb5e Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 22:02:38 +0200 Subject: [PATCH 55/89] bench xcm fungible --- .../xcm/pallet_xcm_benchmarks_fungible.rs | 113 ++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 runtime/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs diff --git a/runtime/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs b/runtime/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs new file mode 100644 index 00000000..f5ecc6e3 --- /dev/null +++ b/runtime/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs @@ -0,0 +1,113 @@ +// This program 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. + +// This program 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 this program. If not, see . + +//! Autogenerated weights for `pallet_xcm_fungible` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --runtime +// target/release/wbuild/neuroweb-runtime/neuroweb_runtime.compact.compressed.wasm +// --genesis-builder=runtime +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/xcm-weight-template.hbs +// --pallet=pallet_xcm_fungible +// --extrinsic=withdraw_asset,transfer_asset,transfer_reserve_asset,reserve_asset_deposited,initiate_reserve_withdraw,deposit_asset,deposit_reserve_asset,initiate_transfer +// --output=weights.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weights for `pallet_xcm_fungible`. +pub struct WeightInfo(PhantomData); +impl WeightInfo { + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + pub(crate) fn withdraw_asset() -> Weight { + Weight::from_parts(33_179_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + pub(crate) fn transfer_asset() -> Weight { + Weight::from_parts(44_032_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `System::Account` (r:2 w:2) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn transfer_reserve_asset() -> Weight { + Weight::from_parts(54_012_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + pub(crate) fn reserve_asset_deposited() -> Weight { + Weight::from_parts(1_642_000_u64, 0) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn initiate_reserve_withdraw() -> Weight { + Weight::from_parts(14_200_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `Benchmark::Override` (r:0 w:0) + // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn receive_teleported_asset() -> Weight { + Weight::from_parts(18_446_744_073_709_551_000_u64, 0) + } + + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + pub(crate) fn deposit_asset() -> Weight { + Weight::from_parts(24_824_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `System::Account` (r:1 w:1) + // Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn deposit_reserve_asset() -> Weight { + Weight::from_parts(42_223_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } +} From a496fc8d151212a7e4830b76847105bc7566790d Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 22:30:24 +0200 Subject: [PATCH 56/89] use runtime xcm weights --- runtime/src/weights/mod.rs | 1 + runtime/src/weights/xcm/mod.rs | 252 ++++++++++++++++++ .../xcm/pallet_xcm_benchmarks_generic.rs | 180 +++++++++++++ runtime/src/xcm_config.rs | 18 +- 4 files changed, 444 insertions(+), 7 deletions(-) create mode 100644 runtime/src/weights/xcm/mod.rs create mode 100644 runtime/src/weights/xcm/pallet_xcm_benchmarks_generic.rs diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 032193ed..834fc095 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -44,6 +44,7 @@ pub mod evm_accounts_weights; pub mod pallet_wrapper; pub mod pallet_xc_asset_config; pub mod pallet_xcm; +pub mod xcm; pub use block_weights::constants::BlockExecutionWeight; pub use extrinsic_weights::constants::ExtrinsicBaseWeight; diff --git a/runtime/src/weights/xcm/mod.rs b/runtime/src/weights/xcm/mod.rs new file mode 100644 index 00000000..e3bb346b --- /dev/null +++ b/runtime/src/weights/xcm/mod.rs @@ -0,0 +1,252 @@ +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +mod pallet_xcm_benchmarks_fungible; +mod pallet_xcm_benchmarks_generic; + +use crate::{xcm_config::MaxAssetsIntoHolding, Runtime}; +use frame_support::weights::Weight; +use pallet_xcm_benchmarks_fungible::WeightInfo as XcmFungibleWeight; +use pallet_xcm_benchmarks_generic::WeightInfo as XcmGeneric; +use sp_std::vec; +use sp_std::vec::Vec; +use xcm::latest::InteriorLocation; +use xcm::v4::{QueryId, Response, WeightLimit, WildFungibility, Xcm, XcmWeightInfo}; +use xcm::DoubleEncoded; + +use cumulus_primitives_core::{ + All, AllCounted, AllOf, AllOfCounted, Asset, AssetFilter, Assets, Junction, Junctions, + Location, OriginKind, QueryResponseInfo, +}; +use xcm::prelude::{MaybeErrorCode, NetworkId, XcmError}; + +#[allow(dead_code)] +trait WeighAssets { + fn weigh_assets(&self, weight: Weight) -> Weight; +} + +#[allow(dead_code)] +const MAX_ASSETS: u64 = 100; + +impl WeighAssets for AssetFilter { + fn weigh_assets(&self, weight: Weight) -> Weight { + match self { + Self::Definite(assets) => weight.saturating_mul(assets.inner().iter().count() as u64), + Self::Wild(asset) => match asset { + All => weight.saturating_mul(MAX_ASSETS), + AllOf { fun, .. } => match fun { + WildFungibility::Fungible => weight, + // Magic number 2 has to do with the fact that we could have up to 2 times + // MaxAssetsIntoHolding in the worst-case scenario. + WildFungibility::NonFungible => { + weight.saturating_mul((MaxAssetsIntoHolding::get() * 2) as u64) + } + }, + AllCounted(count) => weight.saturating_mul(MAX_ASSETS.min((*count as u64).max(1))), + AllOfCounted { count, .. } => { + weight.saturating_mul(MAX_ASSETS.min((*count as u64).max(1))) + } + }, + } + } +} + +impl WeighAssets for Assets { + fn weigh_assets(&self, weight: Weight) -> Weight { + weight.saturating_mul(self.inner().iter().count() as u64) + } +} + +pub struct NeurowebXcmWeight(core::marker::PhantomData); +#[allow(clippy::suspicious_doc_comments)] +///!NOTE - We use BaseXcmWeight to not break anything, except for instructions where we really need to increase weights +impl XcmWeightInfo for NeurowebXcmWeight { + fn withdraw_asset(assets: &Assets) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::withdraw_asset()) + } + fn reserve_asset_deposited(assets: &Assets) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::reserve_asset_deposited()) + } + fn receive_teleported_asset(assets: &Assets) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::receive_teleported_asset()) + } + fn query_response( + _query_id: &u64, + _response: &Response, + _max_weight: &Weight, + _querier: &Option, + ) -> Weight { + XcmGeneric::::query_response() + } + fn transfer_asset(assets: &Assets, _dest: &Location) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::transfer_asset()) + } + fn transfer_reserve_asset(assets: &Assets, _dest: &Location, _xcm: &Xcm<()>) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::transfer_reserve_asset()) + } + fn transact( + _origin_type: &OriginKind, + _fallback_max_weight: &cumulus_primitives_core::Weight, + _call: &DoubleEncoded, + ) -> Weight { + XcmGeneric::::transact() + } + fn hrmp_new_channel_open_request( + _sender: &u32, + _max_message_size: &u32, + _max_capacity: &u32, + ) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX + } + fn hrmp_channel_accepted(_recipient: &u32) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX + } + fn hrmp_channel_closing(_initiator: &u32, _sender: &u32, _recipient: &u32) -> Weight { + // XCM Executor does not currently support HRMP channel operations + Weight::MAX + } + fn clear_origin() -> Weight { + XcmGeneric::::clear_origin() + } + fn descend_origin(_who: &InteriorLocation) -> Weight { + XcmGeneric::::descend_origin() + } + fn report_error(_query_response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::report_error() + } + + fn deposit_asset(assets: &AssetFilter, _dest: &Location) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::deposit_asset()) + } + fn deposit_reserve_asset(assets: &AssetFilter, _dest: &Location, _xcm: &Xcm<()>) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::deposit_reserve_asset()) + } + + fn exchange_asset(_give: &AssetFilter, _receive: &Assets, is_sell: &bool) -> Weight { + Weight::MAX + } + + fn initiate_reserve_withdraw( + assets: &AssetFilter, + _reserve: &Location, + _xcm: &Xcm<()>, + ) -> Weight { + assets.weigh_assets(XcmFungibleWeight::::initiate_reserve_withdraw()) + } + fn initiate_teleport(_assets: &AssetFilter, _dest: &Location, _xcm: &Xcm<()>) -> Weight { + Weight::MAX + } + + fn report_holding(_response_info: &QueryResponseInfo, _assets: &AssetFilter) -> Weight { + XcmGeneric::::report_holding() + } + fn buy_execution(_fees: &Asset, _weight_limit: &WeightLimit) -> Weight { + XcmGeneric::::buy_execution() + } + + fn refund_surplus() -> Weight { + XcmGeneric::::refund_surplus() + } + fn set_error_handler(_xcm: &Xcm) -> Weight { + XcmGeneric::::set_error_handler() + } + fn set_appendix(_xcm: &Xcm) -> Weight { + XcmGeneric::::set_appendix() + } + fn clear_error() -> Weight { + XcmGeneric::::clear_error() + } + + fn claim_asset(_assets: &Assets, _ticket: &Location) -> Weight { + XcmGeneric::::claim_asset() + } + fn trap(_code: &u64) -> Weight { + XcmGeneric::::trap() + } + fn subscribe_version(_query_id: &QueryId, _max_response_weight: &Weight) -> Weight { + XcmGeneric::::subscribe_version() + } + fn unsubscribe_version() -> Weight { + XcmGeneric::::unsubscribe_version() + } + fn burn_asset(assets: &Assets) -> Weight { + assets.weigh_assets(XcmGeneric::::burn_asset()) + } + fn expect_asset(assets: &Assets) -> Weight { + assets.weigh_assets(XcmGeneric::::expect_asset()) + } + fn expect_origin(_origin: &Option) -> Weight { + XcmGeneric::::expect_origin() + } + fn expect_error(_error: &Option<(u32, XcmError)>) -> Weight { + XcmGeneric::::expect_error() + } + fn expect_transact_status(_transact_status: &MaybeErrorCode) -> Weight { + XcmGeneric::::expect_transact_status() + } + fn query_pallet(_module_name: &Vec, _response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::query_pallet() + } + fn expect_pallet( + _index: &u32, + _name: &Vec, + _module_name: &Vec, + _crate_major: &u32, + _min_crate_minor: &u32, + ) -> Weight { + XcmGeneric::::expect_pallet() + } + fn report_transact_status(_response_info: &QueryResponseInfo) -> Weight { + XcmGeneric::::report_transact_status() + } + fn clear_transact_status() -> Weight { + XcmGeneric::::clear_transact_status() + } + fn universal_origin(_: &Junction) -> Weight { + Weight::MAX + } + fn export_message(_: &NetworkId, _: &Junctions, _: &Xcm<()>) -> Weight { + Weight::MAX + } + fn lock_asset(_: &Asset, _: &Location) -> Weight { + Weight::MAX + } + fn unlock_asset(_: &Asset, _: &Location) -> Weight { + Weight::MAX + } + fn note_unlockable(_: &Asset, _: &Location) -> Weight { + Weight::MAX + } + fn request_unlock(_: &Asset, _: &Location) -> Weight { + Weight::MAX + } + fn set_fees_mode(_: &bool) -> Weight { + XcmGeneric::::set_fees_mode() + } + fn set_topic(_topic: &[u8; 32]) -> Weight { + XcmGeneric::::set_topic() + } + fn clear_topic() -> Weight { + XcmGeneric::::clear_topic() + } + fn alias_origin(_: &Location) -> Weight { + Weight::MAX + } + fn unpaid_execution(_: &WeightLimit, _: &Option) -> Weight { + XcmGeneric::::unpaid_execution() + } +} diff --git a/runtime/src/weights/xcm/pallet_xcm_benchmarks_generic.rs b/runtime/src/weights/xcm/pallet_xcm_benchmarks_generic.rs new file mode 100644 index 00000000..67070fe6 --- /dev/null +++ b/runtime/src/weights/xcm/pallet_xcm_benchmarks_generic.rs @@ -0,0 +1,180 @@ +// This program 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. + +// This program 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 this program. If not, see . + +//! Autogenerated weights for `pallet_xcm_generic` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-08-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024 + +// Executed Command: +// target/release/neuroweb +// benchmark +// pallet +// --runtime +// target/release/wbuild/neuroweb-runtime/neuroweb_runtime.compact.compressed.wasm +// --genesis-builder=runtime +// --steps=50 +// --repeat=20 +// --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/xcm-weight-template.hbs +// --pallet=pallet_xcm_generic +// --extrinsic=report_holding,buy_execution,query_response,transact,refund_surplus,set_error_handler,set_appendix,clear_error,descend_origin,clear_origin,report_error,claim_asset,trap,subscribe_version,unsubscribe_version,initiate_reserve_withdraw,burn_asset,expect_asset,expect_origin,expect_error,expect_transact_status,query_pallet,expect_pallet,report_transact_status,clear_transact_status,set_topic,clear_topic,set_fees_mode,unpaid_execution +// --output=weights.rs + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use core::marker::PhantomData; + +/// Weights for `pallet_xcm_generic`. +pub struct WeightInfo(PhantomData); +impl WeightInfo { + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn report_holding() -> Weight { + Weight::from_parts(16_179_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + pub(crate) fn buy_execution() -> Weight { + Weight::from_parts(1_311_000_u64, 0) + } + // Storage: `PolkadotXcm::Queries` (r:1 w:0) + // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn query_response() -> Weight { + Weight::from_parts(6_648_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + pub(crate) fn transact() -> Weight { + Weight::from_parts(10_970_000_u64, 0) + } + pub(crate) fn refund_surplus() -> Weight { + Weight::from_parts(2_572_000_u64, 0) + } + pub(crate) fn set_error_handler() -> Weight { + Weight::from_parts(1_325_000_u64, 0) + } + pub(crate) fn set_appendix() -> Weight { + Weight::from_parts(1_295_000_u64, 0) + } + pub(crate) fn clear_error() -> Weight { + Weight::from_parts(1_271_000_u64, 0) + } + pub(crate) fn descend_origin() -> Weight { + Weight::from_parts(1_317_000_u64, 0) + } + pub(crate) fn clear_origin() -> Weight { + Weight::from_parts(1_281_000_u64, 0) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn report_error() -> Weight { + Weight::from_parts(11_755_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + // Storage: `PolkadotXcm::AssetTraps` (r:1 w:1) + // Proof: `PolkadotXcm::AssetTraps` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn claim_asset() -> Weight { + Weight::from_parts(10_055_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + pub(crate) fn trap() -> Weight { + Weight::from_parts(1_300_000_u64, 0) + } + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:1 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn subscribe_version() -> Weight { + Weight::from_parts(16_900_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + // Storage: `PolkadotXcm::VersionNotifyTargets` (r:0 w:1) + // Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + pub(crate) fn unsubscribe_version() -> Weight { + Weight::from_parts(4_111_000_u64, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + pub(crate) fn burn_asset() -> Weight { + Weight::from_parts(2_086_000_u64, 0) + } + pub(crate) fn expect_asset() -> Weight { + Weight::from_parts(1_475_000_u64, 0) + } + pub(crate) fn expect_origin() -> Weight { + Weight::from_parts(1_294_000_u64, 0) + } + pub(crate) fn expect_error() -> Weight { + Weight::from_parts(1_272_000_u64, 0) + } + pub(crate) fn expect_transact_status() -> Weight { + Weight::from_parts(1_458_000_u64, 0) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn query_pallet() -> Weight { + Weight::from_parts(19_874_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + pub(crate) fn expect_pallet() -> Weight { + Weight::from_parts(7_640_000_u64, 0) + } + // Storage: `ParachainInfo::ParachainId` (r:1 w:0) + // Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + // Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + // Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + // Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + // Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + pub(crate) fn report_transact_status() -> Weight { + Weight::from_parts(12_245_000_u64, 0) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + pub(crate) fn clear_transact_status() -> Weight { + Weight::from_parts(1_374_000_u64, 0) + } + pub(crate) fn set_topic() -> Weight { + Weight::from_parts(1_309_000_u64, 0) + } + pub(crate) fn clear_topic() -> Weight { + Weight::from_parts(1_306_000_u64, 0) + } + pub(crate) fn set_fees_mode() -> Weight { + Weight::from_parts(1_308_000_u64, 0) + } + pub(crate) fn unpaid_execution() -> Weight { + Weight::from_parts(1_316_000_u64, 0) + } +} diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 21a2c22a..7e5f6a44 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -23,7 +23,7 @@ use xcm_builder::{ FungiblesAdapter, IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, - WithComputedOrigin, + WeightInfoBounds, WithComputedOrigin, }; use xcm_executor::{ traits::{ConvertLocation, WithOriginFilter}, @@ -103,10 +103,6 @@ pub type XcmOriginToTransactDispatchOrigin = ( ); parameter_types! { - // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate. - // The default POV size used by Polkadot/Kusama was 64 kB but that has been updated here: https://github.com/paritytech/polkadot/pull/7081 - // We should properly benchmark instructions and get rid of fixed weights. - pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 1024); pub const MaxInstructions: u32 = 100; pub const MaxAssetsIntoHolding: u32 = 64; } @@ -201,7 +197,11 @@ impl xcm_executor::Config for XcmConfig { type IsTeleporter = (); // Teleporting is disabled. type UniversalLocation = UniversalLocation; type Barrier = Barrier; - type Weigher = FixedWeightBounds; + type Weigher = WeightInfoBounds< + crate::weights::xcm::NeurowebXcmWeight, + RuntimeCall, + MaxInstructions, + >; type Trader = UsingComponents; type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; @@ -251,7 +251,11 @@ impl pallet_xcm::Config for Runtime { type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Nothing; type XcmReserveTransferFilter = Everything; - type Weigher = FixedWeightBounds; + type Weigher = WeightInfoBounds< + crate::weights::xcm::NeurowebXcmWeight, + RuntimeCall, + MaxInstructions, + >; type UniversalLocation = UniversalLocation; type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; From 12d3bf1abe2692ff825f6ca49a413221560252b8 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 18 Aug 2025 22:41:17 +0200 Subject: [PATCH 57/89] cleanup --- runtime/src/weights/xcm/mod.rs | 3 +-- runtime/src/xcm_config.rs | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/runtime/src/weights/xcm/mod.rs b/runtime/src/weights/xcm/mod.rs index e3bb346b..24d28836 100644 --- a/runtime/src/weights/xcm/mod.rs +++ b/runtime/src/weights/xcm/mod.rs @@ -20,7 +20,6 @@ use crate::{xcm_config::MaxAssetsIntoHolding, Runtime}; use frame_support::weights::Weight; use pallet_xcm_benchmarks_fungible::WeightInfo as XcmFungibleWeight; use pallet_xcm_benchmarks_generic::WeightInfo as XcmGeneric; -use sp_std::vec; use sp_std::vec::Vec; use xcm::latest::InteriorLocation; use xcm::v4::{QueryId, Response, WeightLimit, WildFungibility, Xcm, XcmWeightInfo}; @@ -136,7 +135,7 @@ impl XcmWeightInfo for NeurowebXcmWeight { assets.weigh_assets(XcmFungibleWeight::::deposit_reserve_asset()) } - fn exchange_asset(_give: &AssetFilter, _receive: &Assets, is_sell: &bool) -> Weight { + fn exchange_asset(_give: &AssetFilter, _receive: &Assets, _is_sell: &bool) -> Weight { Weight::MAX } diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 7e5f6a44..2edcfe33 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -1,29 +1,26 @@ use super::{ AccountId, AllPalletsWithSystem, Balance, Balances, DealWithFees, ForeignAssets, ParachainInfo, ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, - XcmpQueue, MILLIOTP, UNITS, + XcmpQueue, }; -use crate::assets::EXISTENTIAL_DEPOSIT; use codec::Encode; use core::marker::PhantomData; use frame_support::{ parameter_types, traits::{ConstU32, Contains, Everything, Get, Nothing, PalletInfoAccess}, - weights::Weight, }; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; -use scale_info::prelude::vec; use sp_core::blake2_256; use xcm::latest::prelude::*; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FixedWeightBounds, FungibleAdapter, - FungiblesAdapter, IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, - SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, - WeightInfoBounds, WithComputedOrigin, + AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FungibleAdapter, FungiblesAdapter, IsConcrete, + NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, + SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, + SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, + WithComputedOrigin, }; use xcm_executor::{ traits::{ConvertLocation, WithOriginFilter}, @@ -366,6 +363,12 @@ pub fn ensure_is_remote( Ok((remote_net, remote_dest)) } +#[cfg(feature = "runtime-benchmarks")] +use super::UNITS; +#[cfg(feature = "runtime-benchmarks")] +use crate::assets::EXISTENTIAL_DEPOSIT; +#[cfg(feature = "runtime-benchmarks")] +use scale_info::prelude::vec; #[cfg(feature = "runtime-benchmarks")] parameter_types! { pub const TrustedTeleporter: Option<(Location, Asset)> = Some(( From df6c1166455a19404379481bf31ca1054c1f665e Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Tue, 19 Aug 2025 12:00:37 +0200 Subject: [PATCH 58/89] fix chain_id --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 710bf91a..cb5693cd 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -770,7 +770,7 @@ impl> FindAuthor for FindAuthorTruncated { } parameter_types! { - pub const ChainId: u64 = 2043; + pub const ChainId: u64 = 20430; pub BlockGasLimit: U256 = U256::from(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT.ref_time() / WEIGHT_PER_GAS); pub PrecompilesValue: FrontierPrecompiles = FrontierPrecompiles::<_>::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); From 66e2228f6e6b3f46ecef64ff24a9f10a11335de4 Mon Sep 17 00:00:00 2001 From: cl0w Date: Wed, 20 Aug 2025 18:14:14 +0200 Subject: [PATCH 59/89] add tests for pallet accounts --- runtime/src/assets.rs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 58963a9b..47379f6f 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -413,10 +413,12 @@ impl FungiblesUnbalanced for MultiCurrencyAdapter { } } +// gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq pub fn local_assets_pallet_account() -> AccountId { LocalAssetsPalletId::get().into_account_truncating() } +// gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz pub fn foreign_assets_pallet_account() -> AccountId { ForeignAssetsPalletId::get().into_account_truncating() } @@ -479,3 +481,29 @@ impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHel MultiLocation::new(1, Junction::Parachain(id)) } } + +#[cfg(test)] +mod tests { + use super::*; + use sp_runtime::traits::AccountIdConversion; + use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; + + #[test] + fn test_local_assets_pallet_account() { + let local_assets_pallet_account_raw = local_assets_pallet_account(); + let local_assets_pallet_account_formatted = local_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); + println!("{:?}", sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())).to_ss58check_with_version(Ss58AddressFormat::custom(101))); + + assert_eq!(local_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); + assert_eq!(local_assets_pallet_account_formatted, "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq"); + } + + #[test] + fn test_foreign_assets_pallet_account() { + let foreign_assets_pallet_account_raw = foreign_assets_pallet_account(); + let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); + + assert_eq!(foreign_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); + assert_eq!(foreign_assets_pallet_account_formatted, "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz"); + } +} From dc44571cdf7626a04fdc9aa6e89d8ad4605882ba Mon Sep 17 00:00:00 2001 From: cl0w Date: Wed, 20 Aug 2025 19:54:22 +0200 Subject: [PATCH 60/89] xcm reserves config --- runtime/src/xcm_config.rs | 57 ++++++++++++++++++++++++++++++++++----- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 2edcfe33..8b3bb8cd 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -5,6 +5,7 @@ use super::{ }; use codec::Encode; use core::marker::PhantomData; +use frame_support::traits::ContainsPair; use frame_support::{ parameter_types, traits::{ConstU32, Contains, Everything, Get, Nothing, PalletInfoAccess}, @@ -13,15 +14,18 @@ use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; use sp_core::blake2_256; -use xcm::latest::prelude::*; + +use xcm::v4::prelude::*; +use xcm::v4::InteriorLocation; use xcm_builder::{ AccountId32Aliases, AllowKnownQueryResponses, AllowSubscriptionsFrom, - AllowTopLevelPaidExecutionFrom, EnsureXcmOrigin, FungibleAdapter, FungiblesAdapter, IsConcrete, - NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, - SiblingParachainConvertsVia, SignedAccountId32AsNative, SignedToAccountId32, - SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, - WithComputedOrigin, + AllowTopLevelPaidExecutionFrom, Case, EnsureXcmOrigin, FungibleAdapter, FungiblesAdapter, + IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, + SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, + WeightInfoBounds, WithComputedOrigin, }; + use xcm_executor::{ traits::{ConvertLocation, WithOriginFilter}, XcmExecutor, @@ -183,6 +187,44 @@ impl Contains for SafeCallFilter { } } +/// Matches foreign assets from a given origin. +/// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. +pub struct IsForeignConcreteAssetFrom(PhantomData); +impl ContainsPair for IsForeignConcreteAssetFrom +where + Origin: Get, +{ + fn contains(asset: &Asset, origin: &Location) -> bool { + let loc = Origin::get(); + &loc == origin + && matches!( + asset, + Asset { + id: AssetId(Location { parents: 2, .. }), + fun: Fungible(_) + }, + ) + } +} + +parameter_types! { + /// Location of Asset Hub + pub AssetHubLocation: Location = (Parent, Parachain(1000)).into(); + pub RelayChainNativeAssetFromAssetHub: (AssetFilter, Location) = ( + (Asset { id: AssetId(RelayLocation::get()), fun: Fungible(1)}).into(), + AssetHubLocation::get() + ); +} + +type Reserves = ( + // Relaychain (DOT) from Asset Hub + Case, + // Assets bridged from different consensus systems held in reserve on Asset Hub. + IsForeignConcreteAssetFrom, + // Assets which the reserve is the same as the origin. + NativeAsset, +); + pub struct XcmConfig; impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; @@ -190,7 +232,7 @@ impl xcm_executor::Config for XcmConfig { // How to withdraw and deposit an asset. type AssetTransactor = AssetTransactors; type OriginConverter = XcmOriginToTransactDispatchOrigin; - type IsReserve = NativeAsset; + type IsReserve = Reserves; type IsTeleporter = (); // Teleporting is disabled. type UniversalLocation = UniversalLocation; type Barrier = Barrier; @@ -369,6 +411,7 @@ use super::UNITS; use crate::assets::EXISTENTIAL_DEPOSIT; #[cfg(feature = "runtime-benchmarks")] use scale_info::prelude::vec; + #[cfg(feature = "runtime-benchmarks")] parameter_types! { pub const TrustedTeleporter: Option<(Location, Asset)> = Some(( From fe793e37025896549c88be030e700ada92d277d3 Mon Sep 17 00:00:00 2001 From: cl0w Date: Wed, 20 Aug 2025 19:56:45 +0200 Subject: [PATCH 61/89] reduce assets deposits --- runtime/src/assets.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 47379f6f..c560da46 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -76,9 +76,9 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const AssetDeposit: Balance = 100 * OTP; - pub const AssetAccountDeposit: Balance = 100 * OTP; - pub const ApprovalDeposit: Balance = 100 * OTP; + pub const AssetDeposit: Balance = OTP; + pub const AssetAccountDeposit: Balance = OTP; + pub const ApprovalDeposit: Balance = OTP; pub const StringLimit: u32 = 50; pub const MetadataDepositBase: Balance = 10 * OTP; pub const MetadataDepositPerByte: Balance = 1 * OTP; From 0035acd84c7fed377b297ec26c8e54b09a91942a Mon Sep 17 00:00:00 2001 From: cl0w Date: Wed, 20 Aug 2025 19:58:26 +0200 Subject: [PATCH 62/89] bump runtime version --- Cargo.lock | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 58f67fc2..fac205ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "139.0.0" +version = "140.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 9ef53dff..486162bb 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "139.0.0" +version = "140.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index cb5693cd..e09918d6 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -147,7 +147,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 139, + spec_version: 140, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From ab61c68352877174f47c23a12b9cc2424d83fb79 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 22 Aug 2025 13:01:45 +0200 Subject: [PATCH 63/89] fmt --- node/build.rs | 4 +- node/src/chain_spec.rs | 381 +++--- node/src/cli.rs | 30 +- node/src/command.rs | 122 +- node/src/main.rs | 2 +- node/src/rpc.rs | 206 ++-- node/src/service.rs | 780 ++++++------ pallets/evm-accounts/src/lib.rs | 727 ++++++------ pallets/evm-accounts/src/mock.rs | 150 +-- pallets/evm-accounts/src/tests.rs | 315 ++--- pallets/evm-utility/macro/src/lib.rs | 87 +- pallets/evm-utility/src/lib.rs | 22 +- pallets/wrapper/src/lib.rs | 14 +- pallets/wrapper/src/tests.rs | 4 +- pallets/xc-asset-config/src/benchmarking.rs | 2 +- pallets/xc-asset-config/src/lib.rs | 6 +- pallets/xc-asset-config/src/migrations.rs | 2 +- pallets/xc-asset-config/src/mock.rs | 2 +- pallets/xc-asset-config/src/tests.rs | 32 +- precompiles/assets-erc20/src/lib.rs | 46 +- precompiles/assets-erc20/src/mock.rs | 12 +- precompiles/assets-erc20/src/tests.rs | 75 +- precompiles/utils/src/data.rs | 2 +- precompiles/utils/src/lib.rs | 4 +- precompiles/utils/src/testing.rs | 2 +- precompiles/utils/src/tests.rs | 2 +- runtime/build.rs | 10 +- runtime/src/assets.rs | 44 +- runtime/src/lib.rs | 1171 ++++++++++--------- runtime/src/precompiles.rs | 61 +- runtime/src/weights/block_weights.rs | 54 +- runtime/src/weights/extrinsic_weights.rs | 54 +- runtime/src/weights/mod.rs | 10 +- runtime/src/weights/paritydb_weights.rs | 82 +- runtime/src/weights/rocksdb_weights.rs | 82 +- 35 files changed, 2373 insertions(+), 2226 deletions(-) diff --git a/node/build.rs b/node/build.rs index e3bfe311..f9d839f9 100644 --- a/node/build.rs +++ b/node/build.rs @@ -1,7 +1,7 @@ use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed}; fn main() { - generate_cargo_keys(); + generate_cargo_keys(); - rerun_if_git_head_changed(); + rerun_if_git_head_changed(); } diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index f70c4c8a..607f4274 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -1,6 +1,5 @@ use cumulus_primitives_core::ParaId; -use neuroweb_runtime::{AccountId, AuraId, - EVMConfig, Signature, assets::EXISTENTIAL_DEPOSIT}; +use neuroweb_runtime::{assets::EXISTENTIAL_DEPOSIT, AccountId, AuraId, EVMConfig, Signature}; use sc_chain_spec::{ChainSpecExtension, ChainSpecGroup}; use sc_service::ChainType; use serde::{Deserialize, Serialize}; @@ -10,33 +9,33 @@ use std::{collections::BTreeMap, str::FromStr}; /// Specialized `ChainSpec` for the normal parachain runtime. pub type ChainSpec = - sc_service::GenericChainSpec; + sc_service::GenericChainSpec; /// The default XCM version to set in genesis config. const SAFE_XCM_VERSION: u32 = xcm::prelude::XCM_VERSION; /// Helper function to generate a crypto pair from seed pub fn get_from_seed(seed: &str) -> ::Public { - TPublic::Pair::from_string(&format!("//{}", seed), None) - .expect("static values are valid; qed") - .public() + TPublic::Pair::from_string(&format!("//{}", seed), None) + .expect("static values are valid; qed") + .public() } /// The extensions for the [`ChainSpec`]. #[derive(Debug, Clone, PartialEq, Serialize, Deserialize, ChainSpecGroup, ChainSpecExtension)] #[serde(deny_unknown_fields)] pub struct Extensions { - /// The relay chain of the Parachain. - pub relay_chain: String, - /// The id of the Parachain. - pub para_id: u32, + /// The relay chain of the Parachain. + pub relay_chain: String, + /// The id of the Parachain. + pub para_id: u32, } impl Extensions { - /// Try to get the extension from the given `ChainSpec`. - pub fn try_get(chain_spec: &dyn sc_service::ChainSpec) -> Option<&Self> { - sc_chain_spec::get_extension(chain_spec.extensions()) - } + /// Try to get the extension from the given `ChainSpec`. + pub fn try_get(chain_spec: &dyn sc_service::ChainSpec) -> Option<&Self> { + sc_chain_spec::get_extension(chain_spec.extensions()) + } } type AccountPublic = ::Signer; @@ -45,204 +44,208 @@ type AccountPublic = ::Signer; /// /// This function's return type must always match the session keys of the chain in tuple format. pub fn get_collator_keys_from_seed(seed: &str) -> AuraId { - get_from_seed::(seed) + get_from_seed::(seed) } /// Helper function to generate an account ID from seed pub fn get_account_id_from_seed(seed: &str) -> AccountId where - AccountPublic: From<::Public>, + AccountPublic: From<::Public>, { - AccountPublic::from(get_from_seed::(seed)).into_account() + AccountPublic::from(get_from_seed::(seed)).into_account() } /// Generate the session keys from individual elements. /// /// The input must be a tuple of individual keys (a single arg for now since we have just one key). pub fn template_session_keys(keys: AuraId) -> neuroweb_runtime::SessionKeys { - neuroweb_runtime::SessionKeys { aura: keys } + neuroweb_runtime::SessionKeys { aura: keys } } pub fn development_config() -> ChainSpec { - let mut properties = sc_chain_spec::Properties::new(); - properties.insert("tokenSymbol".into(), "NEURO".into()); - properties.insert("tokenDecimals".into(), 12.into()); - properties.insert("ss58Format".into(), 101.into()); + let mut properties = sc_chain_spec::Properties::new(); + properties.insert("tokenSymbol".into(), "NEURO".into()); + properties.insert("tokenDecimals".into(), 12.into()); + properties.insert("ss58Format".into(), 101.into()); - ChainSpec::builder( - neuroweb_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!"), - Extensions { - relay_chain: "rococo-local".into(), // You MUST set this to the correct network! - para_id: 2043, - }, - ) - .with_name("Development") - .with_id("dev") - .with_chain_type(ChainType::Development) - .with_properties(properties) - .with_genesis_config(testnet_genesis( - vec![ - ( - get_account_id_from_seed::("Alice"), - get_collator_keys_from_seed("Alice"), - ), - ( - get_account_id_from_seed::("Bob"), - get_collator_keys_from_seed("Bob"), - ), - ], - get_account_id_from_seed::("Alice"), - vec![ - get_account_id_from_seed::("Alice"), - get_account_id_from_seed::("Bob"), - get_account_id_from_seed::("Charlie"), - get_account_id_from_seed::("Dave"), - get_account_id_from_seed::("Eve"), - get_account_id_from_seed::("Ferdie"), - get_account_id_from_seed::("Alice//stash"), - get_account_id_from_seed::("Bob//stash"), - get_account_id_from_seed::("Charlie//stash"), - get_account_id_from_seed::("Dave//stash"), - get_account_id_from_seed::("Eve//stash"), - get_account_id_from_seed::("Ferdie//stash"), - ], - 2043.into(), - )) - .build() + ChainSpec::builder( + neuroweb_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!"), + Extensions { + relay_chain: "rococo-local".into(), // You MUST set this to the correct network! + para_id: 2043, + }, + ) + .with_name("Development") + .with_id("dev") + .with_chain_type(ChainType::Development) + .with_properties(properties) + .with_genesis_config(testnet_genesis( + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], + get_account_id_from_seed::("Alice"), + vec![ + get_account_id_from_seed::("Alice"), + get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), + get_account_id_from_seed::("Alice//stash"), + get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), + ], + 2043.into(), + )) + .build() } pub fn local_testnet_config() -> ChainSpec { - let mut properties = sc_chain_spec::Properties::new(); - properties.insert("tokenSymbol".into(), "NEURO".into()); - properties.insert("tokenDecimals".into(), 12.into()); - properties.insert("ss58Format".into(), 101.into()); + let mut properties = sc_chain_spec::Properties::new(); + properties.insert("tokenSymbol".into(), "NEURO".into()); + properties.insert("tokenDecimals".into(), 12.into()); + properties.insert("ss58Format".into(), 101.into()); - ChainSpec::builder( - neuroweb_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!"), - Extensions { - relay_chain: "rococo-local".into(), // You MUST set this to the correct network! - para_id: 2043, - }, - ) - .with_name("NeuroWeb Testnet") - .with_id("neuroweb_testnet") - .with_chain_type(ChainType::Local) - .with_properties(properties) - .with_genesis_config(testnet_genesis( - vec![ - ( - get_account_id_from_seed::("Alice"), - get_collator_keys_from_seed("Alice"), - ), - ( - get_account_id_from_seed::("Bob"), - get_collator_keys_from_seed("Bob"), - ), - ], - get_account_id_from_seed::("Alice"), - vec![ - get_account_id_from_seed::("Alice"), - get_account_id_from_seed::("Bob"), - get_account_id_from_seed::("Charlie"), - get_account_id_from_seed::("Dave"), - get_account_id_from_seed::("Eve"), - get_account_id_from_seed::("Ferdie"), - get_account_id_from_seed::("Alice//stash"), - get_account_id_from_seed::("Bob//stash"), - get_account_id_from_seed::("Charlie//stash"), - get_account_id_from_seed::("Dave//stash"), - get_account_id_from_seed::("Eve//stash"), - get_account_id_from_seed::("Ferdie//stash"), - ], - 2043.into(), - )) - .build() + ChainSpec::builder( + neuroweb_runtime::WASM_BINARY.expect("WASM binary was not build, please build it!"), + Extensions { + relay_chain: "rococo-local".into(), // You MUST set this to the correct network! + para_id: 2043, + }, + ) + .with_name("NeuroWeb Testnet") + .with_id("neuroweb_testnet") + .with_chain_type(ChainType::Local) + .with_properties(properties) + .with_genesis_config(testnet_genesis( + vec![ + ( + get_account_id_from_seed::("Alice"), + get_collator_keys_from_seed("Alice"), + ), + ( + get_account_id_from_seed::("Bob"), + get_collator_keys_from_seed("Bob"), + ), + ], + get_account_id_from_seed::("Alice"), + vec![ + get_account_id_from_seed::("Alice"), + get_account_id_from_seed::("Bob"), + get_account_id_from_seed::("Charlie"), + get_account_id_from_seed::("Dave"), + get_account_id_from_seed::("Eve"), + get_account_id_from_seed::("Ferdie"), + get_account_id_from_seed::("Alice//stash"), + get_account_id_from_seed::("Bob//stash"), + get_account_id_from_seed::("Charlie//stash"), + get_account_id_from_seed::("Dave//stash"), + get_account_id_from_seed::("Eve//stash"), + get_account_id_from_seed::("Ferdie//stash"), + ], + 2043.into(), + )) + .build() } fn testnet_genesis( - invulnerables: Vec<(AccountId, AuraId)>, - _root_key: AccountId, - endowed_accounts: Vec, - id: ParaId, + invulnerables: Vec<(AccountId, AuraId)>, + _root_key: AccountId, + endowed_accounts: Vec, + id: ParaId, ) -> serde_json::Value { - let config = neuroweb_runtime::RuntimeGenesisConfig { - system: Default::default(), - balances: neuroweb_runtime::BalancesConfig { - balances: endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect(), - }, - parachain_info: neuroweb_runtime::ParachainInfoConfig { - parachain_id: id, - ..Default::default() - }, - collator_selection: neuroweb_runtime::CollatorSelectionConfig { - invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), - candidacy_bond: EXISTENTIAL_DEPOSIT * 16, - ..Default::default() - }, - session: neuroweb_runtime::SessionConfig { - keys: invulnerables - .into_iter() - .map(|(acc, aura)| { - ( - acc.clone(), // account id - acc, // validator id - template_session_keys(aura), // session keys - ) - }) - .collect(), - }, - // no need to pass anything to aura, in fact it will panic if we do. Session will take care - // of this. - aura: Default::default(), - aura_ext: Default::default(), - parachain_system: Default::default(), - polkadot_xcm: neuroweb_runtime::PolkadotXcmConfig { - safe_xcm_version: Some(SAFE_XCM_VERSION), - ..Default::default() - }, - vesting: Default::default(), - treasury: Default::default(), - evm: EVMConfig { - accounts: { - let mut map = BTreeMap::new(); - map.insert( - // H160 address of Alice dev account - // Derived from SS58 (42 prefix) address - // SS58: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY - // hex: 0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d - // Using the full hex key, truncating to the first 20 bytes (the first 40 hex chars) - H160::from_str("d43593c715fdd31c61141abd04a99fd6822c8558") - .expect("internal H160 is valid; qed"), - fp_evm::GenesisAccount { - balance: U256::from_str("0xffffffffffffffffffffffffffffffff") - .expect("internal U256 is valid; qed"), - code: Default::default(), - nonce: Default::default(), - storage: Default::default(), - }, - ); - map.insert( - // H160 address of CI test runner account - H160::from_str("6be02d1d3665660d22ff9624b7be0551ee1ac91b") - .expect("internal H160 is valid; qed"), - fp_evm::GenesisAccount { - balance: U256::from_str("0xffffffffffffffffffffffffffffffff") - .expect("internal U256 is valid; qed"), - code: Default::default(), - nonce: Default::default(), - storage: Default::default(), - }, - ); - map - }, - ..Default::default() - }, - ethereum: Default::default(), - base_fee: Default::default(), - council: Default::default(), - democracy: Default::default(), - transaction_payment: Default::default(), - }; + let config = neuroweb_runtime::RuntimeGenesisConfig { + system: Default::default(), + balances: neuroweb_runtime::BalancesConfig { + balances: endowed_accounts + .iter() + .cloned() + .map(|k| (k, 1 << 60)) + .collect(), + }, + parachain_info: neuroweb_runtime::ParachainInfoConfig { + parachain_id: id, + ..Default::default() + }, + collator_selection: neuroweb_runtime::CollatorSelectionConfig { + invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), + candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + ..Default::default() + }, + session: neuroweb_runtime::SessionConfig { + keys: invulnerables + .into_iter() + .map(|(acc, aura)| { + ( + acc.clone(), // account id + acc, // validator id + template_session_keys(aura), // session keys + ) + }) + .collect(), + }, + // no need to pass anything to aura, in fact it will panic if we do. Session will take care + // of this. + aura: Default::default(), + aura_ext: Default::default(), + parachain_system: Default::default(), + polkadot_xcm: neuroweb_runtime::PolkadotXcmConfig { + safe_xcm_version: Some(SAFE_XCM_VERSION), + ..Default::default() + }, + vesting: Default::default(), + treasury: Default::default(), + evm: EVMConfig { + accounts: { + let mut map = BTreeMap::new(); + map.insert( + // H160 address of Alice dev account + // Derived from SS58 (42 prefix) address + // SS58: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY + // hex: 0xd43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d + // Using the full hex key, truncating to the first 20 bytes (the first 40 hex chars) + H160::from_str("d43593c715fdd31c61141abd04a99fd6822c8558") + .expect("internal H160 is valid; qed"), + fp_evm::GenesisAccount { + balance: U256::from_str("0xffffffffffffffffffffffffffffffff") + .expect("internal U256 is valid; qed"), + code: Default::default(), + nonce: Default::default(), + storage: Default::default(), + }, + ); + map.insert( + // H160 address of CI test runner account + H160::from_str("6be02d1d3665660d22ff9624b7be0551ee1ac91b") + .expect("internal H160 is valid; qed"), + fp_evm::GenesisAccount { + balance: U256::from_str("0xffffffffffffffffffffffffffffffff") + .expect("internal U256 is valid; qed"), + code: Default::default(), + nonce: Default::default(), + storage: Default::default(), + }, + ); + map + }, + ..Default::default() + }, + ethereum: Default::default(), + base_fee: Default::default(), + council: Default::default(), + democracy: Default::default(), + transaction_payment: Default::default(), + }; - serde_json::to_value(&config).expect("Could not build genesis config.") + serde_json::to_value(&config).expect("Could not build genesis config.") } diff --git a/node/src/cli.rs b/node/src/cli.rs index c444ba23..fa1594cb 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -19,16 +19,16 @@ pub enum Subcommand { ImportBlocks(sc_cli::ImportBlocksCmd), /// Revert the chain to a previous state. - Revert(sc_cli::RevertCmd), + Revert(sc_cli::RevertCmd), /// Remove the whole chain. PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisHeadCommand), + ExportGenesisState(cumulus_client_cli::ExportGenesisHeadCommand), - /// Export the genesis wasm of the parachain. - ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), + /// Export the genesis wasm of the parachain. + ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), /// Sub-commands concerned with benchmarking. /// The pallet benchmarking moved to the `pallet` sub-command. @@ -36,8 +36,8 @@ pub enum Subcommand { Benchmark(frame_benchmarking_cli::BenchmarkCmd), /// Try some testing command against a specified runtime state. - #[cfg(feature = "try-runtime")] - TryRuntime(try_runtime_cli::TryRuntimeCmd), + #[cfg(feature = "try-runtime")] + TryRuntime(try_runtime_cli::TryRuntimeCmd), } #[derive(Debug, clap::Parser)] @@ -53,15 +53,15 @@ pub struct Cli { #[command(flatten)] pub run: cumulus_client_cli::RunCmd, - /// Disable automatic hardware benchmarks. - /// - /// By default these benchmarks are automatically ran at startup and measure - /// the CPU speed, the memory bandwidth and the disk speed. - /// - /// The results are then printed out in the logs, and also sent as part of - /// telemetry, if telemetry is enabled. - #[arg(long)] - pub no_hardware_benchmarks: bool, + /// Disable automatic hardware benchmarks. + /// + /// By default these benchmarks are automatically ran at startup and measure + /// the CPU speed, the memory bandwidth and the disk speed. + /// + /// The results are then printed out in the logs, and also sent as part of + /// telemetry, if telemetry is enabled. + #[arg(long)] + pub no_hardware_benchmarks: bool, /// Relay chain arguments #[arg(raw = true)] diff --git a/node/src/command.rs b/node/src/command.rs index 6a85f361..6511c2c2 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -1,19 +1,22 @@ -use std::net::SocketAddr; +use crate::{ + chain_spec, + cli::{Cli, RelayChainCli, Subcommand}, + service::{new_partial, AdditionalConfig}, +}; use cumulus_primitives_core::ParaId; use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE}; -use log::{info}; +use log::info; use neuroweb_runtime::Block; use sc_cli::{ ChainSpec, CliConfiguration, DefaultConfigurationValues, ImportParams, KeystoreParams, NetworkParams, Result, SharedParams, SubstrateCli, }; -use sc_service::{PartialComponents, config::{BasePath, PrometheusConfig}}; -use sp_runtime::traits::AccountIdConversion; -use crate::{ - chain_spec, - cli::{Cli, RelayChainCli, Subcommand}, - service::{new_partial, AdditionalConfig}, +use sc_service::{ + config::{BasePath, PrometheusConfig}, + PartialComponents, }; +use sp_runtime::traits::AccountIdConversion; +use std::net::SocketAddr; fn load_spec(id: &str) -> std::result::Result, String> { Ok(match id { @@ -41,8 +44,8 @@ impl SubstrateCli for Cli { passed to the parachain node, while the arguments provided after -- will be passed \ to the relay chain node.\n\n\ {} -- ", - Self::executable_name() - ) + Self::executable_name() + ) } fn author() -> String { @@ -76,8 +79,9 @@ impl SubstrateCli for RelayChainCli { "NeuroWeb \n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relay chain node.\n\n\ - {} -- ", Self::executable_name() - ) + {} -- ", + Self::executable_name() + ) } fn author() -> String { @@ -159,27 +163,24 @@ pub fn run() -> Result<()> { }) } Some(Subcommand::Revert(cmd)) => { - construct_async_run!(|components, cli, cmd, config| { - Ok(cmd.run(components.client, components.backend, None)) - }) - }, + construct_async_run!(|components, cli, cmd, config| { + Ok(cmd.run(components.client, components.backend, None)) + }) + } Some(Subcommand::ExportGenesisState(cmd)) => { let runner = cli.create_runner(cmd)?; runner.sync_run(|config| { - let PartialComponents { client, .. } = - new_partial( - &config, - )?; + let PartialComponents { client, .. } = new_partial(&config)?; cmd.run(client) - }) - }, - Some(Subcommand::ExportGenesisWasm(cmd)) => { - let runner = cli.create_runner(cmd)?; - runner.sync_run(|_config| { - let spec = cli.load_spec(&cmd.shared_params.chain.clone().unwrap_or_default())?; - cmd.run(&*spec) - }) - }, + }) + } + Some(Subcommand::ExportGenesisWasm(cmd)) => { + let runner = cli.create_runner(cmd)?; + runner.sync_run(|_config| { + let spec = cli.load_spec(&cmd.shared_params.chain.clone().unwrap_or_default())?; + cmd.run(&*spec) + }) + } Some(Subcommand::Benchmark(cmd)) => { let runner = cli.create_runner(cmd)?; use sp_runtime::traits::HashingFor; @@ -208,14 +209,15 @@ pub fn run() -> Result<()> { cmd.run(partials.client) }), #[cfg(not(feature = "runtime-benchmarks"))] - BenchmarkCmd::Storage(_) => - return Err(sc_cli::Error::Input( - "Compile with --features=runtime-benchmarks \ + BenchmarkCmd::Storage(_) => { + return Err(sc_cli::Error::Input( + "Compile with --features=runtime-benchmarks \ to enable storage benchmarks." - .into(), - ) - .into()), - #[cfg(feature = "runtime-benchmarks")] + .into(), + ) + .into()) + } + #[cfg(feature = "runtime-benchmarks")] BenchmarkCmd::Storage(cmd) => runner.sync_run(|config| { let partials = new_partial(&config)?; let db = partials.backend.expose_db(); @@ -223,26 +225,26 @@ pub fn run() -> Result<()> { cmd.run(config, partials.client.clone(), db, storage) }), - BenchmarkCmd::Machine(cmd) => - runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())), + BenchmarkCmd::Machine(cmd) => { + runner.sync_run(|config| cmd.run(&config, SUBSTRATE_REFERENCE_HARDWARE.clone())) + } // NOTE: this allows the Client to leniently implement - // new benchmark commands without requiring a companion MR. - #[allow(unreachable_patterns)] - _ => Err("Benchmarking sub-command unsupported".into()), + // new benchmark commands without requiring a companion MR. + #[allow(unreachable_patterns)] + _ => Err("Benchmarking sub-command unsupported".into()), } - }, + } None => { let runner = cli.create_runner(&cli.run.normalize())?; let collator_options = cli.run.collator_options(); runner.run_node_until_exit(|config| async move { - - let hwbench = (!cli.no_hardware_benchmarks).then_some( - config.database.path().map(|database_path| { + let hwbench = (!cli.no_hardware_benchmarks) + .then_some(config.database.path().map(|database_path| { let _ = std::fs::create_dir_all(&database_path); sc_sysinfo::gather_hwbench(Some(database_path)) - }) - ).flatten(); + })) + .flatten(); let para_id = chain_spec::Extensions::try_get(&*config.chain_spec) .map(|e| e.para_id) @@ -258,7 +260,9 @@ pub fn run() -> Result<()> { let id = ParaId::from(para_id); let parachain_account = - AccountIdConversion::::into_account_truncating(&id); + AccountIdConversion::::into_account_truncating( + &id, + ); let tokio_handle = config.tokio_handle.clone(); let polkadot_config = @@ -278,20 +282,20 @@ pub fn run() -> Result<()> { let additional_config = AdditionalConfig { proposer_block_size_limit: cli.proposer_block_size_limit, - proposer_soft_deadline_percent: cli.proposer_soft_deadline_percent + proposer_soft_deadline_percent: cli.proposer_soft_deadline_percent, }; crate::service::start_parachain_node( - config, - polkadot_config, - collator_options, - id, - hwbench, - additional_config - ) - .await - .map(|r| r.0) - .map_err(Into::into) + config, + polkadot_config, + collator_options, + id, + hwbench, + additional_config, + ) + .await + .map(|r| r.0) + .map_err(Into::into) }) } } diff --git a/node/src/main.rs b/node/src/main.rs index b895177b..3ef4f5d5 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -10,5 +10,5 @@ mod command; mod rpc; fn main() -> sc_cli::Result<()> { - command::run() + command::run() } diff --git a/node/src/rpc.rs b/node/src/rpc.rs index b56421bb..3a283c10 100644 --- a/node/src/rpc.rs +++ b/node/src/rpc.rs @@ -7,114 +7,125 @@ use std::sync::Arc; -use neuroweb_runtime::{opaque::Block, AccountId, Balance, Nonce}; use cumulus_primitives_parachain_inherent::ParachainInherentData; use cumulus_test_relay_sproof_builder::RelayStateSproofBuilder; -use polkadot_primitives::PersistedValidationData; -use sc_client_api::{ - AuxStore, Backend, BlockchainEvents, StateBackend, StorageProvider, UsageProvider, -}; -pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; use fc_rpc::{ - pending::ConsensusDataProvider, EthBlockDataCacheTask, EthFilter, EthFilterApiServer, EthPubSub, - EthPubSubApiServer, Web3, Web3ApiServer, + pending::ConsensusDataProvider, EthBlockDataCacheTask, EthFilter, EthFilterApiServer, + EthPubSub, EthPubSubApiServer, Web3, Web3ApiServer, }; -use sp_consensus_aura::{sr25519::AuthorityId as AuraId, AuraApi}; -use sp_runtime::traits::BlakeTwo256; use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; +use fc_storage::StorageOverride; +use neuroweb_runtime::{opaque::Block, AccountId, Balance, Nonce}; +use polkadot_primitives::PersistedValidationData; +use sc_client_api::{ + AuxStore, Backend, BlockchainEvents, StateBackend, StorageProvider, UsageProvider, +}; +use sc_network::service::traits::NetworkService; use sc_network_sync::SyncingService; +pub use sc_rpc::{DenyUnsafe, SubscriptionTaskExecutor}; use sc_transaction_pool::{ChainApi, Pool}; use sc_transaction_pool_api::TransactionPool; use sp_api::{CallApiAt, ProvideRuntimeApi}; use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; -use sc_network::service::traits::NetworkService; -use fc_storage::StorageOverride; +use sp_consensus_aura::{sr25519::AuthorityId as AuraId, AuraApi}; +use sp_runtime::traits::BlakeTwo256; /// A type representing all RPC extensions. pub type RpcExtension = jsonrpsee::RpcModule<()>; /// Full client dependencies pub struct FullDeps { - /// The client instance to use. - pub client: Arc, - /// Transaction pool instance. - pub pool: Arc

, - /// Graph pool instance. - pub graph: Arc>, - /// Chain syncing service - pub sync: Arc>, - /// Whether to deny unsafe calls - pub deny_unsafe: DenyUnsafe, - /// The Node authority flag + /// The client instance to use. + pub client: Arc, + /// Transaction pool instance. + pub pool: Arc

, + /// Graph pool instance. + pub graph: Arc>, + /// Chain syncing service + pub sync: Arc>, + /// Whether to deny unsafe calls + pub deny_unsafe: DenyUnsafe, + /// The Node authority flag pub is_authority: bool, - /// Network service - pub network: Arc, - /// Backend. - pub backend: Arc>, - /// EthFilterApi pool. + /// Network service + pub network: Arc, + /// Backend. + pub backend: Arc>, + /// EthFilterApi pool. pub filter_pool: FilterPool, - /// Maximum fee history cache size. + /// Maximum fee history cache size. pub fee_history_cache_limit: u64, /// Fee history cache. pub fee_history_cache: FeeHistoryCache, - /// Ethereum data access storage_override. - pub storage_override: Arc>, - /// Cache for Ethereum block data. - pub block_data_cache: Arc>, + /// Ethereum data access storage_override. + pub storage_override: Arc>, + /// Cache for Ethereum block data. + pub block_data_cache: Arc>, } /// Instantiate all RPC extensions. pub fn create_full( - deps: FullDeps, - subscription_task_executor: SubscriptionTaskExecutor, - pubsub_notification_sinks: Arc< + deps: FullDeps, + subscription_task_executor: SubscriptionTaskExecutor, + pubsub_notification_sinks: Arc< fc_mapping_sync::EthereumBlockNotificationSinks< fc_mapping_sync::EthereumBlockNotification, >, >, - pending_consenus_data_provider: Box>, + pending_consenus_data_provider: Box>, ) -> Result> where - BE: Backend + 'static, - BE::State: StateBackend, - C: ProvideRuntimeApi - + UsageProvider - + HeaderBackend - + AuxStore - + BlockchainEvents - + CallApiAt - + HeaderMetadata - + Send - + Sync - + 'static, - C: StorageProvider, - C: sc_client_api::BlockBackend, - C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, - C::Api: substrate_frame_rpc_system::AccountNonceApi, - C::Api: BlockBuilder - + AuraApi, - C::Api: fp_rpc::EthereumRuntimeRPCApi, - C::Api: fp_rpc::ConvertTransactionRuntimeApi, - P: TransactionPool + Sync + Send + 'static, - A: ChainApi + 'static, + BE: Backend + 'static, + BE::State: StateBackend, + C: ProvideRuntimeApi + + UsageProvider + + HeaderBackend + + AuxStore + + BlockchainEvents + + CallApiAt + + HeaderMetadata + + Send + + Sync + + 'static, + C: StorageProvider, + C: sc_client_api::BlockBackend, + C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, + C::Api: substrate_frame_rpc_system::AccountNonceApi, + C::Api: BlockBuilder + AuraApi, + C::Api: fp_rpc::EthereumRuntimeRPCApi, + C::Api: fp_rpc::ConvertTransactionRuntimeApi, + P: TransactionPool + Sync + Send + 'static, + A: ChainApi + 'static, { - use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; - use substrate_frame_rpc_system::{System, SystemApiServer}; - use fc_rpc::{Eth, EthApiServer, Net, NetApiServer}; - - let mut module = RpcExtension::new(()); - let FullDeps { client, pool, graph, deny_unsafe, network, backend, is_authority, filter_pool, - sync, fee_history_cache, fee_history_cache_limit, storage_override, block_data_cache - } = deps; - - module.merge(System::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; - module.merge(TransactionPayment::new(client.clone()).into_rpc())?; - - let signers = Vec::new(); - let no_tx_converter: Option = None; - - let slot_duration = sc_consensus_aura::slot_duration(&*client)?; + use fc_rpc::{Eth, EthApiServer, Net, NetApiServer}; + use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; + use substrate_frame_rpc_system::{System, SystemApiServer}; + + let mut module = RpcExtension::new(()); + let FullDeps { + client, + pool, + graph, + deny_unsafe, + network, + backend, + is_authority, + filter_pool, + sync, + fee_history_cache, + fee_history_cache_limit, + storage_override, + block_data_cache, + } = deps; + + module.merge(System::new(client.clone(), pool.clone(), deny_unsafe).into_rpc())?; + module.merge(TransactionPayment::new(client.clone()).into_rpc())?; + + let signers = Vec::new(); + let no_tx_converter: Option = None; + + let slot_duration = sc_consensus_aura::slot_duration(&*client)?; let pending_create_inherent_data_providers = move |_, _| async move { let current = sp_timestamp::InherentDataProvider::from_system_time(); let next_slot = current.timestamp().as_millis() + slot_duration.as_millis(); @@ -145,35 +156,36 @@ where Ok((slot, timestamp, parachain_inherent_data)) }; - module.merge( + module.merge( Eth::<_, _, _, fp_rpc::NoTransactionConverter, _, _, _, ()>::new( client.clone(), - pool.clone(), + pool.clone(), graph.clone(), no_tx_converter, sync.clone(), signers, storage_override.clone(), - backend.clone(), + backend.clone(), is_authority, block_data_cache.clone(), fee_history_cache, fee_history_cache_limit, - // Allow 10x max allowed weight for non-transactional calls - 10, - None, - pending_create_inherent_data_providers, + // Allow 10x max allowed weight for non-transactional calls + 10, + None, + pending_create_inherent_data_providers, Some(pending_consenus_data_provider), - ).into_rpc() + ) + .into_rpc(), )?; - let max_past_logs: u32 = 10_000; + let max_past_logs: u32 = 10_000; let max_stored_filters: usize = 500; module.merge( EthFilter::new( client.clone(), backend, - graph.clone(), + graph.clone(), filter_pool, max_stored_filters, max_past_logs, @@ -182,19 +194,19 @@ where .into_rpc(), )?; - module.merge( - Net::new( - client.clone(), - network.clone(), - // Whether to format the `peer_count` response as Hex (default) or not. - true, - ) - .into_rpc(), - )?; + module.merge( + Net::new( + client.clone(), + network.clone(), + // Whether to format the `peer_count` response as Hex (default) or not. + true, + ) + .into_rpc(), + )?; - module.merge(Web3::new(client.clone()).into_rpc())?; + module.merge(Web3::new(client.clone()).into_rpc())?; - module.merge( + module.merge( EthPubSub::new( pool, client.clone(), @@ -206,5 +218,5 @@ where .into_rpc(), )?; - Ok(module) + Ok(module) } diff --git a/node/src/service.rs b/node/src/service.rs index 9424f319..0723d871 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -1,22 +1,18 @@ //! Service and ServiceFactory implementation. Specialized wrapper over substrate service. // std -use std::{sync::Arc, time::Duration, collections::BTreeMap}; +use std::{collections::BTreeMap, sync::Arc, time::Duration}; use cumulus_client_cli::CollatorOptions; // Local Runtime Types -use neuroweb_runtime::{ - opaque::Block, RuntimeApi, Hash -}; +use neuroweb_runtime::{opaque::Block, Hash, RuntimeApi}; // Cumulus Imports use cumulus_client_consensus_aura::collators::lookahead::{self as aura, Params as AuraParams}; -use cumulus_client_consensus_common::{ - ParachainBlockImport as TParachainBlockImport -}; +use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport; use cumulus_client_service::{ - build_network, build_relay_chain_interface, prepare_node_config, DARecoveryProfile, - BuildNetworkParams, StartRelayChainTasksParams, start_relay_chain_tasks + build_network, build_relay_chain_interface, prepare_node_config, start_relay_chain_tasks, + BuildNetworkParams, DARecoveryProfile, StartRelayChainTasksParams, }; use cumulus_primitives_core::{ relay_chain::{CollatorPair, ValidationCode}, @@ -25,7 +21,11 @@ use cumulus_primitives_core::{ use cumulus_relay_chain_interface::RelayChainInterface; // Substrate Imports +use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; +use fc_storage::StorageOverrideHandler; use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; +use futures::StreamExt; +use sc_client_api::BlockchainEvents; use sc_consensus::ImportQueue; use sc_executor::{HeapAllocStrategy, WasmExecutor, DEFAULT_HEAP_ALLOC_STRATEGY}; use sc_network::{NetworkBackend, NetworkBlock}; @@ -35,20 +35,16 @@ use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerH use sp_keystore::KeystorePtr; use sp_runtime::Percent; use substrate_prometheus_endpoint::Registry; -use futures::StreamExt; -use sc_client_api::BlockchainEvents; -use fc_rpc_core::types::{FeeHistoryCache, FilterPool}; -use fc_storage::StorageOverrideHandler; type ParachainClient = TFullClient< - Block, - RuntimeApi, - WasmExecutor<( - sp_io::SubstrateHostFunctions, - cumulus_client_service::storage_proof_size::HostFunctions, - frame_benchmarking::benchmarking::HostFunctions, - cumulus_client_service::ParachainHostFunctions, - )>, + Block, + RuntimeApi, + WasmExecutor<( + sp_io::SubstrateHostFunctions, + cumulus_client_service::storage_proof_size::HostFunctions, + frame_benchmarking::benchmarking::HostFunctions, + cumulus_client_service::ParachainHostFunctions, + )>, >; type ParachainBackend = TFullBackend; @@ -88,103 +84,106 @@ where )?)) } - /// Starts a `ServiceBuilder` for a full service. /// /// Use this macro if you don't actually need the full service, but just the builder in order to /// be able to perform chain operations. pub fn new_partial( - config: &Configuration, + config: &Configuration, ) -> Result< - PartialComponents< - ParachainClient, - ParachainBackend, - (), - sc_consensus::DefaultImportQueue, - sc_transaction_pool::FullPool< - Block, - ParachainClient, - >, - ( - ParachainBlockImport, - Option, - Option, - Arc>, - ), - >, - sc_service::Error, + PartialComponents< + ParachainClient, + ParachainBackend, + (), + sc_consensus::DefaultImportQueue, + sc_transaction_pool::FullPool, + ( + ParachainBlockImport, + Option, + Option, + Arc>, + ), + >, + sc_service::Error, > { - let telemetry = config - .telemetry_endpoints - .clone() - .filter(|x| !x.is_empty()) - .map(|endpoints| -> Result<_, sc_telemetry::Error> { - let worker = TelemetryWorker::new(16)?; - let telemetry = worker.handle().new_telemetry(endpoints); - Ok((worker, telemetry)) - }) - .transpose()?; - - let heap_pages = config - .default_heap_pages - .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { - extra_pages: h as _, - }); - - let executor = WasmExecutor::builder() - .with_execution_method(config.wasm_method) - .with_onchain_heap_alloc_strategy(heap_pages) - .with_offchain_heap_alloc_strategy(heap_pages) - .with_max_runtime_instances(config.max_runtime_instances) - .with_runtime_cache_size(config.runtime_cache_size) - .build(); - - let (client, backend, keystore_container, task_manager) = - sc_service::new_full_parts_record_import::( - config, - telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), - executor, - true - )?; - let client = Arc::new(client); - - let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle()); - - let telemetry = telemetry.map(|(worker, telemetry)| { - task_manager.spawn_handle().spawn("telemetry", None, worker.run()); - telemetry - }); - - let transaction_pool = sc_transaction_pool::BasicPool::new_full( - config.transaction_pool.clone(), - config.role.is_authority().into(), - config.prometheus_registry(), - task_manager.spawn_essential_handle(), - client.clone(), - ); - - let frontier_backend = open_frontier_backend(client.clone(), config)?; - - let block_import = ParachainBlockImport::new(client.clone(), backend.clone()); - - let import_queue = build_import_queue( - client.clone(), - block_import.clone(), - config, - telemetry.as_ref().map(|telemetry| telemetry.handle()), - &task_manager, - )?; - - Ok(PartialComponents { - backend, - client, - import_queue, - keystore_container, - task_manager, - transaction_pool, - select_chain: (), - other: (block_import, telemetry, telemetry_worker_handle, frontier_backend), - }) + let telemetry = config + .telemetry_endpoints + .clone() + .filter(|x| !x.is_empty()) + .map(|endpoints| -> Result<_, sc_telemetry::Error> { + let worker = TelemetryWorker::new(16)?; + let telemetry = worker.handle().new_telemetry(endpoints); + Ok((worker, telemetry)) + }) + .transpose()?; + + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { + extra_pages: h as _, + }); + + let executor = WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(); + + let (client, backend, keystore_container, task_manager) = + sc_service::new_full_parts_record_import::( + config, + telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), + executor, + true, + )?; + let client = Arc::new(client); + + let telemetry_worker_handle = telemetry.as_ref().map(|(worker, _)| worker.handle()); + + let telemetry = telemetry.map(|(worker, telemetry)| { + task_manager + .spawn_handle() + .spawn("telemetry", None, worker.run()); + telemetry + }); + + let transaction_pool = sc_transaction_pool::BasicPool::new_full( + config.transaction_pool.clone(), + config.role.is_authority().into(), + config.prometheus_registry(), + task_manager.spawn_essential_handle(), + client.clone(), + ); + + let frontier_backend = open_frontier_backend(client.clone(), config)?; + + let block_import = ParachainBlockImport::new(client.clone(), backend.clone()); + + let import_queue = build_import_queue( + client.clone(), + block_import.clone(), + config, + telemetry.as_ref().map(|telemetry| telemetry.handle()), + &task_manager, + )?; + + Ok(PartialComponents { + backend, + client, + import_queue, + keystore_container, + task_manager, + transaction_pool, + select_chain: (), + other: ( + block_import, + telemetry, + telemetry_worker_handle, + frontier_backend, + ), + }) } /// Start a node with the given parachain `Configuration` and relay chain `Configuration`. @@ -192,63 +191,61 @@ pub fn new_partial( /// This is the actual implementation that is abstract over the executor and the runtime api. #[sc_tracing::logging::prefix_logs_with("Parachain")] async fn start_node_impl( - parachain_config: Configuration, - polkadot_config: Configuration, - collator_options: CollatorOptions, - para_id: ParaId, - hwbench: Option, - additional_config: AdditionalConfig, -) -> sc_service::error::Result<( - TaskManager, - Arc, -)> -where N: NetworkBackend, + parachain_config: Configuration, + polkadot_config: Configuration, + collator_options: CollatorOptions, + para_id: ParaId, + hwbench: Option, + additional_config: AdditionalConfig, +) -> sc_service::error::Result<(TaskManager, Arc)> +where + N: NetworkBackend, { - - let parachain_config = prepare_node_config(parachain_config); - - let params = new_partial(¶chain_config)?; - let (block_import, mut telemetry, telemetry_worker_handle, frontier_backend) = params.other; - - let client = params.client.clone(); - let backend = params.backend.clone(); - let mut task_manager = params.task_manager; - - let (relay_chain_interface, collator_key) = build_relay_chain_interface( - polkadot_config, - ¶chain_config, - telemetry_worker_handle, - &mut task_manager, - collator_options.clone(), - hwbench.clone(), - ) - .await - .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; - - let validator = parachain_config.role.is_authority(); - let prometheus_registry = parachain_config.prometheus_registry().cloned(); - let is_authority = parachain_config.role.is_authority(); - let transaction_pool = params.transaction_pool.clone(); - let import_queue_service = params.import_queue.service(); - let net_config = sc_network::config::FullNetworkConfiguration::<_, _, N>::new(¶chain_config.network); - - let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = - build_network(BuildNetworkParams { - parachain_config: ¶chain_config, - net_config, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - para_id, - spawn_handle: task_manager.spawn_handle(), - relay_chain_interface: relay_chain_interface.clone(), - import_queue: params.import_queue, - sybil_resistance_level: cumulus_client_service::CollatorSybilResistance::Resistant, - } - ).await?; - - let filter_pool: FilterPool = Arc::new(std::sync::Mutex::new(BTreeMap::new())); - let fee_history_cache: FeeHistoryCache = Arc::new(std::sync::Mutex::new(BTreeMap::new())); - let storage_override = Arc::new(StorageOverrideHandler::new(client.clone())); + let parachain_config = prepare_node_config(parachain_config); + + let params = new_partial(¶chain_config)?; + let (block_import, mut telemetry, telemetry_worker_handle, frontier_backend) = params.other; + + let client = params.client.clone(); + let backend = params.backend.clone(); + let mut task_manager = params.task_manager; + + let (relay_chain_interface, collator_key) = build_relay_chain_interface( + polkadot_config, + ¶chain_config, + telemetry_worker_handle, + &mut task_manager, + collator_options.clone(), + hwbench.clone(), + ) + .await + .map_err(|e| sc_service::Error::Application(Box::new(e) as Box<_>))?; + + let validator = parachain_config.role.is_authority(); + let prometheus_registry = parachain_config.prometheus_registry().cloned(); + let is_authority = parachain_config.role.is_authority(); + let transaction_pool = params.transaction_pool.clone(); + let import_queue_service = params.import_queue.service(); + let net_config = + sc_network::config::FullNetworkConfiguration::<_, _, N>::new(¶chain_config.network); + + let (network, system_rpc_tx, tx_handler_controller, start_network, sync_service) = + build_network(BuildNetworkParams { + parachain_config: ¶chain_config, + net_config, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + para_id, + spawn_handle: task_manager.spawn_handle(), + relay_chain_interface: relay_chain_interface.clone(), + import_queue: params.import_queue, + sybil_resistance_level: cumulus_client_service::CollatorSybilResistance::Resistant, + }) + .await?; + + let filter_pool: FilterPool = Arc::new(std::sync::Mutex::new(BTreeMap::new())); + let fee_history_cache: FeeHistoryCache = Arc::new(std::sync::Mutex::new(BTreeMap::new())); + let storage_override = Arc::new(StorageOverrideHandler::new(client.clone())); // Sinks for pubsub notifications. // Everytime a new subscription is created, a new mpsc channel is added to the sink pool. @@ -259,7 +256,7 @@ where N: NetworkBackend, > = Default::default(); let pubsub_notification_sinks = Arc::new(pubsub_notification_sinks); - // Frontier offchain DB task. Essential. + // Frontier offchain DB task. Essential. // Maps emulated ethereum data to substrate native data. task_manager.spawn_essential_handle().spawn( "frontier-mapping-sync-worker", @@ -269,18 +266,18 @@ where N: NetworkBackend, Duration::new(6, 0), client.clone(), backend.clone(), - storage_override.clone(), + storage_override.clone(), frontier_backend.clone(), 3, 0, fc_mapping_sync::SyncStrategy::Parachain, - sync_service.clone(), + sync_service.clone(), pubsub_notification_sinks.clone(), ) .for_each(|()| futures::future::ready(())), ); - // Frontier `EthFilterApi` maintenance. Manages the pool of user-created Filters. + // Frontier `EthFilterApi` maintenance. Manages the pool of user-created Filters. // Each filter is allowed to stay in the pool for 100 blocks. const FILTER_RETAIN_THRESHOLD: u64 = 100; task_manager.spawn_essential_handle().spawn( @@ -293,276 +290,289 @@ where N: NetworkBackend, ), ); - const FEE_HISTORY_LIMIT: u64 = 2048; - task_manager.spawn_essential_handle().spawn( + const FEE_HISTORY_LIMIT: u64 = 2048; + task_manager.spawn_essential_handle().spawn( "frontier-fee-history", Some("frontier"), fc_rpc::EthTask::fee_history_task( client.clone(), storage_override.clone(), - fee_history_cache.clone(), + fee_history_cache.clone(), FEE_HISTORY_LIMIT, ), ); - let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new( + let block_data_cache = Arc::new(fc_rpc::EthBlockDataCacheTask::new( task_manager.spawn_handle(), storage_override.clone(), - 50, + 50, 50, prometheus_registry.clone(), )); - let rpc_builder = { - let client = client.clone(); - let transaction_pool = transaction_pool.clone(); - let sync = sync_service.clone(); - let network = network.clone(); - let frontier_backend = frontier_backend.clone(); - let pubsub_notification_sinks = pubsub_notification_sinks.clone(); - - Box::new(move |deny_unsafe, subscription_task_executor| { - let deps = crate::rpc::FullDeps { - client: client.clone(), - pool: transaction_pool.clone(), - graph: transaction_pool.pool().clone(), - sync: sync.clone(), - deny_unsafe, - is_authority, - network: network.clone(), - backend: frontier_backend.clone(), - filter_pool: filter_pool.clone(), - fee_history_cache_limit: FEE_HISTORY_LIMIT, - fee_history_cache: fee_history_cache.clone(), - storage_override: storage_override.clone(), - block_data_cache: block_data_cache.clone(), - }; - - let pending_consensus_data_provider = Box::new( + let rpc_builder = { + let client = client.clone(); + let transaction_pool = transaction_pool.clone(); + let sync = sync_service.clone(); + let network = network.clone(); + let frontier_backend = frontier_backend.clone(); + let pubsub_notification_sinks = pubsub_notification_sinks.clone(); + + Box::new(move |deny_unsafe, subscription_task_executor| { + let deps = crate::rpc::FullDeps { + client: client.clone(), + pool: transaction_pool.clone(), + graph: transaction_pool.pool().clone(), + sync: sync.clone(), + deny_unsafe, + is_authority, + network: network.clone(), + backend: frontier_backend.clone(), + filter_pool: filter_pool.clone(), + fee_history_cache_limit: FEE_HISTORY_LIMIT, + fee_history_cache: fee_history_cache.clone(), + storage_override: storage_override.clone(), + block_data_cache: block_data_cache.clone(), + }; + + let pending_consensus_data_provider = Box::new( fc_rpc::pending::AuraConsensusDataProvider::new(client.clone()), ); - crate::rpc::create_full(deps, subscription_task_executor, pubsub_notification_sinks.clone(), pending_consensus_data_provider).map_err(Into::into) - }) - }; - - sc_service::spawn_tasks(sc_service::SpawnTasksParams { - rpc_builder, - client: client.clone(), - transaction_pool: transaction_pool.clone(), - task_manager: &mut task_manager, - config: parachain_config, - keystore: params.keystore_container.keystore(), - backend: backend.clone(), - network: network.clone(), - sync_service: sync_service.clone(), - system_rpc_tx, - tx_handler_controller, - telemetry: telemetry.as_mut(), - })?; - - if let Some(hwbench) = hwbench { - sc_sysinfo::print_hwbench(&hwbench); - // Here you can check whether the hardware meets your chains' requirements. Putting a link - // in there and swapping out the requirements for your own are probably a good idea. The - // requirements for a para-chain are dictated by its relay-chain. - match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) { - Err(err) if validator => { - log::warn!( + crate::rpc::create_full( + deps, + subscription_task_executor, + pubsub_notification_sinks.clone(), + pending_consensus_data_provider, + ) + .map_err(Into::into) + }) + }; + + sc_service::spawn_tasks(sc_service::SpawnTasksParams { + rpc_builder, + client: client.clone(), + transaction_pool: transaction_pool.clone(), + task_manager: &mut task_manager, + config: parachain_config, + keystore: params.keystore_container.keystore(), + backend: backend.clone(), + network: network.clone(), + sync_service: sync_service.clone(), + system_rpc_tx, + tx_handler_controller, + telemetry: telemetry.as_mut(), + })?; + + if let Some(hwbench) = hwbench { + sc_sysinfo::print_hwbench(&hwbench); + // Here you can check whether the hardware meets your chains' requirements. Putting a link + // in there and swapping out the requirements for your own are probably a good idea. The + // requirements for a para-chain are dictated by its relay-chain. + match SUBSTRATE_REFERENCE_HARDWARE.check_hardware(&hwbench) { + Err(err) if validator => { + log::warn!( "⚠️ The hardware does not meet the minimal requirements {} for role 'Authority' find out more at:\n\ https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware", err ); - }, - _ => {}, - } - if let Some(ref mut telemetry) = telemetry { - let telemetry_handle = telemetry.handle(); - task_manager.spawn_handle().spawn( - "telemetry_hwbench", - None, - sc_sysinfo::initialize_hwbench_telemetry(telemetry_handle, hwbench), - ); - } - } - - let announce_block = { - let sync_service = sync_service.clone(); - Arc::new(move |hash, data| sync_service.announce_block(hash, data)) - }; - - let relay_chain_slot_duration = Duration::from_secs(6); - - let overseer_handle = relay_chain_interface - .overseer_handle() - .map_err(|e| sc_service::Error::Application(Box::new(e)))?; - - start_relay_chain_tasks(StartRelayChainTasksParams { - client: client.clone(), - announce_block, - task_manager: &mut task_manager, - para_id, - relay_chain_interface: relay_chain_interface.clone(), - relay_chain_slot_duration, - import_queue: import_queue_service, - recovery_handle: Box::new(overseer_handle), - sync_service: sync_service.clone(), - da_recovery_profile: if validator { - DARecoveryProfile::Collator - } else { - DARecoveryProfile::FullNode - }, - })?; - - if validator { - start_aura_consensus( - client.clone(), - backend.clone(), - block_import, - prometheus_registry.as_ref(), - telemetry.as_ref().map(|t| t.handle()), - &task_manager, - relay_chain_interface.clone(), - transaction_pool, - sync_service.clone(), - params.keystore_container.keystore(), - para_id, - collator_key.expect("Command line arguments do not allow this. qed"), + } + _ => {} + } + if let Some(ref mut telemetry) = telemetry { + let telemetry_handle = telemetry.handle(); + task_manager.spawn_handle().spawn( + "telemetry_hwbench", + None, + sc_sysinfo::initialize_hwbench_telemetry(telemetry_handle, hwbench), + ); + } + } + + let announce_block = { + let sync_service = sync_service.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) + }; + + let relay_chain_slot_duration = Duration::from_secs(6); + + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + + start_relay_chain_tasks(StartRelayChainTasksParams { + client: client.clone(), + announce_block, + task_manager: &mut task_manager, + para_id, + relay_chain_interface: relay_chain_interface.clone(), + relay_chain_slot_duration, + import_queue: import_queue_service, + recovery_handle: Box::new(overseer_handle), + sync_service: sync_service.clone(), + da_recovery_profile: if validator { + DARecoveryProfile::Collator + } else { + DARecoveryProfile::FullNode + }, + })?; + + if validator { + start_aura_consensus( + client.clone(), + backend.clone(), + block_import, + prometheus_registry.as_ref(), + telemetry.as_ref().map(|t| t.handle()), + &task_manager, + relay_chain_interface.clone(), + transaction_pool, + sync_service.clone(), + params.keystore_container.keystore(), + para_id, + collator_key.expect("Command line arguments do not allow this. qed"), additional_config, - )?; - } + )?; + } - start_network.start_network(); + start_network.start_network(); - Ok((task_manager, client)) + Ok((task_manager, client)) } /// Build the import queue for the parachain runtime. pub fn build_import_queue( - client: Arc, - block_import: ParachainBlockImport, - config: &Configuration, - telemetry: Option, - task_manager: &TaskManager, -) -> Result< - sc_consensus::DefaultImportQueue< Block>, - sc_service::Error, -> { - let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; - - cumulus_client_consensus_aura::import_queue::< - sp_consensus_aura::sr25519::AuthorityPair, - _, - _, - _, - _, - _, - >(cumulus_client_consensus_aura::ImportQueueParams { - block_import, - client, - create_inherent_data_providers: move |_, _| async move { - let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); - - let slot = + client: Arc, + block_import: ParachainBlockImport, + config: &Configuration, + telemetry: Option, + task_manager: &TaskManager, +) -> Result, sc_service::Error> { + let slot_duration = cumulus_client_consensus_aura::slot_duration(&*client)?; + + cumulus_client_consensus_aura::import_queue::< + sp_consensus_aura::sr25519::AuthorityPair, + _, + _, + _, + _, + _, + >(cumulus_client_consensus_aura::ImportQueueParams { + block_import, + client, + create_inherent_data_providers: move |_, _| async move { + let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); + + let slot = sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration( *timestamp, slot_duration, ); - Ok((slot, timestamp)) - }, - registry: config.prometheus_registry(), - spawner: &task_manager.spawn_essential_handle(), - telemetry, - }) - .map_err(Into::into) + Ok((slot, timestamp)) + }, + registry: config.prometheus_registry(), + spawner: &task_manager.spawn_essential_handle(), + telemetry, + }) + .map_err(Into::into) } fn start_aura_consensus( - client: Arc, - backend: Arc, - block_import: ParachainBlockImport, - prometheus_registry: Option<&Registry>, - telemetry: Option, - task_manager: &TaskManager, - relay_chain_interface: Arc, - transaction_pool: Arc>, - sync_oracle: Arc>, - keystore: KeystorePtr, - para_id: ParaId, - collator_key: CollatorPair, - additional_config: AdditionalConfig, + client: Arc, + backend: Arc, + block_import: ParachainBlockImport, + prometheus_registry: Option<&Registry>, + telemetry: Option, + task_manager: &TaskManager, + relay_chain_interface: Arc, + transaction_pool: Arc>, + sync_oracle: Arc>, + keystore: KeystorePtr, + para_id: ParaId, + collator_key: CollatorPair, + additional_config: AdditionalConfig, ) -> Result<(), sc_service::Error> { + let mut proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( + task_manager.spawn_handle(), + client.clone(), + transaction_pool, + prometheus_registry, + telemetry.clone(), + ); - let mut proposer_factory = sc_basic_authorship::ProposerFactory::with_proof_recording( - task_manager.spawn_handle(), - client.clone(), - transaction_pool, - prometheus_registry, - telemetry.clone(), - ); - - proposer_factory.set_default_block_size_limit(additional_config.proposer_block_size_limit); - proposer_factory.set_soft_deadline(Percent::from_percent( + proposer_factory.set_default_block_size_limit(additional_config.proposer_block_size_limit); + proposer_factory.set_soft_deadline(Percent::from_percent( additional_config.proposer_soft_deadline_percent, )); - let overseer_handle = relay_chain_interface - .overseer_handle() - .map_err(|e| sc_service::Error::Application(Box::new(e)))?; + let overseer_handle = relay_chain_interface + .overseer_handle() + .map_err(|e| sc_service::Error::Application(Box::new(e)))?; - let announce_block = { - let sync_service = sync_oracle.clone(); - Arc::new(move |hash, data| sync_service.announce_block(hash, data)) - }; + let announce_block = { + let sync_service = sync_oracle.clone(); + Arc::new(move |hash, data| sync_service.announce_block(hash, data)) + }; - let collator_service = cumulus_client_collator::service::CollatorService::new( + let collator_service = cumulus_client_collator::service::CollatorService::new( client.clone(), Arc::new(task_manager.spawn_handle()), announce_block, client.clone(), ); - let fut = aura::run::(AuraParams { - create_inherent_data_providers: move |_, ()| async move { Ok(()) }, - block_import: block_import.clone(), - para_client: client.clone(), - para_backend: backend.clone(), - relay_client: relay_chain_interface.clone(), - code_hash_provider: move |block_hash| { - client.code_at(block_hash).ok().map(|c| ValidationCode::from(c).hash()) - }, - sync_oracle: sync_oracle.clone(), - keystore, - collator_key, - para_id, - overseer_handle, - relay_chain_slot_duration: Duration::from_secs(6), - proposer: cumulus_client_consensus_proposer::Proposer::new(proposer_factory), - collator_service, - // We got around 500ms for proposing - authoring_duration: Duration::from_millis(1500), - reinitialize: false, - }); + let fut = + aura::run::( + AuraParams { + create_inherent_data_providers: move |_, ()| async move { Ok(()) }, + block_import: block_import.clone(), + para_client: client.clone(), + para_backend: backend.clone(), + relay_client: relay_chain_interface.clone(), + code_hash_provider: move |block_hash| { + client + .code_at(block_hash) + .ok() + .map(|c| ValidationCode::from(c).hash()) + }, + sync_oracle: sync_oracle.clone(), + keystore, + collator_key, + para_id, + overseer_handle, + relay_chain_slot_duration: Duration::from_secs(6), + proposer: cumulus_client_consensus_proposer::Proposer::new(proposer_factory), + collator_service, + // We got around 500ms for proposing + authoring_duration: Duration::from_millis(1500), + reinitialize: false, + }, + ); - task_manager + task_manager .spawn_essential_handle() .spawn("aura", None, fut); - Ok(()) + Ok(()) } /// Start a parachain node. pub async fn start_parachain_node( - parachain_config: Configuration, - polkadot_config: Configuration, - collator_options: CollatorOptions, - para_id: ParaId, - hwbench: Option, - additional_config: AdditionalConfig, -) -> sc_service::error::Result<( - TaskManager, - Arc, -)> { - start_node_impl::>(parachain_config, polkadot_config, collator_options, para_id, hwbench, additional_config.clone()).await + parachain_config: Configuration, + polkadot_config: Configuration, + collator_options: CollatorOptions, + para_id: ParaId, + hwbench: Option, + additional_config: AdditionalConfig, +) -> sc_service::error::Result<(TaskManager, Arc)> { + start_node_impl::>( + parachain_config, + polkadot_config, + collator_options, + para_id, + hwbench, + additional_config.clone(), + ) + .await } diff --git a/pallets/evm-accounts/src/lib.rs b/pallets/evm-accounts/src/lib.rs index 31ae1214..b41cc859 100644 --- a/pallets/evm-accounts/src/lib.rs +++ b/pallets/evm-accounts/src/lib.rs @@ -23,28 +23,28 @@ use codec::Encode; use frame_support::{ - ensure, - pallet_prelude::*, - traits::{Currency, IsType, OnKilledAccount}, - transactional, - storage::{with_transaction, TransactionOutcome}, + ensure, + pallet_prelude::*, + storage::{with_transaction, TransactionOutcome}, + traits::{Currency, IsType, OnKilledAccount}, + transactional, }; use frame_system::{ensure_signed, pallet_prelude::*}; +use pallet_evm::AddressMapping as EvmPalletAddressMappingTrait; use pallet_evm_utility_macro::keccak256; -use pallet_evm::{AddressMapping as EvmPalletAddressMappingTrait}; +use impl_trait_for_tuples::impl_for_tuples; use sp_core::crypto::AccountId32; use sp_core::{H160, H256, U256}; use sp_io::{ - crypto::secp256k1_ecdsa_recover, - hashing::{blake2_256, keccak_256}, + crypto::secp256k1_ecdsa_recover, + hashing::{blake2_256, keccak_256}, }; use sp_runtime::{ - traits::{LookupError, StaticLookup, Zero}, - MultiAddress, + traits::{LookupError, StaticLookup, Zero}, + MultiAddress, }; use sp_std::{marker::PhantomData, vec::Vec}; -use impl_trait_for_tuples::impl_for_tuples; pub use pallet::*; @@ -66,407 +66,420 @@ pub type EvmAddress = sp_core::H160; /// A mapping between `AccountId` and `EvmAddress`. pub trait AddressMapping { - /// Returns the AccountId used go generate the given EvmAddress. - fn get_account_id(evm: &EvmAddress) -> AccountId32; - /// Returns the EvmAddress associated with a given AccountId or the - /// underlying EvmAddress of the AccountId. - /// Returns None if there is no EvmAddress associated with the AccountId - /// and there is no underlying EvmAddress in the AccountId. - fn get_evm_address(account_id: &AccountId32) -> Option; - /// Returns the EVM address associated with an account ID and generates an - /// account mapping if no association exists. - fn get_or_create_evm_address(account_id: &AccountId32) -> EvmAddress; - /// Returns the default EVM address associated with an account ID. - fn get_default_evm_address(account_id: &AccountId32) -> EvmAddress; - /// Returns true if a given AccountId is associated with a given EvmAddress - /// and false if is not. - fn is_linked(account_id: &AccountId32, evm: &EvmAddress) -> bool; + /// Returns the AccountId used go generate the given EvmAddress. + fn get_account_id(evm: &EvmAddress) -> AccountId32; + /// Returns the EvmAddress associated with a given AccountId or the + /// underlying EvmAddress of the AccountId. + /// Returns None if there is no EvmAddress associated with the AccountId + /// and there is no underlying EvmAddress in the AccountId. + fn get_evm_address(account_id: &AccountId32) -> Option; + /// Returns the EVM address associated with an account ID and generates an + /// account mapping if no association exists. + fn get_or_create_evm_address(account_id: &AccountId32) -> EvmAddress; + /// Returns the default EVM address associated with an account ID. + fn get_default_evm_address(account_id: &AccountId32) -> EvmAddress; + /// Returns true if a given AccountId is associated with a given EvmAddress + /// and false if is not. + fn is_linked(account_id: &AccountId32, evm: &EvmAddress) -> bool; } pub trait EVMAccountsManager { - /// Returns the AccountId used to generate the given EvmAddress. - fn get_account_id(address: &EvmAddress) -> AccountId; - /// Returns the EvmAddress associated with a given AccountId or the underlying EvmAddress of the - /// AccountId. - fn get_evm_address(account_id: &AccountId) -> Option; - /// Claim account mapping between AccountId and a generated EvmAddress based off of the - /// AccountId. - fn claim_default_evm_address(account_id: &AccountId) -> Result; + /// Returns the AccountId used to generate the given EvmAddress. + fn get_account_id(address: &EvmAddress) -> AccountId; + /// Returns the EvmAddress associated with a given AccountId or the underlying EvmAddress of the + /// AccountId. + fn get_evm_address(account_id: &AccountId) -> Option; + /// Claim account mapping between AccountId and a generated EvmAddress based off of the + /// AccountId. + fn claim_default_evm_address(account_id: &AccountId) -> Result; } /// Convert any type that implements Into into byte representation ([u8, 32]) pub fn to_bytes>(value: T) -> [u8; 32] { - Into::<[u8; 32]>::into(value.into()) + Into::<[u8; 32]>::into(value.into()) } pub fn with_transaction_result( - f: impl FnOnce() -> Result, + f: impl FnOnce() -> Result, ) -> Result { - with_transaction(|| { - let res = f(); - if res.is_ok() { - TransactionOutcome::Commit(res) - } else { - TransactionOutcome::Rollback(res) - } - }) + with_transaction(|| { + let res = f(); + if res.is_ok() { + TransactionOutcome::Commit(res) + } else { + TransactionOutcome::Rollback(res) + } + }) } pub trait MergeAccount { - fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult; + fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult; } #[impl_for_tuples(5)] impl MergeAccount for Tuple { - fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult { - with_transaction_result(|| { - for_tuples!( #( { + fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult { + with_transaction_result(|| { + for_tuples!( #( { Tuple::merge_account(source, dest)?; } )* ); - Ok(()) - }) - } + Ok(()) + }) + } } #[frame_support::pallet] pub mod pallet { - use super::*; - - #[pallet::config] - pub trait Config: frame_system::Config { - type RuntimeEvent: From> + IsType<::RuntimeEvent>; - - /// The Currency for managing Evm account assets. - type Currency: Currency; - - /// Mapping from address to account id. - type AddressMapping: AddressMapping; - - /// Chain ID of EVM. - #[pallet::constant] - type ChainId: Get; - - /// Merge free balance from source to dest. - type MergeAccount: MergeAccount; - - /// Weight information for the extrinsics in this pallet. - type WeightInfo: WeightInfo; - } - - #[pallet::event] - #[pallet::generate_deposit(pub(crate) fn deposit_event)] - pub enum Event { - /// Mapping between Substrate accounts and EVM accounts - /// claim account. - ClaimAccount { - account_id: T::AccountId, - evm_address: EvmAddress, - }, - } - - /// Error for evm accounts pallet. - #[pallet::error] - pub enum Error { - /// AccountId has mapped - AccountIdHasMapped, - /// Eth address has mapped - EthAddressHasMapped, - /// Bad signature - BadSignature, - /// Invalid signature - InvalidSignature, - /// Account ref count is not zero - NonZeroRefCount, - } - - /// The Substrate Account for EvmAddresses - /// - /// Accounts: map EvmAddress => Option - #[pallet::storage] - #[pallet::getter(fn accounts)] - pub type Accounts = StorageMap<_, Twox64Concat, EvmAddress, T::AccountId, OptionQuery>; - - /// The EvmAddress for Substrate Accounts - /// - /// EvmAddresses: map AccountId => Option - #[pallet::storage] - #[pallet::getter(fn evm_addresses)] - pub type EvmAddresses = StorageMap<_, Twox64Concat, T::AccountId, EvmAddress, OptionQuery>; - - #[pallet::pallet] - pub struct Pallet(_); - - #[pallet::hooks] - impl Hooks> for Pallet {} - - #[pallet::call] - impl Pallet { - /// Claim account mapping between Substrate accounts and EVM accounts. - /// Ensure eth_address has not been mapped. - /// - /// - `eth_address`: The address to bind to the caller's account - /// - `eth_signature`: A signature generated by the address to prove ownership - #[pallet::call_index(0)] - #[pallet::weight(T::WeightInfo::claim_account())] - #[transactional] - pub fn claim_account( - origin: OriginFor, - eth_address: EvmAddress, - eth_signature: Eip712Signature, - ) -> DispatchResult { - let who = ensure_signed(origin)?; - - // ensure account_id and eth_address has not been mapped - ensure!(!EvmAddresses::::contains_key(&who), Error::::AccountIdHasMapped); - ensure!( - !Accounts::::contains_key(eth_address), - Error::::EthAddressHasMapped - ); - - // recover evm address from signature - let address = Self::verify_eip712_signature(&who, ð_signature).ok_or(Error::::BadSignature)?; - ensure!(eth_address == address, Error::::InvalidSignature); - - // check if the evm padded address already exists - let account_id = T::AddressMapping::get_account_id(ð_address); - if frame_system::Pallet::::account_exists(&account_id) { - // merge balance from `evm padded address` to `origin` - T::MergeAccount::merge_account(&account_id, &who)?; - } - - Accounts::::insert(eth_address, &who); - EvmAddresses::::insert(&who, eth_address); - - Self::deposit_event(Event::ClaimAccount { - account_id: who, - evm_address: eth_address, - }); - - Ok(()) - } - - /// Claim account mapping between Substrate accounts and a generated EVM - /// address based off of those accounts. - /// Ensure eth_address has not been mapped - #[pallet::call_index(1)] - #[pallet::weight(T::WeightInfo::claim_default_account())] - pub fn claim_default_account(origin: OriginFor) -> DispatchResult { - let who = ensure_signed(origin)?; - let _ = Self::do_claim_default_evm_address(who)?; - Ok(()) - } - } + use super::*; + + #[pallet::config] + pub trait Config: frame_system::Config { + type RuntimeEvent: From> + IsType<::RuntimeEvent>; + + /// The Currency for managing Evm account assets. + type Currency: Currency; + + /// Mapping from address to account id. + type AddressMapping: AddressMapping; + + /// Chain ID of EVM. + #[pallet::constant] + type ChainId: Get; + + /// Merge free balance from source to dest. + type MergeAccount: MergeAccount; + + /// Weight information for the extrinsics in this pallet. + type WeightInfo: WeightInfo; + } + + #[pallet::event] + #[pallet::generate_deposit(pub(crate) fn deposit_event)] + pub enum Event { + /// Mapping between Substrate accounts and EVM accounts + /// claim account. + ClaimAccount { + account_id: T::AccountId, + evm_address: EvmAddress, + }, + } + + /// Error for evm accounts pallet. + #[pallet::error] + pub enum Error { + /// AccountId has mapped + AccountIdHasMapped, + /// Eth address has mapped + EthAddressHasMapped, + /// Bad signature + BadSignature, + /// Invalid signature + InvalidSignature, + /// Account ref count is not zero + NonZeroRefCount, + } + + /// The Substrate Account for EvmAddresses + /// + /// Accounts: map EvmAddress => Option + #[pallet::storage] + #[pallet::getter(fn accounts)] + pub type Accounts = + StorageMap<_, Twox64Concat, EvmAddress, T::AccountId, OptionQuery>; + + /// The EvmAddress for Substrate Accounts + /// + /// EvmAddresses: map AccountId => Option + #[pallet::storage] + #[pallet::getter(fn evm_addresses)] + pub type EvmAddresses = + StorageMap<_, Twox64Concat, T::AccountId, EvmAddress, OptionQuery>; + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::hooks] + impl Hooks> for Pallet {} + + #[pallet::call] + impl Pallet { + /// Claim account mapping between Substrate accounts and EVM accounts. + /// Ensure eth_address has not been mapped. + /// + /// - `eth_address`: The address to bind to the caller's account + /// - `eth_signature`: A signature generated by the address to prove ownership + #[pallet::call_index(0)] + #[pallet::weight(T::WeightInfo::claim_account())] + #[transactional] + pub fn claim_account( + origin: OriginFor, + eth_address: EvmAddress, + eth_signature: Eip712Signature, + ) -> DispatchResult { + let who = ensure_signed(origin)?; + + // ensure account_id and eth_address has not been mapped + ensure!( + !EvmAddresses::::contains_key(&who), + Error::::AccountIdHasMapped + ); + ensure!( + !Accounts::::contains_key(eth_address), + Error::::EthAddressHasMapped + ); + + // recover evm address from signature + let address = Self::verify_eip712_signature(&who, ð_signature) + .ok_or(Error::::BadSignature)?; + ensure!(eth_address == address, Error::::InvalidSignature); + + // check if the evm padded address already exists + let account_id = T::AddressMapping::get_account_id(ð_address); + if frame_system::Pallet::::account_exists(&account_id) { + // merge balance from `evm padded address` to `origin` + T::MergeAccount::merge_account(&account_id, &who)?; + } + + Accounts::::insert(eth_address, &who); + EvmAddresses::::insert(&who, eth_address); + + Self::deposit_event(Event::ClaimAccount { + account_id: who, + evm_address: eth_address, + }); + + Ok(()) + } + + /// Claim account mapping between Substrate accounts and a generated EVM + /// address based off of those accounts. + /// Ensure eth_address has not been mapped + #[pallet::call_index(1)] + #[pallet::weight(T::WeightInfo::claim_default_account())] + pub fn claim_default_account(origin: OriginFor) -> DispatchResult { + let who = ensure_signed(origin)?; + let _ = Self::do_claim_default_evm_address(who)?; + Ok(()) + } + } } impl Pallet { - #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] - // Returns an Etherum public key derived from an Ethereum secret key. - pub fn eth_public(secret: &libsecp256k1::SecretKey) -> libsecp256k1::PublicKey { - libsecp256k1::PublicKey::from_secret_key(secret) - } - - #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] - // Returns an Etherum address derived from an Ethereum secret key. - // Only for tests - pub fn eth_address(secret: &libsecp256k1::SecretKey) -> EvmAddress { - EvmAddress::from_slice(&keccak_256(&Self::eth_public(secret).serialize()[1..65])[12..]) - } - - #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] - // Constructs a message and signs it. - pub fn eth_sign(secret: &libsecp256k1::SecretKey, who: &T::AccountId) -> Eip712Signature { - let msg = keccak_256(&Self::eip712_signable_message(who)); - let (sig, recovery_id) = libsecp256k1::sign(&libsecp256k1::Message::parse(&msg), secret); - let mut r = [0u8; 65]; - r[0..64].copy_from_slice(&sig.serialize()[..]); - r[64] = recovery_id.serialize(); - r - } - - fn verify_eip712_signature(who: &T::AccountId, sig: &[u8; 65]) -> Option { - let msg = Self::eip712_signable_message(who); - let msg_hash = keccak_256(msg.as_slice()); - - recover_signer(sig, &msg_hash) - } - - // Eip-712 message to be signed - fn eip712_signable_message(who: &T::AccountId) -> Vec { - let domain_separator = Self::evm_account_domain_separator(); - let payload_hash = Self::evm_account_payload_hash(who); - - let mut msg = b"\x19\x01".to_vec(); - msg.extend_from_slice(&domain_separator); - msg.extend_from_slice(&payload_hash); - msg - } - - fn evm_account_payload_hash(who: &T::AccountId) -> [u8; 32] { - let tx_type_hash = keccak256!("Transaction(bytes substrateAddress)"); - let mut tx_msg = tx_type_hash.to_vec(); - tx_msg.extend_from_slice(&keccak_256(&who.encode())); - keccak_256(tx_msg.as_slice()) - } - - fn evm_account_domain_separator() -> [u8; 32] { - let domain_hash = keccak256!("EIP712Domain(string name,string version,uint256 chainId,bytes32 salt)"); - let mut domain_seperator_msg = domain_hash.to_vec(); - domain_seperator_msg.extend_from_slice(keccak256!("OTP EVM claim")); // name - domain_seperator_msg.extend_from_slice(keccak256!("1")); // version - domain_seperator_msg.extend_from_slice(&to_bytes(T::ChainId::get())); // chain id - domain_seperator_msg - .extend_from_slice(frame_system::Pallet::::block_hash(BlockNumberFor::::zero()).as_ref()); // genesis block hash - keccak_256(domain_seperator_msg.as_slice()) - } - - fn do_claim_default_evm_address(who: T::AccountId) -> Result { - // ensure account_id has not been mapped - ensure!(!EvmAddresses::::contains_key(&who), Error::::AccountIdHasMapped); - - let eth_address = T::AddressMapping::get_or_create_evm_address(&who); - - Ok(eth_address) - } + #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] + // Returns an Etherum public key derived from an Ethereum secret key. + pub fn eth_public(secret: &libsecp256k1::SecretKey) -> libsecp256k1::PublicKey { + libsecp256k1::PublicKey::from_secret_key(secret) + } + + #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] + // Returns an Etherum address derived from an Ethereum secret key. + // Only for tests + pub fn eth_address(secret: &libsecp256k1::SecretKey) -> EvmAddress { + EvmAddress::from_slice(&keccak_256(&Self::eth_public(secret).serialize()[1..65])[12..]) + } + + #[cfg(any(feature = "runtime-benchmarks", feature = "std"))] + // Constructs a message and signs it. + pub fn eth_sign(secret: &libsecp256k1::SecretKey, who: &T::AccountId) -> Eip712Signature { + let msg = keccak_256(&Self::eip712_signable_message(who)); + let (sig, recovery_id) = libsecp256k1::sign(&libsecp256k1::Message::parse(&msg), secret); + let mut r = [0u8; 65]; + r[0..64].copy_from_slice(&sig.serialize()[..]); + r[64] = recovery_id.serialize(); + r + } + + fn verify_eip712_signature(who: &T::AccountId, sig: &[u8; 65]) -> Option { + let msg = Self::eip712_signable_message(who); + let msg_hash = keccak_256(msg.as_slice()); + + recover_signer(sig, &msg_hash) + } + + // Eip-712 message to be signed + fn eip712_signable_message(who: &T::AccountId) -> Vec { + let domain_separator = Self::evm_account_domain_separator(); + let payload_hash = Self::evm_account_payload_hash(who); + + let mut msg = b"\x19\x01".to_vec(); + msg.extend_from_slice(&domain_separator); + msg.extend_from_slice(&payload_hash); + msg + } + + fn evm_account_payload_hash(who: &T::AccountId) -> [u8; 32] { + let tx_type_hash = keccak256!("Transaction(bytes substrateAddress)"); + let mut tx_msg = tx_type_hash.to_vec(); + tx_msg.extend_from_slice(&keccak_256(&who.encode())); + keccak_256(tx_msg.as_slice()) + } + + fn evm_account_domain_separator() -> [u8; 32] { + let domain_hash = + keccak256!("EIP712Domain(string name,string version,uint256 chainId,bytes32 salt)"); + let mut domain_seperator_msg = domain_hash.to_vec(); + domain_seperator_msg.extend_from_slice(keccak256!("OTP EVM claim")); // name + domain_seperator_msg.extend_from_slice(keccak256!("1")); // version + domain_seperator_msg.extend_from_slice(&to_bytes(T::ChainId::get())); // chain id + domain_seperator_msg.extend_from_slice( + frame_system::Pallet::::block_hash(BlockNumberFor::::zero()).as_ref(), + ); // genesis block hash + keccak_256(domain_seperator_msg.as_slice()) + } + + fn do_claim_default_evm_address(who: T::AccountId) -> Result { + // ensure account_id has not been mapped + ensure!( + !EvmAddresses::::contains_key(&who), + Error::::AccountIdHasMapped + ); + + let eth_address = T::AddressMapping::get_or_create_evm_address(&who); + + Ok(eth_address) + } } fn recover_signer(sig: &[u8; 65], msg_hash: &[u8; 32]) -> Option { - secp256k1_ecdsa_recover(sig, msg_hash) - .map(|pubkey| H160::from(H256::from_slice(&keccak_256(&pubkey)))) - .ok() + secp256k1_ecdsa_recover(sig, msg_hash) + .map(|pubkey| H160::from(H256::from_slice(&keccak_256(&pubkey)))) + .ok() } // Creates a an EvmAddress from an AccountId by appending the bytes "evm:" to // the account_id and hashing it. fn account_to_default_evm_address(account_id: &impl Encode) -> EvmAddress { - let payload = (b"evm:", account_id); - EvmAddress::from_slice(&payload.using_encoded(blake2_256)[0..20]) + let payload = (b"evm:", account_id); + EvmAddress::from_slice(&payload.using_encoded(blake2_256)[0..20]) } pub struct EvmAddressMapping(sp_std::marker::PhantomData); impl AddressMapping for EvmAddressMapping where - T::AccountId: IsType, + T::AccountId: IsType, { - // Returns the AccountId used to generate the given EvmAddress. - fn get_account_id(address: &EvmAddress) -> T::AccountId { - if let Some(acc) = Accounts::::get(address) { - acc - } else { - let mut data: [u8; 32] = [0u8; 32]; - data[0..4].copy_from_slice(b"evm:"); - data[4..24].copy_from_slice(&address[..]); - AccountId32::from(data).into() - } - } - - // Returns the EvmAddress associated with a given AccountId or the - // underlying EvmAddress of the AccountId. - // Returns None if there is no EvmAddress associated with the AccountId - // and there is no underlying EvmAddress in the AccountId. - fn get_evm_address(account_id: &T::AccountId) -> Option { - // Return the EvmAddress if a mapping to account_id exists - EvmAddresses::::get(account_id).or_else(|| { - let data: &[u8] = account_id.into_ref().as_ref(); - // Return the underlying EVM address if it exists otherwise return None - if data.starts_with(b"evm:") { - Some(EvmAddress::from_slice(&data[4..24])) - } else { - None - } - }) - } - - // Returns the EVM address associated with an account ID and generates an - // account mapping if no association exists. - fn get_or_create_evm_address(account_id: &T::AccountId) -> EvmAddress { - Self::get_evm_address(account_id).unwrap_or_else(|| { - let addr = account_to_default_evm_address(account_id); - - // create reverse mapping - Accounts::::insert(addr, account_id); - EvmAddresses::::insert(account_id, addr); - - Pallet::::deposit_event(Event::ClaimAccount { - account_id: account_id.clone(), - evm_address: addr, - }); - - addr - }) - } - - // Returns the default EVM address associated with an account ID. - fn get_default_evm_address(account_id: &T::AccountId) -> EvmAddress { - account_to_default_evm_address(account_id) - } - - // Returns true if a given AccountId is associated with a given EvmAddress - // and false if is not. - fn is_linked(account_id: &T::AccountId, evm: &EvmAddress) -> bool { - Self::get_evm_address(account_id).as_ref() == Some(evm) - || &account_to_default_evm_address(account_id.into_ref()) == evm - } + // Returns the AccountId used to generate the given EvmAddress. + fn get_account_id(address: &EvmAddress) -> T::AccountId { + if let Some(acc) = Accounts::::get(address) { + acc + } else { + let mut data: [u8; 32] = [0u8; 32]; + data[0..4].copy_from_slice(b"evm:"); + data[4..24].copy_from_slice(&address[..]); + AccountId32::from(data).into() + } + } + + // Returns the EvmAddress associated with a given AccountId or the + // underlying EvmAddress of the AccountId. + // Returns None if there is no EvmAddress associated with the AccountId + // and there is no underlying EvmAddress in the AccountId. + fn get_evm_address(account_id: &T::AccountId) -> Option { + // Return the EvmAddress if a mapping to account_id exists + EvmAddresses::::get(account_id).or_else(|| { + let data: &[u8] = account_id.into_ref().as_ref(); + // Return the underlying EVM address if it exists otherwise return None + if data.starts_with(b"evm:") { + Some(EvmAddress::from_slice(&data[4..24])) + } else { + None + } + }) + } + + // Returns the EVM address associated with an account ID and generates an + // account mapping if no association exists. + fn get_or_create_evm_address(account_id: &T::AccountId) -> EvmAddress { + Self::get_evm_address(account_id).unwrap_or_else(|| { + let addr = account_to_default_evm_address(account_id); + + // create reverse mapping + Accounts::::insert(addr, account_id); + EvmAddresses::::insert(account_id, addr); + + Pallet::::deposit_event(Event::ClaimAccount { + account_id: account_id.clone(), + evm_address: addr, + }); + + addr + }) + } + + // Returns the default EVM address associated with an account ID. + fn get_default_evm_address(account_id: &T::AccountId) -> EvmAddress { + account_to_default_evm_address(account_id) + } + + // Returns true if a given AccountId is associated with a given EvmAddress + // and false if is not. + fn is_linked(account_id: &T::AccountId, evm: &EvmAddress) -> bool { + Self::get_evm_address(account_id).as_ref() == Some(evm) + || &account_to_default_evm_address(account_id.into_ref()) == evm + } } pub struct CallKillAccount(PhantomData); impl OnKilledAccount for CallKillAccount { - fn on_killed_account(who: &T::AccountId) { - // remove mapping created by `claim_account` or `get_or_create_evm_address` - if let Some(evm_addr) = Pallet::::evm_addresses(who) { - Accounts::::remove(evm_addr); - EvmAddresses::::remove(who); - } - } + fn on_killed_account(who: &T::AccountId) { + // remove mapping created by `claim_account` or `get_or_create_evm_address` + if let Some(evm_addr) = Pallet::::evm_addresses(who) { + Accounts::::remove(evm_addr); + EvmAddresses::::remove(who); + } + } } impl StaticLookup for Pallet { - type Source = MultiAddress; - type Target = T::AccountId; - - fn lookup(a: Self::Source) -> Result { - match a { - MultiAddress::Address20(i) => Ok(T::AddressMapping::get_account_id(&EvmAddress::from_slice(&i))), - _ => Err(LookupError), - } - } - - fn unlookup(a: Self::Target) -> Self::Source { - MultiAddress::Id(a) - } + type Source = MultiAddress; + type Target = T::AccountId; + + fn lookup(a: Self::Source) -> Result { + match a { + MultiAddress::Address20(i) => Ok(T::AddressMapping::get_account_id( + &EvmAddress::from_slice(&i), + )), + _ => Err(LookupError), + } + } + + fn unlookup(a: Self::Target) -> Self::Source { + MultiAddress::Id(a) + } } impl EVMAccountsManager for Pallet { - /// Returns the AccountId used to generate the given EvmAddress. - fn get_account_id(address: &EvmAddress) -> T::AccountId { - T::AddressMapping::get_account_id(address) - } - - /// Returns the EvmAddress associated with a given AccountId or the underlying EvmAddress of the - /// AccountId. - fn get_evm_address(account_id: &T::AccountId) -> Option { - T::AddressMapping::get_evm_address(account_id) - } - - /// Claim account mapping between AccountId and a generated EvmAddress based off of the - /// AccountId. - fn claim_default_evm_address(account_id: &T::AccountId) -> Result { - Self::do_claim_default_evm_address(account_id.clone()) - } + /// Returns the AccountId used to generate the given EvmAddress. + fn get_account_id(address: &EvmAddress) -> T::AccountId { + T::AddressMapping::get_account_id(address) + } + + /// Returns the EvmAddress associated with a given AccountId or the underlying EvmAddress of the + /// AccountId. + fn get_evm_address(account_id: &T::AccountId) -> Option { + T::AddressMapping::get_evm_address(account_id) + } + + /// Claim account mapping between AccountId and a generated EvmAddress based off of the + /// AccountId. + fn claim_default_evm_address(account_id: &T::AccountId) -> Result { + Self::do_claim_default_evm_address(account_id.clone()) + } } impl EvmPalletAddressMappingTrait for EvmAddressMapping where - T::AccountId: From + Into, + T::AccountId: From + Into, { - fn into_account_id(address: H160) -> T::AccountId { - if let Some(acc) = Accounts::::get(address) { - acc - } else { - let mut data: [u8; 32] = [0u8; 32]; - data[0..4].copy_from_slice(b"evm:"); - data[4..24].copy_from_slice(&address[..]); - AccountId32::from(data).into() + fn into_account_id(address: H160) -> T::AccountId { + if let Some(acc) = Accounts::::get(address) { + acc + } else { + let mut data: [u8; 32] = [0u8; 32]; + data[0..4].copy_from_slice(b"evm:"); + data[4..24].copy_from_slice(&address[..]); + AccountId32::from(data).into() + } } - } -} \ No newline at end of file +} diff --git a/pallets/evm-accounts/src/mock.rs b/pallets/evm-accounts/src/mock.rs index 82a39220..cd9a6127 100644 --- a/pallets/evm-accounts/src/mock.rs +++ b/pallets/evm-accounts/src/mock.rs @@ -17,8 +17,8 @@ use super::*; use frame_support::{ - construct_runtime, - traits::{ConstU128, ConstU64, Everything}, + construct_runtime, + traits::{ConstU128, ConstU64, Everything}, }; use sp_core::{crypto::AccountId32, H256}; use sp_io::hashing::keccak_256; @@ -32,109 +32,109 @@ pub const ALICE: AccountId = AccountId32::new([0u8; 32]); pub const BOB: AccountId = AccountId32::new([1u8; 32]); mod evm_accounts { - pub use super::super::*; + pub use super::super::*; } impl frame_system::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Index = u64; - type BlockNumber = BlockNumber; - type RuntimeCall = RuntimeCall; - type Hash = H256; - type Hashing = ::sp_runtime::traits::BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type Header = Header; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = ConstU64<250>; - type BlockWeights = (); - type BlockLength = (); - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type DbWeight = (); - type BaseCallFilter = Everything; - type SystemWeightInfo = (); - type SS58Prefix = (); - type OnSetCode = (); - type MaxConsumers = ConstU32<16>; + type RuntimeOrigin = RuntimeOrigin; + type Index = u64; + type BlockNumber = BlockNumber; + type RuntimeCall = RuntimeCall; + type Hash = H256; + type Hashing = ::sp_runtime::traits::BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Header = Header; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = ConstU64<250>; + type BlockWeights = (); + type BlockLength = (); + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type DbWeight = (); + type BaseCallFilter = Everything; + type SystemWeightInfo = (); + type SS58Prefix = (); + type OnSetCode = (); + type MaxConsumers = ConstU32<16>; } impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ConstU128<1>; - type AccountStore = frame_system::Pallet; - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; - type WeightInfo = (); + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ConstU128<1>; + type AccountStore = frame_system::Pallet; + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; + type WeightInfo = (); } impl Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type ChainId = (); + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type ChainId = (); type MergeAccount = (); - type AddressMapping = EvmAddressMapping; - type WeightInfo = (); + type AddressMapping = EvmAddressMapping; + type WeightInfo = (); } type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, - { - System: frame_system::{Pallet, Call, Storage, Config, Event}, - EvmAccountsModule: evm_accounts::{Pallet, Call, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, - } + pub enum Runtime where + Block = Block, + NodeBlock = Block, + UncheckedExtrinsic = UncheckedExtrinsic, + { + System: frame_system::{Pallet, Call, Storage, Config, Event}, + EvmAccountsModule: evm_accounts::{Pallet, Call, Storage, Event}, + Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + } ); pub struct ExtBuilder(); impl Default for ExtBuilder { - fn default() -> Self { - Self() - } + fn default() -> Self { + Self() + } } impl ExtBuilder { - pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() - .unwrap(); - - pallet_balances::GenesisConfig:: { - balances: vec![(bob_account_id(), 100000)], - } - .assimilate_storage(&mut t) - .unwrap(); - - let mut ext = sp_io::TestExternalities::new(t); - ext.execute_with(|| System::set_block_number(1)); - ext - } + pub fn build(self) -> sp_io::TestExternalities { + let mut t = frame_system::GenesisConfig::default() + .build_storage::() + .unwrap(); + + pallet_balances::GenesisConfig:: { + balances: vec![(bob_account_id(), 100000)], + } + .assimilate_storage(&mut t) + .unwrap(); + + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| System::set_block_number(1)); + ext + } } pub fn alice() -> libsecp256k1::SecretKey { - libsecp256k1::SecretKey::parse(&keccak_256(b"Alice")).unwrap() + libsecp256k1::SecretKey::parse(&keccak_256(b"Alice")).unwrap() } pub fn bob() -> libsecp256k1::SecretKey { - libsecp256k1::SecretKey::parse(&keccak_256(b"Bob")).unwrap() + libsecp256k1::SecretKey::parse(&keccak_256(b"Bob")).unwrap() } pub fn bob_account_id() -> AccountId { - let address = EvmAccountsModule::eth_address(&bob()); - let mut data = [0u8; 32]; - data[0..4].copy_from_slice(b"evm:"); - data[4..24].copy_from_slice(&address[..]); - AccountId32::from(Into::<[u8; 32]>::into(data)) + let address = EvmAccountsModule::eth_address(&bob()); + let mut data = [0u8; 32]; + data[0..4].copy_from_slice(b"evm:"); + data[4..24].copy_from_slice(&address[..]); + AccountId32::from(Into::<[u8; 32]>::into(data)) } diff --git a/pallets/evm-accounts/src/tests.rs b/pallets/evm-accounts/src/tests.rs index e411394a..b508f469 100644 --- a/pallets/evm-accounts/src/tests.rs +++ b/pallets/evm-accounts/src/tests.rs @@ -17,168 +17,195 @@ use super::*; use frame_support::{assert_noop, assert_ok}; -use mock::{alice, bob, RuntimeEvent, EvmAccountsModule, ExtBuilder, RuntimeOrigin, Runtime, System, ALICE, BOB}; +use mock::{ + alice, bob, EvmAccountsModule, ExtBuilder, Runtime, RuntimeEvent, RuntimeOrigin, System, ALICE, + BOB, +}; use std::str::FromStr; #[test] fn claim_account_work() { - ExtBuilder::default().build().execute_with(|| { - assert_ok!(EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&alice()), - EvmAccountsModule::eth_sign(&alice(), &ALICE) - )); - System::assert_last_event(RuntimeEvent::EvmAccountsModule(crate::Event::ClaimAccount { - account_id: ALICE, - evm_address: EvmAccountsModule::eth_address(&alice()), - })); - assert!( - Accounts::::contains_key(EvmAccountsModule::eth_address(&alice())) - && EvmAddresses::::contains_key(ALICE) - ); - }); + ExtBuilder::default().build().execute_with(|| { + assert_ok!(EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&alice()), + EvmAccountsModule::eth_sign(&alice(), &ALICE) + )); + System::assert_last_event(RuntimeEvent::EvmAccountsModule( + crate::Event::ClaimAccount { + account_id: ALICE, + evm_address: EvmAccountsModule::eth_address(&alice()), + }, + )); + assert!( + Accounts::::contains_key(EvmAccountsModule::eth_address(&alice())) + && EvmAddresses::::contains_key(ALICE) + ); + }); } #[test] fn claim_account_should_not_work() { - ExtBuilder::default().build().execute_with(|| { - assert_noop!( - EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&bob()), - EvmAccountsModule::eth_sign(&bob(), &BOB) - ), - Error::::InvalidSignature - ); - assert_noop!( - EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&bob()), - EvmAccountsModule::eth_sign(&alice(), &ALICE) - ), - Error::::InvalidSignature - ); - assert_ok!(EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&alice()), - EvmAccountsModule::eth_sign(&alice(), &ALICE) - )); - assert_noop!( - EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&alice()), - EvmAccountsModule::eth_sign(&alice(), &ALICE) - ), - Error::::AccountIdHasMapped - ); - assert_noop!( - EvmAccountsModule::claim_account( - RuntimeOrigin::signed(BOB), - EvmAccountsModule::eth_address(&alice()), - EvmAccountsModule::eth_sign(&alice(), &BOB) - ), - Error::::EthAddressHasMapped - ); - }); + ExtBuilder::default().build().execute_with(|| { + assert_noop!( + EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&bob()), + EvmAccountsModule::eth_sign(&bob(), &BOB) + ), + Error::::InvalidSignature + ); + assert_noop!( + EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&bob()), + EvmAccountsModule::eth_sign(&alice(), &ALICE) + ), + Error::::InvalidSignature + ); + assert_ok!(EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&alice()), + EvmAccountsModule::eth_sign(&alice(), &ALICE) + )); + assert_noop!( + EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&alice()), + EvmAccountsModule::eth_sign(&alice(), &ALICE) + ), + Error::::AccountIdHasMapped + ); + assert_noop!( + EvmAccountsModule::claim_account( + RuntimeOrigin::signed(BOB), + EvmAccountsModule::eth_address(&alice()), + EvmAccountsModule::eth_sign(&alice(), &BOB) + ), + Error::::EthAddressHasMapped + ); + }); } #[test] fn evm_get_account_id() { - ExtBuilder::default().build().execute_with(|| { - let evm_account = EvmAccountsModule::eth_address(&alice()); - let evm_account_to_default = { - let mut bytes = *b"evm:aaaaaaaaaaaaaaaaaaaa\0\0\0\0\0\0\0\0"; - bytes[4..24].copy_from_slice(&evm_account[..]); - AccountId32::from(bytes) - }; - assert_eq!( - EvmAddressMapping::::get_account_id(&evm_account), - evm_account_to_default - ); - - assert_ok!(EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - EvmAccountsModule::eth_address(&alice()), - EvmAccountsModule::eth_sign(&alice(), &ALICE) - )); - - assert_eq!(EvmAddressMapping::::get_account_id(&evm_account), ALICE); - assert_eq!( - EvmAddressMapping::::get_evm_address(&ALICE).unwrap(), - evm_account - ); - - assert!(EvmAddressMapping::::is_linked( - &evm_account_to_default, - &evm_account - )); - assert!(EvmAddressMapping::::is_linked(&ALICE, &evm_account)); - }); + ExtBuilder::default().build().execute_with(|| { + let evm_account = EvmAccountsModule::eth_address(&alice()); + let evm_account_to_default = { + let mut bytes = *b"evm:aaaaaaaaaaaaaaaaaaaa\0\0\0\0\0\0\0\0"; + bytes[4..24].copy_from_slice(&evm_account[..]); + AccountId32::from(bytes) + }; + assert_eq!( + EvmAddressMapping::::get_account_id(&evm_account), + evm_account_to_default + ); + + assert_ok!(EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + EvmAccountsModule::eth_address(&alice()), + EvmAccountsModule::eth_sign(&alice(), &ALICE) + )); + + assert_eq!( + EvmAddressMapping::::get_account_id(&evm_account), + ALICE + ); + assert_eq!( + EvmAddressMapping::::get_evm_address(&ALICE).unwrap(), + evm_account + ); + + assert!(EvmAddressMapping::::is_linked( + &evm_account_to_default, + &evm_account + )); + assert!(EvmAddressMapping::::is_linked( + &ALICE, + &evm_account + )); + }); } #[test] fn account_to_evm() { - ExtBuilder::default().build().execute_with(|| { - let default_evm_account = EvmAddress::from_str("f0bd9ffde7f9f4394d8cc1d86bf24d87e5d5a9a9").unwrap(); - assert_eq!(EvmAddressMapping::::get_evm_address(&ALICE), None); - - let alice_evm_account = EvmAccountsModule::eth_address(&alice()); - - assert_ok!(EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - alice_evm_account, - EvmAccountsModule::eth_sign(&alice(), &ALICE) - )); - - assert_eq!(EvmAddressMapping::::get_account_id(&alice_evm_account), ALICE); - assert_eq!( - EvmAddressMapping::::get_evm_address(&ALICE).unwrap(), - alice_evm_account - ); - - assert_eq!( - EvmAddressMapping::::get_or_create_evm_address(&ALICE), - alice_evm_account - ); - - assert!(EvmAddressMapping::::is_linked(&ALICE, &alice_evm_account)); - assert!(EvmAddressMapping::::is_linked(&ALICE, &default_evm_account)); - }); + ExtBuilder::default().build().execute_with(|| { + let default_evm_account = + EvmAddress::from_str("f0bd9ffde7f9f4394d8cc1d86bf24d87e5d5a9a9").unwrap(); + assert_eq!(EvmAddressMapping::::get_evm_address(&ALICE), None); + + let alice_evm_account = EvmAccountsModule::eth_address(&alice()); + + assert_ok!(EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + alice_evm_account, + EvmAccountsModule::eth_sign(&alice(), &ALICE) + )); + + assert_eq!( + EvmAddressMapping::::get_account_id(&alice_evm_account), + ALICE + ); + assert_eq!( + EvmAddressMapping::::get_evm_address(&ALICE).unwrap(), + alice_evm_account + ); + + assert_eq!( + EvmAddressMapping::::get_or_create_evm_address(&ALICE), + alice_evm_account + ); + + assert!(EvmAddressMapping::::is_linked( + &ALICE, + &alice_evm_account + )); + assert!(EvmAddressMapping::::is_linked( + &ALICE, + &default_evm_account + )); + }); } #[test] fn account_to_evm_with_create_default() { - ExtBuilder::default().build().execute_with(|| { - let default_evm_account = EvmAddress::from_str("f0bd9ffde7f9f4394d8cc1d86bf24d87e5d5a9a9").unwrap(); - assert_eq!( - EvmAddressMapping::::get_or_create_evm_address(&ALICE), - default_evm_account - ); - System::assert_last_event(RuntimeEvent::EvmAccountsModule(crate::Event::ClaimAccount { - account_id: ALICE, - evm_address: default_evm_account, - })); - assert_eq!( - EvmAddressMapping::::get_evm_address(&ALICE), - Some(default_evm_account) - ); - - assert_eq!( - EvmAddressMapping::::get_account_id(&default_evm_account), - ALICE - ); - - assert!(EvmAddressMapping::::is_linked(&ALICE, &default_evm_account)); - - let alice_evm_account = EvmAccountsModule::eth_address(&alice()); - - assert_noop!( - EvmAccountsModule::claim_account( - RuntimeOrigin::signed(ALICE), - alice_evm_account, - EvmAccountsModule::eth_sign(&alice(), &ALICE) - ), - Error::::AccountIdHasMapped - ); - }); + ExtBuilder::default().build().execute_with(|| { + let default_evm_account = + EvmAddress::from_str("f0bd9ffde7f9f4394d8cc1d86bf24d87e5d5a9a9").unwrap(); + assert_eq!( + EvmAddressMapping::::get_or_create_evm_address(&ALICE), + default_evm_account + ); + System::assert_last_event(RuntimeEvent::EvmAccountsModule( + crate::Event::ClaimAccount { + account_id: ALICE, + evm_address: default_evm_account, + }, + )); + assert_eq!( + EvmAddressMapping::::get_evm_address(&ALICE), + Some(default_evm_account) + ); + + assert_eq!( + EvmAddressMapping::::get_account_id(&default_evm_account), + ALICE + ); + + assert!(EvmAddressMapping::::is_linked( + &ALICE, + &default_evm_account + )); + + let alice_evm_account = EvmAccountsModule::eth_address(&alice()); + + assert_noop!( + EvmAccountsModule::claim_account( + RuntimeOrigin::signed(ALICE), + alice_evm_account, + EvmAccountsModule::eth_sign(&alice(), &ALICE) + ), + Error::::AccountIdHasMapped + ); + }); } diff --git a/pallets/evm-utility/macro/src/lib.rs b/pallets/evm-utility/macro/src/lib.rs index 644adf3c..719e3f83 100644 --- a/pallets/evm-utility/macro/src/lib.rs +++ b/pallets/evm-utility/macro/src/lib.rs @@ -18,55 +18,58 @@ use syn::{parse_macro_input, Expr, ExprLit, Ident, ItemEnum, Lit, LitByteStr, Li #[proc_macro_attribute] pub fn generate_function_selector(_: TokenStream, input: TokenStream) -> TokenStream { - let item = parse_macro_input!(input as ItemEnum); + let item = parse_macro_input!(input as ItemEnum); - let ItemEnum { - attrs, - vis, - enum_token, - ident, - variants, - .. - } = item; + let ItemEnum { + attrs, + vis, + enum_token, + ident, + variants, + .. + } = item; - let mut ident_expressions: Vec = vec![]; - let mut variant_expressions: Vec = vec![]; - for variant in variants { - if let Some((_, Expr::Lit(ExprLit { lit, .. }))) = variant.discriminant { - if let Lit::Str(token) = lit { - let selector = pallet_evm_utility::get_function_selector(&token.value()); - // println!("method: {:?}, selector: {:?}", token.value(), selector); - ident_expressions.push(variant.ident); - variant_expressions.push(Expr::Lit(ExprLit { - lit: Lit::Verbatim(Literal::u32_suffixed(selector)), - attrs: Default::default(), - })); - } else { - panic!("Not method string: `{:?}`", lit); - } - } else { - panic!("Not enum: `{:?}`", variant); - } - } + let mut ident_expressions: Vec = vec![]; + let mut variant_expressions: Vec = vec![]; + for variant in variants { + if let Some((_, Expr::Lit(ExprLit { lit, .. }))) = variant.discriminant { + if let Lit::Str(token) = lit { + let selector = pallet_evm_utility::get_function_selector(&token.value()); + // println!("method: {:?}, selector: {:?}", token.value(), selector); + ident_expressions.push(variant.ident); + variant_expressions.push(Expr::Lit(ExprLit { + lit: Lit::Verbatim(Literal::u32_suffixed(selector)), + attrs: Default::default(), + })); + } else { + panic!("Not method string: `{:?}`", lit); + } + } else { + panic!("Not enum: `{:?}`", variant); + } + } - (quote! { - #(#attrs)* - #vis #enum_token #ident { - #( - #ident_expressions = #variant_expressions, - )* - } - }) - .into() + (quote! { + #(#attrs)* + #vis #enum_token #ident { + #( + #ident_expressions = #variant_expressions, + )* + } + }) + .into() } #[proc_macro] pub fn keccak256(input: TokenStream) -> TokenStream { - let lit_str = parse_macro_input!(input as LitStr); + let lit_str = parse_macro_input!(input as LitStr); - let result = pallet_evm_utility::sha3_256(&lit_str.value()); + let result = pallet_evm_utility::sha3_256(&lit_str.value()); - let eval = Lit::ByteStr(LitByteStr::new(result.as_ref(), proc_macro2::Span::call_site())); + let eval = Lit::ByteStr(LitByteStr::new( + result.as_ref(), + proc_macro2::Span::call_site(), + )); - quote!(#eval).into() -} \ No newline at end of file + quote!(#eval).into() +} diff --git a/pallets/evm-utility/src/lib.rs b/pallets/evm-utility/src/lib.rs index ba1c14ed..eb8551ce 100644 --- a/pallets/evm-utility/src/lib.rs +++ b/pallets/evm-utility/src/lib.rs @@ -25,19 +25,19 @@ pub use evm_gasometer; pub use evm_runtime; pub fn sha3_256(s: &str) -> [u8; 32] { - let mut result = [0u8; 32]; + let mut result = [0u8; 32]; - // create a SHA3-256 object - let mut hasher = Keccak256::new(); - // write input message - hasher.update(s); - // read hash digest - result.copy_from_slice(&hasher.finalize()[..32]); + // create a SHA3-256 object + let mut hasher = Keccak256::new(); + // write input message + hasher.update(s); + // read hash digest + result.copy_from_slice(&hasher.finalize()[..32]); - result + result } pub fn get_function_selector(s: &str) -> u32 { - let result = sha3_256(s); - u32::from_be_bytes(result[..4].try_into().unwrap()) -} \ No newline at end of file + let result = sha3_256(s); + u32::from_be_bytes(result[..4].try_into().unwrap()) +} diff --git a/pallets/wrapper/src/lib.rs b/pallets/wrapper/src/lib.rs index 4b77472c..2a169b6c 100644 --- a/pallets/wrapper/src/lib.rs +++ b/pallets/wrapper/src/lib.rs @@ -59,7 +59,7 @@ use frame_support::{ pallet_prelude::*, traits::{ fungibles::{Inspect, Mutate}, - Get, EnsureOrigin, + EnsureOrigin, Get, }, }; use frame_system::pallet_prelude::*; @@ -79,7 +79,6 @@ pub mod benchmarking; pub mod weights; pub use weights::*; - #[frame_support::pallet] pub mod pallet { use super::*; @@ -189,7 +188,6 @@ pub mod pallet { let foreign_trac_asset_id = T::ForeignTracAssetId::get(); let local_trac_asset_id = T::LocalTracAssetId::get(); - // Transfer foreign TRAC from user to pallet account T::Currency::transfer( foreign_trac_asset_id, @@ -197,7 +195,8 @@ pub mod pallet { &pallet_account, amount, frame_support::traits::tokens::Preservation::Expendable, - ).map_err(|_| Error::::InsufficientFunds)?; + ) + .map_err(|_| Error::::InsufficientFunds)?; // Mint local TRAC to user T::Currency::mint_into(local_trac_asset_id, &who, amount)?; @@ -229,7 +228,6 @@ pub mod pallet { let foreign_trac_asset_id = T::ForeignTracAssetId::get(); let local_trac_asset_id = T::LocalTracAssetId::get(); - // Burn local TRAC from user T::Currency::burn_from( local_trac_asset_id, @@ -237,7 +235,8 @@ pub mod pallet { amount, frame_support::traits::tokens::Precision::Exact, frame_support::traits::tokens::Fortitude::Polite, - ).map_err(|_| Error::::InsufficientFunds)?; + ) + .map_err(|_| Error::::InsufficientFunds)?; // Transfer foreign TRAC from pallet account to user T::Currency::transfer( @@ -246,7 +245,8 @@ pub mod pallet { &who, amount, frame_support::traits::tokens::Preservation::Expendable, - ).map_err(|_| Error::::InsufficientFunds)?; + ) + .map_err(|_| Error::::InsufficientFunds)?; // Emit event Self::deposit_event(Event::TracUnwrapped { who, amount }); diff --git a/pallets/wrapper/src/tests.rs b/pallets/wrapper/src/tests.rs index 1ac9dbbc..b98af352 100644 --- a/pallets/wrapper/src/tests.rs +++ b/pallets/wrapper/src/tests.rs @@ -13,9 +13,7 @@ use super::*; use crate::mock::*; -use frame_support::{ - assert_noop, assert_ok, -}; +use frame_support::{assert_noop, assert_ok}; #[test] fn trac_wrap_works() { diff --git a/pallets/xc-asset-config/src/benchmarking.rs b/pallets/xc-asset-config/src/benchmarking.rs index 87ce29bd..a3a3dd2d 100644 --- a/pallets/xc-asset-config/src/benchmarking.rs +++ b/pallets/xc-asset-config/src/benchmarking.rs @@ -92,4 +92,4 @@ impl_benchmark_test_suite!( XcAssetConfig, crate::benchmarking::tests::new_test_ext(), crate::mock::Test -); \ No newline at end of file +); diff --git a/pallets/xc-asset-config/src/lib.rs b/pallets/xc-asset-config/src/lib.rs index cde9f674..dd5ff2ce 100644 --- a/pallets/xc-asset-config/src/lib.rs +++ b/pallets/xc-asset-config/src/lib.rs @@ -54,9 +54,9 @@ pub use weights::WeightInfo; pub mod pallet { use crate::weights::WeightInfo; + use codec::HasCompact; use frame_support::{pallet_prelude::*, traits::EnsureOrigin}; use frame_system::pallet_prelude::*; - use codec::HasCompact; use sp_std::boxed::Box; use xcm::{v3::MultiLocation, VersionedLocation}; @@ -162,9 +162,7 @@ pub mod pallet { new_asset_location: VersionedLocation, }, /// Supported asset type for fee payment removed. - SupportedAssetRemoved { - asset_location: VersionedLocation, - }, + SupportedAssetRemoved { asset_location: VersionedLocation }, /// Removed all information related to an asset Id AssetRemoved { asset_location: VersionedLocation, diff --git a/pallets/xc-asset-config/src/migrations.rs b/pallets/xc-asset-config/src/migrations.rs index adf37d0e..376c2733 100644 --- a/pallets/xc-asset-config/src/migrations.rs +++ b/pallets/xc-asset-config/src/migrations.rs @@ -103,4 +103,4 @@ impl OnRuntimeUpgrade for MigrationXcmV3 { Ok(()) } -} \ No newline at end of file +} diff --git a/pallets/xc-asset-config/src/mock.rs b/pallets/xc-asset-config/src/mock.rs index 75fad6e9..b4105a51 100644 --- a/pallets/xc-asset-config/src/mock.rs +++ b/pallets/xc-asset-config/src/mock.rs @@ -103,4 +103,4 @@ impl ExternalityBuilder { ext.execute_with(|| System::set_block_number(1)); ext } -} \ No newline at end of file +} diff --git a/pallets/xc-asset-config/src/tests.rs b/pallets/xc-asset-config/src/tests.rs index 7e58c4d7..ee8170aa 100644 --- a/pallets/xc-asset-config/src/tests.rs +++ b/pallets/xc-asset-config/src/tests.rs @@ -95,10 +95,12 @@ fn register_asset_location_and_units_per_sec_is_ok() { Box::new(asset_location.clone().into_versioned()), units )); - System::assert_last_event(mock::RuntimeEvent::XcAssetConfig(Event::UnitsPerSecondChanged { - asset_location: asset_location.clone().into_versioned(), - units_per_second: units, - })); + System::assert_last_event(mock::RuntimeEvent::XcAssetConfig( + Event::UnitsPerSecondChanged { + asset_location: asset_location.clone().into_versioned(), + units_per_second: units, + }, + )); assert_eq!( AssetLocationUnitsPerSecond::::get(&asset_location.clone().into_versioned()) .unwrap(), @@ -165,11 +167,13 @@ fn change_asset_location_is_ok() { Box::new(new_asset_location.clone().into_versioned()), asset_id )); - System::assert_last_event(mock::RuntimeEvent::XcAssetConfig(Event::AssetLocationChanged { - previous_asset_location: asset_location.clone().into_versioned(), - asset_id: asset_id, - new_asset_location: new_asset_location.clone().into_versioned(), - })); + System::assert_last_event(mock::RuntimeEvent::XcAssetConfig( + Event::AssetLocationChanged { + previous_asset_location: asset_location.clone().into_versioned(), + asset_id: asset_id, + new_asset_location: new_asset_location.clone().into_versioned(), + }, + )); // Assert storage state assert_eq!( @@ -218,9 +222,11 @@ fn remove_payment_asset_is_ok() { RuntimeOrigin::root(), Box::new(asset_location.clone().into_versioned()), )); - System::assert_last_event(mock::RuntimeEvent::XcAssetConfig(Event::SupportedAssetRemoved { - asset_location: asset_location.clone().into_versioned(), - })); + System::assert_last_event(mock::RuntimeEvent::XcAssetConfig( + Event::SupportedAssetRemoved { + asset_location: asset_location.clone().into_versioned(), + }, + )); assert!(!AssetLocationUnitsPerSecond::::contains_key( asset_location.clone().into_versioned() )); @@ -424,4 +430,4 @@ fn incompatible_versioned_multilocations_are_not_ok() { Error::::MultiLocationNotSupported ); }) -} \ No newline at end of file +} diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index 6343740c..168b6ac9 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -129,7 +129,9 @@ where if let Some(asset_id) = Runtime::address_to_asset_id(address) { // We check maybe_total_supply. This function returns Some if the asset exists, // which is all we care about at this point - if pallet_assets::Pallet::::maybe_total_supply(asset_id.clone()).is_some() { + if pallet_assets::Pallet::::maybe_total_supply(asset_id.clone()) + .is_some() + { let result = { let selector = match handle.read_selector() { Ok(selector) => selector, @@ -294,10 +296,20 @@ where let amount: U256 = { let owner = Runtime::AddressMapping::into_account_id(handle.context().caller); let spender: Runtime::AccountId = Runtime::AddressMapping::into_account_id(spender); - pallet_assets::Pallet::::allowance(asset_id.clone(), &owner, &spender).into() + pallet_assets::Pallet::::allowance( + asset_id.clone(), + &owner, + &spender, + ) + .into() }; - Self::_approve(handle, asset_id, spender, amount.saturating_add(added_value)) + Self::_approve( + handle, + asset_id, + spender, + amount.saturating_add(added_value), + ) } fn decrease_allowance( @@ -317,13 +329,28 @@ where let owner = Runtime::AddressMapping::into_account_id(handle.context().caller); let spender: Runtime::AccountId = Runtime::AddressMapping::into_account_id(spender); - pallet_assets::Pallet::::allowance(asset_id.clone(), &owner, &spender).into() + pallet_assets::Pallet::::allowance( + asset_id.clone(), + &owner, + &spender, + ) + .into() }; - Self::_approve(handle, asset_id, spender, amount.saturating_sub(subtracted_value)) + Self::_approve( + handle, + asset_id, + spender, + amount.saturating_sub(subtracted_value), + ) } - fn _approve(handle: &mut impl PrecompileHandle, asset_id: AssetIdOf, spender: H160, amount: U256) -> EvmResult { + fn _approve( + handle: &mut impl PrecompileHandle, + asset_id: AssetIdOf, + spender: H160, + amount: U256, + ) -> EvmResult { { let origin = Runtime::AddressMapping::into_account_id(handle.context().caller); let spender: Runtime::AccountId = Runtime::AddressMapping::into_account_id(spender); @@ -335,8 +362,11 @@ where handle.record_cost(RuntimeHelper::::db_read_gas_cost())?; // If previous approval exists, we need to clean it - if pallet_assets::Pallet::::allowance(asset_id.clone(), &origin, &spender) - != 0u32.into() + if pallet_assets::Pallet::::allowance( + asset_id.clone(), + &origin, + &spender, + ) != 0u32.into() { RuntimeHelper::::try_dispatch( handle, diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index c0417292..a4e38376 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -21,7 +21,11 @@ use super::*; use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::{construct_runtime, parameter_types, traits::{Everything, AsEnsureOriginWithArg}, weights::Weight}; +use frame_support::{ + construct_runtime, parameter_types, + traits::{AsEnsureOriginWithArg, Everything}, + weights::Weight, +}; use frame_system::{EnsureRoot, EnsureSigned}; use pallet_evm::{AddressMapping, EnsureAddressNever, EnsureAddressRoot}; @@ -30,7 +34,7 @@ use serde::{Deserialize, Serialize}; use sp_core::{H160, H256}; use sp_runtime::{ testing::Header, - traits::{BlakeTwo256, IdentityLookup, ConstU32}, + traits::{BlakeTwo256, ConstU32, IdentityLookup}, }; pub type AccountId = Account; @@ -209,7 +213,7 @@ parameter_types! { impl pallet_evm::Config for Runtime { type FeeCalculator = (); type GasWeightMapping = pallet_evm::FixedGasWeightMapping; - type WeightPerGas = WeightPerGas; + type WeightPerGas = WeightPerGas; type CallOrigin = EnsureAddressRoot; type WithdrawOrigin = EnsureAddressNever; type AddressMapping = AccountId; @@ -242,7 +246,7 @@ parameter_types! { impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; - type AssetId = AssetId; + type AssetId = AssetId; type AssetIdParameter = AssetId; type Currency = Balances; type CreateOrigin = AsEnsureOriginWithArg>; diff --git a/precompiles/assets-erc20/src/tests.rs b/precompiles/assets-erc20/src/tests.rs index 1cdd8d85..f1673538 100644 --- a/precompiles/assets-erc20/src/tests.rs +++ b/precompiles/assets-erc20/src/tests.rs @@ -91,7 +91,6 @@ fn selectors() { crate::SELECTOR_LOG_APPROVAL, &Keccak256::digest(b"Approval(address,address,uint256)")[..] ); - } #[test] @@ -391,7 +390,7 @@ fn increase_allowance() { )) .execute_returns(EvmDataWriter::new().write(true).build()); - precompiles() + precompiles() .prepare_test( Account::Alice, Account::AssetId(0u128), @@ -439,14 +438,18 @@ fn increase_allowance_saturating() { .write(U256::from(u128::MAX) - 1) .build(), ) - .expect_log(LogsBuilder::new(Account::AssetId(0u128).into()).log3( - SELECTOR_LOG_APPROVAL, - Account::Alice, - Account::Bob, - EvmDataWriter::new().write(U256::from(u128::MAX) - 1).build(), - )) + .expect_log( + LogsBuilder::new(Account::AssetId(0u128).into()).log3( + SELECTOR_LOG_APPROVAL, + Account::Alice, + Account::Bob, + EvmDataWriter::new() + .write(U256::from(u128::MAX) - 1) + .build(), + ), + ) .execute_returns(EvmDataWriter::new().write(true).build()); - + precompiles() .prepare_test( Account::Alice, @@ -456,12 +459,16 @@ fn increase_allowance_saturating() { .write(U256::from(5)) .build(), ) - .expect_log(LogsBuilder::new(Account::AssetId(0u128).into()).log3( - SELECTOR_LOG_APPROVAL, - Account::Alice, - Account::Bob, - EvmDataWriter::new().write(U256::from(u128::MAX) + 4).build(), - )) + .expect_log( + LogsBuilder::new(Account::AssetId(0u128).into()).log3( + SELECTOR_LOG_APPROVAL, + Account::Alice, + Account::Bob, + EvmDataWriter::new() + .write(U256::from(u128::MAX) + 4) + .build(), + ), + ) .execute_returns(EvmDataWriter::new().write(true).build()); precompiles() @@ -477,22 +484,22 @@ fn increase_allowance_saturating() { .expect_no_logs() .execute_returns(EvmDataWriter::new().write(U256::from(u128::MAX)).build()); - // precompiles() - // .prepare_test( - // Account::Alice, - // Account::AssetId(0u128), - // EvmDataWriter::new_with_selector(Action::IncreaseAllowance) - // .write(Address(Account::Bob.into())) - // .write(U256::from(2)) - // .build(), - // ) - // .expect_log(LogsBuilder::new(Account::AssetId(0u128).into()).log3( - // SELECTOR_LOG_APPROVAL, - // Account::Alice, - // Account::Bob, - // EvmDataWriter::new().write(U256::MAX).build(), - // )) - // .execute_returns(EvmDataWriter::new().write(true).build()); + // precompiles() + // .prepare_test( + // Account::Alice, + // Account::AssetId(0u128), + // EvmDataWriter::new_with_selector(Action::IncreaseAllowance) + // .write(Address(Account::Bob.into())) + // .write(U256::from(2)) + // .build(), + // ) + // .expect_log(LogsBuilder::new(Account::AssetId(0u128).into()).log3( + // SELECTOR_LOG_APPROVAL, + // Account::Alice, + // Account::Bob, + // EvmDataWriter::new().write(U256::MAX).build(), + // )) + // .execute_returns(EvmDataWriter::new().write(true).build()); }); } @@ -533,7 +540,7 @@ fn decrease_allowance() { )) .execute_returns(EvmDataWriter::new().write(true).build()); - precompiles() + precompiles() .prepare_test( Account::Alice, Account::AssetId(0u128), @@ -552,7 +559,6 @@ fn decrease_allowance() { }); } - #[test] fn decrease_allowance_saturating() { ExtBuilder::default() @@ -590,7 +596,7 @@ fn decrease_allowance_saturating() { )) .execute_returns(EvmDataWriter::new().write(true).build()); - precompiles() + precompiles() .prepare_test( Account::Alice, Account::AssetId(0u128), @@ -609,7 +615,6 @@ fn decrease_allowance_saturating() { }); } - #[test] fn transfer() { ExtBuilder::default() diff --git a/precompiles/utils/src/data.rs b/precompiles/utils/src/data.rs index 8edce684..3bbf6c6e 100644 --- a/precompiles/utils/src/data.rs +++ b/precompiles/utils/src/data.rs @@ -600,4 +600,4 @@ impl EvmData for Bytes { fn has_static_size() -> bool { false } -} \ No newline at end of file +} diff --git a/precompiles/utils/src/lib.rs b/precompiles/utils/src/lib.rs index 4ac2d58c..4a36d0ef 100644 --- a/precompiles/utils/src/lib.rs +++ b/precompiles/utils/src/lib.rs @@ -29,9 +29,9 @@ use frame_support::{ dispatch::{GetDispatchInfo, PostDispatchInfo}, traits::Get, }; -use sp_runtime::{traits::Dispatchable}; use pallet_evm::{GasWeightMapping, Log}; use sp_core::{H160, H256, U256}; +use sp_runtime::traits::Dispatchable; use sp_std::{marker::PhantomData, vec, vec::Vec}; mod data; @@ -374,4 +374,4 @@ fn check_function_modifier( } Ok(()) -} \ No newline at end of file +} diff --git a/precompiles/utils/src/testing.rs b/precompiles/utils/src/testing.rs index a1b1e2ae..50167a22 100644 --- a/precompiles/utils/src/testing.rs +++ b/precompiles/utils/src/testing.rs @@ -438,4 +438,4 @@ impl core::fmt::Debug for PrettyLog { .field("data_utf8", &message) .finish() } -} \ No newline at end of file +} diff --git a/precompiles/utils/src/tests.rs b/precompiles/utils/src/tests.rs index 071a7a81..65442448 100644 --- a/precompiles/utils/src/tests.rs +++ b/precompiles/utils/src/tests.rs @@ -721,4 +721,4 @@ fn read_complex_solidity_function() { // weight assert_eq!(reader.read::().unwrap(), 100u32.into()); -} \ No newline at end of file +} diff --git a/runtime/build.rs b/runtime/build.rs index 34645dab..2a9a3fbc 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -1,16 +1,16 @@ #[cfg(all(feature = "std", feature = "metadata-hash"))] fn main() { - substrate_wasm_builder::WasmBuilder::init_with_defaults() - .enable_metadata_hash("NEURO", 12) - .build(); + substrate_wasm_builder::WasmBuilder::init_with_defaults() + .enable_metadata_hash("NEURO", 12) + .build(); } #[cfg(all(feature = "std", not(feature = "metadata-hash")))] fn main() { - substrate_wasm_builder::WasmBuilder::build_using_defaults(); + substrate_wasm_builder::WasmBuilder::build_using_defaults(); } /// The wasm builder is deactivated when compiling /// this crate for wasm to speed up the compilation. #[cfg(not(feature = "std"))] -fn main() {} \ No newline at end of file +fn main() {} diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index c560da46..913d3e1e 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -427,7 +427,7 @@ pub fn foreign_assets_pallet_account() -> AccountId { // Root which returns the local_assets_pallet_account pub struct RootWithLocalAssetsPalletAccount; impl frame_support::traits::EnsureOriginWithArg -for RootWithLocalAssetsPalletAccount + for RootWithLocalAssetsPalletAccount { type Success = AccountId; fn try_origin(o: RuntimeOrigin, _asset_id: &u128) -> Result { @@ -444,7 +444,7 @@ for RootWithLocalAssetsPalletAccount // Root which returns the foreign_assets_pallet_account pub struct RootWithForeignAssetsPalletsAccount; impl frame_support::traits::EnsureOriginWithArg -for RootWithForeignAssetsPalletsAccount + for RootWithForeignAssetsPalletsAccount { type Success = AccountId; fn try_origin(o: RuntimeOrigin, _asset_id: &MultiLocation) -> Result { @@ -452,7 +452,7 @@ for RootWithForeignAssetsPalletsAccount RuntimeOrigin, MultiLocation, >>::try_origin(o, _asset_id) - .map(|_| foreign_assets_pallet_account()) + .map(|_| foreign_assets_pallet_account()) } #[cfg(feature = "runtime-benchmarks")] @@ -485,25 +485,43 @@ impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHel #[cfg(test)] mod tests { use super::*; - use sp_runtime::traits::AccountIdConversion; use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; + use sp_runtime::traits::AccountIdConversion; #[test] fn test_local_assets_pallet_account() { let local_assets_pallet_account_raw = local_assets_pallet_account(); - let local_assets_pallet_account_formatted = local_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); - println!("{:?}", sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())).to_ss58check_with_version(Ss58AddressFormat::custom(101))); - - assert_eq!(local_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); - assert_eq!(local_assets_pallet_account_formatted, "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq"); + let local_assets_pallet_account_formatted = local_assets_pallet_account_raw + .to_ss58check_with_version(Ss58AddressFormat::custom(101)); + println!( + "{:?}", + sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())) + .to_ss58check_with_version(Ss58AddressFormat::custom(101)) + ); + + assert_eq!( + local_assets_pallet_account_raw, + ForeignAssetsPalletId::get().into_account_truncating() + ); + assert_eq!( + local_assets_pallet_account_formatted, + "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq" + ); } #[test] fn test_foreign_assets_pallet_account() { let foreign_assets_pallet_account_raw = foreign_assets_pallet_account(); - let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); - - assert_eq!(foreign_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); - assert_eq!(foreign_assets_pallet_account_formatted, "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz"); + let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw + .to_ss58check_with_version(Ss58AddressFormat::custom(101)); + + assert_eq!( + foreign_assets_pallet_account_raw, + ForeignAssetsPalletId::get().into_account_truncating() + ); + assert_eq!( + foreign_assets_pallet_account_formatted, + "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz" + ); } } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index e09918d6..b5d84f8f 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -19,16 +19,14 @@ use smallvec::smallvec; use sp_api::impl_runtime_apis; use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H160, H256, U256}; use sp_runtime::{ - create_runtime_str, generic, impl_opaque_keys, DispatchResult, + create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdConversion, IdentityLookup, BlakeTwo256, Block as BlockT, - ConvertInto, DispatchInfoOf, Dispatchable, IdentifyAccount, - PostDispatchInfoOf, UniqueSaturatedInto, Verify, One + AccountIdConversion, BlakeTwo256, Block as BlockT, ConvertInto, DispatchInfoOf, + Dispatchable, IdentifyAccount, IdentityLookup, One, PostDispatchInfoOf, + UniqueSaturatedInto, Verify, }, - transaction_validity::{ - TransactionSource, TransactionValidity, TransactionValidityError - }, - ApplyExtrinsicResult, MultiSignature, RuntimeDebug, + transaction_validity::{TransactionSource, TransactionValidity, TransactionValidityError}, + ApplyExtrinsicResult, DispatchResult, MultiSignature, RuntimeDebug, }; use sp_std::prelude::*; @@ -36,23 +34,24 @@ use sp_std::prelude::*; use sp_version::NativeVersion; use sp_version::RuntimeVersion; -use codec::{Encode, Decode, MaxEncodedLen}; +use codec::{Decode, Encode, MaxEncodedLen}; use frame_support::{ - construct_runtime, parameter_types, transactional, + construct_runtime, + dispatch::DispatchClass, genesis_builder_helper::{build_state, get_preset}, + parameter_types, traits::{ - tokens::{PayFromAccount, UnityAssetBalanceConversion}, fungible::{Balanced, Credit, HoldConsideration, Inspect}, - Currency as PalletCurrency, EqualPrivilegeOnly, EitherOfDiverse, - Everything, FindAuthor, ReservableCurrency, Imbalance, InstanceFilter, OnUnbalanced, ConstBool, - ConstU32, ConstU64, ConstU8, WithdrawReasons, OnFinalize, LinearStoragePrice, - ExistenceRequirement, TransformOrigin + tokens::{PayFromAccount, UnityAssetBalanceConversion}, + ConstBool, ConstU32, ConstU64, ConstU8, Currency as PalletCurrency, EitherOfDiverse, + EqualPrivilegeOnly, Everything, ExistenceRequirement, FindAuthor, Imbalance, + InstanceFilter, LinearStoragePrice, OnFinalize, OnUnbalanced, ReservableCurrency, + TransformOrigin, WithdrawReasons, }, - dispatch::DispatchClass, + transactional, weights::{ - constants::WEIGHT_REF_TIME_PER_SECOND, - ConstantMultiplier, Weight, WeightToFeeCoefficient, WeightToFeeCoefficients, - WeightToFeePolynomial, + constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight, WeightToFeeCoefficient, + WeightToFeeCoefficients, WeightToFeePolynomial, }, ConsensusEngineId, PalletId, }; @@ -60,9 +59,9 @@ use frame_system::{ limits::{BlockLength, BlockWeights}, EnsureRoot, EnsureSigned, }; +use pallet_transaction_payment::{ConstFeeMultiplier, Multiplier}; pub use sp_consensus_aura::sr25519::AuthorityId as AuraId; pub use sp_runtime::{MultiAddress, Perbill, Permill}; -use pallet_transaction_payment::{ConstFeeMultiplier, Multiplier}; use weights::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight}; use xcm_config::XcmOriginToTransactDispatchOrigin; @@ -70,21 +69,23 @@ use xcm_config::XcmOriginToTransactDispatchOrigin; pub use sp_runtime::BuildStorage; // Polkadot Imports -use polkadot_runtime_common::BlockHashCount; use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use parachains_common::message_queue::{NarrowOriginToSibling, ParaIdToSibling}; use polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; +use polkadot_runtime_common::BlockHashCount; // XCM Imports use xcm::latest::prelude::BodyId; // Frontier +use fp_rpc::TransactionStatus; +use pallet_ethereum::{ + Call::transact, EthereumBlockHashMapping, PostLogContent, Transaction as EthereumTransaction, +}; use pallet_evm::{ - EnsureAddressRoot, EnsureAddressNever, Account as EVMAccount, EVMFungibleAdapter, - FeeCalculator, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner + Account as EVMAccount, EVMFungibleAdapter, EnsureAddressNever, EnsureAddressRoot, + FeeCalculator, OnChargeEVMTransaction as OnChargeEVMTransactionT, Runner, }; -use pallet_ethereum::{Call::transact, PostLogContent, EthereumBlockHashMapping, Transaction as EthereumTransaction}; -use fp_rpc::TransactionStatus; use pallet_evm_accounts::{EvmAddressMapping, MergeAccount}; use pallet_evm_precompile_assets_erc20::AddressToAssetId; use pallet_identity::legacy::IdentityInfo; @@ -198,8 +199,8 @@ const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// We allow for 2 seconds of compute with a 6 second average block. const MAXIMUM_BLOCK_WEIGHT: Weight = Weight::from_parts( - WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), - cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64, + WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), + cumulus_primitives_core::relay_chain::MAX_POV_SIZE as u64, ); pub const fn deposit(items: u32, bytes: u32) -> Balance { @@ -328,8 +329,7 @@ impl pallet_authorship::Config for Runtime { } pub struct ToStakingPot; -impl OnUnbalanced> for ToStakingPot -{ +impl OnUnbalanced> for ToStakingPot { fn on_nonzero_unbalanced(amount: Credit) { let staking_pot = PotId::get().into_account_truncating(); let _ = Balances::resolve(&staking_pot, amount); @@ -337,8 +337,7 @@ impl OnUnbalanced> for ToStakingPot } pub struct FutureAuctionsPot; -impl OnUnbalanced> for FutureAuctionsPot -{ +impl OnUnbalanced> for FutureAuctionsPot { fn on_nonzero_unbalanced(amount: Credit) { let future_auctions_pot = FutureAuctionsPalletId::get().into_account_truncating(); let _ = Balances::resolve(&future_auctions_pot, amount); @@ -346,8 +345,7 @@ impl OnUnbalanced> for FutureAuctionsPot } pub struct DkgIncentivesPot; -impl OnUnbalanced> for DkgIncentivesPot -{ +impl OnUnbalanced> for DkgIncentivesPot { fn on_nonzero_unbalanced(amount: Credit) { let dkg_incentives_pot = DkgIncentivesPalletId::get().into_account_truncating(); let _ = Balances::resolve(&dkg_incentives_pot, amount); @@ -355,18 +353,15 @@ impl OnUnbalanced> for DkgIncentivesPot } pub struct TreasuryPot; -impl OnUnbalanced> for TreasuryPot -{ +impl OnUnbalanced> for TreasuryPot { fn on_nonzero_unbalanced(amount: Credit) { let treasury_port = TreasuryPalletId::get().into_account_truncating(); let _ = Balances::resolve(&treasury_port, amount); } } - pub struct DealWithFees; -impl OnUnbalanced> for DealWithFees -{ +impl OnUnbalanced> for DealWithFees { // this is called for substrate-based transactions fn on_unbalanceds(mut fees_then_tips: impl Iterator>) { if let Some(mut fees) = fees_then_tips.next() { @@ -396,7 +391,6 @@ impl OnUnbalanced> for DealWithFees let (dkg_incentives_fees, collators_incentives_fees) = split.0.ration(50, 50); let (future_auctions_fees, treasury_fees) = split.1.ration(75, 25); - >::on_unbalanced(treasury_fees); >::on_unbalanced(collators_incentives_fees); >::on_unbalanced(future_auctions_fees); @@ -446,7 +440,6 @@ type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook< UNINCLUDED_SEGMENT_CAPACITY, >; - impl parachain_info::Config for Runtime {} impl cumulus_pallet_aura_ext::Config for Runtime {} @@ -470,12 +463,12 @@ impl cumulus_pallet_dmp_queue::Config for Runtime { } parameter_types! { - /// The amount of weight (if any) which should be provided to the message queue for - /// servicing enqueued items. - /// - /// This may be legitimately `None` in the case that you will call - /// `ServiceQueues::service_queues` manually. - pub MessageQueueServiceWeight: Weight = + /// The amount of weight (if any) which should be provided to the message queue for + /// servicing enqueued items. + /// + /// This may be legitimately `None` in the case that you will call + /// `ServiceQueues::service_queues` manually. + pub MessageQueueServiceWeight: Weight = Perbill::from_percent(25) * RuntimeBlockWeights::get().max_block; /// The maximum number of stale pages (i.e. of overweight messages) allowed before culling /// can happen. Once there are more stale pages than this, then historical pages may be @@ -605,7 +598,7 @@ impl pallet_scheduler::Config for Runtime { parameter_types! { pub const MinVestedTransfer: Balance = 15 * OTP; pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = - WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -649,62 +642,67 @@ impl pallet_treasury::Config for Runtime { type SpendOrigin = frame_support::traits::NeverEnsureOrigin; type AssetKind = (); - type Beneficiary = AccountId; - type BeneficiaryLookup = IdentityLookup; - type Paymaster = PayFromAccount; - type BalanceConverter = UnityAssetBalanceConversion; - type PayoutPeriod = ConstU32<0>; - #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = (); + type Beneficiary = AccountId; + type BeneficiaryLookup = IdentityLookup; + type Paymaster = PayFromAccount; + type BalanceConverter = UnityAssetBalanceConversion; + type PayoutPeriod = ConstU32<0>; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); } pub struct MergeAccountEvm; impl MergeAccount for MergeAccountEvm { -#[transactional] -fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult { - // unreserve all reserved currency - >::unreserve(source, Balances::reserved_balance(source)); - - // transfer all free to dest - match Balances::transfer(&source, &dest, Balances::free_balance(source), ExistenceRequirement::AllowDeath,) { - Ok(_) => Ok(()), - Err(e) => Err(e), - } - } + #[transactional] + fn merge_account(source: &AccountId, dest: &AccountId) -> DispatchResult { + // unreserve all reserved currency + >::unreserve(source, Balances::reserved_balance(source)); + + // transfer all free to dest + match Balances::transfer( + &source, + &dest, + Balances::free_balance(source), + ExistenceRequirement::AllowDeath, + ) { + Ok(_) => Ok(()), + Err(e) => Err(e), + } + } } impl pallet_evm_accounts::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; type ChainId = ChainId; - type AddressMapping = EvmAddressMapping; - type MergeAccount = MergeAccountEvm; - type WeightInfo = weights::evm_accounts_weights::WeightInfo; + type AddressMapping = EvmAddressMapping; + type MergeAccount = MergeAccountEvm; + type WeightInfo = weights::evm_accounts_weights::WeightInfo; } parameter_types! { - pub DefaultBaseFeePerGas: U256 = U256::from(16); + pub DefaultBaseFeePerGas: U256 = U256::from(16); pub DefaultElasticity: Permill = Permill::from_parts(125_000); } pub struct BaseFeeThreshold; impl pallet_base_fee::BaseFeeThreshold for BaseFeeThreshold { - fn lower() -> Permill { - Permill::zero() - } - fn ideal() -> Permill { - Permill::from_parts(500_000) - } - fn upper() -> Permill { - Permill::from_parts(1_000_000) - } + fn lower() -> Permill { + Permill::zero() + } + fn ideal() -> Permill { + Permill::from_parts(500_000) + } + fn upper() -> Permill { + Permill::from_parts(1_000_000) + } } impl pallet_base_fee::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Threshold = BaseFeeThreshold; - type DefaultBaseFeePerGas = DefaultBaseFeePerGas; - type DefaultElasticity = DefaultElasticity; + type RuntimeEvent = RuntimeEvent; + type Threshold = BaseFeeThreshold; + type DefaultBaseFeePerGas = DefaultBaseFeePerGas; + type DefaultElasticity = DefaultElasticity; } type FungibleAccountId = ::AccountId; @@ -715,33 +713,33 @@ type BalanceFor = pub struct OnChargeEVMTransaction(sp_std::marker::PhantomData); impl OnChargeEVMTransactionT for OnChargeEVMTransaction where - T: pallet_evm::Config, - T::Currency: Balanced, + T: pallet_evm::Config, + T::Currency: Balanced, OU: OnUnbalanced>, - U256: UniqueSaturatedInto> + U256: UniqueSaturatedInto>, { - type LiquidityInfo = Option>; - - fn withdraw_fee(who: &H160, fee: U256) -> Result> { - EVMFungibleAdapter::<::Currency, ()>::withdraw_fee(who, fee) - } - - fn correct_and_deposit_fee( - who: &H160, - corrected_fee: U256, - base_fee: U256, - already_withdrawn: Self::LiquidityInfo, - ) -> Self::LiquidityInfo { + type LiquidityInfo = Option>; + + fn withdraw_fee(who: &H160, fee: U256) -> Result> { + EVMFungibleAdapter::<::Currency, ()>::withdraw_fee(who, fee) + } + + fn correct_and_deposit_fee( + who: &H160, + corrected_fee: U256, + base_fee: U256, + already_withdrawn: Self::LiquidityInfo, + ) -> Self::LiquidityInfo { ::Currency, OU> as OnChargeEVMTransactionT< T, - >>::correct_and_deposit_fee(who, corrected_fee, base_fee, already_withdrawn) - } + >>::correct_and_deposit_fee(who, corrected_fee, base_fee, already_withdrawn) + } - fn pay_priority_fee(tip: Self::LiquidityInfo) { - if let Some(tip) = tip { - OU::on_unbalanced(tip); - } - } + fn pay_priority_fee(tip: Self::LiquidityInfo) { + if let Some(tip) = tip { + OU::on_unbalanced(tip); + } + } } /// Current approximation of the gas/s consumption considering @@ -761,7 +759,8 @@ impl> FindAuthor for FindAuthorTruncated { I: 'a + IntoIterator, { if let Some(author_index) = F::find_author(digests) { - let authority_id = pallet_aura::Authorities::::get()[author_index as usize].clone(); + let authority_id = + pallet_aura::Authorities::::get()[author_index as usize].clone(); return Some(H160::from_slice(&authority_id.encode()[4..24])); } @@ -775,34 +774,34 @@ parameter_types! { pub PrecompilesValue: FrontierPrecompiles = FrontierPrecompiles::<_>::new(); pub WeightPerGas: Weight = Weight::from_parts(WEIGHT_PER_GAS, 0); /// The amount of gas per pov. A ratio of 4 if we convert ref_time to gas and we compare - /// it with the pov_size for a block. E.g. - /// ceil( - /// (max_extrinsic.ref_time() / max_extrinsic.proof_size()) / WEIGHT_PER_GAS - /// ) - pub const GasLimitPovSizeRatio: u64 = 4; + /// it with the pov_size for a block. E.g. + /// ceil( + /// (max_extrinsic.ref_time() / max_extrinsic.proof_size()) / WEIGHT_PER_GAS + /// ) + pub const GasLimitPovSizeRatio: u64 = 4; } impl pallet_evm::Config for Runtime { - type Currency = Balances; - type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type RuntimeEvent = RuntimeEvent; - type BlockGasLimit = BlockGasLimit; - type ChainId = ChainId; - type BlockHashMapping = EthereumBlockHashMapping; - type Runner = pallet_evm::runner::stack::Runner; + type BlockGasLimit = BlockGasLimit; + type ChainId = ChainId; + type BlockHashMapping = EthereumBlockHashMapping; + type Runner = pallet_evm::runner::stack::Runner; type CallOrigin = EnsureAddressRoot; - type WithdrawOrigin = EnsureAddressNever; - type AddressMapping = EvmAddressMapping; + type WithdrawOrigin = EnsureAddressNever; + type AddressMapping = EvmAddressMapping; - type FeeCalculator = BaseFee; - type GasWeightMapping = pallet_evm::FixedGasWeightMapping; + type FeeCalculator = BaseFee; + type GasWeightMapping = pallet_evm::FixedGasWeightMapping; type WeightPerGas = WeightPerGas; - type OnChargeTransaction = OnChargeEVMTransaction; + type OnChargeTransaction = OnChargeEVMTransaction; type OnCreate = (); - type FindAuthor = FindAuthorTruncated; - type PrecompilesType = FrontierPrecompiles; - type PrecompilesValue = PrecompilesValue; + type FindAuthor = FindAuthorTruncated; + type PrecompilesType = FrontierPrecompiles; + type PrecompilesValue = PrecompilesValue; type GasLimitPovSizeRatio = GasLimitPovSizeRatio; type SuicideQuickClearLimit = ConstU32<0>; type Timestamp = Timestamp; @@ -810,12 +809,12 @@ impl pallet_evm::Config for Runtime { } parameter_types! { - pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes; + pub const PostBlockAndTxnHashes: PostLogContent = PostLogContent::BlockAndTxnHashes; } impl pallet_ethereum::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type StateRoot = pallet_ethereum::IntermediateStateRoot; + type RuntimeEvent = RuntimeEvent; + type StateRoot = pallet_ethereum::IntermediateStateRoot; type PostLogContent = PostBlockAndTxnHashes; type ExtraDataLength = ConstU32<30>; } @@ -871,231 +870,228 @@ impl pallet_xc_asset_config::Config for Runtime { } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; - pub const PreimageBaseDeposit: Balance = deposit(2, 64); - pub const PreimageByteDeposit: Balance = 1 * MILLIOTP; + pub const PreimageMaxSize: u32 = 4096 * 1024; + pub const PreimageBaseDeposit: Balance = deposit(2, 64); + pub const PreimageByteDeposit: Balance = 1 * MILLIOTP; pub const PreimageHoldReason: RuntimeHoldReason = - RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); + RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } impl pallet_preimage::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type ManagerOrigin = EnsureRoot; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type ManagerOrigin = EnsureRoot; type WeightInfo = weights::pallet_preimage::NeurowebWeight; type Consideration = HoldConsideration< - AccountId, - Balances, - PreimageHoldReason, - LinearStoragePrice, - >; + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; } impl pallet_utility::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeCall = RuntimeCall; - type PalletsOrigin = OriginCaller; - type WeightInfo = weights::pallet_utility::NeurowebWeight; + type RuntimeEvent = RuntimeEvent; + type RuntimeCall = RuntimeCall; + type PalletsOrigin = OriginCaller; + type WeightInfo = weights::pallet_utility::NeurowebWeight; } parameter_types! { - pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; - pub const CouncilMaxProposals: u32 = 100; - pub const CouncilMaxMembers: u32 = 5; + pub const CouncilMotionDuration: BlockNumber = 3 * DAYS; + pub const CouncilMaxProposals: u32 = 100; + pub const CouncilMaxMembers: u32 = 5; pub MaxCollectivesProposalWeight: Weight = Perbill::from_percent(50) * RuntimeBlockWeights::get().max_block; } type CouncilCollective = pallet_collective::Instance1; impl pallet_collective::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Proposal = RuntimeCall; - type RuntimeEvent = RuntimeEvent; - type MotionDuration = CouncilMotionDuration; - type MaxProposals = CouncilMaxProposals; - type MaxMembers = CouncilMaxMembers; - type DefaultVote = pallet_collective::MoreThanMajorityThenPrimeDefaultVote; + type RuntimeOrigin = RuntimeOrigin; + type Proposal = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type MotionDuration = CouncilMotionDuration; + type MaxProposals = CouncilMaxProposals; + type MaxMembers = CouncilMaxMembers; + type DefaultVote = pallet_collective::MoreThanMajorityThenPrimeDefaultVote; type SetMembersOrigin = EnsureRoot; type WeightInfo = weights::pallet_collective_council::NeurowebWeight; type MaxProposalWeight = MaxCollectivesProposalWeight; } parameter_types! { - pub const LaunchPeriod: BlockNumber = 5 * DAYS; - pub const VotingPeriod: BlockNumber = 5 * DAYS; + pub const LaunchPeriod: BlockNumber = 5 * DAYS; + pub const VotingPeriod: BlockNumber = 5 * DAYS; pub const VotingLockingPeriod: BlockNumber = 1 * DAYS; - pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS; - pub const MinimumDeposit: Balance = 1000 * OTP; - pub const EnactmentPeriod: BlockNumber = 2 * DAYS; - pub const CooloffPeriod: BlockNumber = 7 * DAYS; - pub const MaxProposals: u32 = 100; + pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS; + pub const MinimumDeposit: Balance = 1000 * OTP; + pub const EnactmentPeriod: BlockNumber = 2 * DAYS; + pub const CooloffPeriod: BlockNumber = 7 * DAYS; + pub const MaxProposals: u32 = 100; } type EnsureRootOrTwoFiftsOfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, >; type EnsureRootOrThreeFiftsOfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, >; type EnsureRootOrFourFiftsOfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, >; impl pallet_democracy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type EnactmentPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; - type VotingPeriod = VotingPeriod; - type VoteLockingPeriod = VotingLockingPeriod; // Same as EnactmentPeriod - type MinimumDeposit = MinimumDeposit; - /// A straight majority of the council can decide what their next motion is. - type ExternalOrigin = EnsureRootOrTwoFiftsOfCouncil; - /// A super-majority can have the next scheduled referendum be a straight majority-carries vote. - type ExternalMajorityOrigin = EnsureRootOrThreeFiftsOfCouncil; - /// A unanimous council can have the next scheduled referendum be a straight default-carries - /// (NTB) vote. - type ExternalDefaultOrigin = EnsureRootOrThreeFiftsOfCouncil; - type SubmitOrigin = EnsureSigned; - /// Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote - /// be tabled immediately and with a shorter voting/enactment period. - type FastTrackOrigin = EnsureRootOrThreeFiftsOfCouncil; - type InstantOrigin = EnsureRootOrFourFiftsOfCouncil; - type InstantAllowed = frame_support::traits::ConstBool; - type FastTrackVotingPeriod = FastTrackVotingPeriod; - // To cancel a proposal which has been passed, 3/5 of the council must agree to it. - type CancellationOrigin = EnsureRootOrThreeFiftsOfCouncil; - // To cancel a proposal before it has been passed, the technical committee must be unanimous or - // Root must agree. - type CancelProposalOrigin = EnsureRootOrThreeFiftsOfCouncil; - type BlacklistOrigin = EnsureRoot; - // Any single technical committee member may veto a coming council proposal, however they can - // only do it once and it lasts only for the cool-off period. - type VetoOrigin = pallet_collective::EnsureMember; - type CooloffPeriod = CooloffPeriod; - type Slash = Treasury; - type Scheduler = Scheduler; - type PalletsOrigin = OriginCaller; - type MaxVotes = ConstU32<100>; - type MaxProposals = MaxProposals; - type Preimages = Preimage; - type MaxDeposits = ConstU32<100>; - type MaxBlacklisted = ConstU32<100>; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type EnactmentPeriod = EnactmentPeriod; + type LaunchPeriod = LaunchPeriod; + type VotingPeriod = VotingPeriod; + type VoteLockingPeriod = VotingLockingPeriod; // Same as EnactmentPeriod + type MinimumDeposit = MinimumDeposit; + /// A straight majority of the council can decide what their next motion is. + type ExternalOrigin = EnsureRootOrTwoFiftsOfCouncil; + /// A super-majority can have the next scheduled referendum be a straight majority-carries vote. + type ExternalMajorityOrigin = EnsureRootOrThreeFiftsOfCouncil; + /// A unanimous council can have the next scheduled referendum be a straight default-carries + /// (NTB) vote. + type ExternalDefaultOrigin = EnsureRootOrThreeFiftsOfCouncil; + type SubmitOrigin = EnsureSigned; + /// Two thirds of the technical committee can have an ExternalMajority/ExternalDefault vote + /// be tabled immediately and with a shorter voting/enactment period. + type FastTrackOrigin = EnsureRootOrThreeFiftsOfCouncil; + type InstantOrigin = EnsureRootOrFourFiftsOfCouncil; + type InstantAllowed = frame_support::traits::ConstBool; + type FastTrackVotingPeriod = FastTrackVotingPeriod; + // To cancel a proposal which has been passed, 3/5 of the council must agree to it. + type CancellationOrigin = EnsureRootOrThreeFiftsOfCouncil; + // To cancel a proposal before it has been passed, the technical committee must be unanimous or + // Root must agree. + type CancelProposalOrigin = EnsureRootOrThreeFiftsOfCouncil; + type BlacklistOrigin = EnsureRoot; + // Any single technical committee member may veto a coming council proposal, however they can + // only do it once and it lasts only for the cool-off period. + type VetoOrigin = pallet_collective::EnsureMember; + type CooloffPeriod = CooloffPeriod; + type Slash = Treasury; + type Scheduler = Scheduler; + type PalletsOrigin = OriginCaller; + type MaxVotes = ConstU32<100>; + type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; type WeightInfo = weights::pallet_democracy::NeurowebWeight; } parameter_types! { - pub const BasicDeposit: Balance = deposit(1, 258); // 258 bytes on-chain - pub const ByteDeposit: Balance = deposit(0, 1); - pub const SubAccountDeposit: Balance = deposit(1, 53); // 53 bytes on-chain - pub const MaxSubAccounts: u32 = 100; - pub const MaxAdditionalFields: u32 = 100; - pub const MaxRegistrars: u32 = 20; + pub const BasicDeposit: Balance = deposit(1, 258); // 258 bytes on-chain + pub const ByteDeposit: Balance = deposit(0, 1); + pub const SubAccountDeposit: Balance = deposit(1, 53); // 53 bytes on-chain + pub const MaxSubAccounts: u32 = 100; + pub const MaxAdditionalFields: u32 = 100; + pub const MaxRegistrars: u32 = 20; } impl pallet_identity::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type Currency = Balances; - type BasicDeposit = BasicDeposit; - type ByteDeposit = ByteDeposit; - type SubAccountDeposit = SubAccountDeposit; - type MaxSubAccounts = MaxSubAccounts; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type BasicDeposit = BasicDeposit; + type ByteDeposit = ByteDeposit; + type SubAccountDeposit = SubAccountDeposit; + type MaxSubAccounts = MaxSubAccounts; type IdentityInformation = IdentityInfo; - type MaxRegistrars = MaxRegistrars; - type Slashed = Treasury; - type ForceOrigin = EnsureRootOrThreeFiftsOfCouncil; - type RegistrarOrigin = EnsureRootOrThreeFiftsOfCouncil; + type MaxRegistrars = MaxRegistrars; + type Slashed = Treasury; + type ForceOrigin = EnsureRootOrThreeFiftsOfCouncil; + type RegistrarOrigin = EnsureRootOrThreeFiftsOfCouncil; type OffchainSignature = Signature; type SigningPublicKey = ::Signer; type UsernameAuthorityOrigin = EnsureRootOrThreeFiftsOfCouncil; type PendingUsernameExpiration = ConstU32<{ 7 * DAYS }>; type MaxSuffixLength = ConstU32<7>; type MaxUsernameLength = ConstU32<32>; - type WeightInfo = weights::pallet_identity::NeurowebWeight; + type WeightInfo = weights::pallet_identity::NeurowebWeight; } parameter_types! { - // One storage item; key size 32, value size 8; . - pub const ProxyDepositBase: Balance = deposit(1, 8); - // Additional storage item size of 33 bytes. - pub const ProxyDepositFactor: Balance = deposit(0, 33); - pub const AnnouncementDepositBase: Balance = deposit(1, 8); - pub const AnnouncementDepositFactor: Balance = deposit(0, 66); + // One storage item; key size 32, value size 8; . + pub const ProxyDepositBase: Balance = deposit(1, 8); + // Additional storage item size of 33 bytes. + pub const ProxyDepositFactor: Balance = deposit(0, 33); + pub const AnnouncementDepositBase: Balance = deposit(1, 8); + pub const AnnouncementDepositFactor: Balance = deposit(0, 66); } /// The type used to represent the kinds of proxying allowed. #[derive( - Copy, - Clone, - Eq, - PartialEq, - Ord, - PartialOrd, - Encode, - Decode, - RuntimeDebug, - MaxEncodedLen, - scale_info::TypeInfo, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + Encode, + Decode, + RuntimeDebug, + MaxEncodedLen, + scale_info::TypeInfo, )] pub enum ProxyType { - Any, - NonTransfer, - Governance, + Any, + NonTransfer, + Governance, } impl Default for ProxyType { - fn default() -> Self { - Self::Any - } + fn default() -> Self { + Self::Any + } } impl InstanceFilter for ProxyType { - fn filter(&self, c: &RuntimeCall) -> bool { - match self { - ProxyType::Any => true, - ProxyType::NonTransfer => !matches!( - c, - RuntimeCall::Balances(..) | - RuntimeCall::Assets(..) | - RuntimeCall::ForeignAssets(..) | - RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) | - RuntimeCall::Wrapper(..) - ), - ProxyType::Governance => matches!( - c, - RuntimeCall::Democracy(..) | - RuntimeCall::Council(..) | - RuntimeCall::Treasury(..) - ), - } - } - fn is_superset(&self, o: &Self) -> bool { - match (self, o) { - (x, y) if x == y => true, - (ProxyType::Any, _) => true, - (_, ProxyType::Any) => false, - (ProxyType::NonTransfer, _) => true, - _ => false, - } - } + fn filter(&self, c: &RuntimeCall) -> bool { + match self { + ProxyType::Any => true, + ProxyType::NonTransfer => !matches!( + c, + RuntimeCall::Balances(..) + | RuntimeCall::Assets(..) + | RuntimeCall::ForeignAssets(..) + | RuntimeCall::Vesting(pallet_vesting::Call::vested_transfer { .. }) + | RuntimeCall::Wrapper(..) + ), + ProxyType::Governance => matches!( + c, + RuntimeCall::Democracy(..) | RuntimeCall::Council(..) | RuntimeCall::Treasury(..) + ), + } + } + fn is_superset(&self, o: &Self) -> bool { + match (self, o) { + (x, y) if x == y => true, + (ProxyType::Any, _) => true, + (_, ProxyType::Any) => false, + (ProxyType::NonTransfer, _) => true, + _ => false, + } + } } impl pallet_proxy::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeCall = RuntimeCall; - type Currency = Balances; - type ProxyType = ProxyType; - type ProxyDepositBase = ProxyDepositBase; - type ProxyDepositFactor = ProxyDepositFactor; - type MaxProxies = ConstU32<32>; - type WeightInfo = weights::pallet_proxy::NeurowebWeight; - type MaxPending = ConstU32<32>; - type CallHasher = BlakeTwo256; - type AnnouncementDepositBase = AnnouncementDepositBase; - type AnnouncementDepositFactor = AnnouncementDepositFactor; + type RuntimeEvent = RuntimeEvent; + type RuntimeCall = RuntimeCall; + type Currency = Balances; + type ProxyType = ProxyType; + type ProxyDepositBase = ProxyDepositBase; + type ProxyDepositFactor = ProxyDepositFactor; + type MaxProxies = ConstU32<32>; + type WeightInfo = weights::pallet_proxy::NeurowebWeight; + type MaxPending = ConstU32<32>; + type CallHasher = BlakeTwo256; + type AnnouncementDepositBase = AnnouncementDepositBase; + type AnnouncementDepositFactor = AnnouncementDepositFactor; } - parameter_types! { pub const TracWrapperPalletId: PalletId = PalletId(*b"p/wrpper"); pub const LocalTracAssetId: UnifiedAssetId = LOCAL_TRAC_UNIFIED_ASSET_ID; @@ -1155,7 +1151,7 @@ construct_runtime!( MessageQueue: pallet_message_queue = 34, // Frontier - EVM: pallet_evm::{Pallet, Config, Call, Storage, Event} = 50, + EVM: pallet_evm::{Pallet, Config, Call, Storage, Event} = 50, Ethereum: pallet_ethereum::{Pallet, Call, Storage, Event, Config, Origin} = 51, EvmAccounts: pallet_evm_accounts::{Pallet, Call, Storage, Event} = 52, BaseFee: pallet_base_fee::{Pallet, Call, Storage, Config, Event} = 53, @@ -1203,57 +1199,61 @@ mod benches { } impl fp_self_contained::SelfContainedCall for RuntimeCall { - type SignedInfo = H160; - - fn is_self_contained(&self) -> bool { - match self { - RuntimeCall::Ethereum(call) => call.is_self_contained(), - _ => false, - } - } - - fn check_self_contained(&self) -> Option> { - match self { - RuntimeCall::Ethereum(call) => call.check_self_contained(), - _ => None, - } - } - - fn validate_self_contained( - &self, - info: &Self::SignedInfo, - dispatch_info: &DispatchInfoOf, - len: usize, - ) -> Option { - match self { - RuntimeCall::Ethereum(call) => call.validate_self_contained(info, dispatch_info, len), - _ => None, - } - } - - fn pre_dispatch_self_contained( - &self, - info: &Self::SignedInfo, + type SignedInfo = H160; + + fn is_self_contained(&self) -> bool { + match self { + RuntimeCall::Ethereum(call) => call.is_self_contained(), + _ => false, + } + } + + fn check_self_contained(&self) -> Option> { + match self { + RuntimeCall::Ethereum(call) => call.check_self_contained(), + _ => None, + } + } + + fn validate_self_contained( + &self, + info: &Self::SignedInfo, + dispatch_info: &DispatchInfoOf, + len: usize, + ) -> Option { + match self { + RuntimeCall::Ethereum(call) => call.validate_self_contained(info, dispatch_info, len), + _ => None, + } + } + + fn pre_dispatch_self_contained( + &self, + info: &Self::SignedInfo, dispatch_info: &DispatchInfoOf, len: usize, - ) -> Option> { - match self { - RuntimeCall::Ethereum(call) => call.pre_dispatch_self_contained(info, dispatch_info, len), - _ => None, - } - } - - fn apply_self_contained( - self, - info: Self::SignedInfo, - ) -> Option>> { - match self { - call @ RuntimeCall::Ethereum(pallet_ethereum::Call::transact { .. }) => Some(call.dispatch( - RuntimeOrigin::from(pallet_ethereum::RawOrigin::EthereumTransaction(info)), - )), - _ => None, - } - } + ) -> Option> { + match self { + RuntimeCall::Ethereum(call) => { + call.pre_dispatch_self_contained(info, dispatch_info, len) + } + _ => None, + } + } + + fn apply_self_contained( + self, + info: Self::SignedInfo, + ) -> Option>> { + match self { + call @ RuntimeCall::Ethereum(pallet_ethereum::Call::transact { .. }) => { + Some(call.dispatch(RuntimeOrigin::from( + pallet_ethereum::RawOrigin::EthereumTransaction(info), + ))) + } + _ => None, + } + } } /// Alias to 512-bit hash when used in the context of a transaction signature on the chain. @@ -1305,7 +1305,8 @@ pub type SignedExtra = ( ); /// Unchecked extrinsic type as expected by this runtime. -pub type UncheckedExtrinsic = fp_self_contained::UncheckedExtrinsic; +pub type UncheckedExtrinsic = + fp_self_contained::UncheckedExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; @@ -1359,12 +1360,12 @@ impl_runtime_apis! { } fn metadata_at_version(version: u32) -> Option { - Runtime::metadata_at_version(version) - } + Runtime::metadata_at_version(version) + } - fn metadata_versions() -> Vec { - Runtime::metadata_versions() - } + fn metadata_versions() -> Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { @@ -1405,55 +1406,55 @@ impl_runtime_apis! { } impl fp_rpc::EthereumRuntimeRPCApi for Runtime { - fn chain_id() -> u64 { - ::ChainId::get() - } - - fn account_basic(address: H160) -> EVMAccount { - let (account, _) = EVM::account_basic(&address); - account - } - - fn gas_price() -> U256 { - let (gas_price, _) = ::FeeCalculator::min_gas_price(); - gas_price - } - - fn account_code_at(address: H160) -> Vec { - pallet_evm::AccountCodes::::get(address) - } - - fn author() -> H160 { - >::find_author() - } - - fn storage_at(address: H160, index: U256) -> H256 { - let mut tmp = [0u8; 32]; - index.to_big_endian(&mut tmp); + fn chain_id() -> u64 { + ::ChainId::get() + } + + fn account_basic(address: H160) -> EVMAccount { + let (account, _) = EVM::account_basic(&address); + account + } + + fn gas_price() -> U256 { + let (gas_price, _) = ::FeeCalculator::min_gas_price(); + gas_price + } + + fn account_code_at(address: H160) -> Vec { + pallet_evm::AccountCodes::::get(address) + } + + fn author() -> H160 { + >::find_author() + } + + fn storage_at(address: H160, index: U256) -> H256 { + let mut tmp = [0u8; 32]; + index.to_big_endian(&mut tmp); pallet_evm::AccountStorages::::get(address, H256::from_slice(&tmp[..])) - } - - fn call( - from: H160, - to: H160, - data: Vec, - value: U256, - gas_limit: U256, - max_fee_per_gas: Option, - max_priority_fee_per_gas: Option, - nonce: Option, - estimate: bool, - access_list: Option)>>, - ) -> Result { + } + + fn call( + from: H160, + to: H160, + data: Vec, + value: U256, + gas_limit: U256, + max_fee_per_gas: Option, + max_priority_fee_per_gas: Option, + nonce: Option, + estimate: bool, + access_list: Option)>>, + ) -> Result { use pallet_evm::GasWeightMapping as _; - let config = if estimate { - let mut config = ::config().clone(); - config.estimate = true; - Some(config) - } else { - None - }; + let config = if estimate { + let mut config = ::config().clone(); + config.estimate = true; + Some(config) + } else { + None + }; let is_transactional = false; let validate = true; @@ -1485,179 +1486,179 @@ impl_runtime_apis! { } else { gas_limit.low_u64() }; - let without_base_extrinsic_weight = true; - - let (weight_limit, proof_size_base_cost) = - match ::GasWeightMapping::gas_to_weight( - gas_limit, - without_base_extrinsic_weight - ) { - weight_limit if weight_limit.proof_size() > 0 => { - (Some(weight_limit), Some(estimated_transaction_len as u64)) - } - _ => (None, None), - }; - - ::Runner::call( - from, - to, - data, - value, - gas_limit.unique_saturated_into(), - max_fee_per_gas, - max_priority_fee_per_gas, - nonce, - access_list.unwrap_or_default(), - is_transactional, - validate, - weight_limit, - proof_size_base_cost, - config.as_ref().unwrap_or(::config()), - ).map_err(|err| err.error.into()) - } - - fn create( - from: H160, - data: Vec, - value: U256, - gas_limit: U256, - max_fee_per_gas: Option, - max_priority_fee_per_gas: Option, - nonce: Option, - estimate: bool, - access_list: Option)>>, - ) -> Result { - use pallet_evm::GasWeightMapping as _; - - let config = if estimate { - let mut config = ::config().clone(); - config.estimate = true; - Some(config) - } else { - None - }; + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + + ::Runner::call( + from, + to, + data, + value, + gas_limit.unique_saturated_into(), + max_fee_per_gas, + max_priority_fee_per_gas, + nonce, + access_list.unwrap_or_default(), + is_transactional, + validate, + weight_limit, + proof_size_base_cost, + config.as_ref().unwrap_or(::config()), + ).map_err(|err| err.error.into()) + } + + fn create( + from: H160, + data: Vec, + value: U256, + gas_limit: U256, + max_fee_per_gas: Option, + max_priority_fee_per_gas: Option, + nonce: Option, + estimate: bool, + access_list: Option)>>, + ) -> Result { + use pallet_evm::GasWeightMapping as _; + + let config = if estimate { + let mut config = ::config().clone(); + config.estimate = true; + Some(config) + } else { + None + }; let is_transactional = false; let validate = true; - let mut estimated_transaction_len = data.len() + - // from: 20 - // value: 32 - // gas_limit: 32 - // nonce: 32 - // 1 byte transaction action variant - // chain id 8 bytes - // 65 bytes signature - 190; - - if max_fee_per_gas.is_some() { - estimated_transaction_len += 32; - } - if max_priority_fee_per_gas.is_some() { - estimated_transaction_len += 32; - } - if access_list.is_some() { - estimated_transaction_len += access_list.encoded_size(); - } - - - let gas_limit = if gas_limit > U256::from(u64::MAX) { - u64::MAX - } else { - gas_limit.low_u64() - }; - let without_base_extrinsic_weight = true; - - let (weight_limit, proof_size_base_cost) = - match ::GasWeightMapping::gas_to_weight( - gas_limit, - without_base_extrinsic_weight - ) { - weight_limit if weight_limit.proof_size() > 0 => { - (Some(weight_limit), Some(estimated_transaction_len as u64)) - } - _ => (None, None), - }; - - ::Runner::create( - from, - data, - value, - gas_limit.unique_saturated_into(), - max_fee_per_gas, - max_priority_fee_per_gas, - nonce, - access_list.unwrap_or_default(), + let mut estimated_transaction_len = data.len() + + // from: 20 + // value: 32 + // gas_limit: 32 + // nonce: 32 + // 1 byte transaction action variant + // chain id 8 bytes + // 65 bytes signature + 190; + + if max_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if max_priority_fee_per_gas.is_some() { + estimated_transaction_len += 32; + } + if access_list.is_some() { + estimated_transaction_len += access_list.encoded_size(); + } + + + let gas_limit = if gas_limit > U256::from(u64::MAX) { + u64::MAX + } else { + gas_limit.low_u64() + }; + let without_base_extrinsic_weight = true; + + let (weight_limit, proof_size_base_cost) = + match ::GasWeightMapping::gas_to_weight( + gas_limit, + without_base_extrinsic_weight + ) { + weight_limit if weight_limit.proof_size() > 0 => { + (Some(weight_limit), Some(estimated_transaction_len as u64)) + } + _ => (None, None), + }; + + ::Runner::create( + from, + data, + value, + gas_limit.unique_saturated_into(), + max_fee_per_gas, + max_priority_fee_per_gas, + nonce, + access_list.unwrap_or_default(), is_transactional, validate, - weight_limit, - proof_size_base_cost, - config.as_ref().unwrap_or(::config()), - ).map_err(|err| err.error.into()) - } - - fn current_transaction_statuses() -> Option> { - pallet_ethereum::CurrentTransactionStatuses::::get() - } - - fn current_block() -> Option { - pallet_ethereum::CurrentBlock::::get() - } - - fn current_receipts() -> Option> { - pallet_ethereum::CurrentReceipts::::get() - } - - fn current_all() -> ( - Option, - Option>, - Option> - ) { - ( - pallet_ethereum::CurrentBlock::::get(), - pallet_ethereum::CurrentReceipts::::get(), - pallet_ethereum::CurrentTransactionStatuses::::get() - ) - } - - fn extrinsic_filter( - xts: Vec<::Extrinsic>, - ) -> Vec { - xts.into_iter().filter_map(|xt| match xt.0.function { - RuntimeCall::Ethereum(transact { transaction }) => Some(transaction), - _ => None - }).collect::>() - } - - fn elasticity() -> Option { + weight_limit, + proof_size_base_cost, + config.as_ref().unwrap_or(::config()), + ).map_err(|err| err.error.into()) + } + + fn current_transaction_statuses() -> Option> { + pallet_ethereum::CurrentTransactionStatuses::::get() + } + + fn current_block() -> Option { + pallet_ethereum::CurrentBlock::::get() + } + + fn current_receipts() -> Option> { + pallet_ethereum::CurrentReceipts::::get() + } + + fn current_all() -> ( + Option, + Option>, + Option> + ) { + ( + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentReceipts::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() + ) + } + + fn extrinsic_filter( + xts: Vec<::Extrinsic>, + ) -> Vec { + xts.into_iter().filter_map(|xt| match xt.0.function { + RuntimeCall::Ethereum(transact { transaction }) => Some(transaction), + _ => None + }).collect::>() + } + + fn elasticity() -> Option { Some(pallet_base_fee::Elasticity::::get()) - } + } fn gas_limit_multiplier_support() {} fn pending_block( - xts: Vec<::Extrinsic>, - ) -> (Option, Option>) { - for ext in xts.into_iter() { - let _ = Executive::apply_extrinsic(ext); - } + xts: Vec<::Extrinsic>, + ) -> (Option, Option>) { + for ext in xts.into_iter() { + let _ = Executive::apply_extrinsic(ext); + } - Ethereum::on_finalize(System::block_number() + 1); + Ethereum::on_finalize(System::block_number() + 1); - ( - pallet_ethereum::CurrentBlock::::get(), - pallet_ethereum::CurrentTransactionStatuses::::get() - ) - } - } + ( + pallet_ethereum::CurrentBlock::::get(), + pallet_ethereum::CurrentTransactionStatuses::::get() + ) + } + } impl fp_rpc::ConvertTransactionRuntimeApi for Runtime { - fn convert_transaction(transaction: EthereumTransaction) -> ::Extrinsic { - UncheckedExtrinsic::new_unsigned( - pallet_ethereum::Call::::transact { transaction }.into(), - ) - } - } + fn convert_transaction(transaction: EthereumTransaction) -> ::Extrinsic { + UncheckedExtrinsic::new_unsigned( + pallet_ethereum::Call::::transact { transaction }.into(), + ) + } + } impl sp_session::SessionKeys for Runtime { fn generate_session_keys(seed: Option>) -> Vec { @@ -1691,35 +1692,35 @@ impl_runtime_apis! { TransactionPayment::query_fee_details(uxt, len) } fn query_weight_to_fee(weight: Weight) -> Balance { - TransactionPayment::weight_to_fee(weight) - } - fn query_length_to_fee(length: u32) -> Balance { - TransactionPayment::length_to_fee(length) - } + TransactionPayment::weight_to_fee(weight) + } + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } } impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi - for Runtime - { - fn query_call_info( - call: RuntimeCall, - len: u32, - ) -> pallet_transaction_payment::RuntimeDispatchInfo { - TransactionPayment::query_call_info(call, len) - } - fn query_call_fee_details( - call: RuntimeCall, - len: u32, - ) -> pallet_transaction_payment::FeeDetails { - TransactionPayment::query_call_fee_details(call, len) - } + for Runtime + { + fn query_call_info( + call: RuntimeCall, + len: u32, + ) -> pallet_transaction_payment::RuntimeDispatchInfo { + TransactionPayment::query_call_info(call, len) + } + fn query_call_fee_details( + call: RuntimeCall, + len: u32, + ) -> pallet_transaction_payment::FeeDetails { + TransactionPayment::query_call_fee_details(call, len) + } fn query_weight_to_fee(weight: Weight) -> Balance { - TransactionPayment::weight_to_fee(weight) - } - fn query_length_to_fee(length: u32) -> Balance { - TransactionPayment::length_to_fee(length) - } - } + TransactionPayment::weight_to_fee(weight) + } + fn query_length_to_fee(length: u32) -> Balance { + TransactionPayment::length_to_fee(length) + } + } impl cumulus_primitives_core::CollectCollationInfo for Runtime { fn collect_collation_info(header: &::Header) -> cumulus_primitives_core::CollationInfo { @@ -1730,20 +1731,20 @@ impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { - let weight = Executive::try_runtime_upgrade(checks).unwrap(); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, RuntimeBlockWeights::get().max_block) } fn execute_block( - block: Block, - state_root_check: bool, - signature_check: bool, - select: frame_try_runtime::TryStateSelect, - ) -> Weight { - // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to - // have a backtrace here. - Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() - } + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() + } } impl sp_genesis_builder::GenesisBuilder for Runtime { @@ -1754,7 +1755,7 @@ impl_runtime_apis! { fn get_preset(id: &Option) -> Option> { get_preset::(id, |_| None) } - + fn preset_names() -> Vec { vec![] } @@ -1786,7 +1787,7 @@ impl_runtime_apis! { impl frame_system_benchmarking::Config for Runtime {} use frame_support::traits::WhitelistedStorageKeys; - let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); + let whitelist = AllPalletsWithSystem::whitelisted_storage_keys(); let mut batches = Vec::::new(); let params = (&config, &whitelist); diff --git a/runtime/src/precompiles.rs b/runtime/src/precompiles.rs index 081427f4..581fb4d6 100644 --- a/runtime/src/precompiles.rs +++ b/runtime/src/precompiles.rs @@ -1,4 +1,7 @@ -use pallet_evm::{ExitRevert, IsPrecompileResult, Precompile, PrecompileFailure, PrecompileHandle, PrecompileResult, PrecompileSet}; +use pallet_evm::{ + ExitRevert, IsPrecompileResult, Precompile, PrecompileFailure, PrecompileHandle, + PrecompileResult, PrecompileSet, +}; use sp_core::H160; use sp_std::marker::PhantomData; @@ -15,12 +18,12 @@ pub struct FrontierPrecompiles(PhantomData); impl FrontierPrecompiles where - R: pallet_evm::Config, + R: pallet_evm::Config, { - pub fn new() -> Self { - Self(Default::default()) - } - /// Return all addresses that contain precompiles. This can be used to populate dummy code + pub fn new() -> Self { + Self(Default::default()) + } + /// Return all addresses that contain precompiles. This can be used to populate dummy code /// under the precompile. pub fn used_addresses() -> impl Iterator { sp_std::vec![1, 2, 3, 4, 5, 1024, 1025] @@ -30,14 +33,14 @@ where } impl PrecompileSet for FrontierPrecompiles where - Erc20AssetsPrecompileSet: PrecompileSet, - R: pallet_evm::Config - + pallet_assets::Config + Erc20AssetsPrecompileSet: PrecompileSet, + R: pallet_evm::Config + + pallet_assets::Config + AddressToAssetId<::AssetId>, { - fn execute(&self, handle: &mut impl PrecompileHandle) -> Option { - let address = handle.code_address(); - if let IsPrecompileResult::Answer { is_precompile, .. } = + fn execute(&self, handle: &mut impl PrecompileHandle) -> Option { + let address = handle.code_address(); + if let IsPrecompileResult::Answer { is_precompile, .. } = self.is_precompile(address, u64::MAX) { if is_precompile && address > hash(9) && handle.context().address != address { @@ -47,25 +50,25 @@ where })); } } - match address { - // Ethereum precompiles : - a if a == hash(1) => Some(ECRecover::execute(handle)), - a if a == hash(2) => Some(Sha256::execute(handle)), - a if a == hash(3) => Some(Ripemd160::execute(handle)), - a if a == hash(4) => Some(Identity::execute(handle)), - a if a == hash(5) => Some(Modexp::execute(handle)), - // Non-Frontier specific nor Ethereum precompiles : - a if a == hash(1024) => Some(Sha3FIPS256::execute(handle)), - a if a == hash(1025) => Some(ECRecoverPublicKey::execute(handle)), - // If the address matches asset prefix, the we route through the asset precompile set + match address { + // Ethereum precompiles : + a if a == hash(1) => Some(ECRecover::execute(handle)), + a if a == hash(2) => Some(Sha256::execute(handle)), + a if a == hash(3) => Some(Ripemd160::execute(handle)), + a if a == hash(4) => Some(Identity::execute(handle)), + a if a == hash(5) => Some(Modexp::execute(handle)), + // Non-Frontier specific nor Ethereum precompiles : + a if a == hash(1024) => Some(Sha3FIPS256::execute(handle)), + a if a == hash(1025) => Some(ECRecoverPublicKey::execute(handle)), + // If the address matches asset prefix, the we route through the asset precompile set a if &a.to_fixed_bytes()[0..4] == ASSET_PRECOMPILE_ADDRESS_PREFIX => { Erc20AssetsPrecompileSet::::new().execute(handle) } - _ => None, - } - } + _ => None, + } + } - fn is_precompile(&self, address: H160, gas: u64) -> IsPrecompileResult { + fn is_precompile(&self, address: H160, gas: u64) -> IsPrecompileResult { let assets_precompile = match Erc20AssetsPrecompileSet::::new().is_precompile(address, gas) { IsPrecompileResult::Answer { is_precompile, .. } => is_precompile, @@ -80,5 +83,5 @@ where } fn hash(a: u64) -> H160 { - H160::from_low_u64_be(a) -} \ No newline at end of file + H160::from_low_u64_be(a) +} diff --git a/runtime/src/weights/block_weights.rs b/runtime/src/weights/block_weights.rs index 996ce6cd..d468f412 100644 --- a/runtime/src/weights/block_weights.rs +++ b/runtime/src/weights/block_weights.rs @@ -16,32 +16,38 @@ // limitations under the License. pub mod constants { - use frame_support::{ - parameter_types, - weights::{constants, Weight}, - }; + use frame_support::{ + parameter_types, + weights::{constants, Weight}, + }; - parameter_types! { - /// Importing a block with 0 Extrinsics. - pub const BlockExecutionWeight: Weight = - Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0); - } + parameter_types! { + /// Importing a block with 0 Extrinsics. + pub const BlockExecutionWeight: Weight = + Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000), 0); + } - #[cfg(test)] - mod test_weights { - use frame_support::weights::constants; + #[cfg(test)] + mod test_weights { + use frame_support::weights::constants; - /// Checks that the weight exists and is sane. - // NOTE: If this test fails but you are sure that the generated values are fine, - // you can delete it. - #[test] - fn sane() { - let w = super::constants::BlockExecutionWeight::get(); + /// Checks that the weight exists and is sane. + // NOTE: If this test fails but you are sure that the generated values are fine, + // you can delete it. + #[test] + fn sane() { + let w = super::constants::BlockExecutionWeight::get(); - // At least 100 µs. - assert!(w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs."); - // At most 50 ms. - assert!(w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms."); - } - } + // At least 100 µs. + assert!( + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, + "Weight should be at least 100 µs." + ); + // At most 50 ms. + assert!( + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, + "Weight should be at most 50 ms." + ); + } + } } diff --git a/runtime/src/weights/extrinsic_weights.rs b/runtime/src/weights/extrinsic_weights.rs index 55b3706d..412ca6e7 100644 --- a/runtime/src/weights/extrinsic_weights.rs +++ b/runtime/src/weights/extrinsic_weights.rs @@ -16,32 +16,38 @@ // limitations under the License. pub mod constants { - use frame_support::{ - parameter_types, - weights::{constants, Weight}, - }; + use frame_support::{ + parameter_types, + weights::{constants, Weight}, + }; - parameter_types! { - /// Executing a NO-OP `System::remarks` Extrinsic. - pub const ExtrinsicBaseWeight: Weight = - Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0); - } + parameter_types! { + /// Executing a NO-OP `System::remarks` Extrinsic. + pub const ExtrinsicBaseWeight: Weight = + Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000), 0); + } - #[cfg(test)] - mod test_weights { - use frame_support::weights::constants; + #[cfg(test)] + mod test_weights { + use frame_support::weights::constants; - /// Checks that the weight exists and is sane. - // NOTE: If this test fails but you are sure that the generated values are fine, - // you can delete it. - #[test] - fn sane() { - let w = super::constants::ExtrinsicBaseWeight::get(); + /// Checks that the weight exists and is sane. + // NOTE: If this test fails but you are sure that the generated values are fine, + // you can delete it. + #[test] + fn sane() { + let w = super::constants::ExtrinsicBaseWeight::get(); - // At least 10 µs. - assert!(w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs."); - // At most 1 ms. - assert!(w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms."); - } - } + // At least 10 µs. + assert!( + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, + "Weight should be at least 10 µs." + ); + // At most 1 ms. + assert!( + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, + "Weight should be at most 1 ms." + ); + } + } } diff --git a/runtime/src/weights/mod.rs b/runtime/src/weights/mod.rs index 834fc095..8dd5ac51 100644 --- a/runtime/src/weights/mod.rs +++ b/runtime/src/weights/mod.rs @@ -18,12 +18,13 @@ //! Expose the auto generated weight files. pub mod block_weights; -pub mod cumulus_pallet_xcmp_queue; pub mod cumulus_pallet_parachain_system; +pub mod cumulus_pallet_xcmp_queue; +pub mod evm_accounts_weights; pub mod extrinsic_weights; pub mod frame_system; -pub mod pallet_assets_local; pub mod pallet_assets_foreign; +pub mod pallet_assets_local; pub mod pallet_balances; pub mod pallet_collator_selection; pub mod pallet_collective_council; @@ -35,15 +36,14 @@ pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_scheduler; pub mod pallet_timestamp; -pub mod paritydb_weights; -pub mod rocksdb_weights; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; -pub mod evm_accounts_weights; pub mod pallet_wrapper; pub mod pallet_xc_asset_config; pub mod pallet_xcm; +pub mod paritydb_weights; +pub mod rocksdb_weights; pub mod xcm; pub use block_weights::constants::BlockExecutionWeight; diff --git a/runtime/src/weights/paritydb_weights.rs b/runtime/src/weights/paritydb_weights.rs index 4338d928..ee5ac122 100644 --- a/runtime/src/weights/paritydb_weights.rs +++ b/runtime/src/weights/paritydb_weights.rs @@ -16,48 +16,48 @@ // limitations under the License. pub mod constants { - use frame_support::{ - parameter_types, - weights::{constants, RuntimeDbWeight}, - }; + use frame_support::{ + parameter_types, + weights::{constants, RuntimeDbWeight}, + }; - parameter_types! { - /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights - /// are available for brave runtime engineers who may want to try this out as default. - pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, - write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, - }; - } + parameter_types! { + /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights + /// are available for brave runtime engineers who may want to try this out as default. + pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { + read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + }; + } - #[cfg(test)] - mod test_db_weights { - use super::constants::ParityDbWeight as W; - use frame_support::weights::constants; + #[cfg(test)] + mod test_db_weights { + use super::constants::ParityDbWeight as W; + use frame_support::weights::constants; - /// Checks that all weights exist and have sane values. - // NOTE: If this test fails but you are sure that the generated values are fine, - // you can delete it. - #[test] - fn sane() { - // At least 1 µs. - assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, - "Read weight should be at least 1 µs." - ); - assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, - "Write weight should be at least 1 µs." - ); - // At most 1 ms. - assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, - "Read weight should be at most 1 ms." - ); - assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, - "Write weight should be at most 1 ms." - ); - } - } + /// Checks that all weights exist and have sane values. + // NOTE: If this test fails but you are sure that the generated values are fine, + // you can delete it. + #[test] + fn sane() { + // At least 1 µs. + assert!( + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, + "Read weight should be at least 1 µs." + ); + assert!( + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, + "Write weight should be at least 1 µs." + ); + // At most 1 ms. + assert!( + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, + "Read weight should be at most 1 ms." + ); + assert!( + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, + "Write weight should be at most 1 ms." + ); + } + } } diff --git a/runtime/src/weights/rocksdb_weights.rs b/runtime/src/weights/rocksdb_weights.rs index 1d115d96..b9fb730c 100644 --- a/runtime/src/weights/rocksdb_weights.rs +++ b/runtime/src/weights/rocksdb_weights.rs @@ -16,48 +16,48 @@ // limitations under the License. pub mod constants { - use frame_support::{ - parameter_types, - weights::{constants, RuntimeDbWeight}, - }; + use frame_support::{ + parameter_types, + weights::{constants, RuntimeDbWeight}, + }; - parameter_types! { - /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout - /// the runtime. - pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, - write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, - }; - } + parameter_types! { + /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout + /// the runtime. + pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { + read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + }; + } - #[cfg(test)] - mod test_db_weights { - use super::constants::RocksDbWeight as W; - use frame_support::weights::constants; + #[cfg(test)] + mod test_db_weights { + use super::constants::RocksDbWeight as W; + use frame_support::weights::constants; - /// Checks that all weights exist and have sane values. - // NOTE: If this test fails but you are sure that the generated values are fine, - // you can delete it. - #[test] - fn sane() { - // At least 1 µs. - assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, - "Read weight should be at least 1 µs." - ); - assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, - "Write weight should be at least 1 µs." - ); - // At most 1 ms. - assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, - "Read weight should be at most 1 ms." - ); - assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, - "Write weight should be at most 1 ms." - ); - } - } + /// Checks that all weights exist and have sane values. + // NOTE: If this test fails but you are sure that the generated values are fine, + // you can delete it. + #[test] + fn sane() { + // At least 1 µs. + assert!( + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, + "Read weight should be at least 1 µs." + ); + assert!( + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, + "Write weight should be at least 1 µs." + ); + // At most 1 ms. + assert!( + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, + "Read weight should be at most 1 ms." + ); + assert!( + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, + "Write weight should be at most 1 ms." + ); + } + } } From 35ff12868c7b58cb2dc11962a060b4e72391dfda Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 22 Aug 2025 16:40:58 +0200 Subject: [PATCH 64/89] Adjust deposits --- Cargo.lock | 2 +- node/src/chain_spec.rs | 2 +- runtime/Cargo.toml | 2 +- runtime/src/assets.rs | 6 +++--- runtime/src/lib.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fac205ee..28ccc85c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "140.0.0" +version = "141.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/node/src/chain_spec.rs b/node/src/chain_spec.rs index 607f4274..e16232b2 100644 --- a/node/src/chain_spec.rs +++ b/node/src/chain_spec.rs @@ -179,7 +179,7 @@ fn testnet_genesis( }, collator_selection: neuroweb_runtime::CollatorSelectionConfig { invulnerables: invulnerables.iter().cloned().map(|(acc, _)| acc).collect(), - candidacy_bond: EXISTENTIAL_DEPOSIT * 16, + candidacy_bond: EXISTENTIAL_DEPOSIT * 160, ..Default::default() }, session: neuroweb_runtime::SessionConfig { diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 486162bb..a52ac9db 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "140.0.0" +version = "141.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 913d3e1e..361e89cc 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -31,7 +31,7 @@ use primitives::UnifiedAssetId; use xcm::v3::{Junction, Junctions, MultiLocation, NetworkId}; /// The existential deposit. Set to 1/10 of the Connected Relay Chain. -pub const EXISTENTIAL_DEPOSIT: Balance = OTP; +pub const EXISTENTIAL_DEPOSIT: Balance = OTP / 10; pub const LOCAL_TRAC_ASSET_ID: u128 = 1; pub const LOCAL_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Local(LOCAL_TRAC_ASSET_ID); @@ -77,8 +77,8 @@ impl pallet_balances::Config for Runtime { parameter_types! { pub const AssetDeposit: Balance = OTP; - pub const AssetAccountDeposit: Balance = OTP; - pub const ApprovalDeposit: Balance = OTP; + pub const AssetAccountDeposit: Balance = OTP / 10; + pub const ApprovalDeposit: Balance = OTP / 10; pub const StringLimit: u32 = 50; pub const MetadataDepositBase: Balance = 10 * OTP; pub const MetadataDepositPerByte: Balance = 1 * OTP; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b5d84f8f..020f407a 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -148,7 +148,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 140, + spec_version: 141, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From a920b89e9141000d8838324e8ec750beeb197894 Mon Sep 17 00:00:00 2001 From: cl0w Date: Fri, 22 Aug 2025 21:01:55 +0200 Subject: [PATCH 65/89] fix test suite --- pallets/evm-accounts/src/mock.rs | 58 ++++++++++++++++------------ pallets/xc-asset-config/src/mock.rs | 33 +++++++++------- pallets/xc-asset-config/src/tests.rs | 15 ++++--- precompiles/assets-erc20/src/lib.rs | 1 - precompiles/assets-erc20/src/mock.rs | 44 ++++++++++++--------- 5 files changed, 84 insertions(+), 67 deletions(-) diff --git a/pallets/evm-accounts/src/mock.rs b/pallets/evm-accounts/src/mock.rs index 82a39220..e848d1cb 100644 --- a/pallets/evm-accounts/src/mock.rs +++ b/pallets/evm-accounts/src/mock.rs @@ -17,15 +17,14 @@ use super::*; use frame_support::{ - construct_runtime, - traits::{ConstU128, ConstU64, Everything}, + construct_runtime, parameter_types, + traits::{ConstU128, ConstU32}, }; use sp_core::{crypto::AccountId32, H256}; use sp_io::hashing::keccak_256; -use sp_runtime::{testing::Header, traits::IdentityLookup}; +use sp_runtime::{traits::{BlakeTwo256, IdentityLookup}, BuildStorage}; pub type AccountId = AccountId32; -pub type BlockNumber = u64; pub type Balance = u128; pub const ALICE: AccountId = AccountId32::new([0u8; 32]); @@ -34,31 +33,42 @@ pub const BOB: AccountId = AccountId32::new([1u8; 32]); mod evm_accounts { pub use super::super::*; } + +parameter_types! { + pub const BlockHashCount: u64 = 250; + pub const SS58Prefix: u16 = 42; +} + impl frame_system::Config for Runtime { + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; - type Index = u64; - type BlockNumber = BlockNumber; type RuntimeCall = RuntimeCall; + type Nonce = u64; type Hash = H256; - type Hashing = ::sp_runtime::traits::BlakeTwo256; + type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; + type Block = Block; type RuntimeEvent = RuntimeEvent; - type BlockHashCount = ConstU64<250>; - type BlockWeights = (); - type BlockLength = (); + type BlockHashCount = BlockHashCount; type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; type OnNewAccount = (); type OnKilledAccount = (); - type DbWeight = (); - type BaseCallFilter = Everything; type SystemWeightInfo = (); - type SS58Prefix = (); + type SS58Prefix = SS58Prefix; type OnSetCode = (); type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_balances::Config for Runtime { @@ -71,6 +81,10 @@ impl pallet_balances::Config for Runtime { type MaxReserves = (); type ReserveIdentifier = [u8; 8]; type WeightInfo = (); + type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<0>; } impl Config for Runtime { @@ -82,18 +96,14 @@ impl Config for Runtime { type WeightInfo = (); } -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Runtime { - System: frame_system::{Pallet, Call, Storage, Config, Event}, - EvmAccountsModule: evm_accounts::{Pallet, Call, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, + System: frame_system, + EvmAccountsModule: evm_accounts, + Balances: pallet_balances, } ); @@ -107,8 +117,8 @@ impl Default for ExtBuilder { impl ExtBuilder { pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); pallet_balances::GenesisConfig:: { diff --git a/pallets/xc-asset-config/src/mock.rs b/pallets/xc-asset-config/src/mock.rs index 75fad6e9..be5faf8d 100644 --- a/pallets/xc-asset-config/src/mock.rs +++ b/pallets/xc-asset-config/src/mock.rs @@ -1,29 +1,23 @@ use crate::{self as pallet_xc_asset_config}; -use frame_support::{construct_runtime, parameter_types, weights::Weight}; +use frame_support::{construct_runtime, parameter_types, weights::Weight, traits::{ConstU16, ConstU32}}; use sp_core::H256; use sp_io::TestExternalities; use sp_runtime::{ - testing::Header, traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, }; -type BlockNumber = u64; type Balance = u128; type AccountId = u64; -type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; type Block = frame_system::mocking::MockBlock; const EXISTENTIAL_DEPOSIT: Balance = 1; construct_runtime!( pub struct Test - where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, { System: frame_system, Balances: pallet_balances, @@ -41,27 +35,32 @@ impl frame_system::Config for Test { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = (); type BlockLength = (); + type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; - type Index = u64; type RuntimeCall = RuntimeCall; - type BlockNumber = BlockNumber; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; + type Block = Block; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; - type DbWeight = (); type Version = (); type PalletInfo = PalletInfo; type AccountData = pallet_balances::AccountData; type OnNewAccount = (); type OnKilledAccount = (); type SystemWeightInfo = (); - type SS58Prefix = (); + type SS58Prefix = ConstU16<42>; type OnSetCode = (); type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -79,6 +78,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<0>; } type AssetId = u128; @@ -95,8 +98,8 @@ pub struct ExternalityBuilder; impl ExternalityBuilder { pub fn build() -> TestExternalities { - let storage = frame_system::GenesisConfig::default() - .build_storage::() + let storage = frame_system::GenesisConfig::::default() + .build_storage() .unwrap(); let mut ext = TestExternalities::from(storage); diff --git a/pallets/xc-asset-config/src/tests.rs b/pallets/xc-asset-config/src/tests.rs index 7e58c4d7..6115c84e 100644 --- a/pallets/xc-asset-config/src/tests.rs +++ b/pallets/xc-asset-config/src/tests.rs @@ -2,9 +2,8 @@ use super::{pallet::Error, pallet::Event, *}; use frame_support::{assert_noop, assert_ok, WeakBoundedVec}; use mock::*; use sp_runtime::traits::BadOrigin; -use xcm::latest::prelude::*; - -use xcm::{v3::MultiLocation, VersionedMultiLocation}; +use xcm::v3::{MultiLocation, Junction::{self, GeneralIndex}, Junctions}; +use xcm::VersionedLocation; #[test] fn only_root_as_origin() { @@ -357,7 +356,7 @@ fn different_xcm_versions_are_ok() { // Register asset using legacy multilocation assert_ok!(XcAssetConfig::register_asset_location( RuntimeOrigin::root(), - Box::new(VersionedMultiLocation::V2(legacy_asset_location.clone())), + Box::new(VersionedLocation::V2(legacy_asset_location.clone())), asset_id )); @@ -384,7 +383,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::register_asset_location( RuntimeOrigin::root(), - Box::new(VersionedMultiLocation::V2( + Box::new(VersionedLocation::V2( incompatible_asset_location.clone() )), asset_id @@ -395,7 +394,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::set_asset_units_per_second( RuntimeOrigin::root(), - Box::new(VersionedMultiLocation::V2( + Box::new(VersionedLocation::V2( incompatible_asset_location.clone() )), 12345, @@ -406,7 +405,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::change_existing_asset_location( RuntimeOrigin::root(), - Box::new(VersionedMultiLocation::V2( + Box::new(VersionedLocation::V2( incompatible_asset_location.clone() )), 12345, @@ -417,7 +416,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::remove_payment_asset( RuntimeOrigin::root(), - Box::new(VersionedMultiLocation::V2( + Box::new(VersionedLocation::V2( incompatible_asset_location.clone() )), ), diff --git a/precompiles/assets-erc20/src/lib.rs b/precompiles/assets-erc20/src/lib.rs index 6343740c..9f87a58e 100644 --- a/precompiles/assets-erc20/src/lib.rs +++ b/precompiles/assets-erc20/src/lib.rs @@ -18,7 +18,6 @@ // along with AssetsERC20. If not, see . #![cfg_attr(not(feature = "std"), no_std)] -#![cfg_attr(test, feature(assert_matches))] use fp_evm::{IsPrecompileResult, PrecompileHandle, PrecompileOutput}; use frame_support::traits::fungibles::approvals::Inspect as ApprovalInspect; diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index c0417292..85b2007d 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -21,7 +21,7 @@ use super::*; use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::{construct_runtime, parameter_types, traits::{Everything, AsEnsureOriginWithArg}, weights::Weight}; +use frame_support::{construct_runtime, parameter_types, traits::AsEnsureOriginWithArg, weights::Weight}; use frame_system::{EnsureRoot, EnsureSigned}; use pallet_evm::{AddressMapping, EnsureAddressNever, EnsureAddressRoot}; @@ -29,15 +29,13 @@ use scale_info::TypeInfo; use serde::{Deserialize, Serialize}; use sp_core::{H160, H256}; use sp_runtime::{ - testing::Header, - traits::{BlakeTwo256, IdentityLookup, ConstU32}, + traits::{BlakeTwo256, IdentityLookup, ConstU32, ConstU64}, + BuildStorage, }; pub type AccountId = Account; pub type AssetId = u128; pub type Balance = u128; -pub type BlockNumber = u64; -pub type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic; pub type Block = frame_system::mocking::MockBlock; /// A simple account type. @@ -146,17 +144,18 @@ parameter_types! { } impl frame_system::Config for Runtime { - type BaseCallFilter = Everything; + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); type DbWeight = (); type RuntimeOrigin = RuntimeOrigin; - type Index = u64; - type BlockNumber = BlockNumber; type RuntimeCall = RuntimeCall; + type Nonce = u64; type Hash = H256; type Hashing = BlakeTwo256; type AccountId = AccountId; type Lookup = IdentityLookup; - type Header = Header; + type Block = Block; type RuntimeEvent = RuntimeEvent; type BlockHashCount = BlockHashCount; type Version = (); @@ -165,11 +164,15 @@ impl frame_system::Config for Runtime { type OnNewAccount = (); type OnKilledAccount = (); type SystemWeightInfo = (); - type BlockWeights = (); - type BlockLength = (); type SS58Prefix = SS58Prefix; type OnSetCode = (); - type MaxConsumers = frame_support::traits::ConstU32<16>; + type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } parameter_types! { @@ -184,7 +187,7 @@ impl pallet_timestamp::Config for Runtime { } parameter_types! { - pub const ExistentialDeposit: u128 = 0; + pub const ExistentialDeposit: u128 = 1; } impl pallet_balances::Config for Runtime { @@ -197,6 +200,10 @@ impl pallet_balances::Config for Runtime { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<0>; } parameter_types! { @@ -226,6 +233,8 @@ impl pallet_evm::Config for Runtime { type FindAuthor = (); type OnCreate = (); type WeightInfo = (); + type GasLimitPovSizeRatio = ConstU64<4>; + type SuicideQuickClearLimit = ConstU32<0>; } // These parameters dont matter much as this will only be called by root with the forced arguments @@ -262,10 +271,7 @@ impl pallet_assets::Config for Runtime { // Configure a mock runtime to test the pallet. construct_runtime!( - pub enum Runtime where - Block = Block, - NodeBlock = Block, - UncheckedExtrinsic = UncheckedExtrinsic, + pub enum Runtime { System: frame_system, Balances: pallet_balances, @@ -293,8 +299,8 @@ impl ExtBuilder { } pub(crate) fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::default() - .build_storage::() + let mut t = frame_system::GenesisConfig::::default() + .build_storage() .expect("Frame system builds valid default genesis config"); pallet_balances::GenesisConfig:: { From 1957bedd680331e03dd684fd29c236f67248f549 Mon Sep 17 00:00:00 2001 From: cl0w Date: Sat, 23 Aug 2025 18:19:30 +0200 Subject: [PATCH 66/89] add pallet-params and config for Sepolia --- Cargo.lock | 16 +++++++ Cargo.toml | 1 + pallets/params/Cargo.toml | 37 +++++++++++++++ pallets/params/README.md | 42 +++++++++++++++++ pallets/params/src/lib.rs | 34 ++++++++++++++ pallets/params/src/mock.rs | 89 +++++++++++++++++++++++++++++++++++++ pallets/params/src/tests.rs | 52 ++++++++++++++++++++++ runtime/Cargo.toml | 3 ++ runtime/src/assets.rs | 18 ++++++++ runtime/src/lib.rs | 15 ++++++- 10 files changed, 306 insertions(+), 1 deletion(-) create mode 100644 pallets/params/Cargo.toml create mode 100644 pallets/params/README.md create mode 100644 pallets/params/src/lib.rs create mode 100644 pallets/params/src/mock.rs create mode 100644 pallets/params/src/tests.rs diff --git a/Cargo.lock b/Cargo.lock index fac205ee..cd80df0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6286,6 +6286,7 @@ dependencies = [ "pallet-identity", "pallet-message-queue", "pallet-multisig", + "pallet-params", "pallet-preimage", "pallet-proxy", "pallet-scheduler", @@ -7567,6 +7568,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-params" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-preimage" version = "28.0.0" diff --git a/Cargo.toml b/Cargo.toml index f42faefb..49d1922f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -188,6 +188,7 @@ xcm-executor = { package = "staging-xcm-executor", git = "https://github.com/par # Local primitives = { path = "primitives", default-features = false } pallet-wrapper = { path = "pallets/wrapper", default-features = false } +pallet-params = { path = "pallets/params", default-features = false } neuroweb-runtime = { path = "./runtime" } precompile-utils = { path = "./precompiles/utils", default-features = false } diff --git a/pallets/params/Cargo.toml b/pallets/params/Cargo.toml new file mode 100644 index 00000000..b31cffe6 --- /dev/null +++ b/pallets/params/Cargo.toml @@ -0,0 +1,37 @@ +[package] +name = "pallet-params" +version = "1.0.0" +authors.workspace = true +edition.workspace = true +repository.workspace = true + +[dependencies] +codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true } + +sp-api = { workspace = true } +sp-core = { workspace = true } +sp-runtime = { workspace = true } +sp-std = { workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } + +[dev-dependencies] +sp-io = { workspace = true } + +[features] +default = ['std'] +std = [ + 'codec/std', + 'scale-info/std', + 'sp-api/std', + 'sp-core/std', + 'sp-io/std', + 'sp-runtime/std', + 'sp-std/std', + 'frame-support/std', + 'frame-system/std', +] + +try-runtime = ["frame-support/try-runtime"] diff --git a/pallets/params/README.md b/pallets/params/README.md new file mode 100644 index 00000000..a1f32d06 --- /dev/null +++ b/pallets/params/README.md @@ -0,0 +1,42 @@ +# Pallet Params + +A simple Substrate pallet that provides runtime configuration parameters for the Neuroweb blockchain. + +## Overview + +The Params pallet manages global runtime configuration parameters that can affect the behavior of other pallets and runtime components. + +## Features + +### Testnet Mode + +The pallet stores a boolean `testnet_mode` parameter that indicates whether the runtime is operating in testnet mode. This parameter influences various runtime behaviors: + +- **Asset Configuration**: Controls which asset IDs are used (mainnet vs Sepolia testnet) +- **Network Behavior**: Allows different configurations for development/testing vs production +- **Future Extensions**: Provides a foundation for other environment-specific parameters + +## Storage + +### TestnetMode + +```rust +pub type TestnetMode = StorageValue<_, bool, ValueQuery>; +``` + +- **Type**: `bool` +- **Default**: `false` (mainnet mode) +- **Query**: Returns the current testnet mode status + +## Public Interface +### Getters +- `testnet_mode() -> bool`: Returns the current testnet mode status + +### Test Helpers +- `set_testnet_mode(testnet_mode: bool)`: Sets the testnet mode (available only with `std` feature for testing) + +### Running Tests + +```bash +cargo test -p pallet-params +``` diff --git a/pallets/params/src/lib.rs b/pallets/params/src/lib.rs new file mode 100644 index 00000000..b0911333 --- /dev/null +++ b/pallets/params/src/lib.rs @@ -0,0 +1,34 @@ +#![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::manual_inspect)] + +#[cfg(test)] +pub mod mock; +#[cfg(test)] +mod tests; + +pub use pallet::*; + +use frame_support::pallet_prelude::*; + +#[frame_support::pallet] +pub mod pallet { + use super::*; + + #[pallet::config] + pub trait Config: frame_system::Config {} + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::storage] + #[pallet::getter(fn testnet_mode)] + pub type TestnetMode = StorageValue<_, bool, ValueQuery>; + + impl Pallet { + /// Tests Helper + #[cfg(feature = "std")] + pub fn set_testnet_mode(testnet_mode: bool) { + TestnetMode::::put(testnet_mode); + } + } +} diff --git a/pallets/params/src/mock.rs b/pallets/params/src/mock.rs new file mode 100644 index 00000000..ea79ed46 --- /dev/null +++ b/pallets/params/src/mock.rs @@ -0,0 +1,89 @@ +#![cfg(test)] + +use super::*; +use frame_support::{ + construct_runtime, + traits::{ConstU16, ConstU64, Everything}, +}; +use sp_core::H256; +use sp_runtime::{traits::IdentityLookup, BuildStorage}; + +pub type AccountId = u64; +pub type BlockNumber = u64; + +type Block = frame_system::mocking::MockBlock; + +// Configure a mock runtime to test the pallet. +construct_runtime!( + pub enum Test + { + System: frame_system, + Params: crate, + } +); + +impl frame_system::Config for Test { + type BaseCallFilter = Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Hash = H256; + type Hashing = ::sp_runtime::traits::BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Block = Block; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = ConstU64<250>; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = (); + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = ConstU16<42>; + type OnSetCode = (); + type MaxConsumers = frame_support::traits::ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); +} + +impl Config for Test {} + +pub struct ExtBuilder { + testnet_mode: bool, +} + +impl Default for ExtBuilder { + fn default() -> Self { + Self { + testnet_mode: false, + } + } +} + +impl ExtBuilder { + pub fn testnet_mode(mut self, testnet_mode: bool) -> Self { + self.testnet_mode = testnet_mode; + self + } + + pub fn build(self) -> sp_io::TestExternalities { + let t = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap(); + + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| { + System::set_block_number(1); + Params::set_testnet_mode(self.testnet_mode); + }); + ext + } +} \ No newline at end of file diff --git a/pallets/params/src/tests.rs b/pallets/params/src/tests.rs new file mode 100644 index 00000000..45ea8165 --- /dev/null +++ b/pallets/params/src/tests.rs @@ -0,0 +1,52 @@ +#![cfg(test)] + +use crate::mock::*; + +#[test] +fn testnet_mode_default_value() { + ExtBuilder::default().build().execute_with(|| { + assert_eq!(Params::testnet_mode(), false); + }); +} + +#[test] +fn testnet_mode_set_to_true() { + ExtBuilder::default().testnet_mode(true).build().execute_with(|| { + assert_eq!(Params::testnet_mode(), true); + }); +} + +#[test] +fn testnet_mode_set_to_false() { + ExtBuilder::default().testnet_mode(false).build().execute_with(|| { + assert_eq!(Params::testnet_mode(), false); + }); +} + +#[test] +fn testnet_mode_can_be_changed() { + ExtBuilder::default().build().execute_with(|| { + assert_eq!(Params::testnet_mode(), false); + + Params::set_testnet_mode(true); + assert_eq!(Params::testnet_mode(), true); + + Params::set_testnet_mode(false); + assert_eq!(Params::testnet_mode(), false); + }); +} + +// #[test] +// fn storage_query_works() { +// ExtBuilder::default().testnet_mode(true).build().execute_with(|| { +// assert!(TestnetMode::::exists()); +// assert_eq!(TestnetMode::::get(), true); +// }); +// } +// +// #[test] +// fn storage_default_query() { +// ExtBuilder::default().build().execute_with(|| { +// assert_eq!(TestnetMode::::get(), false); +// }); +// } \ No newline at end of file diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 486162bb..04d3b193 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -100,6 +100,7 @@ pallet-identity = { workspace = true } pallet-preimage = { workspace = true } # Local +pallet-params = { workspace = true } pallet-wrapper = { workspace = true } primitives = { workspace = true } @@ -143,6 +144,7 @@ std = [ "pallet-evm-precompile-sha3fips/std", "pallet-ethereum/std", "pallet-identity/std", + "pallet-params/std", "pallet-preimage/std", "pallet-proxy/std", "pallet-message-queue/std", @@ -234,6 +236,7 @@ try-runtime = [ "pallet-identity/runtime-benchmarks", "pallet-message-queue/try-runtime", "pallet-multisig/try-runtime", + "pallet-params/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", "pallet-scheduler/try-runtime", diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index c560da46..af85db87 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -52,6 +52,24 @@ pub const FOREIGN_TRAC_ASSET_LOCATION: MultiLocation = MultiLocation { pub const FOREIGN_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Foreign(FOREIGN_TRAC_ASSET_LOCATION); +pub const FOREIGN_TRAC_LOCATION_SEPOLIA: MultiLocation = MultiLocation { + parents: 2, + interior: Junctions::X2( + Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 11155111 }), + Junction::AccountKey20 { + network: None, + key: [ + 0xef, 0x32, 0xab, 0xea, 0x56, 0xbe, 0xff, 0x54, 0xf6, 0x1d, + 0xa3, 0x19, 0xa7, 0x31, 0x10, 0x98, 0xd6, 0xfb, 0xce, 0xa9, + ], + }, + ), +}; + +pub const FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA: UnifiedAssetId = + UnifiedAssetId::Foreign(FOREIGN_TRAC_LOCATION_SEPOLIA); + + parameter_types! { pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index e09918d6..9fce8a05 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -8,6 +8,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); pub mod assets; use assets::*; +pub use assets::{LocalAssetsPalletId, ForeignAssetsPalletId, local_assets_pallet_account, foreign_assets_pallet_account}; use primitives::UnifiedAssetId; mod weights; @@ -1099,8 +1100,17 @@ impl pallet_proxy::Config for Runtime { parameter_types! { pub const TracWrapperPalletId: PalletId = PalletId(*b"p/wrpper"); pub const LocalTracAssetId: UnifiedAssetId = LOCAL_TRAC_UNIFIED_ASSET_ID; - pub const ForeignTracAssetId: UnifiedAssetId = FOREIGN_TRAC_UNIFIED_ASSET_ID; +} +pub struct ForeignTracAssetId; +impl Get for ForeignTracAssetId { + fn get() -> UnifiedAssetId { + if Params::testnet_mode() { + FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA + } else { + FOREIGN_TRAC_UNIFIED_ASSET_ID + } + } } impl pallet_wrapper::Config for Runtime { @@ -1115,6 +1125,8 @@ impl pallet_wrapper::Config for Runtime { type WeightInfo = weights::pallet_wrapper::NeurowebWeight; } +impl pallet_params::Config for Runtime {} + // Create the runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub struct Runtime @@ -1146,6 +1158,7 @@ construct_runtime!( Aura: pallet_aura::{Pallet, Storage, Config} = 23, AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config} = 24, Wrapper: pallet_wrapper = 25, + Params: pallet_params = 26, // XCM helpers. XcmpQueue: cumulus_pallet_xcmp_queue::{Pallet, Call, Storage, Event} = 30, From ed1220c59adc7cf9fe2cb5dbe6e82e39f10facef Mon Sep 17 00:00:00 2001 From: cl0w Date: Sat, 23 Aug 2025 20:32:23 +0200 Subject: [PATCH 67/89] add runtime-tests --- Cargo.lock | 16 ++++++ Cargo.toml | 1 + runtime-tests/Cargo.toml | 36 +++++++++++++ runtime-tests/README.md | 14 +++++ runtime-tests/src/assets.rs | 104 ++++++++++++++++++++++++++++++++++++ runtime-tests/src/lib.rs | 24 +++++++++ runtime/src/assets.rs | 25 --------- 7 files changed, 195 insertions(+), 25 deletions(-) create mode 100644 runtime-tests/Cargo.toml create mode 100644 runtime-tests/README.md create mode 100644 runtime-tests/src/assets.rs create mode 100644 runtime-tests/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index cd80df0d..8399a81a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10610,6 +10610,22 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "runtime-tests" +version = "1.0.0" +dependencies = [ + "frame-support", + "frame-system", + "neuroweb-runtime", + "parity-scale-codec", + "primitives", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "rustc-demangle" version = "0.1.24" diff --git a/Cargo.toml b/Cargo.toml index 49d1922f..897c2d9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,7 @@ members = [ "pallets/*", "primitives", "runtime", + "runtime-tests", ] resolver = "2" diff --git a/runtime-tests/Cargo.toml b/runtime-tests/Cargo.toml new file mode 100644 index 00000000..361bb9d4 --- /dev/null +++ b/runtime-tests/Cargo.toml @@ -0,0 +1,36 @@ +[package] +name = "runtime-tests" +version = "1.0.0" +authors.workspace = true +edition.workspace = true +repository.workspace = true + +[dependencies] +codec = { workspace = true, features = ["derive", "max-encoded-len"] } +scale-info = { workspace = true } + +sp-runtime = { workspace = true } +sp-io = { workspace = true } +sp-core = { workspace = true } +sp-std = { workspace = true } + +frame-support = { workspace = true } +frame-system = { workspace = true } + +neuroweb-runtime = { workspace = true } +primitives = { workspace = true } + +[features] +default = ['std'] +std = [ + 'codec/std', + 'scale-info/std', + 'sp-runtime/std', + 'sp-core/std', + 'sp-io/std', + 'sp-std/std', + 'frame-support/std', + 'frame-system/std', + 'neuroweb-runtime/std', + 'primitives/std', +] \ No newline at end of file diff --git a/runtime-tests/README.md b/runtime-tests/README.md new file mode 100644 index 00000000..d9eeb5ee --- /dev/null +++ b/runtime-tests/README.md @@ -0,0 +1,14 @@ +# Runtime Tests +This package contains integration tests that run against the actual Neuroweb runtime, unlike pallet-level tests that use mocks. + +## Purpose +Runtime tests verify that: +- Pallets integrate correctly with the runtime +- Configuration types work as expected +- Cross-pallet interactions function properly +- Runtime-specific logic behaves correctly + +## Running Tests +```bash +cargo test -p runtime-tests +``` diff --git a/runtime-tests/src/assets.rs b/runtime-tests/src/assets.rs new file mode 100644 index 00000000..e9a53dbc --- /dev/null +++ b/runtime-tests/src/assets.rs @@ -0,0 +1,104 @@ +#![cfg(test)] + +use frame_support::traits::Get; +use neuroweb_runtime::{ + assets::{FOREIGN_TRAC_UNIFIED_ASSET_ID, FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA}, + ForeignTracAssetId, Params, +}; +use super::{new_test_ext, run_to_block}; + +#[test] +fn foreign_trac_asset_id_defaults_to_mainnet() { + new_test_ext().execute_with(|| { + // Initially testnet_mode should be false, so we should get mainnet asset ID + assert_eq!(Params::testnet_mode(), false); + assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID); + }); +} + +#[test] +fn foreign_trac_asset_id_switches_to_sepolia_in_testnet_mode() { + new_test_ext().execute_with(|| { + // Set testnet mode to true + Params::set_testnet_mode(true); + assert_eq!(Params::testnet_mode(), true); + assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + }); +} + +#[test] +fn foreign_trac_asset_id_switches_back_to_mainnet() { + new_test_ext().execute_with(|| { + // Start in testnet mode + Params::set_testnet_mode(true); + assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + + // Switch back to mainnet mode + Params::set_testnet_mode(false); + assert_eq!(Params::testnet_mode(), false); + assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID); + }); +} + +#[test] +fn foreign_trac_asset_id_consistency_across_blocks() { + new_test_ext().execute_with(|| { + // Set testnet mode + Params::set_testnet_mode(true); + let testnet_asset_id = ForeignTracAssetId::get(); + + // Run several blocks and ensure consistency + run_to_block(5); + assert_eq!(ForeignTracAssetId::get(), testnet_asset_id); + assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + }); +} + +#[test] +fn foreign_trac_asset_ids_are_different() { + new_test_ext().execute_with(|| { + let mainnet_id = FOREIGN_TRAC_UNIFIED_ASSET_ID; + let testnet_id = FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA; + + // Ensure the two asset IDs are actually different + assert_ne!(mainnet_id, testnet_id); + + // Test both modes return the expected different IDs + Params::set_testnet_mode(false); + assert_eq!(ForeignTracAssetId::get(), mainnet_id); + + Params::set_testnet_mode(true); + assert_eq!(ForeignTracAssetId::get(), testnet_id); + }); +} + +#[test] +fn local_assets_pallet_account() { + use neuroweb_runtime::{LocalAssetsPalletId, local_assets_pallet_account, foreign_assets_pallet_account, AccountId}; + use sp_runtime::traits::AccountIdConversion; + use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; + + new_test_ext().execute_with(|| { + let local_assets_pallet_account_raw: AccountId = local_assets_pallet_account(); + let local_assets_pallet_account_formatted = local_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); + println!("{:?}", sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())).to_ss58check_with_version(Ss58AddressFormat::custom(101))); + + assert_eq!(local_assets_pallet_account_raw, LocalAssetsPalletId::get().into_account_truncating()); + assert_eq!(local_assets_pallet_account_formatted, "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq"); + }); +} + +#[test] +fn foreign_assets_pallet_account() { + use neuroweb_runtime::{ForeignAssetsPalletId, foreign_assets_pallet_account, AccountId}; + use sp_runtime::traits::AccountIdConversion; + use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; + + new_test_ext().execute_with(|| { + let foreign_assets_pallet_account_raw: AccountId = foreign_assets_pallet_account(); + let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); + + assert_eq!(foreign_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); + assert_eq!(foreign_assets_pallet_account_formatted, "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz"); + }); +} diff --git a/runtime-tests/src/lib.rs b/runtime-tests/src/lib.rs new file mode 100644 index 00000000..c6669ce3 --- /dev/null +++ b/runtime-tests/src/lib.rs @@ -0,0 +1,24 @@ +#![cfg(test)] + +mod assets; + +use neuroweb_runtime::{Runtime, System}; +use sp_runtime::BuildStorage; + +pub fn new_test_ext() -> sp_io::TestExternalities { + let storage = frame_system::GenesisConfig::::default() + .build_storage() + .expect("Storage should build"); + + let mut ext = sp_io::TestExternalities::new(storage); + ext.execute_with(|| { + System::set_block_number(1); + }); + ext +} + +pub fn run_to_block(n: u32) { + while System::block_number() < n { + System::set_block_number(System::block_number() + 1); + } +} diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index af85db87..1f4a600f 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -500,28 +500,3 @@ impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHel } } -#[cfg(test)] -mod tests { - use super::*; - use sp_runtime::traits::AccountIdConversion; - use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; - - #[test] - fn test_local_assets_pallet_account() { - let local_assets_pallet_account_raw = local_assets_pallet_account(); - let local_assets_pallet_account_formatted = local_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); - println!("{:?}", sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())).to_ss58check_with_version(Ss58AddressFormat::custom(101))); - - assert_eq!(local_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); - assert_eq!(local_assets_pallet_account_formatted, "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq"); - } - - #[test] - fn test_foreign_assets_pallet_account() { - let foreign_assets_pallet_account_raw = foreign_assets_pallet_account(); - let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); - - assert_eq!(foreign_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); - assert_eq!(foreign_assets_pallet_account_formatted, "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz"); - } -} From 0b93b297a0e6c42eb4191db31f13895111dc14cb Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 25 Aug 2025 19:04:49 +0200 Subject: [PATCH 68/89] switch to xcm v4 --- primitives/src/lib.rs | 4 +- runtime-tests/src/assets.rs | 16 +++---- runtime/src/assets.rs | 91 ++++++++++++++++++++----------------- runtime/src/lib.rs | 4 +- runtime/src/xcm_config.rs | 73 ++++++++++++++++++----------- 5 files changed, 108 insertions(+), 80 deletions(-) diff --git a/primitives/src/lib.rs b/primitives/src/lib.rs index 394bdb72..ffec1b7b 100644 --- a/primitives/src/lib.rs +++ b/primitives/src/lib.rs @@ -16,7 +16,7 @@ use codec::{Decode, Encode}; use frame_support::pallet_prelude::MaxEncodedLen; use scale_info::TypeInfo; use serde::{Deserialize, Serialize}; -use xcm::v3::MultiLocation; +use xcm::v4::Location; // Adapter for supporting different currencies #[derive( @@ -36,5 +36,5 @@ use xcm::v3::MultiLocation; pub enum UnifiedAssetId { Native, Local(u128), - Foreign(MultiLocation), + Foreign(Location), } diff --git a/runtime-tests/src/assets.rs b/runtime-tests/src/assets.rs index e9a53dbc..470bb0fe 100644 --- a/runtime-tests/src/assets.rs +++ b/runtime-tests/src/assets.rs @@ -2,7 +2,7 @@ use frame_support::traits::Get; use neuroweb_runtime::{ - assets::{FOREIGN_TRAC_UNIFIED_ASSET_ID, FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA}, + assets::{foreign_trac_unified_asset_id, foreign_trac_unified_asset_id_sepolia}, ForeignTracAssetId, Params, }; use super::{new_test_ext, run_to_block}; @@ -12,7 +12,7 @@ fn foreign_trac_asset_id_defaults_to_mainnet() { new_test_ext().execute_with(|| { // Initially testnet_mode should be false, so we should get mainnet asset ID assert_eq!(Params::testnet_mode(), false); - assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID); + assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id()); }); } @@ -22,7 +22,7 @@ fn foreign_trac_asset_id_switches_to_sepolia_in_testnet_mode() { // Set testnet mode to true Params::set_testnet_mode(true); assert_eq!(Params::testnet_mode(), true); - assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); }); } @@ -31,12 +31,12 @@ fn foreign_trac_asset_id_switches_back_to_mainnet() { new_test_ext().execute_with(|| { // Start in testnet mode Params::set_testnet_mode(true); - assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); // Switch back to mainnet mode Params::set_testnet_mode(false); assert_eq!(Params::testnet_mode(), false); - assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID); + assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id()); }); } @@ -50,15 +50,15 @@ fn foreign_trac_asset_id_consistency_across_blocks() { // Run several blocks and ensure consistency run_to_block(5); assert_eq!(ForeignTracAssetId::get(), testnet_asset_id); - assert_eq!(ForeignTracAssetId::get(), FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA); + assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); }); } #[test] fn foreign_trac_asset_ids_are_different() { new_test_ext().execute_with(|| { - let mainnet_id = FOREIGN_TRAC_UNIFIED_ASSET_ID; - let testnet_id = FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA; + let mainnet_id = foreign_trac_unified_asset_id(); + let testnet_id = foreign_trac_unified_asset_id_sepolia(); // Ensure the two asset IDs are actually different assert_ne!(mainnet_id, testnet_id); diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index 1f4a600f..8475961d 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -11,6 +11,8 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +extern crate alloc; +use alloc::sync::Arc; use super::*; use frame_support::{ pallet_prelude::*, @@ -28,7 +30,7 @@ use frame_support::{ }, }; use primitives::UnifiedAssetId; -use xcm::v3::{Junction, Junctions, MultiLocation, NetworkId}; +use xcm::v4::{Junction, Junctions, Location, NetworkId}; /// The existential deposit. Set to 1/10 of the Connected Relay Chain. pub const EXISTENTIAL_DEPOSIT: Balance = OTP; @@ -36,39 +38,46 @@ pub const EXISTENTIAL_DEPOSIT: Balance = OTP; pub const LOCAL_TRAC_ASSET_ID: u128 = 1; pub const LOCAL_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = UnifiedAssetId::Local(LOCAL_TRAC_ASSET_ID); -pub const FOREIGN_TRAC_ASSET_LOCATION: MultiLocation = MultiLocation { - parents: 2, - interior: Junctions::X2( - Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 1 }), - Junction::AccountKey20 { - network: None, - key: [ - 0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, - 0x09, 0x4b, 0x8d, 0x0f, 0x0a, 0x6f, - ], - }, - ), -}; -pub const FOREIGN_TRAC_UNIFIED_ASSET_ID: UnifiedAssetId = - UnifiedAssetId::Foreign(FOREIGN_TRAC_ASSET_LOCATION); - -pub const FOREIGN_TRAC_LOCATION_SEPOLIA: MultiLocation = MultiLocation { - parents: 2, - interior: Junctions::X2( - Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 11155111 }), - Junction::AccountKey20 { - network: None, - key: [ - 0xef, 0x32, 0xab, 0xea, 0x56, 0xbe, 0xff, 0x54, 0xf6, 0x1d, - 0xa3, 0x19, 0xa7, 0x31, 0x10, 0x98, 0xd6, 0xfb, 0xce, 0xa9, - ], - }, - ), -}; +pub fn foreign_trac_asset_location() -> Location { + Location { + parents: 2, + interior: Junctions::X2(Arc::new([ + Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 1 }), + Junction::AccountKey20 { + network: None, + key: [ + 0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, + 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, 0x09, 0x4b, + 0x8d, 0x0f, 0x0a, 0x6f, + ], + }, + ])), + } +} +pub fn foreign_trac_unified_asset_id() -> UnifiedAssetId { + UnifiedAssetId::Foreign(foreign_trac_asset_location()) +} -pub const FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA: UnifiedAssetId = - UnifiedAssetId::Foreign(FOREIGN_TRAC_LOCATION_SEPOLIA); +pub fn foreign_trac_location_sepolia() -> Location { + Location { + parents: 2, + interior: Junctions::X2(Arc::new([ + Junction::GlobalConsensus(NetworkId::Ethereum { chain_id: 11155111 }), + Junction::AccountKey20 { + network: None, + key: [ + 0xef, 0x32, 0xab, 0xea, 0x56, 0xbe, 0xff, 0x54, + 0xf6, 0x1d, 0xa3, 0x19, 0xa7, 0x31, 0x10, 0x98, + 0xd6, 0xfb, 0xce, 0xa9, + ], + }, + ])), + } +} +pub fn foreign_trac_unified_asset_id_sepolia() -> UnifiedAssetId { + UnifiedAssetId::Foreign(foreign_trac_location_sepolia()) +} parameter_types! { pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT; @@ -133,8 +142,8 @@ impl pallet_assets::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Balance = Balance; type RemoveItemsLimit = ConstU32<656>; - type AssetId = MultiLocation; - type AssetIdParameter = MultiLocation; + type AssetId = Location; + type AssetIdParameter = Location; type Currency = Balances; type CreateOrigin = RootWithForeignAssetsPalletsAccount; type ForceOrigin = EnsureRoot; @@ -461,20 +470,20 @@ for RootWithLocalAssetsPalletAccount // CreateOrigin for foreign assets // Root which returns the foreign_assets_pallet_account pub struct RootWithForeignAssetsPalletsAccount; -impl frame_support::traits::EnsureOriginWithArg +impl frame_support::traits::EnsureOriginWithArg for RootWithForeignAssetsPalletsAccount { type Success = AccountId; - fn try_origin(o: RuntimeOrigin, _asset_id: &MultiLocation) -> Result { + fn try_origin(o: RuntimeOrigin, _asset_id: &Location) -> Result { as frame_support::traits::EnsureOriginWithArg< RuntimeOrigin, - MultiLocation, + Location, >>::try_origin(o, _asset_id) .map(|_| foreign_assets_pallet_account()) } #[cfg(feature = "runtime-benchmarks")] - fn try_successful_origin(_asset_id: &MultiLocation) -> Result { + fn try_successful_origin(_asset_id: &Location) -> Result { Ok(frame_system::RawOrigin::Root.into()) } } @@ -494,9 +503,9 @@ impl pallet_assets::BenchmarkHelper> for AssetsBenchmarkHel pub struct ForeignAssetsBenchmarkHelper; #[cfg(feature = "runtime-benchmarks")] -impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHelper { - fn create_asset_id_parameter(id: u32) -> MultiLocation { - MultiLocation::new(1, Junction::Parachain(id)) +impl pallet_assets::BenchmarkHelper for ForeignAssetsBenchmarkHelper { + fn create_asset_id_parameter(id: u32) -> Location { + Location::new(1, Junction::Parachain(id)) } } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 9fce8a05..5b2ce331 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1106,9 +1106,9 @@ pub struct ForeignTracAssetId; impl Get for ForeignTracAssetId { fn get() -> UnifiedAssetId { if Params::testnet_mode() { - FOREIGN_TRAC_UNIFIED_ASSET_ID_SEPOLIA + foreign_trac_unified_asset_id_sepolia() } else { - FOREIGN_TRAC_UNIFIED_ASSET_ID + foreign_trac_unified_asset_id() } } } diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 8b3bb8cd..a1a3f802 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -10,6 +10,8 @@ use frame_support::{ parameter_types, traits::{ConstU32, Contains, Everything, Get, Nothing, PalletInfoAccess}, }; +use frame_support::traits::fungibles::Mutate; +use frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; @@ -26,16 +28,10 @@ use xcm_builder::{ WeightInfoBounds, WithComputedOrigin, }; -use xcm_executor::{ - traits::{ConvertLocation, WithOriginFilter}, - XcmExecutor, -}; +use xcm_executor::{traits::{ConvertLocation, MatchesFungibles, Error as MatchError, WithOriginFilter}, AssetsInHolding, XcmExecutor}; parameter_types! { - pub const RelayLocation: Location = Location::parent(); - pub const RelayNetwork: NetworkId = NetworkId::Polkadot; - pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); - + // NEURO (native) pub TokenLocation: Location = Location { parents:0, interior: [ @@ -43,8 +39,22 @@ parameter_types! { ].into() }; + pub const RelayLocation: Location = Location::parent(); + pub const RelayNetwork: NetworkId = Polkadot; + pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into(); + + /// Asset Hub + pub AssetHubLocation: Location = (Parent, Parachain(1000)).into(); + pub RelayChainNativeAssetFromAssetHub: (AssetFilter, Location) = ( + (Asset { id: AssetId(RelayLocation::get()), fun: Fungible(1)}).into(), + AssetHubLocation::get() + ); + pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get()), Parachain(ParachainInfo::parachain_id().into())].into(); pub CheckingAccount: AccountId = PolkadotXcm::check_account(); + + // XCM fees in DOT + pub DotPerSecond: u128 = 1_000_000_000; // 0.1 DOT/sec, in Planks } /// Type for specifying how a `Location` can be converted into an `AccountId`. This is used @@ -68,17 +78,13 @@ pub type NativeAssetTransactor = pub type ForeignAssetTransactor = FungiblesAdapter< ForeignAssets, - ForeignAssetsConvertedConcreteId, + IsForeignConcreteAssetFrom, LocationToAccountId, AccountId, NoChecking, CheckingAccount, >; -/// `AssetId`/`Balance` converter for `ForeignAssets` -pub type ForeignAssetsConvertedConcreteId = - assets_common::ForeignAssetsConvertedConcreteId<(), Balance, xcm::v3::MultiLocation>; - /// Means for transacting assets on this chain. pub type AssetTransactors = (NativeAssetTransactor, ForeignAssetTransactor); @@ -190,6 +196,22 @@ impl Contains for SafeCallFilter { /// Matches foreign assets from a given origin. /// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. pub struct IsForeignConcreteAssetFrom(PhantomData); + +impl MatchesFungibles for IsForeignConcreteAssetFrom +where + Origin: Get, +{ + fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { + let loc = Origin::get(); + + if asset.id == AssetId(loc.clone()) { + if let Fungibility::Fungible(amount) = asset.fun { + return Ok((loc, amount)); + } + } + Err(MatchError::AssetNotHandled) + } +} impl ContainsPair for IsForeignConcreteAssetFrom where Origin: Get, @@ -201,21 +223,12 @@ where asset, Asset { id: AssetId(Location { parents: 2, .. }), - fun: Fungible(_) - }, + fun: Fungibility::Fungible(_) + } ) } } -parameter_types! { - /// Location of Asset Hub - pub AssetHubLocation: Location = (Parent, Parachain(1000)).into(); - pub RelayChainNativeAssetFromAssetHub: (AssetFilter, Location) = ( - (Asset { id: AssetId(RelayLocation::get()), fun: Fungible(1)}).into(), - AssetHubLocation::get() - ); -} - type Reserves = ( // Relaychain (DOT) from Asset Hub Case, @@ -241,7 +254,14 @@ impl xcm_executor::Config for XcmConfig { RuntimeCall, MaxInstructions, >; - type Trader = UsingComponents; + type Trader = ( + UsingComponents, + FixedRateOfForeignAsset< + RelayLocation, + Balance, + DotPerSecond, + >, + ); type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; type AssetClaims = PolkadotXcm; @@ -318,6 +338,7 @@ impl cumulus_pallet_xcm::Config for Runtime { } // The parts below are copied from a later version of polkadot-sdk +// // Copied from // https://github.com/paritytech/polkadot-sdk/blob/7ef027551fd1290c42581a85052b643bffc9cbe4/polkadot/xcm/xcm-builder/src/location_conversion.rs /// Converts locations from external global consensus systems (e.g., Ethereum, other parachains) @@ -409,8 +430,6 @@ pub fn ensure_is_remote( use super::UNITS; #[cfg(feature = "runtime-benchmarks")] use crate::assets::EXISTENTIAL_DEPOSIT; -#[cfg(feature = "runtime-benchmarks")] -use scale_info::prelude::vec; #[cfg(feature = "runtime-benchmarks")] parameter_types! { From d7683da90bf8befc3826f513f55ffb040255d321 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 25 Aug 2025 19:07:38 +0200 Subject: [PATCH 69/89] Pay XCM fees in DOT and transfer to Treasury --- runtime/src/xcm_config.rs | 144 ++++++++++++++++++++++++++++++++++---- 1 file changed, 132 insertions(+), 12 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index a1a3f802..a0a745f8 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -3,20 +3,22 @@ use super::{ ParachainSystem, PolkadotXcm, Runtime, RuntimeCall, RuntimeEvent, RuntimeOrigin, WeightToFee, XcmpQueue, }; +use crate::Vec; use codec::Encode; use core::marker::PhantomData; -use frame_support::traits::ContainsPair; use frame_support::{ parameter_types, - traits::{ConstU32, Contains, Everything, Get, Nothing, PalletInfoAccess}, + traits::{ + fungibles::Mutate, ConstU32, Contains, ContainsPair, Everything, Get, Nothing, + PalletInfoAccess, + }, + weights::constants::WEIGHT_REF_TIME_PER_SECOND, }; -use frame_support::traits::fungibles::Mutate; -use frame_support::weights::constants::WEIGHT_REF_TIME_PER_SECOND; use frame_system::EnsureRoot; use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; +use scale_info::prelude::vec; use sp_core::blake2_256; - use xcm::v4::prelude::*; use xcm::v4::InteriorLocation; use xcm_builder::{ @@ -27,8 +29,13 @@ use xcm_builder::{ SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, WithComputedOrigin, }; - -use xcm_executor::{traits::{ConvertLocation, MatchesFungibles, Error as MatchError, WithOriginFilter}, AssetsInHolding, XcmExecutor}; +use xcm_executor::{ + traits::{ + ConvertLocation, DropAssets, Error as MatchError, MatchesFungibles, WeightTrader, + WithOriginFilter, + }, + AssetsInHolding, XcmExecutor, +}; parameter_types! { // NEURO (native) @@ -109,6 +116,123 @@ pub type XcmOriginToTransactDispatchOrigin = ( XcmPassthrough, ); +/// A trader which accepts DOT (via RelayLocation) at a fixed rate. +pub struct FixedRateOfForeignAsset( + PhantomData<(AssetLocation, Balance, Rate)>, +); + +impl< + AssetLocation: Get, + Balance: From + Into + Copy + Ord + Default + core::ops::Sub, + Rate: Get, + > WeightTrader for FixedRateOfForeignAsset +{ + fn new() -> Self { + FixedRateOfForeignAsset(PhantomData) + } + + fn buy_weight( + &mut self, + weight: Weight, + payment: AssetsInHolding, + _ctx: &XcmContext, + ) -> Result { + let asset_id = AssetId(AssetLocation::get()); + let rate_per_second = Rate::get(); + + let fee: u128 = (weight.ref_time() as u128) + .saturating_mul(rate_per_second) + .checked_div(WEIGHT_REF_TIME_PER_SECOND as u128) + .ok_or(XcmError::Overflow)?; + let fee_balance: Balance = fee.into(); + + let assets: Assets = payment.clone().into(); + + let mut found_amount: Option = None; + for asset in assets.clone().into_inner().into_iter() { + if asset.id == asset_id { + if let Fungible(amount) = asset.fun { + found_amount = Some(amount.into()); + break; + } + } + } + + let amount = found_amount.ok_or(XcmError::TooExpensive)?; + if amount < fee_balance { + return Err(XcmError::TooExpensive); + } + + // Subtract fee and rebuild + let mut new_assets: Vec = Vec::new(); + let leftover: u128 = amount.into() - fee_balance.into(); + + if leftover > 0 { + new_assets.push(Asset { + id: asset_id.clone(), + fun: Fungible(leftover), + }); + } + + // Instead of OnUnbalanced, just drop fees via your DealWithForeignFees + DealWithForeignFees::drop_assets( + &Location::here(), + vec![Asset { + id: asset_id.clone(), + fun: Fungible(fee_balance.into()), + }] + .into(), + _ctx, + ); + + Ok(Assets::from(new_assets).into()) + } + + fn refund_weight(&mut self, _weight: Weight, _ctx: &XcmContext) -> Option { + None + } +} + +// Deposit fees into the Treasury +// TODO: Change to TakeRevenue after SDK upgrade +pub struct DealWithForeignFees; +impl DropAssets for DealWithForeignFees { + fn drop_assets(_origin: &Location, assets: AssetsInHolding, _ctx: &XcmContext) -> Weight { + let assets: Assets = assets.into(); + + for asset in assets.into_inner().into_iter() { + // Only handle DOT (Relay Location) + if asset.id == AssetId(RelayLocation::get()) { + if let Fungible(amount) = asset.fun { + if amount > 0 { + // Credit Treasury account in pallet-assets (asset_id = Location) + if ForeignAssets::mint_into( + RelayLocation::get(), // directly use Location as ID + &crate::Treasury::account_id(), + amount, + ) + .is_ok() + { + log::info!( + target: "xcm::fees", + "Credited {} DOT into Treasury account", + amount + ); + } else { + log::warn!( + target: "xcm::fees", + "Failed to credit DOT fees into Treasury" + ); + } + } + } + } + } + + Weight::zero() + } +} + parameter_types! { pub const MaxInstructions: u32 = 100; pub const MaxAssetsIntoHolding: u32 = 64; @@ -256,11 +380,7 @@ impl xcm_executor::Config for XcmConfig { >; type Trader = ( UsingComponents, - FixedRateOfForeignAsset< - RelayLocation, - Balance, - DotPerSecond, - >, + FixedRateOfForeignAsset, ); type ResponseHandler = PolkadotXcm; type AssetTrap = PolkadotXcm; From 4f9da78e8ec2f7dbd08d3a3d76b684b78f49f592 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 25 Aug 2025 19:27:59 +0200 Subject: [PATCH 70/89] fmt --- pallets/evm-accounts/src/mock.rs | 117 ++++++++++++++------------- pallets/params/src/mock.rs | 2 +- pallets/params/src/tests.rs | 22 +++-- pallets/xc-asset-config/src/mock.rs | 9 ++- pallets/xc-asset-config/src/tests.rs | 21 ++--- precompiles/assets-erc20/src/mock.rs | 6 +- runtime-tests/src/assets.rs | 63 +++++++++++---- runtime/src/assets.rs | 14 ++-- runtime/src/lib.rs | 5 +- 9 files changed, 149 insertions(+), 110 deletions(-) diff --git a/pallets/evm-accounts/src/mock.rs b/pallets/evm-accounts/src/mock.rs index d598e55b..bf688621 100644 --- a/pallets/evm-accounts/src/mock.rs +++ b/pallets/evm-accounts/src/mock.rs @@ -17,12 +17,15 @@ use super::*; use frame_support::{ - construct_runtime, parameter_types, - traits::{ConstU128, ConstU32}, + construct_runtime, parameter_types, + traits::{ConstU128, ConstU32}, }; use sp_core::{crypto::AccountId32, H256}; use sp_io::hashing::keccak_256; -use sp_runtime::{traits::{BlakeTwo256, IdentityLookup}, BuildStorage}; +use sp_runtime::{ + traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, +}; pub type AccountId = AccountId32; pub type Balance = u128; @@ -35,56 +38,56 @@ mod evm_accounts { } parameter_types! { - pub const BlockHashCount: u64 = 250; - pub const SS58Prefix: u16 = 42; + pub const BlockHashCount: u64 = 250; + pub const SS58Prefix: u16 = 42; } impl frame_system::Config for Runtime { - type BaseCallFilter = frame_support::traits::Everything; - type BlockWeights = (); - type BlockLength = (); - type DbWeight = (); - type RuntimeOrigin = RuntimeOrigin; - type RuntimeCall = RuntimeCall; - type Nonce = u64; - type Hash = H256; - type Hashing = BlakeTwo256; - type AccountId = AccountId; - type Lookup = IdentityLookup; - type Block = Block; - type RuntimeEvent = RuntimeEvent; - type BlockHashCount = BlockHashCount; - type Version = (); - type PalletInfo = PalletInfo; - type AccountData = pallet_balances::AccountData; - type OnNewAccount = (); - type OnKilledAccount = (); - type SystemWeightInfo = (); - type SS58Prefix = SS58Prefix; - type OnSetCode = (); - type MaxConsumers = ConstU32<16>; - type RuntimeTask = (); - type SingleBlockMigrations = (); - type MultiBlockMigrator = (); - type PreInherents = (); - type PostInherents = (); - type PostTransactions = (); + type BaseCallFilter = frame_support::traits::Everything; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type RuntimeCall = RuntimeCall; + type Nonce = u64; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = AccountId; + type Lookup = IdentityLookup; + type Block = Block; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = BlockHashCount; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = SS58Prefix; + type OnSetCode = (); + type MaxConsumers = ConstU32<16>; + type RuntimeTask = (); + type SingleBlockMigrations = (); + type MultiBlockMigrator = (); + type PreInherents = (); + type PostInherents = (); + type PostTransactions = (); } impl pallet_balances::Config for Runtime { - type Balance = Balance; - type RuntimeEvent = RuntimeEvent; - type DustRemoval = (); - type ExistentialDeposit = ConstU128<1>; - type AccountStore = frame_system::Pallet; - type MaxLocks = (); - type MaxReserves = (); - type ReserveIdentifier = [u8; 8]; - type WeightInfo = (); - type RuntimeHoldReason = (); - type RuntimeFreezeReason = (); - type FreezeIdentifier = (); - type MaxFreezes = ConstU32<0>; + type Balance = Balance; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ConstU128<1>; + type AccountStore = frame_system::Pallet; + type MaxLocks = (); + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; + type WeightInfo = (); + type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); + type FreezeIdentifier = (); + type MaxFreezes = ConstU32<0>; } impl Config for Runtime { @@ -99,12 +102,12 @@ impl Config for Runtime { type Block = frame_system::mocking::MockBlock; construct_runtime!( - pub enum Runtime - { - System: frame_system, - EvmAccountsModule: evm_accounts, - Balances: pallet_balances, - } + pub enum Runtime + { + System: frame_system, + EvmAccountsModule: evm_accounts, + Balances: pallet_balances, + } ); pub struct ExtBuilder(); @@ -116,10 +119,10 @@ impl Default for ExtBuilder { } impl ExtBuilder { - pub fn build(self) -> sp_io::TestExternalities { - let mut t = frame_system::GenesisConfig::::default() - .build_storage() - .unwrap(); + pub fn build(self) -> sp_io::TestExternalities { + let mut t = frame_system::GenesisConfig::::default() + .build_storage() + .unwrap(); pallet_balances::GenesisConfig:: { balances: vec![(bob_account_id(), 100000)], diff --git a/pallets/params/src/mock.rs b/pallets/params/src/mock.rs index ea79ed46..34f40ffa 100644 --- a/pallets/params/src/mock.rs +++ b/pallets/params/src/mock.rs @@ -86,4 +86,4 @@ impl ExtBuilder { }); ext } -} \ No newline at end of file +} diff --git a/pallets/params/src/tests.rs b/pallets/params/src/tests.rs index 45ea8165..fbc21e44 100644 --- a/pallets/params/src/tests.rs +++ b/pallets/params/src/tests.rs @@ -11,16 +11,22 @@ fn testnet_mode_default_value() { #[test] fn testnet_mode_set_to_true() { - ExtBuilder::default().testnet_mode(true).build().execute_with(|| { - assert_eq!(Params::testnet_mode(), true); - }); + ExtBuilder::default() + .testnet_mode(true) + .build() + .execute_with(|| { + assert_eq!(Params::testnet_mode(), true); + }); } #[test] fn testnet_mode_set_to_false() { - ExtBuilder::default().testnet_mode(false).build().execute_with(|| { - assert_eq!(Params::testnet_mode(), false); - }); + ExtBuilder::default() + .testnet_mode(false) + .build() + .execute_with(|| { + assert_eq!(Params::testnet_mode(), false); + }); } #[test] @@ -43,10 +49,10 @@ fn testnet_mode_can_be_changed() { // assert_eq!(TestnetMode::::get(), true); // }); // } -// +// // #[test] // fn storage_default_query() { // ExtBuilder::default().build().execute_with(|| { // assert_eq!(TestnetMode::::get(), false); // }); -// } \ No newline at end of file +// } diff --git a/pallets/xc-asset-config/src/mock.rs b/pallets/xc-asset-config/src/mock.rs index 08e1661e..6de96a12 100644 --- a/pallets/xc-asset-config/src/mock.rs +++ b/pallets/xc-asset-config/src/mock.rs @@ -1,6 +1,10 @@ use crate::{self as pallet_xc_asset_config}; -use frame_support::{construct_runtime, parameter_types, weights::Weight, traits::{ConstU16, ConstU32}}; +use frame_support::{ + construct_runtime, parameter_types, + traits::{ConstU16, ConstU32}, + weights::Weight, +}; use sp_core::H256; use sp_io::TestExternalities; @@ -17,8 +21,7 @@ type Block = frame_system::mocking::MockBlock; const EXISTENTIAL_DEPOSIT: Balance = 1; construct_runtime!( - pub struct Test - { + pub struct Test { System: frame_system, Balances: pallet_balances, XcAssetConfig: pallet_xc_asset_config, diff --git a/pallets/xc-asset-config/src/tests.rs b/pallets/xc-asset-config/src/tests.rs index 39231d0b..094ea398 100644 --- a/pallets/xc-asset-config/src/tests.rs +++ b/pallets/xc-asset-config/src/tests.rs @@ -2,7 +2,10 @@ use super::{pallet::Error, pallet::Event, *}; use frame_support::{assert_noop, assert_ok, WeakBoundedVec}; use mock::*; use sp_runtime::traits::BadOrigin; -use xcm::v3::{MultiLocation, Junction::{self, GeneralIndex}, Junctions}; +use xcm::v3::{ + Junction::{self, GeneralIndex}, + Junctions, MultiLocation, +}; use xcm::VersionedLocation; #[test] @@ -389,9 +392,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::register_asset_location( RuntimeOrigin::root(), - Box::new(VersionedLocation::V2( - incompatible_asset_location.clone() - )), + Box::new(VersionedLocation::V2(incompatible_asset_location.clone())), asset_id ), Error::::MultiLocationNotSupported @@ -400,9 +401,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::set_asset_units_per_second( RuntimeOrigin::root(), - Box::new(VersionedLocation::V2( - incompatible_asset_location.clone() - )), + Box::new(VersionedLocation::V2(incompatible_asset_location.clone())), 12345, ), Error::::MultiLocationNotSupported @@ -411,9 +410,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::change_existing_asset_location( RuntimeOrigin::root(), - Box::new(VersionedLocation::V2( - incompatible_asset_location.clone() - )), + Box::new(VersionedLocation::V2(incompatible_asset_location.clone())), 12345, ), Error::::MultiLocationNotSupported @@ -422,9 +419,7 @@ fn incompatible_versioned_multilocations_are_not_ok() { assert_noop!( XcAssetConfig::remove_payment_asset( RuntimeOrigin::root(), - Box::new(VersionedLocation::V2( - incompatible_asset_location.clone() - )), + Box::new(VersionedLocation::V2(incompatible_asset_location.clone())), ), Error::::MultiLocationNotSupported ); diff --git a/precompiles/assets-erc20/src/mock.rs b/precompiles/assets-erc20/src/mock.rs index e02119eb..995a6755 100644 --- a/precompiles/assets-erc20/src/mock.rs +++ b/precompiles/assets-erc20/src/mock.rs @@ -21,7 +21,9 @@ use super::*; use codec::{Decode, Encode, MaxEncodedLen}; -use frame_support::{construct_runtime, parameter_types, traits::AsEnsureOriginWithArg, weights::Weight}; +use frame_support::{ + construct_runtime, parameter_types, traits::AsEnsureOriginWithArg, weights::Weight, +}; use frame_system::{EnsureRoot, EnsureSigned}; use pallet_evm::{AddressMapping, EnsureAddressNever, EnsureAddressRoot}; @@ -29,7 +31,7 @@ use scale_info::TypeInfo; use serde::{Deserialize, Serialize}; use sp_core::{H160, H256}; use sp_runtime::{ - traits::{BlakeTwo256, IdentityLookup, ConstU32, ConstU64}, + traits::{BlakeTwo256, ConstU32, ConstU64, IdentityLookup}, BuildStorage, }; diff --git a/runtime-tests/src/assets.rs b/runtime-tests/src/assets.rs index 470bb0fe..d7ca4521 100644 --- a/runtime-tests/src/assets.rs +++ b/runtime-tests/src/assets.rs @@ -1,11 +1,11 @@ #![cfg(test)] +use super::{new_test_ext, run_to_block}; use frame_support::traits::Get; use neuroweb_runtime::{ assets::{foreign_trac_unified_asset_id, foreign_trac_unified_asset_id_sepolia}, ForeignTracAssetId, Params, }; -use super::{new_test_ext, run_to_block}; #[test] fn foreign_trac_asset_id_defaults_to_mainnet() { @@ -22,7 +22,10 @@ fn foreign_trac_asset_id_switches_to_sepolia_in_testnet_mode() { // Set testnet mode to true Params::set_testnet_mode(true); assert_eq!(Params::testnet_mode(), true); - assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); + assert_eq!( + ForeignTracAssetId::get(), + foreign_trac_unified_asset_id_sepolia() + ); }); } @@ -31,7 +34,10 @@ fn foreign_trac_asset_id_switches_back_to_mainnet() { new_test_ext().execute_with(|| { // Start in testnet mode Params::set_testnet_mode(true); - assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); + assert_eq!( + ForeignTracAssetId::get(), + foreign_trac_unified_asset_id_sepolia() + ); // Switch back to mainnet mode Params::set_testnet_mode(false); @@ -50,7 +56,10 @@ fn foreign_trac_asset_id_consistency_across_blocks() { // Run several blocks and ensure consistency run_to_block(5); assert_eq!(ForeignTracAssetId::get(), testnet_asset_id); - assert_eq!(ForeignTracAssetId::get(), foreign_trac_unified_asset_id_sepolia()); + assert_eq!( + ForeignTracAssetId::get(), + foreign_trac_unified_asset_id_sepolia() + ); }); } @@ -74,31 +83,51 @@ fn foreign_trac_asset_ids_are_different() { #[test] fn local_assets_pallet_account() { - use neuroweb_runtime::{LocalAssetsPalletId, local_assets_pallet_account, foreign_assets_pallet_account, AccountId}; - use sp_runtime::traits::AccountIdConversion; + use neuroweb_runtime::{ + foreign_assets_pallet_account, local_assets_pallet_account, AccountId, LocalAssetsPalletId, + }; use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; - + use sp_runtime::traits::AccountIdConversion; + new_test_ext().execute_with(|| { let local_assets_pallet_account_raw: AccountId = local_assets_pallet_account(); - let local_assets_pallet_account_formatted = local_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); - println!("{:?}", sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())).to_ss58check_with_version(Ss58AddressFormat::custom(101))); + let local_assets_pallet_account_formatted = local_assets_pallet_account_raw + .to_ss58check_with_version(Ss58AddressFormat::custom(101)); + println!( + "{:?}", + sp_core::sr25519::Public::from_raw(<[u8; 32]>::from(foreign_assets_pallet_account())) + .to_ss58check_with_version(Ss58AddressFormat::custom(101)) + ); - assert_eq!(local_assets_pallet_account_raw, LocalAssetsPalletId::get().into_account_truncating()); - assert_eq!(local_assets_pallet_account_formatted, "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq"); + assert_eq!( + local_assets_pallet_account_raw, + LocalAssetsPalletId::get().into_account_truncating() + ); + assert_eq!( + local_assets_pallet_account_formatted, + "gJpDhAL2bdaUCfRYcXhCkNuH5HAsChPVwQVBzzuHVvw1otqvq" + ); }); } #[test] fn foreign_assets_pallet_account() { - use neuroweb_runtime::{ForeignAssetsPalletId, foreign_assets_pallet_account, AccountId}; - use sp_runtime::traits::AccountIdConversion; + use neuroweb_runtime::{foreign_assets_pallet_account, AccountId, ForeignAssetsPalletId}; use sp_core::crypto::{Ss58AddressFormat, Ss58Codec}; - + use sp_runtime::traits::AccountIdConversion; + new_test_ext().execute_with(|| { let foreign_assets_pallet_account_raw: AccountId = foreign_assets_pallet_account(); - let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw.to_ss58check_with_version(Ss58AddressFormat::custom(101)); + let foreign_assets_pallet_account_formatted = foreign_assets_pallet_account_raw + .to_ss58check_with_version(Ss58AddressFormat::custom(101)); - assert_eq!(foreign_assets_pallet_account_raw, ForeignAssetsPalletId::get().into_account_truncating()); - assert_eq!(foreign_assets_pallet_account_formatted, "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz"); + assert_eq!( + foreign_assets_pallet_account_raw, + ForeignAssetsPalletId::get().into_account_truncating() + ); + assert_eq!( + foreign_assets_pallet_account_formatted, + "gJpDhAL2bdaQbzP81kSMAaCh1xS7jGkw6ZzFKb4UcHYVCXfdz" + ); }); } diff --git a/runtime/src/assets.rs b/runtime/src/assets.rs index ed96cc85..7c4f9472 100644 --- a/runtime/src/assets.rs +++ b/runtime/src/assets.rs @@ -12,8 +12,8 @@ // along with this program. If not, see . extern crate alloc; -use alloc::sync::Arc; use super::*; +use alloc::sync::Arc; use frame_support::{ pallet_prelude::*, traits::{ @@ -46,9 +46,8 @@ pub fn foreign_trac_asset_location() -> Location { Junction::AccountKey20 { network: None, key: [ - 0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, - 0x75, 0x5f, 0x21, 0x3b, 0x5d, 0x04, 0x09, 0x4b, - 0x8d, 0x0f, 0x0a, 0x6f, + 0xaa, 0x7a, 0x9c, 0xa8, 0x7d, 0x36, 0x94, 0xb5, 0x75, 0x5f, 0x21, 0x3b, 0x5d, + 0x04, 0x09, 0x4b, 0x8d, 0x0f, 0x0a, 0x6f, ], }, ])), @@ -66,9 +65,8 @@ pub fn foreign_trac_location_sepolia() -> Location { Junction::AccountKey20 { network: None, key: [ - 0xef, 0x32, 0xab, 0xea, 0x56, 0xbe, 0xff, 0x54, - 0xf6, 0x1d, 0xa3, 0x19, 0xa7, 0x31, 0x10, 0x98, - 0xd6, 0xfb, 0xce, 0xa9, + 0xef, 0x32, 0xab, 0xea, 0x56, 0xbe, 0xff, 0x54, 0xf6, 0x1d, 0xa3, 0x19, 0xa7, + 0x31, 0x10, 0x98, 0xd6, 0xfb, 0xce, 0xa9, ], }, ])), @@ -471,7 +469,7 @@ impl frame_support::traits::EnsureOriginWithArg // Root which returns the foreign_assets_pallet_account pub struct RootWithForeignAssetsPalletsAccount; impl frame_support::traits::EnsureOriginWithArg -for RootWithForeignAssetsPalletsAccount + for RootWithForeignAssetsPalletsAccount { type Success = AccountId; fn try_origin(o: RuntimeOrigin, _asset_id: &Location) -> Result { diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 278e6a01..a3386409 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -8,7 +8,10 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); pub mod assets; use assets::*; -pub use assets::{LocalAssetsPalletId, ForeignAssetsPalletId, local_assets_pallet_account, foreign_assets_pallet_account}; +pub use assets::{ + foreign_assets_pallet_account, local_assets_pallet_account, ForeignAssetsPalletId, + LocalAssetsPalletId, +}; use primitives::UnifiedAssetId; mod weights; From fcc9a8e0957536268c0f24d3161a76b41eb1bc19 Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 25 Aug 2025 19:28:30 +0200 Subject: [PATCH 71/89] bump runtime version --- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index e646ecc9..5c3a6d30 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "141.0.0" +version = "142.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a3386409..c688eba6 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -152,7 +152,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 141, + spec_version: 142, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 96d924a8c29f33fe95eabb475abde42e51e0a44c Mon Sep 17 00:00:00 2001 From: vgantchev Date: Mon, 25 Aug 2025 19:30:00 +0200 Subject: [PATCH 72/89] fix benchmarks --- Cargo.lock | 2 +- pallets/wrapper/src/benchmarking.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 28a35432..2e0facaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "141.0.0" +version = "142.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/pallets/wrapper/src/benchmarking.rs b/pallets/wrapper/src/benchmarking.rs index d7b95976..80c238e0 100644 --- a/pallets/wrapper/src/benchmarking.rs +++ b/pallets/wrapper/src/benchmarking.rs @@ -20,7 +20,7 @@ use frame_support::traits::fungibles::{Inspect, Mutate}; use frame_system::RawOrigin; use primitives::UnifiedAssetId; use sp_runtime::traits::{StaticLookup, Zero}; -use xcm::v3::MultiLocation; +use xcm::v4::Location; pub const NEURO: u128 = 1_000_000_000_000; pub const TRAC: u128 = 1_000_000_000_000_000; @@ -30,7 +30,7 @@ benchmarks! { T: Config, T: Config, T: pallet_assets::Config>, - T: pallet_assets::Config, + T: pallet_assets::Config, T: pallet_balances::Config, } trac_wrap { @@ -93,7 +93,7 @@ fn setup_assets(caller: T::AccountId) -> DispatchResult where T: Config, T: pallet_assets::Config>, - T: pallet_assets::Config, + T: pallet_assets::Config, T: pallet_balances::Config, { let pallet_account = Wrapper::::pallet_account_id(); From 87fb06785c2a75a25ece48b073a92936da20eb75 Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 29 Aug 2025 15:30:44 +0200 Subject: [PATCH 73/89] set Wild as AssetFilter --- runtime/src/xcm_config.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index a0a745f8..1dee3abd 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -52,8 +52,11 @@ parameter_types! { /// Asset Hub pub AssetHubLocation: Location = (Parent, Parachain(1000)).into(); - pub RelayChainNativeAssetFromAssetHub: (AssetFilter, Location) = ( - (Asset { id: AssetId(RelayLocation::get()), fun: Fungible(1)}).into(), + pub RelayChainNativeAssetFromAssetHub: (AssetFilter, Location) = + (Wild(AllOf { + fun: WildFungible, + id: xcm::prelude::AssetId(RelayLocation::get()), + }), AssetHubLocation::get() ); From 596864e538bca9da4d8dd538b21272138e5f905d Mon Sep 17 00:00:00 2001 From: Mihajlo Pavlovic Date: Fri, 29 Aug 2025 15:31:23 +0200 Subject: [PATCH 74/89] version bump --- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 5c3a6d30..3ccd0136 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "142.0.0" +version = "143.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index c688eba6..012a503b 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -152,7 +152,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 142, + spec_version: 143, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 970614a95f26a604f96c3521c097f50ebf5a26a9 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Sun, 31 Aug 2025 17:19:59 +0200 Subject: [PATCH 75/89] testing --- Cargo.lock | 2 +- runtime/src/xcm_config.rs | 39 +++++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2e0facaf..56c9f807 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "142.0.0" +version = "143.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 1dee3abd..4e10049c 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -209,23 +209,28 @@ impl DropAssets for DealWithForeignFees { if let Fungible(amount) = asset.fun { if amount > 0 { // Credit Treasury account in pallet-assets (asset_id = Location) - if ForeignAssets::mint_into( + match ForeignAssets::mint_into( RelayLocation::get(), // directly use Location as ID &crate::Treasury::account_id(), amount, - ) - .is_ok() - { - log::info!( - target: "xcm::fees", - "Credited {} DOT into Treasury account", - amount - ); - } else { - log::warn!( - target: "xcm::fees", - "Failed to credit DOT fees into Treasury" - ); + ) { + Ok(_) => { + log::info!( + target: "xcm::fees", + "Credited {} DOT into Treasury account ({:?})", + amount, + &crate::Treasury::account_id(), + ); + } + Err(e) => { + log::warn!( + target: "xcm::fees", + "Failed to credit DOT fees ({}) into Treasury ({:?}): {:?}", + amount, + &crate::Treasury::account_id(), + e + ); + } } } } @@ -331,11 +336,13 @@ where fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { let loc = Origin::get(); - if asset.id == AssetId(loc.clone()) { + log::info!(target: "xcm::fees","Checking matches_fungibles asset ID {:?} == Location {:?}", asset.clone().id, loc.clone()); + + //if asset.id == AssetId(loc.clone()) { if let Fungibility::Fungible(amount) = asset.fun { return Ok((loc, amount)); } - } + //} Err(MatchError::AssetNotHandled) } } From 4accf16cac8fd0ea23645c7fedb58b8abd5fada5 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Sun, 31 Aug 2025 17:51:41 +0200 Subject: [PATCH 76/89] testing --- runtime/src/xcm_config.rs | 45 +++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 4e10049c..46bcb538 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -334,15 +334,46 @@ where Origin: Get, { fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { - let loc = Origin::get(); - - log::info!(target: "xcm::fees","Checking matches_fungibles asset ID {:?} == Location {:?}", asset.clone().id, loc.clone()); + let expected_origin = Origin::get(); // Should be Asset Hub + + if let Fungibility::Fungible(amount) = asset.fun { + if let AssetId(asset_location) = &asset.id { + // Special validation for DOT - ensure it comes from Asset Hub + if *asset_location == RelayLocation::get() { + if expected_origin == AssetHubLocation::get() { + log::info!( + target: "xcm::fees", + "matches_fungibles - DOT asset from Asset Hub, amount: {}", + amount + ); + return Ok((asset_location.clone(), amount)); + } else { + log::warn!( + target: "xcm::fees", + "DOT asset rejected - not from Asset Hub. Expected: {:?}, Got: {:?}", + AssetHubLocation::get(), expected_origin + ); + return Err(MatchError::AssetNotHandled); + } + } - //if asset.id == AssetId(loc.clone()) { - if let Fungibility::Fungible(amount) = asset.fun { - return Ok((loc, amount)); + // Handle other foreign assets from Asset Hub + if expected_origin == AssetHubLocation::get() { + log::info!( + target: "xcm::fees", + "matches_fungibles - Foreign asset from Asset Hub: {:?}, amount: {}", + asset_location, amount + ); + return Ok((asset_location.clone(), amount)); + } } - //} + } + + log::warn!( + target: "xcm::fees", + "matches_fungibles - Asset not handled. Asset: {:?}, Expected origin: {:?}", + asset, expected_origin + ); Err(MatchError::AssetNotHandled) } } From 4285a4e79f127dc3fd2283268759d2420183a6d0 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Sun, 31 Aug 2025 18:07:15 +0200 Subject: [PATCH 77/89] fix IsForeignConcreteAssetFrom --- runtime/src/xcm_config.rs | 50 +++++++++++++-------------------------- 1 file changed, 16 insertions(+), 34 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 46bcb538..d49a439b 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -334,46 +334,28 @@ where Origin: Get, { fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { - let expected_origin = Origin::get(); // Should be Asset Hub - - if let Fungibility::Fungible(amount) = asset.fun { - if let AssetId(asset_location) = &asset.id { - // Special validation for DOT - ensure it comes from Asset Hub - if *asset_location == RelayLocation::get() { - if expected_origin == AssetHubLocation::get() { - log::info!( - target: "xcm::fees", - "matches_fungibles - DOT asset from Asset Hub, amount: {}", - amount - ); + let expected_origin = Origin::get(); + + let AssetId(asset_location) = &asset.id; + + // Ensure DOT comes from Asset Hub + if *asset_location == RelayLocation::get() && expected_origin == AssetHubLocation::get() { + if let Fungible(amount) = asset.fun { + return Ok((asset_location.clone(), amount)); + } + } + + // Handle assets from Ethereum + if expected_origin == AssetHubLocation::get() && asset_location.parents == 2 { + if let Some(first_junction) = asset_location.interior.first() { + if matches!(first_junction, GlobalConsensus(Ethereum { .. })) { + if let Fungible(amount) = asset.fun { return Ok((asset_location.clone(), amount)); - } else { - log::warn!( - target: "xcm::fees", - "DOT asset rejected - not from Asset Hub. Expected: {:?}, Got: {:?}", - AssetHubLocation::get(), expected_origin - ); - return Err(MatchError::AssetNotHandled); } } - - // Handle other foreign assets from Asset Hub - if expected_origin == AssetHubLocation::get() { - log::info!( - target: "xcm::fees", - "matches_fungibles - Foreign asset from Asset Hub: {:?}, amount: {}", - asset_location, amount - ); - return Ok((asset_location.clone(), amount)); - } } } - log::warn!( - target: "xcm::fees", - "matches_fungibles - Asset not handled. Asset: {:?}, Expected origin: {:?}", - asset, expected_origin - ); Err(MatchError::AssetNotHandled) } } From 6ed4d29ed1d8abb315d0b643dad6aa937bddc9b2 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 08:23:33 +0200 Subject: [PATCH 78/89] bump spec version --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 012a503b..78b29274 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -152,7 +152,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 143, + spec_version: 144, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 8aae42f5faed484b94e61eaaae997ac436f7b6d3 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 08:28:00 +0200 Subject: [PATCH 79/89] bump package version --- runtime/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 3ccd0136..f64b1d4a 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "143.0.0" +version = "144.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" From f43e65c348daa7fe2c797af2007e9ea31c79d61c Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 11:17:09 +0200 Subject: [PATCH 80/89] automatic convert to trac --- Cargo.lock | 2 +- runtime/src/xcm_config.rs | 53 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56c9f807..37411fed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "143.0.0" +version = "144.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index d49a439b..813e3adc 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -67,6 +67,17 @@ parameter_types! { pub DotPerSecond: u128 = 1_000_000_000; // 0.1 DOT/sec, in Planks } +pub struct EthereumCurrencyLocation; +impl Get for EthereumCurrencyLocation { + fn get() -> Location { + if crate::Params::testnet_mode() { + crate::assets::foreign_trac_location_sepolia() + } else { + crate::assets::foreign_trac_asset_location() + } + } +} + /// 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. @@ -86,9 +97,22 @@ pub type LocationToAccountId = ( pub type NativeAssetTransactor = FungibleAdapter, LocationToAccountId, AccountId, ()>; +pub type BridgedLocalAssetTransactor = FungibleAdapter< + // Use this currency: + Balances, + // Use this currency when it is a fungible asset matching the given location or name: + IsConcrete, + // 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, + // We don't track any teleports. + (), +>; + pub type ForeignAssetTransactor = FungiblesAdapter< ForeignAssets, - IsForeignConcreteAssetFrom, + IsDOTFrom, LocationToAccountId, AccountId, NoChecking, @@ -96,7 +120,7 @@ pub type ForeignAssetTransactor = FungiblesAdapter< >; /// Means for transacting assets on this chain. -pub type AssetTransactors = (NativeAssetTransactor, ForeignAssetTransactor); +pub type AssetTransactors = (NativeAssetTransactor, BridgedLocalAssetTransactor, ForeignAssetTransactor); /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, /// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can @@ -325,6 +349,30 @@ impl Contains for SafeCallFilter { } } +/// Matches foreign assets from a given origin. +/// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. +pub struct IsDOTFrom(PhantomData); + +impl MatchesFungibles for IsDOTFrom +where + Origin: Get, +{ + fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { + let expected_origin = Origin::get(); + + let AssetId(asset_location) = &asset.id; + + // Ensure DOT comes from Asset Hub + if *asset_location == RelayLocation::get() && expected_origin == AssetHubLocation::get() { + if let Fungible(amount) = asset.fun { + return Ok((asset_location.clone(), amount)); + } + } + + Err(MatchError::AssetNotHandled) + } +} + /// Matches foreign assets from a given origin. /// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. pub struct IsForeignConcreteAssetFrom(PhantomData); @@ -359,6 +407,7 @@ where Err(MatchError::AssetNotHandled) } } + impl ContainsPair for IsForeignConcreteAssetFrom where Origin: Get, From e87e6230c3bcf41585870f25b1bf7d942dfe099e Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 12:10:07 +0200 Subject: [PATCH 81/89] use pallet assets --- runtime/src/xcm_config.rs | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 813e3adc..67c20940 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -97,17 +97,14 @@ pub type LocationToAccountId = ( pub type NativeAssetTransactor = FungibleAdapter, LocationToAccountId, AccountId, ()>; -pub type BridgedLocalAssetTransactor = FungibleAdapter< - // Use this currency: - Balances, - // Use this currency when it is a fungible asset matching the given location or name: - IsConcrete, - // Convert an XCM Location into a local account id: +pub type BridgedLocalAssetTransactor = FungiblesAdapter< + crate::Assets, + // Use pallet assets asset when receiving TRAC from Ethereum + LocalAssetWhenReceiving, LocationToAccountId, - // Our chain's account ID type (we can't get away without mentioning it explicitly): AccountId, - // We don't track any teleports. - (), + NoChecking, + CheckingAccount, >; pub type ForeignAssetTransactor = FungiblesAdapter< @@ -349,8 +346,26 @@ impl Contains for SafeCallFilter { } } -/// Matches foreign assets from a given origin. -/// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. +pub struct LocalAssetWhenReceiving(PhantomData); + +impl MatchesFungibles for LocalAssetWhenReceiving +where + AssetLocation: Get, +{ + fn matches_fungibles(a: &Asset) -> Result<(u128, u128), MatchError> { + let AssetId(asset_location) = &a.id; + let expected_location = AssetLocation::get(); + + if *asset_location == expected_location { + if let Fungible(amount) = a.fun { + return Ok((crate::assets::LOCAL_TRAC_ASSET_ID, amount)); + } + } + + Err(MatchError::AssetNotHandled) + } +} + pub struct IsDOTFrom(PhantomData); impl MatchesFungibles for IsDOTFrom From 388ddee4afefdb0a63ee38e232fe79a907355883 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 20:31:52 +0200 Subject: [PATCH 82/89] Revert "use pallet assets" This reverts commit e87e6230c3bcf41585870f25b1bf7d942dfe099e. --- runtime/src/xcm_config.rs | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 67c20940..813e3adc 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -97,14 +97,17 @@ pub type LocationToAccountId = ( pub type NativeAssetTransactor = FungibleAdapter, LocationToAccountId, AccountId, ()>; -pub type BridgedLocalAssetTransactor = FungiblesAdapter< - crate::Assets, - // Use pallet assets asset when receiving TRAC from Ethereum - LocalAssetWhenReceiving, +pub type BridgedLocalAssetTransactor = FungibleAdapter< + // Use this currency: + Balances, + // Use this currency when it is a fungible asset matching the given location or name: + IsConcrete, + // 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, - NoChecking, - CheckingAccount, + // We don't track any teleports. + (), >; pub type ForeignAssetTransactor = FungiblesAdapter< @@ -346,26 +349,8 @@ impl Contains for SafeCallFilter { } } -pub struct LocalAssetWhenReceiving(PhantomData); - -impl MatchesFungibles for LocalAssetWhenReceiving -where - AssetLocation: Get, -{ - fn matches_fungibles(a: &Asset) -> Result<(u128, u128), MatchError> { - let AssetId(asset_location) = &a.id; - let expected_location = AssetLocation::get(); - - if *asset_location == expected_location { - if let Fungible(amount) = a.fun { - return Ok((crate::assets::LOCAL_TRAC_ASSET_ID, amount)); - } - } - - Err(MatchError::AssetNotHandled) - } -} - +/// Matches foreign assets from a given origin. +/// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. pub struct IsDOTFrom(PhantomData); impl MatchesFungibles for IsDOTFrom From 9935eee7f6a81ecad8274cf9b897407df3d80969 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 20:32:02 +0200 Subject: [PATCH 83/89] Revert "automatic convert to trac" This reverts commit f43e65c348daa7fe2c797af2007e9ea31c79d61c. --- Cargo.lock | 2 +- runtime/src/xcm_config.rs | 53 ++------------------------------------- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37411fed..56c9f807 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "144.0.0" +version = "143.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 813e3adc..d49a439b 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -67,17 +67,6 @@ parameter_types! { pub DotPerSecond: u128 = 1_000_000_000; // 0.1 DOT/sec, in Planks } -pub struct EthereumCurrencyLocation; -impl Get for EthereumCurrencyLocation { - fn get() -> Location { - if crate::Params::testnet_mode() { - crate::assets::foreign_trac_location_sepolia() - } else { - crate::assets::foreign_trac_asset_location() - } - } -} - /// 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. @@ -97,22 +86,9 @@ pub type LocationToAccountId = ( pub type NativeAssetTransactor = FungibleAdapter, LocationToAccountId, AccountId, ()>; -pub type BridgedLocalAssetTransactor = FungibleAdapter< - // Use this currency: - Balances, - // Use this currency when it is a fungible asset matching the given location or name: - IsConcrete, - // 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, - // We don't track any teleports. - (), ->; - pub type ForeignAssetTransactor = FungiblesAdapter< ForeignAssets, - IsDOTFrom, + IsForeignConcreteAssetFrom, LocationToAccountId, AccountId, NoChecking, @@ -120,7 +96,7 @@ pub type ForeignAssetTransactor = FungiblesAdapter< >; /// Means for transacting assets on this chain. -pub type AssetTransactors = (NativeAssetTransactor, BridgedLocalAssetTransactor, ForeignAssetTransactor); +pub type AssetTransactors = (NativeAssetTransactor, ForeignAssetTransactor); /// This is the type we use to convert an (incoming) XCM origin into a local `Origin` instance, /// ready for dispatching a transaction with Xcm's `Transact`. There is an `OriginKind` which can @@ -349,30 +325,6 @@ impl Contains for SafeCallFilter { } } -/// Matches foreign assets from a given origin. -/// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. -pub struct IsDOTFrom(PhantomData); - -impl MatchesFungibles for IsDOTFrom -where - Origin: Get, -{ - fn matches_fungibles(asset: &Asset) -> Result<(Location, u128), MatchError> { - let expected_origin = Origin::get(); - - let AssetId(asset_location) = &asset.id; - - // Ensure DOT comes from Asset Hub - if *asset_location == RelayLocation::get() && expected_origin == AssetHubLocation::get() { - if let Fungible(amount) = asset.fun { - return Ok((asset_location.clone(), amount)); - } - } - - Err(MatchError::AssetNotHandled) - } -} - /// Matches foreign assets from a given origin. /// Foreign assets are assets bridged from other consensus systems. i.e parents > 1. pub struct IsForeignConcreteAssetFrom(PhantomData); @@ -407,7 +359,6 @@ where Err(MatchError::AssetNotHandled) } } - impl ContainsPair for IsForeignConcreteAssetFrom where Origin: Get, From 79a9ff2e4856d064e55dd84f9f6cd4d36b54c828 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Mon, 1 Sep 2025 20:45:25 +0200 Subject: [PATCH 84/89] bump version --- Cargo.lock | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 56c9f807..37411fed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "143.0.0" +version = "144.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index f64b1d4a..b4970532 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "144.0.0" +version = "145.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 78b29274..33bf26e5 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -152,7 +152,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 144, + spec_version: 145, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From d66c20b304bd96b753972c0060ffcccf98e8d23b Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 8 Sep 2025 16:26:36 +0200 Subject: [PATCH 85/89] xcm benchmark helpers --- Cargo.lock | 2 +- runtime/src/lib.rs | 1 + runtime/src/xcm_config.rs | 240 ++++++++++++++++++++++++-------------- 3 files changed, 153 insertions(+), 90 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37411fed..2502d946 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "144.0.0" +version = "145.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 33bf26e5..5e9b1414 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -1209,6 +1209,7 @@ mod benches { [pallet_vesting, Vesting] [pallet_wrapper, Wrapper] [pallet_xc_asset_config, XcAssetConfig] + [pallet_xcm, pallet_xcm::benchmarking::Pallet] [pallet_xcm_fungible, pallet_xcm_benchmarks::fungible::Pallet::] [pallet_xcm_generic, pallet_xcm_benchmarks::generic::Pallet::] ); diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index d49a439b..014dc0f3 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -6,6 +6,7 @@ use super::{ use crate::Vec; use codec::Encode; use core::marker::PhantomData; + use frame_support::{ parameter_types, traits::{ @@ -570,113 +571,174 @@ pub fn ensure_is_remote( } #[cfg(feature = "runtime-benchmarks")] -use super::UNITS; -#[cfg(feature = "runtime-benchmarks")] -use crate::assets::EXISTENTIAL_DEPOSIT; +mod benchmarking { + use super::*; + use crate::{assets::EXISTENTIAL_DEPOSIT, Box, UNITS}; + use cumulus_primitives_core::ParaId; + use frame_support::traits::Currency; + + parameter_types! { + pub const RandomParaId: ParaId = ParaId::new(123); + pub const ExistentialDeposit: u128 = 1_000_000_000_000; + } -#[cfg(feature = "runtime-benchmarks")] -parameter_types! { - pub const TrustedTeleporter: Option<(Location, Asset)> = Some(( - RelayLocation::get(), - Asset { fun: Fungible(EXISTENTIAL_DEPOSIT), id: AssetId(RelayLocation::get()) }, - )); - pub const CheckedAccount: Option<(AccountId, xcm_builder::MintLocation)> = None; - pub TrustedReserve: Option<(Location, Asset)> = Some(( - RelayLocation::get(), - Asset { fun: Fungible(UNITS), id: AssetId(RelayLocation::get()) }, - )); -} + impl pallet_xcm::benchmarking::Config for Runtime { + type DeliveryHelper = (); -#[cfg(feature = "runtime-benchmarks")] -impl pallet_xcm_benchmarks::Config for Runtime { - type XcmConfig = XcmConfig; - type AccountIdConverter = LocationToAccountId; - type DeliveryHelper = (); - fn valid_destination() -> Result { - Ok(RelayLocation::get()) - } - fn worst_case_holding(_depositable_count: u32) -> xcm::latest::Assets { - let asset = Asset { - id: AssetId(TokenLocation::get()), - fun: Fungible(1_000_000 * UNITS), - }; - vec![asset].into() - } -} + fn reachable_dest() -> Option { + Some(Parent.into()) + } -#[cfg(feature = "runtime-benchmarks")] -impl pallet_xcm_benchmarks::fungible::Config for Runtime { - type TransactAsset = Balances; - type CheckedAccount = CheckedAccount; - type TrustedTeleporter = TrustedTeleporter; - type TrustedReserve = TrustedReserve; - - fn get_asset() -> Asset { - Asset { - id: AssetId(TokenLocation::get()), - fun: Fungible(10 * EXISTENTIAL_DEPOSIT), + fn teleportable_asset_and_dest() -> Option<(Asset, Location)> { + None } - } -} -#[cfg(feature = "runtime-benchmarks")] -impl pallet_xcm_benchmarks::generic::Config for Runtime { - type TransactAsset = Balances; - type RuntimeCall = RuntimeCall; + fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { + // open a channel to a random sibling for benchmarking + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( + benchmarking::RandomParaId::get() + ); - fn worst_case_response() -> (u64, Response) { - (0u64, Response::Version(Default::default())) - } + Some(( + Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(benchmarking::ExistentialDeposit::get()), + }, + // destination: parent → sibling parachain + (Parent, Parachain(benchmarking::RandomParaId::get().into())).into(), + )) + } - fn worst_case_asset_exchange() -> Result<(Assets, Assets), frame_benchmarking::BenchmarkError> { - Err(frame_benchmarking::BenchmarkError::Skip) - } + fn set_up_complex_asset_transfer() -> Option<(Assets, u32, Location, Box)> { + let para_id = benchmarking::RandomParaId::get(); + + ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(para_id); + + let destination: Location = (Parent, Parachain(para_id.into())).into(); + + let fee_asset: Asset = (TokenLocation::get(), 1_000_000_000u128).into(); + let transfer_asset: Asset = (TokenLocation::get(), 1_000_000_000u128).into(); - fn universal_alias() -> Result<(Location, Junction), frame_benchmarking::BenchmarkError> { - Err(frame_benchmarking::BenchmarkError::Skip) + let who = frame_benchmarking::whitelisted_caller(); + let balance = 10_000_000_000u128; + let _ = Balances::make_free_balance_be(&who, balance); + let assets: Assets = vec![fee_asset.clone(), transfer_asset].into(); + let fee_index: u32 = 0; + + let verify: Box = Box::new(move || { + // ensure caller lost at least the fee amount + assert!(Balances::free_balance(&who) <= balance - 1_000_000_000u128); + }); + + Some((assets, fee_index, destination, verify)) + } + + fn get_asset() -> Asset { + Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(benchmarking::ExistentialDeposit::get()), + } + } } - fn transact_origin_and_runtime_call( - ) -> Result<(Location, RuntimeCall), frame_benchmarking::BenchmarkError> { - Ok(( + parameter_types! { + pub const TrustedTeleporter: Option<(Location, Asset)> = Some(( RelayLocation::get(), - frame_system::Call::remark_with_event { remark: vec![] }.into(), - )) + Asset { fun: Fungible(EXISTENTIAL_DEPOSIT), id: AssetId(RelayLocation::get()) }, + )); + pub const CheckedAccount: Option<(AccountId, xcm_builder::MintLocation)> = None; + pub TrustedReserve: Option<(Location, Asset)> = Some(( + RelayLocation::get(), + Asset { fun: Fungible(UNITS), id: AssetId(RelayLocation::get()) }, + )); } - fn subscribe_origin() -> Result { - Ok(RelayLocation::get()) + impl pallet_xcm_benchmarks::Config for Runtime { + type XcmConfig = XcmConfig; + type AccountIdConverter = LocationToAccountId; + type DeliveryHelper = (); + fn valid_destination() -> Result { + Ok(RelayLocation::get()) + } + fn worst_case_holding(_depositable_count: u32) -> xcm::latest::Assets { + let asset = Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(1_000_000 * UNITS), + }; + vec![asset].into() + } } - fn claimable_asset() -> Result<(Location, Location, Assets), frame_benchmarking::BenchmarkError> - { - let origin = RelayLocation::get(); - let assets: Assets = (AssetId(RelayLocation::get()), 1_000 * UNITS).into(); - let ticket = Location { - parents: 0, - interior: Here, - }; - Ok((origin, ticket, assets)) - } + impl pallet_xcm_benchmarks::fungible::Config for Runtime { + type TransactAsset = Balances; + type CheckedAccount = CheckedAccount; + type TrustedTeleporter = TrustedTeleporter; + type TrustedReserve = TrustedReserve; - fn fee_asset() -> Result { - Ok(Asset { - id: AssetId(TokenLocation::get()), - fun: Fungible(EXISTENTIAL_DEPOSIT), - }) + fn get_asset() -> Asset { + Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(10 * EXISTENTIAL_DEPOSIT), + } + } } - fn unlockable_asset() -> Result<(Location, Location, Asset), frame_benchmarking::BenchmarkError> - { - Err(frame_benchmarking::BenchmarkError::Skip) - } + impl pallet_xcm_benchmarks::generic::Config for Runtime { + type TransactAsset = Balances; + type RuntimeCall = RuntimeCall; - fn export_message_origin_and_destination( - ) -> Result<(Location, NetworkId, Junctions), frame_benchmarking::BenchmarkError> { - Err(frame_benchmarking::BenchmarkError::Skip) - } + fn worst_case_response() -> (u64, Response) { + (0u64, Response::Version(Default::default())) + } + + fn worst_case_asset_exchange() -> Result<(Assets, Assets), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn universal_alias() -> Result<(Location, Junction), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn transact_origin_and_runtime_call() -> Result<(Location, RuntimeCall), frame_benchmarking::BenchmarkError> { + Ok(( + RelayLocation::get(), + frame_system::Call::remark_with_event { remark: vec![] }.into(), + )) + } + + fn subscribe_origin() -> Result { + Ok(RelayLocation::get()) + } + + fn claimable_asset() -> Result<(Location, Location, Assets), frame_benchmarking::BenchmarkError> + { + let origin = RelayLocation::get(); + let assets: Assets = (AssetId(RelayLocation::get()), 1_000 * UNITS).into(); + let ticket = Location { + parents: 0, + interior: Here, + }; + Ok((origin, ticket, assets)) + } + + fn fee_asset() -> Result { + Ok(Asset { + id: AssetId(TokenLocation::get()), + fun: Fungible(EXISTENTIAL_DEPOSIT), + }) + } - fn alias_origin() -> Result<(Location, Location), frame_benchmarking::BenchmarkError> { - Err(frame_benchmarking::BenchmarkError::Skip) + fn unlockable_asset() -> Result<(Location, Location, Asset), frame_benchmarking::BenchmarkError> + { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn export_message_origin_and_destination() -> Result<(Location, NetworkId, Junctions), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } + + fn alias_origin() -> Result<(Location, Location), frame_benchmarking::BenchmarkError> { + Err(frame_benchmarking::BenchmarkError::Skip) + } } -} +} \ No newline at end of file From 7ca0caaffbbfbebe01051a59601342542eb32966 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 8 Sep 2025 16:37:18 +0200 Subject: [PATCH 86/89] xcm benchmark helpers --- runtime/src/xcm_config.rs | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 014dc0f3..4b6ce201 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -573,6 +573,7 @@ pub fn ensure_is_remote( #[cfg(feature = "runtime-benchmarks")] mod benchmarking { use super::*; + use crate::xcm_config::benchmarking; use crate::{assets::EXISTENTIAL_DEPOSIT, Box, UNITS}; use cumulus_primitives_core::ParaId; use frame_support::traits::Currency; @@ -596,7 +597,7 @@ mod benchmarking { fn reserve_transferable_asset_and_dest() -> Option<(Asset, Location)> { // open a channel to a random sibling for benchmarking ParachainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests( - benchmarking::RandomParaId::get() + benchmarking::RandomParaId::get(), ); Some(( @@ -616,18 +617,18 @@ mod benchmarking { let destination: Location = (Parent, Parachain(para_id.into())).into(); - let fee_asset: Asset = (TokenLocation::get(), 1_000_000_000u128).into(); - let transfer_asset: Asset = (TokenLocation::get(), 1_000_000_000u128).into(); + let fee_asset: Asset = (TokenLocation::get(), ExistentialDeposit::get()).into(); + let transfer_asset: Asset = (TokenLocation::get(), ExistentialDeposit::get()).into(); let who = frame_benchmarking::whitelisted_caller(); - let balance = 10_000_000_000u128; + let balance = 10 * benchmarking::ExistentialDeposit::get(); let _ = Balances::make_free_balance_be(&who, balance); let assets: Assets = vec![fee_asset.clone(), transfer_asset].into(); let fee_index: u32 = 0; + let ed = benchmarking::ExistentialDeposit::get(); let verify: Box = Box::new(move || { - // ensure caller lost at least the fee amount - assert!(Balances::free_balance(&who) <= balance - 1_000_000_000u128); + assert!(Balances::free_balance(&who) <= balance - ed); }); Some((assets, fee_index, destination, verify)) @@ -691,7 +692,8 @@ mod benchmarking { (0u64, Response::Version(Default::default())) } - fn worst_case_asset_exchange() -> Result<(Assets, Assets), frame_benchmarking::BenchmarkError> { + fn worst_case_asset_exchange( + ) -> Result<(Assets, Assets), frame_benchmarking::BenchmarkError> { Err(frame_benchmarking::BenchmarkError::Skip) } @@ -699,7 +701,8 @@ mod benchmarking { Err(frame_benchmarking::BenchmarkError::Skip) } - fn transact_origin_and_runtime_call() -> Result<(Location, RuntimeCall), frame_benchmarking::BenchmarkError> { + fn transact_origin_and_runtime_call( + ) -> Result<(Location, RuntimeCall), frame_benchmarking::BenchmarkError> { Ok(( RelayLocation::get(), frame_system::Call::remark_with_event { remark: vec![] }.into(), @@ -710,8 +713,8 @@ mod benchmarking { Ok(RelayLocation::get()) } - fn claimable_asset() -> Result<(Location, Location, Assets), frame_benchmarking::BenchmarkError> - { + fn claimable_asset( + ) -> Result<(Location, Location, Assets), frame_benchmarking::BenchmarkError> { let origin = RelayLocation::get(); let assets: Assets = (AssetId(RelayLocation::get()), 1_000 * UNITS).into(); let ticket = Location { @@ -728,12 +731,13 @@ mod benchmarking { }) } - fn unlockable_asset() -> Result<(Location, Location, Asset), frame_benchmarking::BenchmarkError> - { + fn unlockable_asset( + ) -> Result<(Location, Location, Asset), frame_benchmarking::BenchmarkError> { Err(frame_benchmarking::BenchmarkError::Skip) } - fn export_message_origin_and_destination() -> Result<(Location, NetworkId, Junctions), frame_benchmarking::BenchmarkError> { + fn export_message_origin_and_destination( + ) -> Result<(Location, NetworkId, Junctions), frame_benchmarking::BenchmarkError> { Err(frame_benchmarking::BenchmarkError::Skip) } @@ -741,4 +745,4 @@ mod benchmarking { Err(frame_benchmarking::BenchmarkError::Skip) } } -} \ No newline at end of file +} From 4508994adab3a0c9837f630ac81f51f2fc71c74b Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 8 Sep 2025 16:44:23 +0200 Subject: [PATCH 87/89] xcm benchmark helpers --- runtime/src/xcm_config.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 4b6ce201..05676991 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -600,10 +600,14 @@ mod benchmarking { benchmarking::RandomParaId::get(), ); + let who = frame_benchmarking::whitelisted_caller(); + let balance = 10 * benchmarking::ExistentialDeposit::get(); + let _ = >::make_free_balance_be(&who, balance); + Some(( Asset { id: AssetId(TokenLocation::get()), - fun: Fungible(benchmarking::ExistentialDeposit::get()), + fun: Fungible(benchmarking::ExistentialDeposit::get() / 10), }, // destination: parent → sibling parachain (Parent, Parachain(benchmarking::RandomParaId::get().into())).into(), From fa8ee601c18d88504815a443fa2ad657c9dbafa3 Mon Sep 17 00:00:00 2001 From: cl0w Date: Mon, 8 Sep 2025 17:10:45 +0200 Subject: [PATCH 88/89] weights for pallet_xcm --- Cargo.lock | 2 +- runtime/Cargo.toml | 2 +- runtime/src/lib.rs | 2 +- runtime/src/weights/pallet_xcm.rs | 531 +++++++++++++++--------------- runtime/src/xcm_config.rs | 2 +- 5 files changed, 263 insertions(+), 276 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2502d946..6002d3b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6242,7 +6242,7 @@ dependencies = [ [[package]] name = "neuroweb-runtime" -version = "145.0.0" +version = "146.0.0" dependencies = [ "assets-common", "cumulus-pallet-aura-ext", diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index b4970532..b287af96 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neuroweb-runtime" -version = "145.0.0" +version = "146.0.0" authors = ["TraceLabs"] description = "NeuroWeb Runtime - Cumulus FRAME-based Substrate Runtime" license = "GPL-3.0-only" diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 5e9b1414..2f8ae50d 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -152,7 +152,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("origintrail-parachain"), impl_name: create_runtime_str!("neuroweb"), authoring_version: 1, - spec_version: 145, + spec_version: 146, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, diff --git a/runtime/src/weights/pallet_xcm.rs b/runtime/src/weights/pallet_xcm.rs index 14c763ba..51034326 100644 --- a/runtime/src/weights/pallet_xcm.rs +++ b/runtime/src/weights/pallet_xcm.rs @@ -1,314 +1,301 @@ +// This program 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. + +// This program 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 this program. If not, see . + + //! Autogenerated weights for `pallet_xcm` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-02-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2025-09-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("statemint-dev"), DB CACHE: 1024 +//! HOSTNAME: `ns3111125`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// ./artifacts/polkadot-parachain +// target/release/neuroweb // benchmark // pallet -// --chain=statemint-dev -// --execution=wasm +// --runtime +// target/release/wbuild/neuroweb-runtime/neuroweb_runtime.compact.compressed.wasm +// --genesis-builder=runtime +// --steps=50 +// --repeat=20 // --wasm-execution=compiled +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs // --pallet=pallet_xcm // --extrinsic=* -// --steps=50 -// --repeat=20 -// --json -// --header=./file_header.txt -// --output=./parachains/runtimes/assets/statemint/src/weights/pallet_xcm.rs +// --output=weights.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] +#![allow(missing_docs)] -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; +use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}}; +use core::marker::PhantomData; +use crate::*; -/// Weight functions for `pallet_xcm`. -pub struct WeightInfo(PhantomData); -impl pallet_xcm::WeightInfo for WeightInfo { - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn send() -> Weight { - // Proof Size summary in bytes: - // Measured: `38` - // Estimated: `4645` - // Minimum execution time: 24_132 nanoseconds. - Weight::from_parts(24_554_000, 0) - .saturating_add(Weight::from_parts(0, 4645)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn teleport_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `499` - // Minimum execution time: 22_350 nanoseconds. - Weight::from_parts(22_760_000, 0) - .saturating_add(Weight::from_parts(0, 499)) - .saturating_add(T::DbWeight::get().reads(1)) - } - /// Storage: ParachainInfo ParachainId (r:1 w:0) - /// Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - fn reserve_transfer_assets() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `499` - // Minimum execution time: 17_723 nanoseconds. - Weight::from_parts(17_951_000, 0) - .saturating_add(Weight::from_parts(0, 499)) - .saturating_add(T::DbWeight::get().reads(1)) - } - // Storage: `Benchmark::Override` (r:0 w:0) - // Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) +/// Weights for `pallet_xcm` using the Neuroweb node and recommended hardware. +pub struct NeurowebWeight(PhantomData); +impl pallet_xcm::WeightInfo for NeurowebWeight { + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn send() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 15_242_000 picoseconds. + Weight::from_parts(15_818_000, 1485) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Benchmark::Override` (r:0 w:0) + /// Proof: `Benchmark::Override` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn teleport_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. + Weight::from_parts(18_446_744_073_709_551_000, 0) + } + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn reserve_transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `74` + // Estimated: `3593` + // Minimum execution time: 96_811_000 picoseconds. + Weight::from_parts(97_904_000, 3593) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `ParachainInfo::ParachainId` (r:1 w:0) + /// Proof: `ParachainInfo::ParachainId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `ParachainSystem::RelevantMessagingState` (r:1 w:0) + /// Proof: `ParachainSystem::RelevantMessagingState` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpStatus` (r:1 w:1) + /// Proof: `XcmpQueue::OutboundXcmpStatus` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `XcmpQueue::OutboundXcmpMessages` (r:0 w:1) + /// Proof: `XcmpQueue::OutboundXcmpMessages` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_assets() -> Weight { + // Proof Size summary in bytes: + // Measured: `74` + // Estimated: `3593` + // Minimum execution time: 97_575_000 picoseconds. + Weight::from_parts(98_321_000, 3593) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// 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` - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. + // Minimum execution time: 18_446_744_073_709_551_000 picoseconds. Weight::from_parts(18_446_744_073_709_551_000, 0) } - /// Storage: Benchmark Override (r:0 w:0) - /// Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) - fn execute() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 18_446_744_073_709_551 nanoseconds. - Weight::from_parts(18_446_744_073_709_551_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - } - /// Storage: PolkadotXcm SupportedVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn force_xcm_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 8_641 nanoseconds. - Weight::from_parts(8_925_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: PolkadotXcm SafeXcmVersion (r:0 w:1) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - fn force_default_xcm_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 2_427 nanoseconds. - Weight::from_parts(2_598_000, 0) - .saturating_add(Weight::from_parts(0, 0)) - .saturating_add(T::DbWeight::get().writes(1)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm QueryCounter (r:1 w:1) - /// Proof Skipped: PolkadotXcm QueryCounter (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_subscribe_version_notify() -> Weight { - // Proof Size summary in bytes: - // Measured: `38` - // Estimated: `7729` - // Minimum execution time: 28_650 nanoseconds. - Weight::from_parts(29_035_000, 0) - .saturating_add(Weight::from_parts(0, 7729)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(5)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm Queries (r:0 w:1) - /// Proof Skipped: PolkadotXcm Queries (max_values: None, max_size: None, mode: Measured) - fn force_unsubscribe_version_notify() -> Weight { - // Proof Size summary in bytes: - // Measured: `220` - // Estimated: `8470` - // Minimum execution time: 30_797 nanoseconds. - Weight::from_parts(31_491_000, 0) - .saturating_add(Weight::from_parts(0, 8470)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(4)) - } - /// Storage: PolkadotXcm XcmExecutionSuspended (r:0 w:1) - /// Proof Skipped: PolkadotXcm XcmExecutionSuspended (max_values: Some(1), max_size: None, mode: Measured) + /// Storage: `PolkadotXcm::SupportedVersion` (r:0 w:1) + /// Proof: `PolkadotXcm::SupportedVersion` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 9_719_000 picoseconds. + Weight::from_parts(9_942_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + fn force_default_xcm_version() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 3_063_000 picoseconds. + Weight::from_parts(3_196_000, 0) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_subscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 22_998_000 picoseconds. + Weight::from_parts(23_481_000, 3465) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifiers` (r:1 w:1) + /// Proof: `PolkadotXcm::VersionNotifiers` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn force_unsubscribe_version_notify() -> Weight { + // Proof Size summary in bytes: + // Measured: `39` + // Estimated: `3504` + // Minimum execution time: 23_096_000 picoseconds. + Weight::from_parts(23_569_000, 3504) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `PolkadotXcm::XcmExecutionSuspended` (r:0 w:1) + /// Proof: `PolkadotXcm::XcmExecutionSuspended` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn force_suspension() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_067_000 picoseconds. - Weight::from_parts(3_211_000, 0) + // Minimum execution time: 3_053_000 picoseconds. + Weight::from_parts(3_132_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: PolkadotXcm SupportedVersion (r:4 w:2) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - fn migrate_supported_version() -> Weight { - // Proof Size summary in bytes: - // Measured: `95` - // Estimated: `9995` - // Minimum execution time: 13_639 nanoseconds. - Weight::from_parts(13_980_000, 0) - .saturating_add(Weight::from_parts(0, 9995)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifiers (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifiers (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notifiers() -> Weight { - // Proof Size summary in bytes: - // Measured: `99` - // Estimated: `9999` - // Minimum execution time: 13_954 nanoseconds. - Weight::from_parts(14_276_000, 0) - .saturating_add(Weight::from_parts(0, 9999)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:5 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn already_notified_target() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `12481` - // Minimum execution time: 15_217 nanoseconds. - Weight::from_parts(15_422_000, 0) - .saturating_add(Weight::from_parts(0, 12481)) - .saturating_add(T::DbWeight::get().reads(5)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:2 w:1) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn notify_current_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `10041` - // Minimum execution time: 27_362 nanoseconds. - Weight::from_parts(28_034_000, 0) - .saturating_add(Weight::from_parts(0, 10041)) - .saturating_add(T::DbWeight::get().reads(7)) - .saturating_add(T::DbWeight::get().writes(3)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:3 w:0) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn notify_target_migration_fail() -> Weight { - // Proof Size summary in bytes: - // Measured: `136` - // Estimated: `7561` - // Minimum execution time: 7_768 nanoseconds. - Weight::from_parts(7_890_000, 0) - .saturating_add(Weight::from_parts(0, 7561)) - .saturating_add(T::DbWeight::get().reads(3)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - fn migrate_version_notify_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `106` - // Estimated: `10006` - // Minimum execution time: 15_165 nanoseconds. - Weight::from_parts(15_430_000, 0) - .saturating_add(Weight::from_parts(0, 10006)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) - } - /// Storage: PolkadotXcm VersionNotifyTargets (r:4 w:2) - /// Proof Skipped: PolkadotXcm VersionNotifyTargets (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm SupportedVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) - /// Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) - /// Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) - /// Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem HostConfiguration (r:1 w:0) - /// Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) - /// Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) - /// Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) - fn migrate_and_notify_old_targets() -> Weight { - // Proof Size summary in bytes: - // Measured: `112` - // Estimated: `15027` - // Minimum execution time: 35_310 nanoseconds. - Weight::from_parts(35_698_000, 0) - .saturating_add(Weight::from_parts(0, 15027)) - .saturating_add(T::DbWeight::get().reads(9)) - .saturating_add(T::DbWeight::get().writes(4)) - } - // Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) - // Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - // Storage: `PolkadotXcm::Queries` (r:0 w:1) - // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// 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: `0` + // Estimated: `13365` + // Minimum execution time: 18_104_000 picoseconds. + Weight::from_parts(18_606_000, 13365) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// 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: `0` + // Estimated: `13365` + // Minimum execution time: 18_042_000 picoseconds. + Weight::from_parts(18_541_000, 13365) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// 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: `0` + // Estimated: `15840` + // Minimum execution time: 17_543_000 picoseconds. + Weight::from_parts(17_957_000, 15840) + .saturating_add(T::DbWeight::get().reads(6_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:2 w:1) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// Proof: `ParachainSystem::PendingUpwardMessages` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn notify_current_targets() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `5940` + // Minimum execution time: 20_269_000 picoseconds. + Weight::from_parts(20_798_000, 5940) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// 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: `0` + // Estimated: `10890` + // Minimum execution time: 12_456_000 picoseconds. + Weight::from_parts(12_700_000, 10890) + .saturating_add(T::DbWeight::get().reads(4_u64)) + } + /// 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: `0` + // Estimated: `13365` + // Minimum execution time: 18_365_000 picoseconds. + Weight::from_parts(18_858_000, 13365) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `PolkadotXcm::VersionNotifyTargets` (r:5 w:2) + /// Proof: `PolkadotXcm::VersionNotifyTargets` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::HostConfiguration` (r:1 w:0) + /// Proof: `ParachainSystem::HostConfiguration` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `ParachainSystem::PendingUpwardMessages` (r:1 w:1) + /// 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: `0` + // Estimated: `13365` + // Minimum execution time: 29_746_000 picoseconds. + Weight::from_parts(30_220_000, 13365) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `PolkadotXcm::QueryCounter` (r:1 w:1) + /// Proof: `PolkadotXcm::QueryCounter` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:0 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn new_query() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 2_337 nanoseconds. - Weight::from_parts(2_507_000, 1485) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(2)) + // Minimum execution time: 3_225_000 picoseconds. + Weight::from_parts(3_362_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - // Storage: `PolkadotXcm::Queries` (r:1 w:1) - // Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `PolkadotXcm::Queries` (r:1 w:1) + /// Proof: `PolkadotXcm::Queries` (`max_values`: None, `max_size`: None, mode: `Measured`) fn take_response() -> Weight { // Proof Size summary in bytes: - // Measured: `7576` - // Estimated: `11041` - // Minimum execution time: 19_915 nanoseconds. - Weight::from_parts(20_255_000, 11041) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `7575` + // Estimated: `11040` + // Minimum execution time: 36_643_000 picoseconds. + Weight::from_parts(37_154_000, 11040) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `PolkadotXcm::AssetTraps` (r:1 w: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: `24` - // Estimated: `3489` - // Minimum execution time: 30_973_000 picoseconds. - Weight::from_parts(31_665_000, 3489) + // Measured: `0` + // Estimated: `3465` + // Minimum execution time: 47_608_000 picoseconds. + Weight::from_parts(48_140_000, 3465) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } -} \ No newline at end of file +} diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index 05676991..bc092a0e 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -470,7 +470,7 @@ impl pallet_xcm::Config for Runtime { type TrustedLockers = (); type SovereignAccountOf = LocationToAccountId; type MaxLockers = ConstU32<8>; - type WeightInfo = crate::weights::pallet_xcm::WeightInfo; + type WeightInfo = crate::weights::pallet_xcm::NeurowebWeight; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); type AdminOrigin = EnsureRoot; From f4bc64d3ebbe919c714107929186186deaae2993 Mon Sep 17 00:00:00 2001 From: cl0w Date: Tue, 9 Sep 2025 08:38:00 +0200 Subject: [PATCH 89/89] Add TrailingSetTopicAsId and TrailingSetTopicAsId --- runtime/src/xcm_config.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/src/xcm_config.rs b/runtime/src/xcm_config.rs index bc092a0e..a8cc5aa0 100644 --- a/runtime/src/xcm_config.rs +++ b/runtime/src/xcm_config.rs @@ -27,8 +27,8 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, Case, EnsureXcmOrigin, FungibleAdapter, FungiblesAdapter, IsConcrete, NativeAsset, NoChecking, ParentIsPreset, RelayChainAsNative, SiblingParachainAsNative, SiblingParachainConvertsVia, SignedAccountId32AsNative, - SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, - WeightInfoBounds, WithComputedOrigin, + SignedToAccountId32, SovereignSignedViaLocation, TakeWeightCredit, TrailingSetTopicAsId, + UsingComponents, WeightInfoBounds, WithComputedOrigin, WithUniqueTopic, }; use xcm_executor::{ traits::{ @@ -254,7 +254,7 @@ impl Contains for ParentOrParentsExecutivePlurality { } } -pub type Barrier = ( +pub type Barrier = TrailingSetTopicAsId<( // Weight that is paid for may be consumed. TakeWeightCredit, // Expected responses are OK. @@ -269,7 +269,7 @@ pub type Barrier = ( UniversalLocation, ConstU32<8>, >, -); +)>; /// A call filter for the XCM Transact instruction. This is a temporary measure until we /// properly account for proof size weights. @@ -431,12 +431,12 @@ pub type LocalOriginToLocation = SignedToAccountId32, // ..and XCMP to communicate with the sibling chains. XcmpQueue, -); +)>; #[cfg(feature = "runtime-benchmarks")] parameter_types! {