From 92e3e6f766abb638f1fb776311adb8f3cf67c8da Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 6 Jun 2024 11:36:54 +0200 Subject: [PATCH 01/70] add conviciton voting pallet --- Cargo.lock | 1926 ++++++++--------- Cargo.toml | 2 + pallets/conviction-voting/Cargo.toml | 62 + pallets/conviction-voting/README.md | 8 + pallets/conviction-voting/src/benchmarking.rs | 287 +++ pallets/conviction-voting/src/conviction.rs | 131 ++ pallets/conviction-voting/src/lib.rs | 692 ++++++ pallets/conviction-voting/src/tests.rs | 883 ++++++++ pallets/conviction-voting/src/traits.rs | 19 + pallets/conviction-voting/src/types.rs | 264 +++ pallets/conviction-voting/src/vote.rs | 265 +++ pallets/conviction-voting/src/weights.rs | 341 +++ 12 files changed, 3889 insertions(+), 991 deletions(-) create mode 100644 pallets/conviction-voting/Cargo.toml create mode 100644 pallets/conviction-voting/README.md create mode 100644 pallets/conviction-voting/src/benchmarking.rs create mode 100644 pallets/conviction-voting/src/conviction.rs create mode 100644 pallets/conviction-voting/src/lib.rs create mode 100644 pallets/conviction-voting/src/tests.rs create mode 100644 pallets/conviction-voting/src/traits.rs create mode 100644 pallets/conviction-voting/src/types.rs create mode 100644 pallets/conviction-voting/src/vote.rs create mode 100644 pallets/conviction-voting/src/weights.rs diff --git a/Cargo.lock b/Cargo.lock index 1cf171b7d..307de5f7d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -23,11 +23,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.21.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" dependencies = [ - "gimli 0.28.1", + "gimli 0.29.0", ] [[package]] @@ -48,9 +48,9 @@ dependencies = [ [[package]] name = "aes" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" +checksum = "b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0" dependencies = [ "cfg-if", "cipher 0.4.4", @@ -68,7 +68,7 @@ dependencies = [ "cipher 0.4.4", "ctr", "ghash", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -82,23 +82,23 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "version_check", "zerocopy", @@ -106,18 +106,18 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" dependencies = [ "memchr", ] [[package]] name = "allocator-api2" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" +checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "always-assert" @@ -172,33 +172,33 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -206,9 +206,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.76" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59d2a3357dde987206219e78ecfbbb6e8dad06cbb65292758d3270e6254f7355" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "approx" @@ -230,7 +230,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -528,9 +528,9 @@ checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" [[package]] name = "array-bytes" -version = "6.2.2" +version = "6.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" +checksum = "5d5dde061bd34119e902bbb2d9b90c5692635cf59fb91d582c2b68043f1b8293" [[package]] name = "arrayref" @@ -547,12 +547,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -617,28 +611,26 @@ dependencies = [ [[package]] name = "async-channel" -version = "2.1.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" dependencies = [ "concurrent-queue", - "event-listener 4.0.1", "event-listener-strategy", "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "async-executor" -version = "1.8.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" +checksum = "c8828ec6e544c02b0d6691d21ed9f9218d0384a82542855073c2a3f58304aaf0" dependencies = [ - "async-lock 3.2.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", - "futures-lite 2.1.0", + "fastrand 2.1.0", + "futures-lite 2.3.0", "slab", ] @@ -676,18 +668,18 @@ dependencies = [ [[package]] name = "async-io" -version = "2.2.2" +version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6afaa937395a620e33dc6a742c593c01aced20aa376ffb0f628121198578ccc7" +checksum = "0d6baa8f0178795da0e71bc42c9e5d13261aac7ee549853162e66a241ba17964" dependencies = [ - "async-lock 3.2.0", + "async-lock 3.4.0", "cfg-if", "concurrent-queue", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.3.0", "parking", - "polling 3.3.1", - "rustix 0.38.28", + "polling 3.7.1", + "rustix 0.38.34", "slab", "tracing", "windows-sys 0.52.0", @@ -704,13 +696,13 @@ dependencies = [ [[package]] name = "async-lock" -version = "3.2.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c" +checksum = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18" dependencies = [ - "event-listener 4.0.1", + "event-listener 5.3.1", "event-listener-strategy", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -737,43 +729,43 @@ dependencies = [ "cfg-if", "event-listener 3.1.0", "futures-lite 1.13.0", - "rustix 0.38.28", + "rustix 0.38.34", "windows-sys 0.48.0", ] [[package]] name = "async-signal" -version = "0.2.5" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +checksum = "329972aa325176e89114919f2a80fdae4f4c040f66a370b1a1159c6c0f94e7aa" dependencies = [ - "async-io 2.2.2", - "async-lock 2.8.0", + "async-io 2.3.3", + "async-lock 3.4.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.28", + "rustix 0.38.34", "signal-hook-registry", "slab", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "async-task" -version = "4.6.0" +version = "4.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46" +checksum = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de" [[package]] name = "async-trait" -version = "0.1.75" +version = "0.1.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdf6721fb0140e4f897002dd086c06f6c27775df19cfe1fccb21181a48fd2c98" +checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -786,7 +778,7 @@ dependencies = [ "futures-sink", "futures-util", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -814,21 +806,20 @@ dependencies = [ [[package]] name = "auto_impl" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fee3da8ef1276b0bee5dd1c7258010d8fffd31801447323115a25560e1327b89" +checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ - "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.66", ] [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "az" @@ -838,16 +829,16 @@ checksum = "7b7e4c2464d97fe331d41de9d5db0def0a96f4d823b8b32a2efd503578988973" [[package]] name = "backtrace" -version = "0.3.69" +version = "0.3.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +checksum = "17c6a35df3749d2e8bb1b7b21a976d82b15548788d2735b9d82f329268f71a11" dependencies = [ - "addr2line 0.21.0", + "addr2line 0.22.0", "cc", "cfg-if", "libc", "miniz_oxide", - "object 0.32.1", + "object 0.35.0", "rustc-demangle", ] @@ -864,7 +855,7 @@ dependencies = [ "ark-std", "dleq_vrf", "fflonk", - "merlin 3.0.0", + "merlin", "rand_chacha 0.3.1", "rand_core 0.6.4", "ring 0.1.0", @@ -894,9 +885,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64ct" @@ -906,9 +897,9 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "basic-toml" -version = "0.1.7" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f2139706359229bfa8f19142ac1155b4b80beafb7a60471ac5dd109d4a19778" +checksum = "823388e228f614e9558c6804262db37960ec8821856535f5c3f59913140558f8" dependencies = [ "serde", ] @@ -952,13 +943,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.15", + "prettyplease 0.2.20", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -1003,9 +994,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "bitvec" @@ -1075,9 +1066,9 @@ dependencies = [ [[package]] name = "blake3" -version = "1.5.0" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0231f06152bf547e9c2b5194f247cd97aacf6dcd8b15d8e5ec0663f64580da87" +checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" dependencies = [ "arrayref", "arrayvec 0.7.4", @@ -1086,18 +1077,6 @@ dependencies = [ "constant_time_eq 0.3.0", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" @@ -1116,29 +1095,17 @@ dependencies = [ "generic-array 0.14.7", ] -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", -] - [[package]] name = "blocking" -version = "1.5.1" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +checksum = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea" dependencies = [ - "async-channel 2.1.1", - "async-lock 3.2.0", + "async-channel 2.3.1", "async-task", - "fastrand 2.0.1", "futures-io", - "futures-lite 2.1.0", + "futures-lite 2.3.0", "piper", - "tracing", ] [[package]] @@ -1181,9 +1148,9 @@ checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" [[package]] name = "bs58" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5353f36341f7451062466f0b755b96ac3a9547e4d7f6b70d603fc721a7d7896" +checksum = "bf88ba1141d185c399bee5288d850d63b8369520c1eafc32a0430b5b6c287bf4" dependencies = [ "tinyvec", ] @@ -1201,9 +1168,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.8.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "542f33a8835a0884b006a0c3df3dadd99c0c3f296ed26c2fdc8028e01ad6230c" +checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" dependencies = [ "memchr", "serde", @@ -1220,9 +1187,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.14.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "byte-slice-cast" @@ -1238,9 +1205,9 @@ checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" [[package]] name = "bytemuck" -version = "1.14.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" +checksum = "78834c15cb5d5efe3452d58b1e8ba890dd62d21907f867f383358198e56ebca5" [[package]] name = "byteorder" @@ -1250,9 +1217,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "bzip2-sys" @@ -1277,9 +1244,9 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.6" +version = "1.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59e92b5a388f549b863a7bea62612c09f24c8393560709a54558a9abdfb3b9c" +checksum = "e0ec6b951b160caa93cc0c7b209e5a3bff7aae9062213451ac99493cd844c239" dependencies = [ "serde", ] @@ -1290,7 +1257,7 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e11c675378efb449ed3ce8de78d75d0d80542fc98487c26aba28eb3b82feac72" dependencies = [ - "semver 1.0.20", + "semver 1.0.23", "serde", "toml 0.7.8", "url", @@ -1298,9 +1265,9 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.5" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e34637b3140142bdf929fb439e8aa4ebad7651ebf7b1080b3930aa16ac1459ff" +checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" dependencies = [ "serde", ] @@ -1313,7 +1280,7 @@ checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", - "semver 1.0.20", + "semver 1.0.23", "serde", "serde_json", "thiserror", @@ -1333,12 +1300,13 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" [[package]] name = "cc" -version = "1.0.83" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +checksum = "41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f" dependencies = [ "jobserver", "libc", + "once_cell", ] [[package]] @@ -1352,9 +1320,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.15.5" +version = "0.15.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" +checksum = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" dependencies = [ "smallvec", ] @@ -1407,23 +1375,23 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ "android-tzdata", "iana-time-zone", "js-sys", "num-traits", "wasm-bindgen", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] name = "ciborium" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ "ciborium-io", "ciborium-ll", @@ -1432,18 +1400,18 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] name = "ciborium-ll" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", - "half", + "half 2.4.1", ] [[package]] @@ -1490,9 +1458,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.6.1" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c688fc74432808e3eb684cae8830a86be1d66a2bd58e1f248ed0960a590baf6f" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -1561,7 +1529,7 @@ dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -1581,13 +1549,12 @@ checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "coarsetime" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71367d3385c716342014ad17e3d19f7788ae514885a1f4c24f500260fb365e1a" +checksum = "13b3839cf01bb7960114be3ccf2340f541b6d0c81f8690b007b2b39f750f7e5d" dependencies = [ "libc", - "once_cell", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasix", "wasm-bindgen", ] @@ -1603,18 +1570,18 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" [[package]] name = "comfy-table" -version = "7.1.0" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686" +checksum = "b34115915337defe99b2aff5c2ce6771e5fbc4079f4b506301f5cf394c8452f7" dependencies = [ - "strum 0.25.0", - "strum_macros 0.25.3", + "strum 0.26.2", + "strum_macros 0.26.4", "unicode-width", ] @@ -1630,7 +1597,7 @@ dependencies = [ "ark-std", "fflonk", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_chacha 0.3.1", ] @@ -1642,9 +1609,9 @@ checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" [[package]] name = "concurrent-queue" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +checksum = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973" dependencies = [ "crossbeam-utils", ] @@ -1670,9 +1637,9 @@ checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" [[package]] name = "const-random" -version = "0.1.17" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aaf16c9c2c612020bcfd042e170f6e32de9b9d75adb5277cdbbd2e2c8c8299a" +checksum = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359" dependencies = [ "const-random-macro", ] @@ -1683,7 +1650,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "once_cell", "tiny-keccak", ] @@ -1764,9 +1731,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] @@ -1871,9 +1838,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] @@ -1916,45 +1883,37 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.4" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] [[package]] name = "crossbeam-epoch" -version = "0.9.16" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "autocfg", - "cfg-if", "crossbeam-utils", - "memoffset 0.9.0", ] [[package]] name = "crossbeam-queue" -version = "0.3.9" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9bcf5bdbfdd6030fb4a1c497b5d5fc5921aa2f60d359a17e249c0e6df3de153" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" dependencies = [ - "cfg-if", "crossbeam-utils", ] [[package]] name = "crossbeam-utils" -version = "0.8.17" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f" -dependencies = [ - "cfg-if", -] +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crunchy" @@ -1970,7 +1929,7 @@ checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ "generic-array 0.14.7", "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -2002,17 +1961,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ "generic-array 0.14.7", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] name = "crypto-mac" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ "generic-array 0.14.7", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -2051,7 +2010,7 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-overseer", @@ -2160,7 +2119,7 @@ dependencies = [ "futures", "futures-timer", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-parachain-primitives", "polkadot-primitives", @@ -2317,7 +2276,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -2498,13 +2457,13 @@ name = "cumulus-relay-chain-minimal-node" version = "0.7.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-trait", "cumulus-primitives-core", "cumulus-relay-chain-interface", "cumulus-relay-chain-rpc-interface", "futures", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-availability-recovery", "polkadot-collator-protocol", "polkadot-core-primitives", @@ -2587,19 +2546,6 @@ dependencies = [ "sp-trie", ] -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle 2.4.1", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "3.2.0" @@ -2609,24 +2555,24 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.2.0", + "platforms 3.4.0", "rustc_version", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -2638,7 +2584,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -2656,9 +2602,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.111" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9fc0c733f71e58dedf4f034cd2a266f80b94cc9ed512729e1798651b68c2cba" +checksum = "8194f089b6da4751d6c1da1ef37c17255df51f9346cdb160f8b096562ae4a85c" dependencies = [ "cc", "cxxbridge-flags", @@ -2668,9 +2614,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.111" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51bc81d2664db24cf1d35405f66e18a85cffd4d49ab930c71a5c6342a410f38c" +checksum = "1e8df9a089caae66634d754672d5f909395f30f38af6ff19366980d8a8b57501" dependencies = [ "cc", "codespan-reporting", @@ -2678,37 +2624,37 @@ dependencies = [ "proc-macro2", "quote", "scratch", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "cxxbridge-flags" -version = "1.0.111" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8511afbe34ea242697784da5cb2c5d4a0afb224ca8b136bdf93bfe180cbe5884" +checksum = "25290be4751803672a70b98c68b51c1e7d0a640ab5a4377f240f9d2e70054cd1" [[package]] name = "cxxbridge-macro" -version = "1.0.111" +version = "1.0.123" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c6888cd161769d65134846d4d4981d5a6654307cc46ec83fb917e530aea5f84" +checksum = "b8cb317cb13604b4752416783bb25070381c36e844743e4146b7f8e55de7d140" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "data-encoding-macro" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" +checksum = "f1559b6cba622276d6d63706db152618eeb15b89b3e4041446b05876e352e639" dependencies = [ "data-encoding", "data-encoding-macro-internal", @@ -2716,9 +2662,9 @@ dependencies = [ [[package]] name = "data-encoding-macro-internal" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" +checksum = "332d754c0af53bc87c108fed664d121ecf59207ec4196041f04d6ab9002ad33f" dependencies = [ "data-encoding", "syn 1.0.109", @@ -2726,9 +2672,9 @@ dependencies = [ [[package]] name = "der" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" dependencies = [ "const-oid", "zeroize", @@ -2750,9 +2696,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" dependencies = [ "powerfmt", ] @@ -2779,6 +2725,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.66", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -2831,7 +2788,7 @@ dependencies = [ "block-buffer 0.10.4", "const-oid", "crypto-common", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -2884,7 +2841,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -2905,28 +2862,28 @@ dependencies = [ [[package]] name = "docify" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +checksum = "43a2f138ad521dc4a2ced1a4576148a6a610b4c5923933b062a263130a6802ce" dependencies = [ "docify_macros", ] [[package]] name = "docify_macros" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +checksum = "1a081e51fb188742f5a7a1164ad752121abcb22874b21e2c3b0dd040c515fdad" dependencies = [ "common-path", - "derive-syn-parse", + "derive-syn-parse 0.2.0", "once_cell", "proc-macro2", "quote", "regex", - "syn 2.0.61", + "syn 2.0.66", "termcolor", - "toml 0.8.12", + "toml 0.8.14", "walkdir", ] @@ -2938,9 +2895,9 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "downcast-rs" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" +checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2" [[package]] name = "dtoa" @@ -2971,9 +2928,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" [[package]] name = "ecdsa" @@ -3001,16 +2958,16 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "rand_core 0.6.4", "serde", "sha2 0.10.8", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -3034,9 +2991,9 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", "rand_core 0.6.4", "sha2 0.10.8", @@ -3045,9 +3002,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b" [[package]] name = "elliptic-curve" @@ -3064,7 +3021,7 @@ dependencies = [ "pkcs8", "rand_core 0.6.4", "sec1", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -3088,40 +3045,40 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +checksum = "3278c9d5fb675e0a51dabcf4c0d355f692b064171535ba72361be1528a9d8e8d" dependencies = [ "enumflags2_derive", ] [[package]] name = "enumflags2_derive" -version = "0.7.8" +version = "0.7.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +checksum = "5c785274071b1b420972453b306eeca06acf4633829db4223b58a2a8c5953bc4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "enumn" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ad8cef1d801a4686bfd8919f0b30eac4c8e48968c437a6405ded4fb5272d2b" +checksum = "6fd000fd6988e73bbe993ea3db9b1aa64906ab88766d654973924340c8cddb42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "env_logger" -version = "0.10.1" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -3144,9 +3101,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -3244,28 +3201,28 @@ checksum = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener" -version = "4.0.1" +version = "5.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84f2cdcf274580f2d63697192d744727b3198894b1bf02923643bf59e2c26712" +checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" dependencies = [ "concurrent-queue", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] name = "event-listener-strategy" -version = "0.4.0" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +checksum = "0f214dc438f977e6d4e3500aaa277f5ad94ca83fbbd9b1a15713ce2344ccc5a1" dependencies = [ - "event-listener 4.0.1", - "pin-project-lite 0.2.13", + "event-listener 5.3.1", + "pin-project-lite 0.2.14", ] [[package]] @@ -3291,7 +3248,7 @@ dependencies = [ [[package]] name = "evm" version = "0.41.1" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "auto_impl", "environmental", @@ -3322,7 +3279,7 @@ dependencies = [ [[package]] name = "evm-core" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "parity-scale-codec", "primitive-types", @@ -3344,7 +3301,7 @@ dependencies = [ [[package]] name = "evm-gasometer" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "environmental", "evm-core 0.41.0", @@ -3367,7 +3324,7 @@ dependencies = [ [[package]] name = "evm-runtime" version = "0.41.0" -source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#d8991ec727ad0fb64fe9957a3cd307387a6701e4" +source = "git+https://github.com/moonbeam-foundation/evm?branch=moonbeam-polkadot-v1.7.2#fd602351387b3a3745110e93a66eab9be59fb801" dependencies = [ "auto_impl", "environmental", @@ -3407,15 +3364,9 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -3439,9 +3390,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fatality" @@ -3471,7 +3422,7 @@ dependencies = [ [[package]] name = "fc-api" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "fp-storage", @@ -3483,7 +3434,7 @@ dependencies = [ [[package]] name = "fc-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "fp-consensus", @@ -3499,7 +3450,7 @@ dependencies = [ [[package]] name = "fc-db" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "async-trait", "fc-api", @@ -3508,7 +3459,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-db", "smallvec", "sp-blockchain", @@ -3520,7 +3471,7 @@ dependencies = [ [[package]] name = "fc-mapping-sync" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fc-db", "fc-storage", @@ -3529,7 +3480,7 @@ dependencies = [ "futures", "futures-timer", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-utils", "sp-api", @@ -3541,7 +3492,7 @@ dependencies = [ [[package]] name = "fc-rpc" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3596,7 +3547,7 @@ dependencies = [ [[package]] name = "fc-rpc-core" version = "1.1.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3611,7 +3562,7 @@ dependencies = [ [[package]] name = "fc-storage" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3643,7 +3594,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" dependencies = [ "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -3656,14 +3607,14 @@ dependencies = [ "ark-poly", "ark-serialize", "ark-std", - "merlin 3.0.0", + "merlin", ] [[package]] name = "fiat-crypto" -version = "0.2.5" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "file-per-thread-logger" @@ -3699,7 +3650,7 @@ dependencies = [ "log", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "scale-info", ] @@ -3711,7 +3662,7 @@ checksum = "36a65312835c1097a0c926ff3702df965285fadc33d948b87397ff8961bad881" dependencies = [ "az", "bytemuck", - "half", + "half 1.8.3", "num-traits", "typenum", ] @@ -3736,9 +3687,9 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "libz-sys", @@ -3780,7 +3731,7 @@ dependencies = [ [[package]] name = "fp-account" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "hex", "impl-serde", @@ -3799,7 +3750,7 @@ dependencies = [ [[package]] name = "fp-consensus" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "parity-scale-codec", @@ -3811,7 +3762,7 @@ dependencies = [ [[package]] name = "fp-ethereum" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3824,7 +3775,7 @@ dependencies = [ [[package]] name = "fp-evm" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "evm 0.41.1", "frame-support", @@ -3840,7 +3791,7 @@ dependencies = [ [[package]] name = "fp-rpc" version = "3.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "ethereum 0.15.0", "ethereum-types", @@ -3857,7 +3808,7 @@ dependencies = [ [[package]] name = "fp-self-contained" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "frame-support", "parity-scale-codec", @@ -3869,7 +3820,7 @@ dependencies = [ [[package]] name = "fp-storage" version = "2.0.0" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "parity-scale-codec", "serde", @@ -3912,7 +3863,7 @@ version = "32.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "Inflector", - "array-bytes 6.2.2", + "array-bytes 6.2.3", "chrono", "clap 4.5.4", "comfy-table", @@ -3962,7 +3913,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -4040,7 +3991,7 @@ version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aquamarine", - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bitflags 1.3.2", "docify", "environmental", @@ -4082,7 +4033,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "Inflector", "cfg-expr", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "expander 2.0.0", "frame-support-procedural-tools", "itertools 0.10.5", @@ -4091,7 +4042,7 @@ dependencies = [ "proc-macro2", "quote", "sp-crypto-hashing", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -4103,7 +4054,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -4113,7 +4064,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -4197,7 +4148,7 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29f9df8a11882c4e3335eb2d18a0137c505d9ca927470b0cac9c6f0ae07d28f7" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.34", "windows-sys 0.48.0", ] @@ -4267,21 +4218,21 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "waker-fn", ] [[package]] name = "futures-lite" -version = "2.1.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143" +checksum = "52527eb5074e35e9339c6b4e8d12600c7128b68fb25dcb9fa9dec18f7c25f3a5" dependencies = [ - "fastrand 2.0.1", + "fastrand 2.1.0", "futures-core", "futures-io", "parking", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -4292,7 +4243,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -4320,9 +4271,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" @@ -4337,7 +4288,7 @@ dependencies = [ "futures-sink", "futures-task", "memchr", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "pin-utils", "slab", ] @@ -4394,9 +4345,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -4415,11 +4366,11 @@ dependencies = [ [[package]] name = "ghash" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d930750de5717d2dd0b8c0d42c076c0e884c81a73e6cab859bbd2339c71e3e40" +checksum = "f0d8a4362ccb29cb0b265253fb0a2728f592895ee6854fd9bc13f2ffda266ff1" dependencies = [ - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "polyval", ] @@ -4436,9 +4387,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" +checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "glob" @@ -4453,20 +4404,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1" dependencies = [ "aho-corasick", - "bstr 1.8.0", + "bstr 1.9.1", "log", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] name = "gmp-mpfr-sys" -version = "1.6.1" +version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19c5c67d8c29fe87e3266e691dd60948e6e4df4496c53355ef3551142945721b" +checksum = "74bde44a62a17a9b6a0c197eedb469e4553019c456ed4e61a602f5e3dc5e5941" dependencies = [ "libc", - "windows-sys 0.42.0", + "windows-sys 0.52.0", ] [[package]] @@ -4477,14 +4428,14 @@ checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ "ff", "rand_core 0.6.4", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] name = "h2" -version = "0.3.22" +version = "0.3.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d6250322ef6e60f93f9a2162799302cd6f68f79f6e5d85c8c16f14d1d958178" +checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" dependencies = [ "bytes", "fnv", @@ -4492,7 +4443,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.6", "slab", "tokio", "tokio-util", @@ -4501,9 +4452,19 @@ dependencies = [ [[package]] name = "half" -version = "1.8.2" +version = "1.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" + +[[package]] +name = "half" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" +checksum = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" +dependencies = [ + "cfg-if", + "crunchy", +] [[package]] name = "handlebars" @@ -4546,7 +4507,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -4555,16 +4516,16 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", ] [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "allocator-api2", "serde", ] @@ -4575,7 +4536,7 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] @@ -4601,9 +4562,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" [[package]] name = "hex" @@ -4648,7 +4609,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", "digest 0.9.0", ] @@ -4694,9 +4655,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" dependencies = [ "bytes", "fnv", @@ -4711,7 +4672,7 @@ checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", ] [[package]] @@ -5056,9 +5017,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" dependencies = [ "bytes", "futures-channel", @@ -5070,8 +5031,8 @@ dependencies = [ "httparse", "httpdate", "itoa", - "pin-project-lite 0.2.13", - "socket2 0.5.5", + "pin-project-lite 0.2.14", + "socket2 0.5.7", "tokio", "tower-service", "tracing", @@ -5088,7 +5049,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.21.10", + "rustls 0.21.12", "rustls-native-certs", "tokio", "tokio-rustls", @@ -5096,16 +5057,16 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows-core", + "windows-core 0.52.0", ] [[package]] @@ -5154,7 +5115,7 @@ version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6b0422c86d7ce0e97169cc42e04ae643caf278874a7a3c87b8150a220dc7e1e" dependencies = [ - "async-io 2.2.2", + "async-io 2.3.3", "core-foundation", "fnv", "futures", @@ -5237,12 +5198,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] @@ -5253,9 +5214,9 @@ checksum = "8e04e2fd2b8188ea827b32ef11de88377086d690286ab35747ef7f9bf3ccb590" [[package]] name = "indicatif" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb28741c9db9a713d93deb3bb9515c20788cef5815265bee4980e87bde7e0f25" +checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" dependencies = [ "console", "instant", @@ -5275,9 +5236,9 @@ dependencies = [ [[package]] name = "instant" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" dependencies = [ "cfg-if", ] @@ -5303,7 +5264,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.9", "libc", "windows-sys 0.48.0", ] @@ -5320,7 +5281,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.5", + "socket2 0.5.7", "widestring", "windows-sys 0.48.0", "winreg", @@ -5334,13 +5295,13 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" dependencies = [ - "hermit-abi 0.3.3", - "rustix 0.38.28", - "windows-sys 0.48.0", + "hermit-abi 0.3.9", + "libc", + "windows-sys 0.52.0", ] [[package]] @@ -5376,26 +5337,35 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "jobserver" -version = "0.1.27" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" dependencies = [ "libc", ] [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] @@ -5467,7 +5437,7 @@ dependencies = [ "hyper", "jsonrpsee-types 0.15.1", "lazy_static", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rustc-hash", "serde", @@ -5493,7 +5463,7 @@ dependencies = [ "futures-util", "hyper", "jsonrpsee-types 0.20.3", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rustc-hash", "serde", @@ -5653,9 +5623,9 @@ dependencies = [ [[package]] name = "k256" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f01b677d82ef7a676aa37e099defd83a28e15687112cafdd112d60236b6115b" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" dependencies = [ "cfg-if", "ecdsa", @@ -5666,9 +5636,9 @@ dependencies = [ [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] @@ -5695,7 +5665,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -5706,7 +5676,7 @@ checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", "rocksdb", "smallvec", @@ -5740,18 +5710,18 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.154" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libloading" -version = "0.7.4" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" +checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" dependencies = [ "cfg-if", - "winapi", + "windows-targets 0.52.5", ] [[package]] @@ -5769,7 +5739,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "getrandom 0.2.11", + "getrandom 0.2.15", "instant", "libp2p-allow-block-list", "libp2p-connection-limits", @@ -5834,7 +5804,7 @@ dependencies = [ "multihash 0.17.0", "multistream-select", "once_cell", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "quick-protobuf", "rand", @@ -5854,7 +5824,7 @@ dependencies = [ "futures", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "smallvec", "trust-dns-resolver", ] @@ -6016,7 +5986,7 @@ dependencies = [ "libp2p-identity", "libp2p-tls", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quinn-proto", "rand", "rustls 0.20.9", @@ -6132,7 +6102,7 @@ dependencies = [ "futures-rustls", "libp2p-core", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "quicksink", "rw-stream-sink", "soketto", @@ -6155,13 +6125,12 @@ dependencies = [ [[package]] name = "libredox" -version = "0.0.1" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "libc", - "redox_syscall 0.4.1", ] [[package]] @@ -6206,7 +6175,7 @@ checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" dependencies = [ "crunchy", "digest 0.9.0", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -6229,9 +6198,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.12" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" +checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" dependencies = [ "cc", "pkg-config", @@ -6285,9 +6254,9 @@ checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" [[package]] name = "linux-raw-sys" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lioness" @@ -6303,9 +6272,9 @@ dependencies = [ [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ "autocfg", "scopeguard", @@ -6379,7 +6348,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -6389,11 +6358,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "468155613a44cfd825f1fb0ffa532b018253920d404e6fca1e8d43155198a46d" dependencies = [ "const-random", - "derive-syn-parse", + "derive-syn-parse 0.1.5", "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -6404,7 +6373,7 @@ checksum = "9ea73aa640dc01d62a590d48c0c3521ed739d53b27f919b25c3551e233481654" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -6415,23 +6384,23 @@ checksum = "ef9d79ae96aaba821963320eb2b6e34d17df1e5a83d8a1985c29cc5be59577b3" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "macrotest" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119d028d9d69a00b737d6af1081a690cee15df8ef75b3f71c86bcc48b301528e" +checksum = "c373046e96714b07b66d572e8b43e48d67cad110fd3f5bf2e000e58751864d2d" dependencies = [ "basic-toml", "diff", "glob", - "prettyplease 0.2.15", + "prettyplease 0.2.20", "serde", "serde_derive", "serde_json", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -6482,9 +6451,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memfd" @@ -6492,7 +6461,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.34", ] [[package]] @@ -6522,15 +6491,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] - [[package]] name = "memory-db" version = "0.32.0" @@ -6540,18 +6500,6 @@ dependencies = [ "hash-db 0.16.0", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -6583,18 +6531,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi 0.11.0+wasi-snapshot-preview1", @@ -6612,16 +6560,16 @@ dependencies = [ "bitflags 1.3.2", "blake2 0.10.6", "c2-chacha", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "either", "hashlink", "lioness", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "rand_chacha 0.3.1", "rand_distr", - "subtle 2.4.1", + "subtle 2.5.0", "thiserror", "zeroize", ] @@ -6860,9 +6808,9 @@ dependencies = [ [[package]] name = "nalgebra" -version = "0.32.3" +version = "0.32.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307ed9b18cc2423f29e83f84fd23a8e73628727990181f18641a8b5dc2ab1caa" +checksum = "3ea4908d4f23254adda3daa60ffef0f1ac7b8c3e9a864cf3cc154b251908a2ef" dependencies = [ "approx", "matrixmultiply", @@ -6955,9 +6903,9 @@ dependencies = [ [[package]] name = "netlink-sys" -version = "0.8.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" +checksum = "416060d346fbaf1f23f9512963e3e878f1a78e707cb699ba9215761754244307" dependencies = [ "bytes", "futures", @@ -6983,7 +6931,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "cfg-if", "libc", ] @@ -7034,9 +6982,9 @@ dependencies = [ [[package]] name = "num" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" +checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" dependencies = [ "num-bigint", "num-complex", @@ -7048,24 +6996,29 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "c165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7" dependencies = [ - "autocfg", "num-integer", "num-traits", ] [[package]] name = "num-complex" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" +checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" dependencies = [ "num-traits", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-format" version = "0.4.4" @@ -7078,19 +7031,18 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-iter" -version = "0.1.44" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d869c01cc0c455284163fd0092f1f93835385ccab5a98a0dcc497b2f8bf055a9" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" dependencies = [ "autocfg", "num-integer", @@ -7099,11 +7051,10 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" +checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" dependencies = [ - "autocfg", "num-bigint", "num-integer", "num-traits", @@ -7111,9 +7062,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", "libm", @@ -7125,7 +7076,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.3", + "hermit-abi 0.3.9", "libc", ] @@ -7164,10 +7115,10 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -7190,9 +7141,9 @@ dependencies = [ [[package]] name = "object" -version = "0.32.1" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "b8ec7ab813848ba4522158d5517a6093db1ded27575b070f4177b8d12b41db5e" dependencies = [ "memchr", ] @@ -7226,9 +7177,9 @@ checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" [[package]] name = "opaque-debug" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "openssl-probe" @@ -7266,7 +7217,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1344346d5af32c95bbddea91b18a88cc83eac394192d20ef2fc4c40a74332355" dependencies = [ "expander 2.0.0", - "indexmap 2.1.0", + "indexmap 2.2.6", "itertools 0.11.0", "petgraph", "proc-macro-crate 3.1.0", @@ -7675,7 +7626,7 @@ name = "pallet-beefy-mmr" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "binary-merkle-tree", "frame-support", "frame-system", @@ -7880,6 +7831,25 @@ dependencies = [ "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", ] +[[package]] +name = "pallet-conviction-voting" +version = "28.0.0" +dependencies = [ + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", + "pallet-balances", + "pallet-scheduler", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", +] + [[package]] name = "pallet-conviction-voting" version = "28.0.0" @@ -8145,7 +8115,7 @@ dependencies = [ [[package]] name = "pallet-ethereum" version = "4.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "environmental", "ethereum 0.15.0", @@ -8169,7 +8139,7 @@ dependencies = [ [[package]] name = "pallet-evm" version = "6.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "environmental", "evm 0.41.1", @@ -8222,7 +8192,7 @@ dependencies = [ [[package]] name = "pallet-evm-chain-id" version = "1.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "frame-support", "frame-system", @@ -8233,7 +8203,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-blake2" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", ] @@ -8241,7 +8211,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-bn128" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "sp-core", @@ -8280,7 +8250,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-dispatch" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "frame-support", @@ -8292,7 +8262,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-modexp" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "num", @@ -8301,7 +8271,7 @@ dependencies = [ [[package]] name = "pallet-evm-precompile-simple" version = "2.0.0-dev" -source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#91f1c7a447f987d732f87f86c3e02d506d426a99" +source = "git+https://github.com/moonbeam-foundation/frontier?branch=moonbeam-polkadot-v1.7.2#7f424fb9fc1ca9158a59be54cb183beaff9f799a" dependencies = [ "fp-evm", "ripemd", @@ -9062,7 +9032,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -9453,9 +9423,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.12" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" +checksum = "592a28a24b09c9dc20ac8afaa6839abc417c720afe42c12e1e4a9d6aa2508d2e" dependencies = [ "blake2 0.10.6", "crc32fast", @@ -9465,17 +9435,18 @@ dependencies = [ "log", "lz4", "memmap2 0.5.10", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "siphasher", "snap", + "winapi", ] [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -9488,11 +9459,11 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ - "proc-macro-crate 2.0.0", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -9529,12 +9500,12 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" dependencies = [ "lock_api", - "parking_lot_core 0.9.9", + "parking_lot_core 0.9.10", ] [[package]] @@ -9553,15 +9524,15 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.9.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall 0.5.1", "smallvec", - "windows-targets 0.48.5", + "windows-targets 0.52.5", ] [[package]] @@ -9572,9 +9543,9 @@ checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pbkdf2" @@ -9582,7 +9553,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", ] [[package]] @@ -9617,9 +9588,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.5" +version = "2.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" +checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" dependencies = [ "memchr", "thiserror", @@ -9628,9 +9599,9 @@ dependencies = [ [[package]] name = "pest_derive" -version = "2.7.5" +version = "2.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" +checksum = "26293c9193fbca7b1a3bf9b79dc1e388e927e6cacaa78b4a3ab705a1d3d41459" dependencies = [ "pest", "pest_generator", @@ -9638,22 +9609,22 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.5" +version = "2.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" +checksum = "3ec22af7d3fb470a85dd2ca96b7c577a1eb4ef6f1683a9fe9a8c16e136c04687" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "pest_meta" -version = "2.7.5" +version = "2.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" +checksum = "d7a240022f37c361ec1878d646fc5b7d7c4d28d5946e1a80ad5a7a4f4ca0bdcd" dependencies = [ "once_cell", "pest", @@ -9662,32 +9633,32 @@ dependencies = [ [[package]] name = "petgraph" -version = "0.6.4" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +checksum = "b4c5cc86750666a3ed20bdaf5ca2a0344f9c67674cae0515bec2da16fbaa47db" dependencies = [ "fixedbitset", - "indexmap 2.1.0", + "indexmap 2.2.6", ] [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -9698,9 +9669,9 @@ checksum = "257b64915a082f7811703966789728173279bdebb956b143dbcd23f6f970a777" [[package]] name = "pin-project-lite" -version = "0.2.13" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" [[package]] name = "pin-utils" @@ -9710,12 +9681,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +checksum = "ae1d5c74c9876f070d3e8fd503d748c7d974c3e48da8f41350fa5222ef9b4391" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand 2.1.0", "futures-io", ] @@ -9731,9 +9702,9 @@ dependencies = [ [[package]] name = "pkg-config" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" +checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" [[package]] name = "platforms" @@ -9743,15 +9714,15 @@ checksum = "989d43012e2ca1c4a02507c67282691a0a3207f9dc67cec596b43fe925b3d325" [[package]] name = "platforms" -version = "3.2.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" +checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" [[package]] name = "plotters" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45" +checksum = "a15b6eccb8484002195a3e44fe65a4ce8e93a625797a063735536fd59cb01cf3" dependencies = [ "num-traits", "plotters-backend", @@ -9762,15 +9733,15 @@ dependencies = [ [[package]] name = "plotters-backend" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609" +checksum = "414cec62c6634ae900ea1c56128dfe87cf63e7caece0852ec76aba307cebadb7" [[package]] name = "plotters-svg" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab" +checksum = "81b30686a7d9c3e010b84284bdd26a29f2138574f52f5eb6f794fc0ad924e705" dependencies = [ "plotters-backend", ] @@ -9928,7 +9899,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap 2.1.0", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -9991,7 +9962,7 @@ dependencies = [ "fatality", "futures", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-subsystem", @@ -10032,7 +10003,7 @@ dependencies = [ "futures-timer", "itertools 0.10.5", "kvdb", - "merlin 3.0.0", + "merlin", "parity-scale-codec", "polkadot-node-jaeger", "polkadot-node-primitives", @@ -10239,7 +10210,7 @@ version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "always-assert", - "array-bytes 6.2.2", + "array-bytes 6.2.3", "blake3", "cfg-if", "futures", @@ -10333,7 +10304,7 @@ dependencies = [ "log", "mick-jaeger", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-primitives", "polkadot-primitives", "sc-network", @@ -10347,7 +10318,7 @@ name = "polkadot-node-metrics" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "futures", "futures-timer", "log", @@ -10460,7 +10431,7 @@ dependencies = [ "kvdb", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "polkadot-node-jaeger", "polkadot-node-metrics", @@ -10490,7 +10461,7 @@ dependencies = [ "futures", "futures-timer", "orchestra", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-node-metrics", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -10637,7 +10608,7 @@ name = "polkadot-runtime-metrics" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "bs58 0.5.0", + "bs58 0.5.1", "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", @@ -10719,7 +10690,7 @@ dependencies = [ "pallet-transaction-payment-rpc-runtime-api", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -10821,7 +10792,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap 2.1.0", + "indexmap 2.2.6", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -10869,7 +10840,7 @@ dependencies = [ "polkavm-common", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -10879,7 +10850,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" dependencies = [ "polkavm-derive-impl", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -10894,20 +10865,21 @@ dependencies = [ "concurrent-queue", "libc", "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "windows-sys 0.48.0", ] [[package]] name = "polling" -version = "3.3.1" +version = "3.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf63fa624ab313c11656b4cda960bfc46c410187ad493c41f6ba2d8c1e991c9e" +checksum = "5e6a007746f34ed64099e88783b0ae369eaa3da6392868ba262e2af9b8fbaea1" dependencies = [ "cfg-if", "concurrent-queue", - "pin-project-lite 0.2.13", - "rustix 0.38.28", + "hermit-abi 0.3.9", + "pin-project-lite 0.2.14", + "rustix 0.38.34", "tracing", "windows-sys 0.52.0", ] @@ -10919,19 +10891,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] [[package]] name = "polyval" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d52cff9d1d4dee5fe6d03729099f4a310a41179e0a10dbf542039873f2e826fb" +checksum = "9d1fe60d06143b2430aa532c94cfe9e29783047f06c0d7fd359a9a51b729fa25" dependencies = [ "cfg-if", "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", "universal-hash", ] @@ -11057,12 +11029,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.15" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +checksum = "5f12335488a2f3b0a83b14edad48dca9879ce89b2edd10e80237e4e852dd645e" dependencies = [ "proc-macro2", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -11120,15 +11092,6 @@ dependencies = [ "toml_edit 0.19.15", ] -[[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.2", -] - [[package]] name = "proc-macro-crate" version = "3.1.0" @@ -11170,29 +11133,29 @@ checksum = "834da187cfe638ae8abb0203f0b33e5ccdb02a28e7199f2f47b3e2754f50edca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "proc-macro2" -version = "1.0.82" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131b" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] [[package]] name = "prometheus" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" +checksum = "3d33c28a30771f7f96db69893f78b857f7450d7e0237e9c8fc6427a81bae7ed1" dependencies = [ "cfg-if", "fnv", "lazy_static", "memchr", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "thiserror", ] @@ -11204,7 +11167,7 @@ checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" dependencies = [ "dtoa", "itoa", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus-client-derive-encode", ] @@ -11216,7 +11179,7 @@ checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -11227,13 +11190,13 @@ checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.4.1", + "bitflags 2.5.0", "lazy_static", "num-traits", "rand", "rand_chacha 0.3.1", "rand_xorshift", - "regex-syntax 0.8.2", + "regex-syntax 0.8.3", "rusty-fork", "tempfile", "unarray", @@ -11251,12 +11214,12 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0f5d036824e4761737860779c906171497f6d55681139d8312388f8fe398922" +checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" dependencies = [ "bytes", - "prost-derive 0.12.5", + "prost-derive 0.12.6", ] [[package]] @@ -11296,15 +11259,15 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.5" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9554e3ab233f0a932403704f1a1d08c30d5ccd931adfdfa1e8b5a19b52c1d55a" +checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools 0.12.1", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -11443,7 +11406,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", ] [[package]] @@ -11491,9 +11454,9 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.8.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" +checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" dependencies = [ "either", "rayon-core", @@ -11501,9 +11464,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -11539,13 +11502,22 @@ dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "redox_syscall" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" +dependencies = [ + "bitflags 2.5.0", +] + [[package]] name = "redox_users" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" +checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.15", "libredox", "thiserror", ] @@ -11564,22 +11536,22 @@ dependencies = [ [[package]] name = "ref-cast" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53313ec9f12686aeeffb43462c3ac77aa25f590a5f630eb2cde0de59417b29c7" +checksum = "ccf0a6f84d5f1d581da8b41b47ec8600871962f2a528115b542b362d4b744931" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2566c4bf6845f2c2e83b27043c3f5dfcd5ba8f2937d6c00dc009bfb51a079dc4" +checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -11596,14 +11568,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", - "regex-syntax 0.8.2", + "regex-automata 0.4.6", + "regex-syntax 0.8.3", ] [[package]] @@ -11617,13 +11589,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.2", + "regex-syntax 0.8.3", ] [[package]] @@ -11634,9 +11606,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "resolv-conf" @@ -11655,7 +11627,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" dependencies = [ "hmac 0.12.1", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -11671,7 +11643,7 @@ dependencies = [ "blake2 0.10.6", "common", "fflonk", - "merlin 3.0.0", + "merlin", ] [[package]] @@ -11691,16 +11663,17 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.7" +version = "0.17.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", - "getrandom 0.2.11", + "cfg-if", + "getrandom 0.2.15", "libc", "spin 0.9.8", "untrusted 0.9.0", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -11769,7 +11742,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", - "pallet-conviction-voting", + "pallet-conviction-voting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-democracy 28.0.0", "pallet-elections-phragmen", "pallet-grandpa", @@ -11900,13 +11873,14 @@ dependencies = [ [[package]] name = "rug" -version = "1.22.0" +version = "1.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a118f8296241f6952511e8f9ab5b8a759c0d9ed902159b0aeed82d902e84ca6" +checksum = "a8df4099c6fa90a1a7f5ddc0c7fba50991080fa2084d5a78808a5a3cab406bb9" dependencies = [ "az", "gmp-mpfr-sys", "libc", + "libm", "num-integer", "num-traits", ] @@ -12051,9 +12025,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -12073,7 +12047,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.20", + "semver 1.0.23", ] [[package]] @@ -12115,14 +12089,14 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.28" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "errno", "libc", - "linux-raw-sys 0.4.12", + "linux-raw-sys 0.4.14", "windows-sys 0.52.0", ] @@ -12140,12 +12114,12 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.10" +version = "0.21.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +checksum = "3f56a14d1f48b391359b22f731fd4bd7e43c97f3c50eee276f3aa09c94784d3e" dependencies = [ "log", - "ring 0.17.7", + "ring 0.17.8", "rustls-webpki", "sct", ] @@ -12168,7 +12142,7 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", ] [[package]] @@ -12177,15 +12151,15 @@ version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] [[package]] name = "rustversion" -version = "1.0.14" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" [[package]] name = "rusty-fork" @@ -12223,9 +12197,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.16" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "safe_arch" @@ -12270,7 +12244,7 @@ dependencies = [ "multihash 0.18.1", "multihash-codetable", "parity-scale-codec", - "prost 0.12.4", + "prost 0.12.6", "prost-build", "rand", "sc-client-api", @@ -12327,7 +12301,7 @@ name = "sc-chain-spec" version = "27.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "docify", "log", "memmap2 0.9.4", @@ -12356,7 +12330,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -12364,7 +12338,7 @@ name = "sc-cli" version = "0.36.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bip39", "chrono", "clap 4.5.4", @@ -12409,7 +12383,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor", "sc-transaction-pool-api", "sc-utils", @@ -12440,7 +12414,7 @@ dependencies = [ "log", "parity-db", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-state-db", "schnellru", @@ -12464,7 +12438,7 @@ dependencies = [ "libp2p-identity", "log", "mockall", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-utils", "serde", @@ -12520,7 +12494,7 @@ dependencies = [ "num-rational", "num-traits", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -12570,14 +12544,14 @@ name = "sc-consensus-beefy" version = "13.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "fnv", "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-consensus", "sc-network", @@ -12610,7 +12584,7 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-consensus-beefy", "sc-rpc", "serde", @@ -12638,8 +12612,8 @@ name = "sc-consensus-grandpa" version = "0.19.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ahash 0.8.6", - "array-bytes 6.2.2", + "ahash 0.8.11", + "array-bytes 6.2.3", "async-trait", "dyn-clone", "finality-grandpa", @@ -12648,7 +12622,7 @@ dependencies = [ "futures-timer", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "sc-block-builder", "sc-chain-spec", @@ -12725,7 +12699,7 @@ version = "0.32.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-executor-common", "sc-executor-wasmtime", "schnellru", @@ -12762,7 +12736,7 @@ dependencies = [ "cfg-if", "libc", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rustix 0.36.17", "sc-allocator", "sc-executor-common", @@ -12793,8 +12767,8 @@ name = "sc-keystore" version = "25.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", - "parking_lot 0.12.1", + "array-bytes 6.2.3", + "parking_lot 0.12.3", "serde_json", "sp-application-crypto", "sp-core", @@ -12818,7 +12792,7 @@ dependencies = [ "mixnet", "multiaddr", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-network", "sc-transaction-pool-api", @@ -12836,7 +12810,7 @@ name = "sc-network" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "asynchronous-codec", @@ -12851,7 +12825,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "partial_sort", "pin-project", "rand", @@ -12884,7 +12858,7 @@ dependencies = [ "futures", "libp2p-identity", "log", - "prost 0.12.4", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-network", @@ -12916,7 +12890,7 @@ name = "sc-network-gossip" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "futures", "futures-timer", "libp2p", @@ -12935,13 +12909,13 @@ name = "sc-network-light" version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel 1.9.0", "futures", "libp2p-identity", "log", "parity-scale-codec", - "prost 0.12.4", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-network", @@ -12956,7 +12930,7 @@ name = "sc-network-sync" version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "async-channel 1.9.0", "async-trait", "fork-tree", @@ -12966,7 +12940,7 @@ dependencies = [ "log", "mockall", "parity-scale-codec", - "prost 0.12.4", + "prost 0.12.6", "prost-build", "sc-client-api", "sc-consensus", @@ -12992,7 +12966,7 @@ name = "sc-network-transactions" version = "0.33.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "futures", "libp2p", "log", @@ -13011,7 +12985,7 @@ name = "sc-offchain" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bytes", "fnv", "futures", @@ -13023,7 +12997,7 @@ dependencies = [ "num_cpus", "once_cell", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "sc-client-api", "sc-network", @@ -13058,7 +13032,7 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -13121,14 +13095,14 @@ name = "sc-rpc-spec-v2" version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "futures", "futures-util", "hex", "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-chain-spec", "sc-client-api", "sc-rpc", @@ -13159,7 +13133,7 @@ dependencies = [ "jsonrpsee 0.20.3", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", "sc-chain-spec", @@ -13216,7 +13190,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sp-core", ] @@ -13282,7 +13256,7 @@ dependencies = [ "futures", "libp2p", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", "sc-utils", @@ -13304,7 +13278,7 @@ dependencies = [ "libc", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "regex", "rustc-hash", "sc-client-api", @@ -13330,7 +13304,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -13344,7 +13318,7 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sc-client-api", "sc-transaction-pool-api", "sc-utils", @@ -13386,16 +13360,16 @@ dependencies = [ "futures-timer", "lazy_static", "log", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "prometheus", "sp-arithmetic", ] [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", @@ -13407,11 +13381,11 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 1.0.109", @@ -13419,40 +13393,24 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "schnellru" -version = "0.2.1" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" +checksum = "c9a8ef13a93c54d20580de1e5c413e624e53121d42fc7e2c11d10ef7f8b02367" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "merlin 2.0.1", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle 2.4.1", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.10.2" @@ -13462,7 +13420,7 @@ dependencies = [ "arrayref", "arrayvec 0.7.4", "curve25519-dalek-ng", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "sha2 0.9.9", "subtle-ng", @@ -13478,13 +13436,13 @@ dependencies = [ "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -13526,7 +13484,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -13540,7 +13498,7 @@ dependencies = [ "der", "generic-array 0.14.7", "pkcs8", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -13582,11 +13540,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.9.2" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.5.0", "core-foundation", "core-foundation-sys", "libc", @@ -13595,9 +13553,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.9.1" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" dependencies = [ "core-foundation-sys", "libc", @@ -13614,9 +13572,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" dependencies = [ "serde", ] @@ -13629,9 +13587,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.201" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363c" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] @@ -13647,13 +13605,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.201" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -13669,9 +13627,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -13686,7 +13644,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -13700,18 +13658,6 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", -] - [[package]] name = "sha2" version = "0.9.9" @@ -13722,7 +13668,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug 0.3.1", ] [[package]] @@ -13757,15 +13703,15 @@ dependencies = [ [[package]] name = "shlex" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.1" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" dependencies = [ "libc", ] @@ -13904,10 +13850,10 @@ dependencies = [ "arrayvec 0.7.4", "async-lock 2.8.0", "atomic-take", - "base64 0.21.5", + "base64 0.21.7", "bip39", "blake2-rfc", - "bs58 0.5.0", + "bs58 0.5.1", "chacha20", "crossbeam-queue", "derive_more", @@ -13917,12 +13863,12 @@ dependencies = [ "fnv", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", "hmac 0.12.1", "itertools 0.11.0", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", @@ -13945,7 +13891,7 @@ dependencies = [ "soketto", "twox-hash", "wasmi", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", "zeroize", ] @@ -13957,7 +13903,7 @@ checksum = "256b5bad1d6b49045e95fe87492ce73d5af81545d8b4d8318a872d2007024c33" dependencies = [ "async-channel 1.9.0", "async-lock 2.8.0", - "base64 0.21.5", + "base64 0.21.7", "blake2-rfc", "derive_more", "either", @@ -13966,13 +13912,13 @@ dependencies = [ "futures-channel", "futures-lite 1.13.0", "futures-util", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "hex", "itertools 0.11.0", "log", "lru 0.11.1", "no-std-net", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "pin-project", "rand", "rand_chacha 0.3.1", @@ -13993,19 +13939,19 @@ checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" [[package]] name = "snow" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58021967fd0a5eeeb23b08df6cc244a4d4a5b4aec1d27c9e02fad1a58b4cd74e" +checksum = "850948bee068e713b8ab860fe1adc4d109676ab4c3b621fd8147f06b261f2f85" dependencies = [ "aes-gcm", "blake2 0.10.6", "chacha20poly1305", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", - "ring 0.17.7", + "ring 0.17.8", "rustc_version", "sha2 0.10.8", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -14020,12 +13966,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.5" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -14077,7 +14023,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -14157,7 +14103,7 @@ dependencies = [ "futures", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "schnellru", "sp-api", "sp-consensus", @@ -14273,13 +14219,13 @@ name = "sp-core" version = "28.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bandersnatch_vrfs", "bip39", "bitflags 1.3.2", "blake2 0.10.6", "bounded-collections", - "bs58 0.5.0", + "bs58 0.5.1", "dyn-clonable", "ed25519-zebra 3.1.0", "futures", @@ -14289,9 +14235,9 @@ dependencies = [ "itertools 0.10.5", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "paste", "primitive-types", "rand", @@ -14325,7 +14271,7 @@ dependencies = [ [[package]] name = "sp-crypto-ec-utils" version = "0.10.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "ark-bls12-377", "ark-bls12-377-ext", @@ -14362,7 +14308,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "quote", "sp-crypto-hashing", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -14371,7 +14317,7 @@ version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "kvdb", - "parking_lot 0.12.1", + "parking_lot 0.12.3", ] [[package]] @@ -14381,17 +14327,17 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -14408,7 +14354,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "environmental", "parity-scale-codec", @@ -14481,7 +14427,7 @@ version = "0.34.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "sp-core", "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", @@ -14626,7 +14572,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -14652,20 +14598,20 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "Inflector", "expander 2.0.0", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -14705,7 +14651,7 @@ dependencies = [ "hash-db 0.16.0", "log", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "smallvec", "sp-core", @@ -14724,7 +14670,7 @@ version = "10.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ "aes-gcm", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519-dalek", "hkdf", "parity-scale-codec", @@ -14740,7 +14686,7 @@ dependencies = [ "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "thiserror", - "x25519-dalek 2.0.0", + "x25519-dalek 2.0.1", ] [[package]] @@ -14751,7 +14697,7 @@ source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" [[package]] name = "sp-storage" @@ -14769,7 +14715,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14806,7 +14752,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "parity-scale-codec", "tracing", @@ -14843,13 +14789,13 @@ name = "sp-trie" version = "29.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.11", "hash-db 0.16.0", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "scale-info", "schnellru", @@ -14887,7 +14833,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -14906,7 +14852,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk#d37719da022879b4e2ef7947f5c9d2187f666ae7" +source = "git+https://github.com/paritytech/polkadot-sdk#f65beb7f7a66a79f4afd0a308bece2bd5c8ba780" dependencies = [ "impl-trait-for-tuples", "log", @@ -14963,9 +14909,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.44.0" +version = "1.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35935738370302d5e33963665b77541e4b990a3e919ec904c837a56cfc891de1" +checksum = "4743ce898933fbff7bbf414f497c459a782d496269644b3d650a398ae6a487ba" dependencies = [ "Inflector", "num-format", @@ -15001,7 +14947,7 @@ name = "staging-xcm" version = "7.0.0" source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#0d7ca59fd4b4d15f9400971f32bc6a51b2fe837f" dependencies = [ - "array-bytes 6.2.2", + "array-bytes 6.2.3", "bounded-collections", "derivative", "environmental", @@ -15100,7 +15046,7 @@ dependencies = [ "bitflags 1.3.2", "byteorder", "keccak", - "subtle 2.4.1", + "subtle 2.5.0", "zeroize", ] @@ -15127,9 +15073,9 @@ dependencies = [ [[package]] name = "strum" -version = "0.25.0" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" [[package]] name = "strum_macros" @@ -15146,26 +15092,26 @@ dependencies = [ [[package]] name = "strum_macros" -version = "0.25.3" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "rustversion", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "6a7590dc041b9bc2825e52ce5af8416c73dbe9d0654402bfd4b4941938b94d8f" dependencies = [ "hmac 0.11.0", "pbkdf2 0.8.0", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "sha2 0.9.9", "zeroize", ] @@ -15262,7 +15208,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum 0.24.1", "tempfile", - "toml 0.8.12", + "toml 0.8.14", "walkdir", "wasm-opt", ] @@ -15275,9 +15221,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subtle-ng" @@ -15298,9 +15244,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.61" +version = "2.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9" +checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5" dependencies = [ "proc-macro2", "quote", @@ -15348,28 +15294,27 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f" [[package]] name = "tempfile" -version = "3.8.1" +version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ "cfg-if", - "fastrand 2.0.1", - "redox_syscall 0.4.1", - "rustix 0.38.28", - "windows-sys 0.48.0", + "fastrand 2.1.0", + "rustix 0.38.34", + "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] @@ -15380,7 +15325,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" dependencies = [ - "rustix 0.38.28", + "rustix 0.38.34", "windows-sys 0.48.0", ] @@ -15417,7 +15362,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -15441,7 +15386,7 @@ checksum = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", "test-case-core", ] @@ -15455,15 +15400,15 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.16.0" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" +checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.51" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] @@ -15485,18 +15430,18 @@ checksum = "e4c60d69f36615a077cc7663b9cb8e42275722d23e58a7fa3d2c7f2915d09d04" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "thiserror-impl" -version = "1.0.51" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -15507,9 +15452,9 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "thread_local" -version = "1.1.7" +version = "1.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152" +checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" dependencies = [ "cfg-if", "once_cell", @@ -15560,12 +15505,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.31" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", + "num-conv", "powerfmt", "serde", "time-core", @@ -15580,10 +15526,11 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.16" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ + "num-conv", "time-core", ] @@ -15623,32 +15570,32 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", "libc", "mio", "num_cpus", - "parking_lot 0.12.1", - "pin-project-lite 0.2.13", + "parking_lot 0.12.3", + "pin-project-lite 0.2.14", "signal-hook-registry", - "socket2 0.5.5", + "socket2 0.5.7", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -15668,35 +15615,34 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.10", + "rustls 0.21.12", "tokio", ] [[package]] name = "tokio-stream" -version = "0.1.14" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" dependencies = [ "futures-core", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", "tokio-util", ] [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-io", "futures-sink", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tokio", - "tracing", ] [[package]] @@ -15722,21 +15668,21 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.12" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.12", + "toml_edit 0.22.14", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] @@ -15747,22 +15693,11 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.5.30", -] - -[[package]] -name = "toml_edit" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" -dependencies = [ - "indexmap 2.1.0", - "toml_datetime", - "winnow 0.5.30", + "winnow 0.5.40", ] [[package]] @@ -15771,22 +15706,22 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.6", "toml_datetime", - "winnow 0.5.30", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.6", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.8", + "winnow 0.6.11", ] [[package]] @@ -15798,7 +15733,7 @@ dependencies = [ "futures-core", "futures-util", "pin-project", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", "tracing", @@ -15810,14 +15745,14 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.5.0", "bytes", "futures-core", "futures-util", "http", "http-body", "http-range-header", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tower-layer", "tower-service", ] @@ -15841,7 +15776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ "log", - "pin-project-lite 0.2.13", + "pin-project-lite 0.2.14", "tracing-attributes", "tracing-core", ] @@ -15854,7 +15789,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -15897,7 +15832,7 @@ dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -16042,7 +15977,7 @@ dependencies = [ "ipconfig", "lazy_static", "lru-cache", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "resolv-conf", "smallvec", "thiserror", @@ -16094,17 +16029,16 @@ dependencies = [ [[package]] name = "trybuild" -version = "1.0.86" +version = "1.0.96" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419ecd263363827c5730386f418715766f584e2f874d32c23c5b00bd9727e7e" +checksum = "33a5f13f11071020bb12de7a16b925d2d58636175c20c11dc5f96cb64bb6c9b3" dependencies = [ - "basic-toml", "glob", - "once_cell", "serde", "serde_derive", "serde_json", "termcolor", + "toml 0.8.14", ] [[package]] @@ -16166,9 +16100,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -16193,9 +16127,9 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" @@ -16210,7 +16144,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ "crypto-common", - "subtle 2.4.1", + "subtle 2.5.0", ] [[package]] @@ -16280,9 +16214,9 @@ checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] name = "w3f-bls" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +checksum = "9c5da5fa2c6afa2c9158eaa7cd9aee249765eb32b5fb0c63ad8b9e79336a47ec" dependencies = [ "ark-bls12-377", "ark-bls12-381", @@ -16313,15 +16247,15 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.1.1" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" +checksum = "317211a0dc0ceedd78fb2ca9a44aed3d7b9b26f81870d485c07122b4350673b7" [[package]] name = "walkdir" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" dependencies = [ "same-file", "winapi-util", @@ -16348,11 +16282,20 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasix" +version = "0.12.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1fbb4ef9bbca0c1170e0b00dd28abc9e3b68669821600cad1caaed606583c6d" +dependencies = [ + "wasi 0.11.0+wasi-snapshot-preview1", +] + [[package]] name = "wasm-bindgen" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -16360,24 +16303,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac36a15a220124ac510204aec1c3e5db8a22ab06fd6706d881dc6149f8ed9a12" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", @@ -16387,9 +16330,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -16397,22 +16340,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.89" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-instrument" @@ -16480,9 +16423,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.31.1" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acfc1e384a36ca532d070a315925887247f3c7e23567e23e0ac9b1c5d6b8bf76" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ "smallvec", "spin 0.9.8", @@ -16493,9 +16436,9 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" @@ -16521,9 +16464,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.1" +version = "0.100.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" dependencies = [ "indexmap-nostd", ] @@ -16572,7 +16515,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.21.5", + "base64 0.21.7", "bincode", "directories-next", "file-per-thread-logger", @@ -16701,7 +16644,7 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.8.0", + "memoffset", "paste", "rand", "rustix 0.36.17", @@ -16725,9 +16668,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.66" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -16739,7 +16682,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring 0.17.7", + "ring 0.17.8", "untrusted 0.9.0", ] @@ -16778,7 +16721,7 @@ dependencies = [ "pallet-beefy", "pallet-beefy-mmr", "pallet-collective", - "pallet-conviction-voting", + "pallet-conviction-voting 28.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "pallet-democracy 28.0.0", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -16883,14 +16826,14 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.28", + "rustix 0.38.34", ] [[package]] name = "wide" -version = "0.7.13" +version = "0.7.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" +checksum = "1134eff459f1063780b94cc78b704e2212cac12abd554e4268f5b8f9dfcc1883" dependencies = [ "bytemuck", "safe_arch", @@ -16898,9 +16841,9 @@ dependencies = [ [[package]] name = "widestring" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "653f141f39ec16bba3c5abe400a0c60da7468261cc2cbf36805022876bc721a8" +checksum = "7219d36b6eac893fa81e84ebe06485e7dcbb616177469b142df14f1f4deb1311" [[package]] name = "winapi" @@ -16920,11 +16863,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -16939,7 +16882,7 @@ version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows-core", + "windows-core 0.51.1", "windows-targets 0.48.5", ] @@ -16953,18 +16896,12 @@ dependencies = [ ] [[package]] -name = "windows-sys" -version = "0.42.0" +name = "windows-core" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-targets 0.52.5", ] [[package]] @@ -16991,7 +16928,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.0", + "windows-targets 0.52.5", ] [[package]] @@ -17026,17 +16963,18 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb" dependencies = [ - "windows_aarch64_gnullvm 0.52.0", - "windows_aarch64_msvc 0.52.0", - "windows_i686_gnu 0.52.0", - "windows_i686_msvc 0.52.0", - "windows_x86_64_gnu 0.52.0", - "windows_x86_64_gnullvm 0.52.0", - "windows_x86_64_msvc 0.52.0", + "windows_aarch64_gnullvm 0.52.5", + "windows_aarch64_msvc 0.52.5", + "windows_i686_gnu 0.52.5", + "windows_i686_gnullvm", + "windows_i686_msvc 0.52.5", + "windows_x86_64_gnu 0.52.5", + "windows_x86_64_gnullvm 0.52.5", + "windows_x86_64_msvc 0.52.5", ] [[package]] @@ -17053,9 +16991,9 @@ checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263" [[package]] name = "windows_aarch64_msvc" @@ -17071,9 +17009,9 @@ checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_aarch64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6" [[package]] name = "windows_i686_gnu" @@ -17089,9 +17027,15 @@ checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_gnu" -version = "0.52.0" +version = "0.52.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670" + +[[package]] +name = "windows_i686_gnullvm" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9" [[package]] name = "windows_i686_msvc" @@ -17107,9 +17051,9 @@ checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_i686_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf" [[package]] name = "windows_x86_64_gnu" @@ -17125,9 +17069,9 @@ checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnu" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9" [[package]] name = "windows_x86_64_gnullvm" @@ -17143,9 +17087,9 @@ checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_gnullvm" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596" [[package]] name = "windows_x86_64_msvc" @@ -17161,24 +17105,24 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "windows_x86_64_msvc" -version = "0.52.0" +version = "0.52.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0" [[package]] name = "winnow" -version = "0.5.30" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" dependencies = [ "memchr", ] [[package]] name = "winnow" -version = "0.6.8" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3c52e9c97a68071b23e836c9380edae937f17b9c4667bd021973efc689f618d" +checksum = "56c52728401e1dc672a56e81e593e912aa54c78f40246869f78359a2bf24d29d" dependencies = [ "memchr", ] @@ -17215,11 +17159,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", @@ -17285,7 +17229,7 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -17297,7 +17241,7 @@ dependencies = [ "futures", "log", "nohash-hasher", - "parking_lot 0.12.1", + "parking_lot 0.12.3", "rand", "static_assertions", ] @@ -17319,29 +17263,29 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -17354,7 +17298,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.61", + "syn 2.0.66", ] [[package]] @@ -17397,9 +17341,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.9+zstd.1.5.5" +version = "2.0.10+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" +checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 58ce70731..942c3fb3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ members = [ 'pallets/evm-accounts', 'pallets/dynamic-evm-fee', 'pallets/xyk-liquidity-mining', + 'pallets/conviction-voting', 'precompiles/call-permit', 'runtime-mock' ] @@ -98,6 +99,7 @@ warehouse-liquidity-mining = { package = "pallet-liquidity-mining", path = "pall pallet-bonds = { path = "pallets/bonds", default-features = false} pallet-lbp = { path = "pallets/lbp", default-features = false} pallet-xyk = { path = "pallets/xyk", default-features = false} +pallet-conviction-voting = { path = "pallets/conviction-voting", default-features = false} pallet-xyk-liquidity-mining = { path = "pallets/xyk-liquidity-mining", default-features = false} pallet-referrals = { path = "pallets/referrals", default-features = false} pallet-evm-accounts = { path = "pallets/evm-accounts", default-features = false} diff --git a/pallets/conviction-voting/Cargo.toml b/pallets/conviction-voting/Cargo.toml new file mode 100644 index 000000000..05529eb4b --- /dev/null +++ b/pallets/conviction-voting/Cargo.toml @@ -0,0 +1,62 @@ +[package] +name = "pallet-conviction-voting" +version = "28.0.0" +license = "Apache-2.0" +homepage = "https://substrate.io" +description = "FRAME pallet for conviction voting in referenda" +readme = "README.md" + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] + +[dependencies] +assert_matches = "1.3.0" +codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [ + "derive", + "max-encoded-len", +] } +scale-info = { version = "2.10.0", default-features = false, features = ["derive"] } +serde = { version = "1.0.195", features = ["derive"], optional = true } +frame-system = {workspace = true } +frame-support = { workspace = true } +sp-io = { workspace = true} +sp-runtime = { workspace = true} +sp-std = { workspace = true } +frame-benchmarking = { workspace = true, optional = true } + +[dev-dependencies] +pallet-balances = { workspace = true } +pallet-scheduler = { workspace = true } +sp-core = { workspace = true } + +[features] +default = ["std"] +std = [ + "codec/std", + "frame-benchmarking?/std", + "frame-support/std", + "frame-system/std", + "pallet-balances/std", + "pallet-scheduler/std", + "scale-info/std", + "serde", + "sp-core/std", + "sp-io/std", + "sp-runtime/std", + "sp-std/std", +] +runtime-benchmarks = [ + "frame-benchmarking/runtime-benchmarks", + "frame-support/runtime-benchmarks", + "frame-system/runtime-benchmarks", + "pallet-balances/runtime-benchmarks", + "pallet-scheduler/runtime-benchmarks", + "sp-runtime/runtime-benchmarks", +] +try-runtime = [ + "frame-support/try-runtime", + "frame-system/try-runtime", + "pallet-balances/try-runtime", + "pallet-scheduler/try-runtime", + "sp-runtime/try-runtime", +] diff --git a/pallets/conviction-voting/README.md b/pallets/conviction-voting/README.md new file mode 100644 index 000000000..5dc5d526d --- /dev/null +++ b/pallets/conviction-voting/README.md @@ -0,0 +1,8 @@ +# Voting Pallet + +- [`assembly::Config`](https://docs.rs/pallet-assembly/latest/pallet_assembly/trait.Config.html) +- [`Call`](https://docs.rs/pallet-assembly/latest/pallet_assembly/enum.Call.html) + +## Overview + +Pallet for voting in referenda. diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs new file mode 100644 index 000000000..8701ed7eb --- /dev/null +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -0,0 +1,287 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! ConvictionVoting pallet benchmarking. + +use super::*; + +use assert_matches::assert_matches; +use frame_benchmarking::v1::{account, benchmarks_instance_pallet, whitelist_account}; +use frame_support::{ + dispatch::RawOrigin, + traits::{ + fungible, + tokens::{Fortitude::Polite, Preservation::Expendable}, + Currency, Get, + }, +}; +use sp_runtime::traits::Bounded; +use sp_std::collections::btree_map::BTreeMap; + +use crate::Pallet as ConvictionVoting; + +const SEED: u32 = 0; + +/// Fill all classes as much as possible up to `MaxVotes` and return the Class with the most votes +/// ongoing. +fn fill_voting, I: 'static>( +) -> (ClassOf, BTreeMap, Vec>>) { + let mut r = BTreeMap::, Vec>>::new(); + for class in T::Polls::classes().into_iter() { + for _ in 0..T::MaxVotes::get() { + match T::Polls::create_ongoing(class.clone()) { + Ok(i) => r.entry(class.clone()).or_default().push(i), + Err(()) => break, + } + } + } + let c = r.iter().max_by_key(|(_, v)| v.len()).unwrap().0.clone(); + (c, r) +} + +fn funded_account, I: 'static>(name: &'static str, index: u32) -> T::AccountId { + let caller: T::AccountId = account(name, index, SEED); + T::Currency::make_free_balance_be(&caller, BalanceOf::::max_value()); + caller +} + +fn account_vote, I: 'static>(b: BalanceOf) -> AccountVote> { + let v = Vote { aye: true, conviction: Conviction::Locked1x }; + + AccountVote::Standard { vote: v, balance: b } +} + +benchmarks_instance_pallet! { + where_clause { where T::MaxVotes: core::fmt::Debug } + + vote_new { + let caller = funded_account::("caller", 0); + whitelist_account!(caller); + let account_vote = account_vote::(100u32.into()); + + let (class, all_polls) = fill_voting::(); + let polls = &all_polls[&class]; + let r = polls.len() - 1; + // We need to create existing votes + for i in polls.iter().skip(1) { + ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), *i, account_vote)?; + } + let votes = match VotingFor::::get(&caller, &class) { + Voting::Casting(Casting { votes, .. }) => votes, + _ => return Err("Votes are not direct".into()), + }; + assert_eq!(votes.len(), r as usize, "Votes were not recorded."); + + let index = polls[0]; + }: vote(RawOrigin::Signed(caller.clone()), index, account_vote) + verify { + assert_matches!( + VotingFor::::get(&caller, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == (r + 1) as usize + ); + } + + vote_existing { + let caller = funded_account::("caller", 0); + whitelist_account!(caller); + let old_account_vote = account_vote::(100u32.into()); + + let (class, all_polls) = fill_voting::(); + let polls = &all_polls[&class]; + let r = polls.len(); + // We need to create existing votes + for i in polls.iter() { + ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), *i, old_account_vote)?; + } + let votes = match VotingFor::::get(&caller, &class) { + Voting::Casting(Casting { votes, .. }) => votes, + _ => return Err("Votes are not direct".into()), + }; + assert_eq!(votes.len(), r, "Votes were not recorded."); + + let new_account_vote = account_vote::(200u32.into()); + let index = polls[0]; + }: vote(RawOrigin::Signed(caller.clone()), index, new_account_vote) + verify { + assert_matches!( + VotingFor::::get(&caller, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == r as usize + ); + } + + remove_vote { + let caller = funded_account::("caller", 0); + whitelist_account!(caller); + let old_account_vote = account_vote::(100u32.into()); + + let (class, all_polls) = fill_voting::(); + let polls = &all_polls[&class]; + let r = polls.len(); + // We need to create existing votes + for i in polls.iter() { + ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), *i, old_account_vote)?; + } + let votes = match VotingFor::::get(&caller, &class) { + Voting::Casting(Casting { votes, .. }) => votes, + _ => return Err("Votes are not direct".into()), + }; + assert_eq!(votes.len(), r, "Votes were not recorded."); + + let index = polls[0]; + }: _(RawOrigin::Signed(caller.clone()), Some(class.clone()), index) + verify { + assert_matches!( + VotingFor::::get(&caller, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) as usize + ); + } + + remove_other_vote { + let caller = funded_account::("caller", 0); + let voter = funded_account::("caller", 0); + let voter_lookup = T::Lookup::unlookup(voter.clone()); + whitelist_account!(caller); + let old_account_vote = account_vote::(100u32.into()); + + let (class, all_polls) = fill_voting::(); + let polls = &all_polls[&class]; + let r = polls.len(); + // We need to create existing votes + for i in polls.iter() { + ConvictionVoting::::vote(RawOrigin::Signed(voter.clone()).into(), *i, old_account_vote)?; + } + let votes = match VotingFor::::get(&caller, &class) { + Voting::Casting(Casting { votes, .. }) => votes, + _ => return Err("Votes are not direct".into()), + }; + assert_eq!(votes.len(), r, "Votes were not recorded."); + + let index = polls[0]; + assert!(T::Polls::end_ongoing(index, false).is_ok()); + }: _(RawOrigin::Signed(caller.clone()), voter_lookup, class.clone(), index) + verify { + assert_matches!( + VotingFor::::get(&voter, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) as usize + ); + } + + delegate { + let r in 0 .. T::MaxVotes::get().min(T::Polls::max_ongoing().1); + + let all_polls = fill_voting::().1; + let class = T::Polls::max_ongoing().0; + let polls = &all_polls[&class]; + let voter = funded_account::("voter", 0); + let voter_lookup = T::Lookup::unlookup(voter.clone()); + let caller = funded_account::("caller", 0); + whitelist_account!(caller); + + let delegated_balance: BalanceOf = 1000u32.into(); + let delegate_vote = account_vote::(delegated_balance); + + // We need to create existing delegations + for i in polls.iter().take(r as usize) { + ConvictionVoting::::vote(RawOrigin::Signed(voter.clone()).into(), *i, delegate_vote)?; + } + assert_matches!( + VotingFor::::get(&voter, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == r as usize + ); + + }: _(RawOrigin::Signed(caller.clone()), class.clone(), voter_lookup, Conviction::Locked1x, delegated_balance) + verify { + assert_matches!(VotingFor::::get(&caller, &class), Voting::Delegating(_)); + } + + undelegate { + let r in 0 .. T::MaxVotes::get().min(T::Polls::max_ongoing().1); + + let all_polls = fill_voting::().1; + let class = T::Polls::max_ongoing().0; + let polls = &all_polls[&class]; + let voter = funded_account::("voter", 0); + let voter_lookup = T::Lookup::unlookup(voter.clone()); + let caller = funded_account::("caller", 0); + whitelist_account!(caller); + + let delegated_balance: BalanceOf = 1000u32.into(); + let delegate_vote = account_vote::(delegated_balance); + + ConvictionVoting::::delegate( + RawOrigin::Signed(caller.clone()).into(), + class.clone(), + voter_lookup, + Conviction::Locked1x, + delegated_balance, + )?; + + // We need to create delegations + for i in polls.iter().take(r as usize) { + ConvictionVoting::::vote(RawOrigin::Signed(voter.clone()).into(), *i, delegate_vote)?; + } + assert_matches!( + VotingFor::::get(&voter, &class), + Voting::Casting(Casting { votes, .. }) if votes.len() == r as usize + ); + assert_matches!(VotingFor::::get(&caller, &class), Voting::Delegating(_)); + }: _(RawOrigin::Signed(caller.clone()), class.clone()) + verify { + assert_matches!(VotingFor::::get(&caller, &class), Voting::Casting(_)); + } + + unlock { + let caller = funded_account::("caller", 0); + let caller_lookup = T::Lookup::unlookup(caller.clone()); + whitelist_account!(caller); + let normal_account_vote = account_vote::(T::Currency::free_balance(&caller) - 100u32.into()); + let big_account_vote = account_vote::(T::Currency::free_balance(&caller)); + + // Fill everything up to the max by filling all classes with votes and voting on them all. + let (class, all_polls) = fill_voting::(); + assert!(all_polls.len() > 0); + for (class, polls) in all_polls.iter() { + assert!(polls.len() > 0); + for i in polls.iter() { + ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), *i, normal_account_vote)?; + } + } + + let orig_usable = >::reducible_balance(&caller, Expendable, Polite); + let polls = &all_polls[&class]; + + // Vote big on the class with the most ongoing votes of them to bump the lock and make it + // hard to recompute when removed. + ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), polls[0], big_account_vote)?; + let now_usable = >::reducible_balance(&caller, Expendable, Polite); + assert_eq!(orig_usable - now_usable, 100u32.into()); + + // Remove the vote + ConvictionVoting::::remove_vote(RawOrigin::Signed(caller.clone()).into(), Some(class.clone()), polls[0])?; + + // We can now unlock on `class` from 200 to 100... + }: _(RawOrigin::Signed(caller.clone()), class, caller_lookup) + verify { + assert_eq!(orig_usable, >::reducible_balance(&caller, Expendable, Polite)); + } + + impl_benchmark_test_suite!( + ConvictionVoting, + crate::tests::new_test_ext(), + crate::tests::Test + ); +} diff --git a/pallets/conviction-voting/src/conviction.rs b/pallets/conviction-voting/src/conviction.rs new file mode 100644 index 000000000..b5c9a3a70 --- /dev/null +++ b/pallets/conviction-voting/src/conviction.rs @@ -0,0 +1,131 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! The conviction datatype. + +use codec::{Decode, Encode, MaxEncodedLen}; +use scale_info::TypeInfo; +use sp_runtime::{ + traits::{Bounded, CheckedDiv, CheckedMul, Zero}, + RuntimeDebug, +}; + +use crate::types::Delegations; + +/// A value denoting the strength of conviction of a vote. +#[derive( + Encode, + Decode, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + RuntimeDebug, + TypeInfo, + MaxEncodedLen, +)] +pub enum Conviction { + /// 0.1x votes, unlocked. + None, + /// 1x votes, locked for an enactment period following a successful vote. + Locked1x, + /// 2x votes, locked for 2x enactment periods following a successful vote. + Locked2x, + /// 3x votes, locked for 4x... + Locked3x, + /// 4x votes, locked for 8x... + Locked4x, + /// 5x votes, locked for 16x... + Locked5x, + /// 6x votes, locked for 32x... + Locked6x, +} + +impl Default for Conviction { + fn default() -> Self { + Conviction::None + } +} + +impl From for u8 { + fn from(c: Conviction) -> u8 { + match c { + Conviction::None => 0, + Conviction::Locked1x => 1, + Conviction::Locked2x => 2, + Conviction::Locked3x => 3, + Conviction::Locked4x => 4, + Conviction::Locked5x => 5, + Conviction::Locked6x => 6, + } + } +} + +impl TryFrom for Conviction { + type Error = (); + fn try_from(i: u8) -> Result { + Ok(match i { + 0 => Conviction::None, + 1 => Conviction::Locked1x, + 2 => Conviction::Locked2x, + 3 => Conviction::Locked3x, + 4 => Conviction::Locked4x, + 5 => Conviction::Locked5x, + 6 => Conviction::Locked6x, + _ => return Err(()), + }) + } +} + +impl Conviction { + /// The amount of time (in number of periods) that our conviction implies a successful voter's + /// balance should be locked for. + pub fn lock_periods(self) -> u32 { + match self { + Conviction::None => 0, + Conviction::Locked1x => 1, + Conviction::Locked2x => 2, + Conviction::Locked3x => 4, + Conviction::Locked4x => 8, + Conviction::Locked5x => 16, + Conviction::Locked6x => 32, + } + } + + /// The votes of a voter of the given `balance` with our conviction. + pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>( + self, + capital: B, + ) -> Delegations { + let votes = match self { + Conviction::None => capital.checked_div(&10u8.into()).unwrap_or_else(Zero::zero), + x => capital.checked_mul(&u8::from(x).into()).unwrap_or_else(B::max_value), + }; + Delegations { votes, capital } + } +} + +impl Bounded for Conviction { + fn min_value() -> Self { + Conviction::None + } + fn max_value() -> Self { + Conviction::Locked6x + } +} diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs new file mode 100644 index 000000000..4826bafa8 --- /dev/null +++ b/pallets/conviction-voting/src/lib.rs @@ -0,0 +1,692 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! # Voting Pallet +//! +//! - [`Config`] +//! - [`Call`] +//! +//! ## Overview +//! +//! Pallet for managing actual voting in polls. + +#![recursion_limit = "256"] +#![cfg_attr(not(feature = "std"), no_std)] + +extern crate frame_support; +extern crate sp_std; +extern crate frame_system; +extern crate sp_runtime; + +use frame_support::{ + dispatch::DispatchResult, + ensure, + traits::{ + fungible, Currency, Get, LockIdentifier, LockableCurrency, PollStatus, Polling, + ReservableCurrency, WithdrawReasons, + }, +}; +use frame_system::pallet_prelude::BlockNumberFor; +use sp_runtime::{ + traits::{AtLeast32BitUnsigned, Saturating, StaticLookup, Zero}, + ArithmeticError, DispatchError, Perbill, +}; +use sp_std::prelude::*; + +mod conviction; +mod types; +mod vote; +pub mod weights; +//pub mod traits; + +pub use self::{ + conviction::Conviction, + pallet::*, + types::{Delegations, Tally, UnvoteScope}, + vote::{AccountVote, Casting, Delegating, Vote, Voting}, + weights::WeightInfo, +}; + +#[cfg(test)] +mod tests; + +#[cfg(feature = "runtime-benchmarks")] +pub mod benchmarking; + +const CONVICTION_VOTING_ID: LockIdentifier = *b"pyconvot"; + +type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; +type BalanceOf = + <>::Currency as Currency<::AccountId>>::Balance; +type VotingOf = Voting< + BalanceOf, + ::AccountId, + BlockNumberFor, + PollIndexOf, + >::MaxVotes, +>; +#[allow(dead_code)] +type DelegatingOf = + Delegating, ::AccountId, BlockNumberFor>; +pub type TallyOf = Tally, >::MaxTurnout>; +pub type VotesOf = BalanceOf; +type PollIndexOf = <>::Polls as Polling>>::Index; +#[cfg(feature = "runtime-benchmarks")] +type IndexOf = <>::Polls as Polling>>::Index; +type ClassOf = <>::Polls as Polling>>::Class; + +#[frame_support::pallet] +pub mod pallet { + use super::*; + use frame_support::{ + pallet_prelude::{ + DispatchResultWithPostInfo, IsType, StorageDoubleMap, StorageMap, ValueQuery, + }, + traits::ClassCountOf, + Twox64Concat, + }; + use frame_system::pallet_prelude::*; + use sp_runtime::BoundedVec; + + #[pallet::pallet] + pub struct Pallet(_); + + #[pallet::config] + pub trait Config: frame_system::Config + Sized { + // System level stuff. + type RuntimeEvent: From> + + IsType<::RuntimeEvent>; + /// Weight information for extrinsics in this pallet. + type WeightInfo: WeightInfo; + /// Currency type with which voting happens. + type Currency: ReservableCurrency + + LockableCurrency> + + fungible::Inspect; + + /// The implementation of the logic which conducts polls. + type Polls: Polling< + TallyOf, + Votes = BalanceOf, + Moment = BlockNumberFor, + >; + + /// The maximum amount of tokens which may be used for voting. May just be + /// `Currency::total_issuance`, but you might want to reduce this in order to account for + /// funds in the system which are unable to vote (e.g. parachain auction deposits). + type MaxTurnout: Get>; + + /// The maximum number of concurrent votes an account may have. + /// + /// Also used to compute weight, an overly large value can lead to extrinsics with large + /// weight estimation: see `delegate` for instance. + #[pallet::constant] + type MaxVotes: Get; + + /// The minimum period of vote locking. + /// + /// It should be no shorter than enactment period to ensure that in the case of an approval, + /// those successful voters are locked into the consequences that their votes entail. + #[pallet::constant] + type VoteLockingPeriod: Get>; + } + + /// All voting for a particular voter in a particular voting class. We store the balance for the + /// number of votes that we have recorded. + #[pallet::storage] + pub type VotingFor, I: 'static = ()> = StorageDoubleMap< + _, + Twox64Concat, + T::AccountId, + Twox64Concat, + ClassOf, + VotingOf, + ValueQuery, + >; + + /// The voting classes which have a non-zero lock requirement and the lock amounts which they + /// require. The actual amount locked on behalf of this pallet should always be the maximum of + /// this list. + #[pallet::storage] + pub type ClassLocksFor, I: 'static = ()> = StorageMap< + _, + Twox64Concat, + T::AccountId, + BoundedVec<(ClassOf, BalanceOf), ClassCountOf>>, + ValueQuery, + >; + + #[pallet::event] + #[pallet::generate_deposit(pub(super) fn deposit_event)] + pub enum Event, I: 'static = ()> { + /// An account has delegated their vote to another account. \[who, target\] + Delegated(T::AccountId, T::AccountId), + /// An \[account\] has cancelled a previous delegation operation. + Undelegated(T::AccountId), + } + + #[pallet::error] + pub enum Error { + /// Poll is not ongoing. + NotOngoing, + /// The given account did not vote on the poll. + NotVoter, + /// The actor has no permission to conduct the action. + NoPermission, + /// The actor has no permission to conduct the action right now but will do in the future. + NoPermissionYet, + /// The account is already delegating. + AlreadyDelegating, + /// The account currently has votes attached to it and the operation cannot succeed until + /// these are removed, either through `unvote` or `reap_vote`. + AlreadyVoting, + /// Too high a balance was provided that the account cannot afford. + InsufficientFunds, + /// The account is not currently delegating. + NotDelegating, + /// Delegation to oneself makes no sense. + Nonsense, + /// Maximum number of votes reached. + MaxVotesReached, + /// The class must be supplied since it is not easily determinable from the state. + ClassNeeded, + /// The class ID supplied is invalid. + BadClass, + } + + #[pallet::call] + impl, I: 'static> Pallet { + /// Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; + /// otherwise it is a vote to keep the status quo. + /// + /// The dispatch origin of this call must be _Signed_. + /// + /// - `poll_index`: The index of the poll to vote for. + /// - `vote`: The vote configuration. + /// + /// Weight: `O(R)` where R is the number of polls the voter has voted on. + #[pallet::call_index(0)] + #[pallet::weight(T::WeightInfo::vote_new().max(T::WeightInfo::vote_existing()))] + pub fn vote( + origin: OriginFor, + #[pallet::compact] poll_index: PollIndexOf, + vote: AccountVote>, + ) -> DispatchResult { + let who = ensure_signed(origin)?; + Self::try_vote(&who, poll_index, vote) + } + + /// Delegate the voting power (with some given conviction) of the sending account for a + /// particular class of polls. + /// + /// The balance delegated is locked for as long as it's delegated, and thereafter for the + /// time appropriate for the conviction's lock period. + /// + /// The dispatch origin of this call must be _Signed_, and the signing account must either: + /// - be delegating already; or + /// - have no voting activity (if there is, then it will need to be removed/consolidated + /// through `reap_vote` or `unvote`). + /// + /// - `to`: The account whose voting the `target` account's voting power will follow. + /// - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + /// to this function are required. + /// - `conviction`: The conviction that will be attached to the delegated votes. When the + /// account is undelegated, the funds will be locked for the corresponding period. + /// - `balance`: The amount of the account's balance to be used in delegating. This must not + /// be more than the account's current balance. + /// + /// Emits `Delegated`. + /// + /// Weight: `O(R)` where R is the number of polls the voter delegating to has + /// voted on. Weight is initially charged as if maximum votes, but is refunded later. + // NOTE: weight must cover an incorrect voting of origin with max votes, this is ensure + // because a valid delegation cover decoding a direct voting with max votes. + #[pallet::call_index(1)] + #[pallet::weight(T::WeightInfo::delegate(T::MaxVotes::get()))] + pub fn delegate( + origin: OriginFor, + class: ClassOf, + to: AccountIdLookupOf, + conviction: Conviction, + balance: BalanceOf, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + let to = T::Lookup::lookup(to)?; + let votes = Self::try_delegate(who, class, to, conviction, balance)?; + + Ok(Some(T::WeightInfo::delegate(votes)).into()) + } + + /// Undelegate the voting power of the sending account for a particular class of polls. + /// + /// Tokens may be unlocked following once an amount of time consistent with the lock period + /// of the conviction with which the delegation was issued has passed. + /// + /// The dispatch origin of this call must be _Signed_ and the signing account must be + /// currently delegating. + /// + /// - `class`: The class of polls to remove the delegation from. + /// + /// Emits `Undelegated`. + /// + /// Weight: `O(R)` where R is the number of polls the voter delegating to has + /// voted on. Weight is initially charged as if maximum votes, but is refunded later. + // NOTE: weight must cover an incorrect voting of origin with max votes, this is ensure + // because a valid delegation cover decoding a direct voting with max votes. + #[pallet::call_index(2)] + #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get().into()))] + pub fn undelegate( + origin: OriginFor, + class: ClassOf, + ) -> DispatchResultWithPostInfo { + let who = ensure_signed(origin)?; + let votes = Self::try_undelegate(who, class)?; + Ok(Some(T::WeightInfo::undelegate(votes)).into()) + } + + /// Remove the lock caused by prior voting/delegating which has expired within a particular + /// class. + /// + /// The dispatch origin of this call must be _Signed_. + /// + /// - `class`: The class of polls to unlock. + /// - `target`: The account to remove the lock on. + /// + /// Weight: `O(R)` with R number of vote of target. + #[pallet::call_index(3)] + #[pallet::weight(T::WeightInfo::unlock())] + pub fn unlock( + origin: OriginFor, + class: ClassOf, + target: AccountIdLookupOf, + ) -> DispatchResult { + ensure_signed(origin)?; + let target = T::Lookup::lookup(target)?; + Self::update_lock(&class, &target); + Ok(()) + } + + /// Remove a vote for a poll. + /// + /// If: + /// - the poll was cancelled, or + /// - the poll is ongoing, or + /// - the poll has ended such that + /// - the vote of the account was in opposition to the result; or + /// - there was no conviction to the account's vote; or + /// - the account made a split vote + /// ...then the vote is removed cleanly and a following call to `unlock` may result in more + /// funds being available. + /// + /// If, however, the poll has ended and: + /// - it finished corresponding to the vote of the account, and + /// - the account made a standard vote with conviction, and + /// - the lock period of the conviction is not over + /// ...then the lock will be aggregated into the overall account's lock, which may involve + /// *overlocking* (where the two locks are combined into a single lock that is the maximum + /// of both the amount locked and the time is it locked for). + /// + /// The dispatch origin of this call must be _Signed_, and the signer must have a vote + /// registered for poll `index`. + /// + /// - `index`: The index of poll of the vote to be removed. + /// - `class`: Optional parameter, if given it indicates the class of the poll. For polls + /// which have finished or are cancelled, this must be `Some`. + /// + /// Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + /// Weight is calculated for the maximum number of vote. + #[pallet::call_index(4)] + #[pallet::weight(T::WeightInfo::remove_vote())] + pub fn remove_vote( + origin: OriginFor, + class: Option>, + index: PollIndexOf, + ) -> DispatchResult { + let who = ensure_signed(origin)?; + Self::try_remove_vote(&who, index, class, UnvoteScope::Any) + } + + /// Remove a vote for a poll. + /// + /// If the `target` is equal to the signer, then this function is exactly equivalent to + /// `remove_vote`. If not equal to the signer, then the vote must have expired, + /// either because the poll was cancelled, because the voter lost the poll or + /// because the conviction period is over. + /// + /// The dispatch origin of this call must be _Signed_. + /// + /// - `target`: The account of the vote to be removed; this account must have voted for poll + /// `index`. + /// - `index`: The index of poll of the vote to be removed. + /// - `class`: The class of the poll. + /// + /// Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + /// Weight is calculated for the maximum number of vote. + #[pallet::call_index(5)] + #[pallet::weight(T::WeightInfo::remove_other_vote())] + pub fn remove_other_vote( + origin: OriginFor, + target: AccountIdLookupOf, + class: ClassOf, + index: PollIndexOf, + ) -> DispatchResult { + let who = ensure_signed(origin)?; + let target = T::Lookup::lookup(target)?; + let scope = if target == who { UnvoteScope::Any } else { UnvoteScope::OnlyExpired }; + Self::try_remove_vote(&target, index, Some(class), scope)?; + Ok(()) + } + } +} + +impl, I: 'static> Pallet { + /// Actually enact a vote, if legit. + fn try_vote( + who: &T::AccountId, + poll_index: PollIndexOf, + vote: AccountVote>, + ) -> DispatchResult { + ensure!( + vote.balance() <= T::Currency::total_balance(who), + Error::::InsufficientFunds + ); + T::Polls::try_access_poll(poll_index, |poll_status| { + let (tally, class) = poll_status.ensure_ongoing().ok_or(Error::::NotOngoing)?; + VotingFor::::try_mutate(who, &class, |voting| { + if let Voting::Casting(Casting { ref mut votes, delegations, .. }) = voting { + match votes.binary_search_by_key(&poll_index, |i| i.0) { + Ok(i) => { + // Shouldn't be possible to fail, but we handle it gracefully. + tally.remove(votes[i].1).ok_or(ArithmeticError::Underflow)?; + if let Some(approve) = votes[i].1.as_standard() { + tally.reduce(approve, *delegations); + } + votes[i].1 = vote; + }, + Err(i) => { + votes + .try_insert(i, (poll_index, vote)) + .map_err(|_| Error::::MaxVotesReached)?; + }, + } + // Shouldn't be possible to fail, but we handle it gracefully. + tally.add(vote).ok_or(ArithmeticError::Overflow)?; + if let Some(approve) = vote.as_standard() { + tally.increase(approve, *delegations); + } + } else { + return Err(Error::::AlreadyDelegating.into()) + } + // Extend the lock to `balance` (rather than setting it) since we don't know what + // other votes are in place. + Self::extend_lock(who, &class, vote.balance()); + Ok(()) + }) + }) + } + + /// Remove the account's vote for the given poll if possible. This is possible when: + /// - The poll has not finished. + /// - The poll has finished and the voter lost their direction. + /// - The poll has finished and the voter's lock period is up. + /// + /// This will generally be combined with a call to `unlock`. + fn try_remove_vote( + who: &T::AccountId, + poll_index: PollIndexOf, + class_hint: Option>, + scope: UnvoteScope, + ) -> DispatchResult { + let class = class_hint + .or_else(|| Some(T::Polls::as_ongoing(poll_index)?.1)) + .ok_or(Error::::ClassNeeded)?; + VotingFor::::try_mutate(who, class, |voting| { + if let Voting::Casting(Casting { ref mut votes, delegations, ref mut prior }) = voting { + let i = votes + .binary_search_by_key(&poll_index, |i| i.0) + .map_err(|_| Error::::NotVoter)?; + let v = votes.remove(i); + + T::Polls::try_access_poll(poll_index, |poll_status| match poll_status { + PollStatus::Ongoing(tally, _) => { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); + // Shouldn't be possible to fail, but we handle it gracefully. + tally.remove(v.1).ok_or(ArithmeticError::Underflow)?; + if let Some(approve) = v.1.as_standard() { + tally.reduce(approve, *delegations); + } + Ok(()) + }, + PollStatus::Completed(end, approved) => { + if let Some((lock_periods, balance)) = v.1.locked_if(approved) { + let unlock_at = end.saturating_add( + T::VoteLockingPeriod::get().saturating_mul(lock_periods.into()), + ); + let now = frame_system::Pallet::::block_number(); + if now < unlock_at { + ensure!( + matches!(scope, UnvoteScope::Any), + Error::::NoPermissionYet + ); + prior.accumulate(unlock_at, balance) + } + } + Ok(()) + }, + PollStatus::None => Ok(()), // Poll was cancelled. + }) + } else { + Ok(()) + } + }) + } + + /// Return the number of votes for `who`. + fn increase_upstream_delegation( + who: &T::AccountId, + class: &ClassOf, + amount: Delegations>, + ) -> u32 { + VotingFor::::mutate(who, class, |voting| match voting { + Voting::Delegating(Delegating { delegations, .. }) => { + // We don't support second level delegating, so we don't need to do anything more. + *delegations = delegations.saturating_add(amount); + 1 + }, + Voting::Casting(Casting { votes, delegations, .. }) => { + *delegations = delegations.saturating_add(amount); + for &(poll_index, account_vote) in votes.iter() { + if let AccountVote::Standard { vote, .. } = account_vote { + T::Polls::access_poll(poll_index, |poll_status| { + if let PollStatus::Ongoing(tally, _) = poll_status { + tally.increase(vote.aye, amount); + } + }); + } + } + votes.len() as u32 + }, + }) + } + + /// Return the number of votes for `who`. + fn reduce_upstream_delegation( + who: &T::AccountId, + class: &ClassOf, + amount: Delegations>, + ) -> u32 { + VotingFor::::mutate(who, class, |voting| match voting { + Voting::Delegating(Delegating { delegations, .. }) => { + // We don't support second level delegating, so we don't need to do anything more. + *delegations = delegations.saturating_sub(amount); + 1 + }, + Voting::Casting(Casting { votes, delegations, .. }) => { + *delegations = delegations.saturating_sub(amount); + for &(poll_index, account_vote) in votes.iter() { + if let AccountVote::Standard { vote, .. } = account_vote { + T::Polls::access_poll(poll_index, |poll_status| { + if let PollStatus::Ongoing(tally, _) = poll_status { + tally.reduce(vote.aye, amount); + } + }); + } + } + votes.len() as u32 + }, + }) + } + + /// Attempt to delegate `balance` times `conviction` of voting power from `who` to `target`. + /// + /// Return the upstream number of votes. + fn try_delegate( + who: T::AccountId, + class: ClassOf, + target: T::AccountId, + conviction: Conviction, + balance: BalanceOf, + ) -> Result { + ensure!(who != target, Error::::Nonsense); + T::Polls::classes().binary_search(&class).map_err(|_| Error::::BadClass)?; + ensure!(balance <= T::Currency::total_balance(&who), Error::::InsufficientFunds); + let votes = + VotingFor::::try_mutate(&who, &class, |voting| -> Result { + let old = sp_std::mem::replace( + voting, + Voting::Delegating(Delegating { + balance, + target: target.clone(), + conviction, + delegations: Default::default(), + prior: Default::default(), + }), + ); + match old { + Voting::Delegating(Delegating { .. }) => + return Err(Error::::AlreadyDelegating.into()), + Voting::Casting(Casting { votes, delegations, prior }) => { + // here we just ensure that we're currently idling with no votes recorded. + ensure!(votes.is_empty(), Error::::AlreadyVoting); + voting.set_common(delegations, prior); + }, + } + + let votes = + Self::increase_upstream_delegation(&target, &class, conviction.votes(balance)); + // Extend the lock to `balance` (rather than setting it) since we don't know what + // other votes are in place. + Self::extend_lock(&who, &class, balance); + Ok(votes) + })?; + Self::deposit_event(Event::::Delegated(who, target)); + Ok(votes) + } + + /// Attempt to end the current delegation. + /// + /// Return the number of votes of upstream. + fn try_undelegate(who: T::AccountId, class: ClassOf) -> Result { + let votes = + VotingFor::::try_mutate(&who, &class, |voting| -> Result { + match sp_std::mem::replace(voting, Voting::default()) { + Voting::Delegating(Delegating { + balance, + target, + conviction, + delegations, + mut prior, + }) => { + // remove any delegation votes to our current target. + let votes = Self::reduce_upstream_delegation( + &target, + &class, + conviction.votes(balance), + ); + let now = frame_system::Pallet::::block_number(); + let lock_periods = conviction.lock_periods().into(); + prior.accumulate( + now.saturating_add( + T::VoteLockingPeriod::get().saturating_mul(lock_periods), + ), + balance, + ); + voting.set_common(delegations, prior); + + Ok(votes) + }, + Voting::Casting(_) => Err(Error::::NotDelegating.into()), + } + })?; + Self::deposit_event(Event::::Undelegated(who)); + Ok(votes) + } + + fn extend_lock(who: &T::AccountId, class: &ClassOf, amount: BalanceOf) { + ClassLocksFor::::mutate(who, |locks| { + match locks.iter().position(|x| &x.0 == class) { + Some(i) => locks[i].1 = locks[i].1.max(amount), + None => { + let ok = locks.try_push((class.clone(), amount)).is_ok(); + debug_assert!( + ok, + "Vec bounded by number of classes; \ + all items in Vec associated with a unique class; \ + qed" + ); + }, + } + }); + T::Currency::extend_lock( + CONVICTION_VOTING_ID, + who, + amount, + WithdrawReasons::except(WithdrawReasons::RESERVE), + ); + } + + /// Rejig the lock on an account. It will never get more stringent (since that would indicate + /// a security hole) but may be reduced from what they are currently. + fn update_lock(class: &ClassOf, who: &T::AccountId) { + let class_lock_needed = VotingFor::::mutate(who, class, |voting| { + voting.rejig(frame_system::Pallet::::block_number()); + voting.locked_balance() + }); + let lock_needed = ClassLocksFor::::mutate(who, |locks| { + locks.retain(|x| &x.0 != class); + if !class_lock_needed.is_zero() { + let ok = locks.try_push((class.clone(), class_lock_needed)).is_ok(); + debug_assert!( + ok, + "Vec bounded by number of classes; \ + all items in Vec associated with a unique class; \ + qed" + ); + } + locks.iter().map(|x| x.1).max().unwrap_or(Zero::zero()) + }); + if lock_needed.is_zero() { + T::Currency::remove_lock(CONVICTION_VOTING_ID, who); + } else { + T::Currency::set_lock( + CONVICTION_VOTING_ID, + who, + lock_needed, + WithdrawReasons::except(WithdrawReasons::RESERVE), + ); + } + } +} diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs new file mode 100644 index 000000000..b67290e7f --- /dev/null +++ b/pallets/conviction-voting/src/tests.rs @@ -0,0 +1,883 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! The crate's tests. + +use std::collections::BTreeMap; + +use frame_support::{ + assert_noop, assert_ok, derive_impl, parameter_types, + traits::{ConstU32, ConstU64, Contains, Polling, VoteTally}, +}; +use sp_core::H256; +use sp_runtime::{ + traits::{BlakeTwo256, IdentityLookup}, + BuildStorage, +}; + +use super::*; +use crate as pallet_conviction_voting; + +type Block = frame_system::mocking::MockBlock; + +frame_support::construct_runtime!( + pub enum Test + { + System: frame_system, + Balances: pallet_balances, + Voting: pallet_conviction_voting, + } +); + +// Test that a fitlered call can be dispatched. +pub struct BaseFilter; +impl Contains for BaseFilter { + fn contains(call: &RuntimeCall) -> bool { + !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) + } +} + +#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)] +impl frame_system::Config for Test { + type BaseCallFilter = BaseFilter; + type BlockWeights = (); + type BlockLength = (); + type DbWeight = (); + type RuntimeOrigin = RuntimeOrigin; + type Nonce = u64; + type RuntimeCall = RuntimeCall; + type Hash = H256; + type Hashing = BlakeTwo256; + type AccountId = u64; + type Lookup = IdentityLookup; + type Block = Block; + type RuntimeEvent = RuntimeEvent; + type BlockHashCount = ConstU64<250>; + type Version = (); + type PalletInfo = PalletInfo; + type AccountData = pallet_balances::AccountData; + type OnNewAccount = (); + type OnKilledAccount = (); + type SystemWeightInfo = (); + type SS58Prefix = (); + type OnSetCode = (); + type MaxConsumers = ConstU32<16>; +} + +impl pallet_balances::Config for Test { + type MaxReserves = (); + type ReserveIdentifier = [u8; 8]; + type MaxLocks = ConstU32<10>; + type Balance = u64; + type RuntimeEvent = RuntimeEvent; + type DustRemoval = (); + type ExistentialDeposit = ConstU64<1>; + type AccountStore = System; + type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type RuntimeHoldReason = (); + type RuntimeFreezeReason = (); +} + +#[derive(Clone, PartialEq, Eq, Debug)] +pub enum TestPollState { + Ongoing(TallyOf, u8), + Completed(u64, bool), +} +use TestPollState::*; + +parameter_types! { + pub static Polls: BTreeMap = vec![ + (1, Completed(1, true)), + (2, Completed(2, false)), + (3, Ongoing(Tally::from_parts(0, 0, 0), 0)), + ].into_iter().collect(); +} + +pub struct TestPolls; +impl Polling> for TestPolls { + type Index = u8; + type Votes = u64; + type Moment = u64; + type Class = u8; + fn classes() -> Vec { + vec![0, 1, 2] + } + fn as_ongoing(index: u8) -> Option<(TallyOf, Self::Class)> { + Polls::get().remove(&index).and_then(|x| { + if let TestPollState::Ongoing(t, c) = x { + Some((t, c)) + } else { + None + } + }) + } + fn access_poll( + index: Self::Index, + f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> R, + ) -> R { + let mut polls = Polls::get(); + let entry = polls.get_mut(&index); + let r = match entry { + Some(Ongoing(ref mut tally_mut_ref, class)) => + f(PollStatus::Ongoing(tally_mut_ref, *class)), + Some(Completed(when, succeeded)) => f(PollStatus::Completed(*when, *succeeded)), + None => f(PollStatus::None), + }; + Polls::set(polls); + r + } + fn try_access_poll( + index: Self::Index, + f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> Result, + ) -> Result { + let mut polls = Polls::get(); + let entry = polls.get_mut(&index); + let r = match entry { + Some(Ongoing(ref mut tally_mut_ref, class)) => + f(PollStatus::Ongoing(tally_mut_ref, *class)), + Some(Completed(when, succeeded)) => f(PollStatus::Completed(*when, *succeeded)), + None => f(PollStatus::None), + }?; + Polls::set(polls); + Ok(r) + } + + #[cfg(feature = "runtime-benchmarks")] + fn create_ongoing(class: Self::Class) -> Result { + let mut polls = Polls::get(); + let i = polls.keys().rev().next().map_or(0, |x| x + 1); + polls.insert(i, Ongoing(Tally::new(0), class)); + Polls::set(polls); + Ok(i) + } + + #[cfg(feature = "runtime-benchmarks")] + fn end_ongoing(index: Self::Index, approved: bool) -> Result<(), ()> { + let mut polls = Polls::get(); + match polls.get(&index) { + Some(Ongoing(..)) => {}, + _ => return Err(()), + } + let now = frame_system::Pallet::::block_number(); + polls.insert(index, Completed(now, approved)); + Polls::set(polls); + Ok(()) + } +} + +impl Config for Test { + type RuntimeEvent = RuntimeEvent; + type Currency = pallet_balances::Pallet; + type VoteLockingPeriod = ConstU64<3>; + type MaxVotes = ConstU32<3>; + type WeightInfo = (); + type MaxTurnout = frame_support::traits::TotalIssuanceOf; + type Polls = TestPolls; +} + +pub fn new_test_ext() -> sp_io::TestExternalities { + let mut t = frame_system::GenesisConfig::::default().build_storage().unwrap(); + pallet_balances::GenesisConfig:: { + balances: vec![(1, 10), (2, 20), (3, 30), (4, 40), (5, 50), (6, 60)], + } + .assimilate_storage(&mut t) + .unwrap(); + let mut ext = sp_io::TestExternalities::new(t); + ext.execute_with(|| System::set_block_number(1)); + ext +} + +#[test] +fn params_should_work() { + new_test_ext().execute_with(|| { + assert_eq!(Balances::free_balance(42), 0); + assert_eq!(Balances::total_issuance(), 210); + }); +} + +fn next_block() { + System::set_block_number(System::block_number() + 1); +} + +#[allow(dead_code)] +fn run_to(n: u64) { + while System::block_number() < n { + next_block(); + } +} + +fn aye(amount: u64, conviction: u8) -> AccountVote { + let vote = Vote { aye: true, conviction: conviction.try_into().unwrap() }; + AccountVote::Standard { vote, balance: amount } +} + +fn nay(amount: u64, conviction: u8) -> AccountVote { + let vote = Vote { aye: false, conviction: conviction.try_into().unwrap() }; + AccountVote::Standard { vote, balance: amount } +} + +fn split(aye: u64, nay: u64) -> AccountVote { + AccountVote::Split { aye, nay } +} + +fn split_abstain(aye: u64, nay: u64, abstain: u64) -> AccountVote { + AccountVote::SplitAbstain { aye, nay, abstain } +} + +fn tally(index: u8) -> TallyOf { + >>::as_ongoing(index).expect("No poll").0 +} + +fn class(index: u8) -> u8 { + >>::as_ongoing(index).expect("No poll").1 +} + +#[test] +#[ignore] +#[should_panic(expected = "No poll")] +fn unknown_poll_should_panic() { + let _ = tally(0); +} + +#[test] +#[ignore] +#[should_panic(expected = "No poll")] +fn completed_poll_should_panic() { + let _ = tally(1); +} + +#[test] +fn basic_stuff() { + new_test_ext().execute_with(|| { + assert_eq!(tally(3), Tally::from_parts(0, 0, 0)); + }); +} + +#[test] +fn basic_voting_works() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); + assert_eq!(tally(3), Tally::from_parts(10, 0, 2)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); + assert_eq!(tally(3), Tally::from_parts(0, 10, 0)); + assert_eq!(Balances::usable_balance(1), 8); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); + assert_eq!(tally(3), Tally::from_parts(5, 0, 5)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); + assert_eq!(tally(3), Tally::from_parts(0, 5, 0)); + assert_eq!(Balances::usable_balance(1), 5); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); + assert_eq!(tally(3), Tally::from_parts(1, 0, 10)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); + assert_eq!(tally(3), Tally::from_parts(0, 1, 0)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); + assert_eq!(tally(3), Tally::from_parts(0, 0, 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn split_voting_works() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(10, 0))); + assert_eq!(tally(3), Tally::from_parts(1, 0, 10)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split(5, 5))); + assert_eq!(tally(3), Tally::from_parts(0, 0, 5)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); + assert_eq!(tally(3), Tally::from_parts(0, 0, 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn abstain_voting_works() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, split_abstain(0, 0, 10))); + assert_eq!(tally(3), Tally::from_parts(0, 0, 10)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(0, 0, 20))); + assert_eq!(tally(3), Tally::from_parts(0, 0, 30)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, split_abstain(10, 0, 10))); + assert_eq!(tally(3), Tally::from_parts(1, 0, 30)); + assert_eq!(Balances::usable_balance(1), 0); + assert_eq!(Balances::usable_balance(2), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); + assert_eq!(tally(3), Tally::from_parts(1, 0, 20)); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), None, 3)); + assert_eq!(tally(3), Tally::from_parts(0, 0, 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); + assert_eq!(Balances::usable_balance(1), 10); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), class(3), 2)); + assert_eq!(Balances::usable_balance(2), 20); + }); +} + +#[test] +fn voting_balance_gets_locked() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(2, 5))); + assert_eq!(tally(3), Tally::from_parts(10, 0, 2)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(2, 5))); + assert_eq!(tally(3), Tally::from_parts(0, 10, 0)); + assert_eq!(Balances::usable_balance(1), 8); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(5, 1))); + assert_eq!(tally(3), Tally::from_parts(5, 0, 5)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(5, 1))); + assert_eq!(tally(3), Tally::from_parts(0, 5, 0)); + assert_eq!(Balances::usable_balance(1), 5); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); + assert_eq!(tally(3), Tally::from_parts(1, 0, 10)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, nay(10, 0))); + assert_eq!(tally(3), Tally::from_parts(0, 1, 0)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), None, 3)); + assert_eq!(tally(3), Tally::from_parts(0, 0, 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), class(3), 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn successful_but_zero_conviction_vote_balance_can_be_unlocked() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); + let c = class(3); + Polls::set(vec![(3, Completed(3, false))].into_iter().collect()); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(2), c, 2)); + assert_eq!(Balances::usable_balance(2), 20); + }); +} + +#[test] +fn unsuccessful_conviction_vote_balance_can_be_unlocked() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 0))); + let c = class(3); + Polls::set(vec![(3, Completed(3, false))].into_iter().collect()); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn successful_conviction_vote_balance_stays_locked_for_correct_time() { + new_test_ext().execute_with(|| { + for i in 1..=5 { + assert_ok!(Voting::vote(RuntimeOrigin::signed(i), 3, aye(10, i as u8))); + } + let c = class(3); + Polls::set(vec![(3, Completed(3, true))].into_iter().collect()); + for i in 1..=5 { + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(i), Some(c), 3)); + } + for block in 1..=(3 + 5 * 3) { + run_to(block); + for i in 1..=5 { + assert_ok!(Voting::unlock(RuntimeOrigin::signed(i), c, i)); + let expired = block >= (3 << (i - 1)) + 3; + assert_eq!(Balances::usable_balance(i), i * 10 - if expired { 0 } else { 10 }); + } + } + }); +} + +#[test] +fn classwise_delegation_works() { + new_test_ext().execute_with(|| { + Polls::set( + vec![ + (0, Ongoing(Tally::new(0), 0)), + (1, Ongoing(Tally::new(0), 1)), + (2, Ongoing(Tally::new(0), 2)), + (3, Ongoing(Tally::new(0), 2)), + ] + .into_iter() + .collect(), + ); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5)); + assert_eq!(Balances::usable_balance(1), 5); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 1, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 2, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 0, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 1, aye(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 2, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 0, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 1, nay(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 2, aye(10, 0))); + // 4 hasn't voted yet + + assert_eq!( + Polls::get(), + vec![ + (0, Ongoing(Tally::from_parts(6, 2, 15), 0)), + (1, Ongoing(Tally::from_parts(6, 2, 15), 1)), + (2, Ongoing(Tally::from_parts(6, 2, 15), 2)), + (3, Ongoing(Tally::from_parts(0, 0, 0), 2)), + ] + .into_iter() + .collect() + ); + + // 4 votes nay to 3. + assert_ok!(Voting::vote(RuntimeOrigin::signed(4), 3, nay(10, 0))); + assert_eq!( + Polls::get(), + vec![ + (0, Ongoing(Tally::from_parts(6, 2, 15), 0)), + (1, Ongoing(Tally::from_parts(6, 2, 15), 1)), + (2, Ongoing(Tally::from_parts(6, 2, 15), 2)), + (3, Ongoing(Tally::from_parts(0, 6, 0), 2)), + ] + .into_iter() + .collect() + ); + + // Redelegate for class 2 to account 3. + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5)); + assert_eq!( + Polls::get(), + vec![ + (0, Ongoing(Tally::from_parts(6, 2, 15), 0)), + (1, Ongoing(Tally::from_parts(6, 2, 15), 1)), + (2, Ongoing(Tally::from_parts(1, 7, 10), 2)), + (3, Ongoing(Tally::from_parts(0, 1, 0), 2)), + ] + .into_iter() + .collect() + ); + + // Redelegating with a lower lock does not forget previous lock and updates correctly. + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3)); + assert_eq!( + Polls::get(), + vec![ + (0, Ongoing(Tally::from_parts(4, 2, 13), 0)), + (1, Ongoing(Tally::from_parts(4, 2, 13), 1)), + (2, Ongoing(Tally::from_parts(4, 2, 13), 2)), + (3, Ongoing(Tally::from_parts(0, 4, 0), 2)), + ] + .into_iter() + .collect() + ); + assert_eq!(Balances::usable_balance(1), 5); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + // unlock does nothing since the delegation already took place. + assert_eq!(Balances::usable_balance(1), 5); + + // Redelegating with higher amount extends previous lock. + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 4); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_eq!(Balances::usable_balance(1), 3); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 2); + assert_eq!( + Polls::get(), + vec![ + (0, Ongoing(Tally::from_parts(7, 2, 16), 0)), + (1, Ongoing(Tally::from_parts(8, 2, 17), 1)), + (2, Ongoing(Tally::from_parts(9, 2, 18), 2)), + (3, Ongoing(Tally::from_parts(0, 9, 0), 2)), + ] + .into_iter() + .collect() + ); + }); +} + +#[test] +fn redelegation_after_vote_ending_should_keep_lock() { + new_test_ext().execute_with(|| { + Polls::set(vec![(0, Ongoing(Tally::new(0), 0))].into_iter().collect()); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1))); + Polls::set(vec![(0, Completed(1, true))].into_iter().collect()); + assert_eq!(Balances::usable_balance(1), 5); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3)); + assert_eq!(Balances::usable_balance(1), 5); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 5); + }); +} + +#[test] +fn lock_amalgamation_valid_with_multiple_removed_votes() { + new_test_ext().execute_with(|| { + Polls::set( + vec![ + (0, Ongoing(Tally::new(0), 0)), + (1, Ongoing(Tally::new(0), 0)), + (2, Ongoing(Tally::new(0), 0)), + ] + .into_iter() + .collect(), + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); + assert_eq!(Balances::usable_balance(1), 0); + + Polls::set( + vec![(0, Completed(1, true)), (1, Completed(1, true)), (2, Completed(1, true))] + .into_iter() + .collect(), + ); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 2)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert!(Balances::usable_balance(1) <= 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn lock_amalgamation_valid_with_multiple_delegations() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert!(Balances::usable_balance(1) <= 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn lock_amalgamation_valid_with_move_roundtrip_to_delegation() { + new_test_ext().execute_with(|| { + Polls::set(vec![(0, Ongoing(Tally::new(0), 0))].into_iter().collect()); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); + Polls::set(vec![(0, Completed(1, true))].into_iter().collect()); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 5); + + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + Polls::set(vec![(1, Ongoing(Tally::new(0), 0))].into_iter().collect()); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(5, 2))); + Polls::set(vec![(1, Completed(1, true))].into_iter().collect()); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 1)); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert!(Balances::usable_balance(1) <= 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn lock_amalgamation_valid_with_move_roundtrip_to_casting() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 5); + + Polls::set(vec![(0, Ongoing(Tally::new(0), 0))].into_iter().collect()); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 1))); + Polls::set(vec![(0, Completed(1, true))].into_iter().collect()); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); + + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert!(Balances::usable_balance(1) <= 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn lock_aggregation_over_different_classes_with_delegation_works() { + new_test_ext().execute_with(|| { + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5)); + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10)); + + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn lock_aggregation_over_different_classes_with_casting_works() { + new_test_ext().execute_with(|| { + Polls::set( + vec![ + (0, Ongoing(Tally::new(0), 0)), + (1, Ongoing(Tally::new(0), 1)), + (2, Ongoing(Tally::new(0), 2)), + ] + .into_iter() + .collect(), + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(5, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); + Polls::set( + vec![(0, Completed(1, true)), (1, Completed(1, true)), (2, Completed(1, true))] + .into_iter() + .collect(), + ); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1)); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(2), 2)); + + run_to(3); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 0); + + run_to(6); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 5); + + run_to(7); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); + assert_eq!(Balances::usable_balance(1), 10); + }); +} + +#[test] +fn errors_with_vote_work() { + new_test_ext().execute_with(|| { + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0)), + Error::::NotOngoing + ); + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0)), + Error::::NotOngoing + ); + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0)), + Error::::NotOngoing + ); + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 3, aye(11, 0)), + Error::::InsufficientFunds + ); + + assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10)); + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), + Error::::AlreadyDelegating + ); + + assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); + Polls::set( + vec![ + (0, Ongoing(Tally::new(0), 0)), + (1, Ongoing(Tally::new(0), 0)), + (2, Ongoing(Tally::new(0), 0)), + (3, Ongoing(Tally::new(0), 0)), + ] + .into_iter() + .collect(), + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 0, aye(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 0))); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(10, 0))); + assert_noop!( + Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0)), + Error::::MaxVotesReached + ); + }); +} + +#[test] +fn errors_with_delegating_work() { + new_test_ext().execute_with(|| { + assert_noop!( + Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 11), + Error::::InsufficientFunds + ); + assert_noop!( + Voting::delegate(RuntimeOrigin::signed(1), 3, 2, Conviction::None, 10), + Error::::BadClass + ); + + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 0))); + assert_noop!( + Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::None, 10), + Error::::AlreadyVoting + ); + + assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::::NotDelegating); + }); +} + +#[test] +fn remove_other_vote_works() { + new_test_ext().execute_with(|| { + assert_noop!( + Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), + Error::::NotVoter + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); + assert_noop!( + Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), + Error::::NoPermission + ); + Polls::set(vec![(3, Completed(1, true))].into_iter().collect()); + run_to(6); + assert_noop!( + Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3), + Error::::NoPermissionYet + ); + run_to(7); + assert_ok!(Voting::remove_other_vote(RuntimeOrigin::signed(2), 1, 0, 3)); + }); +} + +#[test] +fn errors_with_remove_vote_work() { + new_test_ext().execute_with(|| { + assert_noop!( + Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 3), + Error::::NotVoter + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(10, 2))); + Polls::set(vec![(3, Completed(1, true))].into_iter().collect()); + assert_noop!( + Voting::remove_vote(RuntimeOrigin::signed(1), None, 3), + Error::::ClassNeeded + ); + }); +} diff --git a/pallets/conviction-voting/src/traits.rs b/pallets/conviction-voting/src/traits.rs new file mode 100644 index 000000000..98d5afac4 --- /dev/null +++ b/pallets/conviction-voting/src/traits.rs @@ -0,0 +1,19 @@ +use frame_support::dispatch::DispatchResult; +use ::{Config, PollIndexOf}; +use ::{AccountVote, BalanceOf}; + +pub trait VotingHooks where T: Config { + fn on_vote(who: &T::AccountId, ref_index: PollIndexOf, vote: AccountVote>) -> DispatchResult; + + // Called when removed vote is executed. + // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(bool) if referendum is finished(true) or ongoing(false). + fn on_remove_vote(who: &T::AccountId, ref_index: PollIndexOf, is_finished: Option); + + fn remove_vote_locks_if_needed(who: &T::AccountId, ref_index: PollIndexOf) -> Option>; + + #[cfg(feature = "runtime-benchmarks")] + fn on_vote_worst_case(_who: &T::AccountId); + + #[cfg(feature = "runtime-benchmarks")] + fn on_remove_vote_worst_case(_who: &T::AccountId); +} \ No newline at end of file diff --git a/pallets/conviction-voting/src/types.rs b/pallets/conviction-voting/src/types.rs new file mode 100644 index 000000000..2c45b5448 --- /dev/null +++ b/pallets/conviction-voting/src/types.rs @@ -0,0 +1,264 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! Miscellaneous additional datatypes. + +use codec::{Codec, Decode, Encode, MaxEncodedLen}; +use frame_support::{ + traits::VoteTally, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound, +}; +use scale_info::TypeInfo; +use sp_runtime::{ + traits::{Saturating, Zero}, + RuntimeDebug, +}; +use sp_std::{fmt::Debug, marker::PhantomData}; + +use super::*; +use crate::{AccountVote, Conviction, Vote}; + +/// Info regarding an ongoing referendum. +#[derive( + CloneNoBound, + PartialEqNoBound, + EqNoBound, + RuntimeDebugNoBound, + TypeInfo, + Encode, + Decode, + MaxEncodedLen, +)] +#[scale_info(skip_type_params(Total))] +#[codec(mel_bound(Votes: MaxEncodedLen))] +pub struct Tally { + /// The number of aye votes, expressed in terms of post-conviction lock-vote. + pub ayes: Votes, + /// The number of nay votes, expressed in terms of post-conviction lock-vote. + pub nays: Votes, + /// The basic number of aye votes, expressed pre-conviction. + pub support: Votes, + /// Dummy. + dummy: PhantomData, +} + +impl< + Votes: Clone + Default + PartialEq + Eq + Debug + Copy + AtLeast32BitUnsigned + TypeInfo + Codec, + Total: Get, + Class, + > VoteTally for Tally +{ + fn new(_: Class) -> Self { + Self { ayes: Zero::zero(), nays: Zero::zero(), support: Zero::zero(), dummy: PhantomData } + } + + fn ayes(&self, _: Class) -> Votes { + self.ayes + } + + fn support(&self, _: Class) -> Perbill { + Perbill::from_rational(self.support, Total::get()) + } + + fn approval(&self, _: Class) -> Perbill { + Perbill::from_rational(self.ayes, self.ayes.saturating_add(self.nays)) + } + + #[cfg(feature = "runtime-benchmarks")] + fn unanimity(_: Class) -> Self { + Self { ayes: Total::get(), nays: Zero::zero(), support: Total::get(), dummy: PhantomData } + } + + #[cfg(feature = "runtime-benchmarks")] + fn rejection(_: Class) -> Self { + Self { ayes: Zero::zero(), nays: Total::get(), support: Total::get(), dummy: PhantomData } + } + + #[cfg(feature = "runtime-benchmarks")] + fn from_requirements(support: Perbill, approval: Perbill, _: Class) -> Self { + let support = support.mul_ceil(Total::get()); + let ayes = approval.mul_ceil(support); + Self { ayes, nays: support - ayes, support, dummy: PhantomData } + } + + #[cfg(feature = "runtime-benchmarks")] + fn setup(_: Class, _: Perbill) {} +} + +impl< + Votes: Clone + Default + PartialEq + Eq + Debug + Copy + AtLeast32BitUnsigned + TypeInfo + Codec, + Total: Get, + > Tally +{ + /// Create a new tally. + pub fn from_vote(vote: Vote, balance: Votes) -> Self { + let Delegations { votes, capital } = vote.conviction.votes(balance); + Self { + ayes: if vote.aye { votes } else { Zero::zero() }, + nays: if vote.aye { Zero::zero() } else { votes }, + support: capital, + dummy: PhantomData, + } + } + + pub fn from_parts( + ayes_with_conviction: Votes, + nays_with_conviction: Votes, + ayes: Votes, + ) -> Self { + Self { + ayes: ayes_with_conviction, + nays: nays_with_conviction, + support: ayes, + dummy: PhantomData, + } + } + + /// Add an account's vote into the tally. + pub fn add(&mut self, vote: AccountVote) -> Option<()> { + match vote { + AccountVote::Standard { vote, balance } => { + let Delegations { votes, capital } = vote.conviction.votes(balance); + match vote.aye { + true => { + self.support = self.support.checked_add(&capital)?; + self.ayes = self.ayes.checked_add(&votes)? + }, + false => self.nays = self.nays.checked_add(&votes)?, + } + }, + AccountVote::Split { aye, nay } => { + let aye = Conviction::None.votes(aye); + let nay = Conviction::None.votes(nay); + self.support = self.support.checked_add(&aye.capital)?; + self.ayes = self.ayes.checked_add(&aye.votes)?; + self.nays = self.nays.checked_add(&nay.votes)?; + }, + AccountVote::SplitAbstain { aye, nay, abstain } => { + let aye = Conviction::None.votes(aye); + let nay = Conviction::None.votes(nay); + let abstain = Conviction::None.votes(abstain); + self.support = + self.support.checked_add(&aye.capital)?.checked_add(&abstain.capital)?; + self.ayes = self.ayes.checked_add(&aye.votes)?; + self.nays = self.nays.checked_add(&nay.votes)?; + }, + } + Some(()) + } + + /// Remove an account's vote from the tally. + pub fn remove(&mut self, vote: AccountVote) -> Option<()> { + match vote { + AccountVote::Standard { vote, balance } => { + let Delegations { votes, capital } = vote.conviction.votes(balance); + match vote.aye { + true => { + self.support = self.support.checked_sub(&capital)?; + self.ayes = self.ayes.checked_sub(&votes)? + }, + false => self.nays = self.nays.checked_sub(&votes)?, + } + }, + AccountVote::Split { aye, nay } => { + let aye = Conviction::None.votes(aye); + let nay = Conviction::None.votes(nay); + self.support = self.support.checked_sub(&aye.capital)?; + self.ayes = self.ayes.checked_sub(&aye.votes)?; + self.nays = self.nays.checked_sub(&nay.votes)?; + }, + AccountVote::SplitAbstain { aye, nay, abstain } => { + let aye = Conviction::None.votes(aye); + let nay = Conviction::None.votes(nay); + let abstain = Conviction::None.votes(abstain); + self.support = + self.support.checked_sub(&aye.capital)?.checked_sub(&abstain.capital)?; + self.ayes = self.ayes.checked_sub(&aye.votes)?; + self.nays = self.nays.checked_sub(&nay.votes)?; + }, + } + Some(()) + } + + /// Increment some amount of votes. + pub fn increase(&mut self, approve: bool, delegations: Delegations) { + match approve { + true => { + self.support = self.support.saturating_add(delegations.capital); + self.ayes = self.ayes.saturating_add(delegations.votes); + }, + false => self.nays = self.nays.saturating_add(delegations.votes), + } + } + + /// Decrement some amount of votes. + pub fn reduce(&mut self, approve: bool, delegations: Delegations) { + match approve { + true => { + self.support = self.support.saturating_sub(delegations.capital); + self.ayes = self.ayes.saturating_sub(delegations.votes); + }, + false => self.nays = self.nays.saturating_sub(delegations.votes), + } + } +} + +/// Amount of votes and capital placed in delegation for an account. +#[derive( + Encode, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen, +)] +pub struct Delegations { + /// The number of votes (this is post-conviction). + pub votes: Balance, + /// The amount of raw capital, used for the support. + pub capital: Balance, +} + +impl Saturating for Delegations { + fn saturating_add(self, o: Self) -> Self { + Self { + votes: self.votes.saturating_add(o.votes), + capital: self.capital.saturating_add(o.capital), + } + } + + fn saturating_sub(self, o: Self) -> Self { + Self { + votes: self.votes.saturating_sub(o.votes), + capital: self.capital.saturating_sub(o.capital), + } + } + + fn saturating_mul(self, o: Self) -> Self { + Self { + votes: self.votes.saturating_mul(o.votes), + capital: self.capital.saturating_mul(o.capital), + } + } + + fn saturating_pow(self, exp: usize) -> Self { + Self { votes: self.votes.saturating_pow(exp), capital: self.capital.saturating_pow(exp) } + } +} + +/// Whether an `unvote` operation is able to make actions that are not strictly always in the +/// interest of an account. +pub enum UnvoteScope { + /// Permitted to do everything. + Any, + /// Permitted to do only the changes that do not need the owner's permission. + OnlyExpired, +} diff --git a/pallets/conviction-voting/src/vote.rs b/pallets/conviction-voting/src/vote.rs new file mode 100644 index 000000000..5ae08f0de --- /dev/null +++ b/pallets/conviction-voting/src/vote.rs @@ -0,0 +1,265 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! The vote datatype. + +use crate::{Conviction, Delegations}; +use codec::{Decode, Encode, EncodeLike, Input, MaxEncodedLen, Output}; +use frame_support::{pallet_prelude::Get, BoundedVec}; +use scale_info::TypeInfo; +use sp_runtime::{ + traits::{Saturating, Zero}, + RuntimeDebug, +}; +use sp_std::prelude::*; + +/// A number of lock periods, plus a vote, one way or the other. +#[derive(Copy, Clone, Eq, PartialEq, Default, RuntimeDebug, MaxEncodedLen)] +pub struct Vote { + pub aye: bool, + pub conviction: Conviction, +} + +impl Encode for Vote { + fn encode_to(&self, output: &mut T) { + output.push_byte(u8::from(self.conviction) | if self.aye { 0b1000_0000 } else { 0 }); + } +} + +impl EncodeLike for Vote {} + +impl Decode for Vote { + fn decode(input: &mut I) -> Result { + let b = input.read_byte()?; + Ok(Vote { + aye: (b & 0b1000_0000) == 0b1000_0000, + conviction: Conviction::try_from(b & 0b0111_1111) + .map_err(|_| codec::Error::from("Invalid conviction"))?, + }) + } +} + +impl TypeInfo for Vote { + type Identity = Self; + + fn type_info() -> scale_info::Type { + scale_info::Type::builder() + .path(scale_info::Path::new("Vote", module_path!())) + .composite( + scale_info::build::Fields::unnamed() + .field(|f| f.ty::().docs(&["Raw vote byte, encodes aye + conviction"])), + ) + } +} + +/// A vote for a referendum of a particular account. +#[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +pub enum AccountVote { + /// A standard vote, one-way (approve or reject) with a given amount of conviction. + Standard { vote: Vote, balance: Balance }, + /// A split vote with balances given for both ways, and with no conviction, useful for + /// parachains when voting. + Split { aye: Balance, nay: Balance }, + /// A split vote with balances given for both ways as well as abstentions, and with no + /// conviction, useful for parachains when voting, other off-chain aggregate accounts and + /// individuals who wish to abstain. + SplitAbstain { aye: Balance, nay: Balance, abstain: Balance }, +} + +impl AccountVote { + /// Returns `Some` of the lock periods that the account is locked for, assuming that the + /// referendum passed iff `approved` is `true`. + pub fn locked_if(self, approved: bool) -> Option<(u32, Balance)> { + // winning side: can only be removed after the lock period ends. + match self { + AccountVote::Standard { vote: Vote { conviction: Conviction::None, .. }, .. } => None, + AccountVote::Standard { vote, balance } if vote.aye == approved => + Some((vote.conviction.lock_periods(), balance)), + _ => None, + } + } + + /// The total balance involved in this vote. + pub fn balance(self) -> Balance { + match self { + AccountVote::Standard { balance, .. } => balance, + AccountVote::Split { aye, nay } => aye.saturating_add(nay), + AccountVote::SplitAbstain { aye, nay, abstain } => + aye.saturating_add(nay).saturating_add(abstain), + } + } + + /// Returns `Some` with whether the vote is an aye vote if it is standard, otherwise `None` if + /// it is split. + pub fn as_standard(self) -> Option { + match self { + AccountVote::Standard { vote, .. } => Some(vote.aye), + _ => None, + } + } +} + +/// A "prior" lock, i.e. a lock for some now-forgotten reason. +#[derive( + Encode, + Decode, + Default, + Copy, + Clone, + Eq, + PartialEq, + Ord, + PartialOrd, + RuntimeDebug, + TypeInfo, + MaxEncodedLen, +)] +pub struct PriorLock(BlockNumber, Balance); + +impl PriorLock { + /// Accumulates an additional lock. + pub fn accumulate(&mut self, until: BlockNumber, amount: Balance) { + self.0 = self.0.max(until); + self.1 = self.1.max(amount); + } + + pub fn locked(&self) -> Balance { + self.1 + } + + pub fn rejig(&mut self, now: BlockNumber) { + if now >= self.0 { + self.0 = Zero::zero(); + self.1 = Zero::zero(); + } + } +} + +/// Information concerning the delegation of some voting power. +#[derive(Encode, Decode, Clone, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +pub struct Delegating { + /// The amount of balance delegated. + pub balance: Balance, + /// The account to which the voting power is delegated. + pub target: AccountId, + /// The conviction with which the voting power is delegated. When this gets undelegated, the + /// relevant lock begins. + pub conviction: Conviction, + /// The total amount of delegations that this account has received, post-conviction-weighting. + pub delegations: Delegations, + /// Any pre-existing locks from past voting/delegating activity. + pub prior: PriorLock, +} + +/// Information concerning the direct vote-casting of some voting power. +#[derive(Encode, Decode, Clone, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[scale_info(skip_type_params(MaxVotes))] +#[codec(mel_bound(Balance: MaxEncodedLen, BlockNumber: MaxEncodedLen, PollIndex: MaxEncodedLen))] +pub struct Casting +where + MaxVotes: Get, +{ + /// The current votes of the account. + pub votes: BoundedVec<(PollIndex, AccountVote), MaxVotes>, + /// The total amount of delegations that this account has received, post-conviction-weighting. + pub delegations: Delegations, + /// Any pre-existing locks from past voting/delegating activity. + pub prior: PriorLock, +} + +/// An indicator for what an account is doing; it can either be delegating or voting. +#[derive(Encode, Decode, Clone, Eq, PartialEq, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[scale_info(skip_type_params(MaxVotes))] +#[codec(mel_bound( + Balance: MaxEncodedLen, AccountId: MaxEncodedLen, BlockNumber: MaxEncodedLen, + PollIndex: MaxEncodedLen, +))] +pub enum Voting +where + MaxVotes: Get, +{ + /// The account is voting directly. + Casting(Casting), + /// The account is delegating `balance` of its balance to a `target` account with `conviction`. + Delegating(Delegating), +} + +impl Default + for Voting +where + MaxVotes: Get, +{ + fn default() -> Self { + Voting::Casting(Casting { + votes: Default::default(), + delegations: Default::default(), + prior: PriorLock(Zero::zero(), Default::default()), + }) + } +} + +impl AsMut> + for Voting +where + MaxVotes: Get, +{ + fn as_mut(&mut self) -> &mut PriorLock { + match self { + Voting::Casting(Casting { prior, .. }) => prior, + Voting::Delegating(Delegating { prior, .. }) => prior, + } + } +} + +impl< + Balance: Saturating + Ord + Zero + Copy, + BlockNumber: Ord + Copy + Zero, + AccountId, + PollIndex, + MaxVotes, + > Voting +where + MaxVotes: Get, +{ + pub fn rejig(&mut self, now: BlockNumber) { + AsMut::>::as_mut(self).rejig(now); + } + + /// The amount of this account's balance that must currently be locked due to voting. + pub fn locked_balance(&self) -> Balance { + match self { + Voting::Casting(Casting { votes, prior, .. }) => + votes.iter().map(|i| i.1.balance()).fold(prior.locked(), |a, i| a.max(i)), + Voting::Delegating(Delegating { balance, prior, .. }) => *balance.max(&prior.locked()), + } + } + + pub fn set_common( + &mut self, + delegations: Delegations, + prior: PriorLock, + ) { + let (d, p) = match self { + Voting::Casting(Casting { ref mut delegations, ref mut prior, .. }) => + (delegations, prior), + Voting::Delegating(Delegating { ref mut delegations, ref mut prior, .. }) => + (delegations, prior), + }; + *d = delegations; + *p = prior; + } +} diff --git a/pallets/conviction-voting/src/weights.rs b/pallets/conviction-voting/src/weights.rs new file mode 100644 index 000000000..225f5c2ca --- /dev/null +++ b/pallets/conviction-voting/src/weights.rs @@ -0,0 +1,341 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +//! Autogenerated weights for pallet_conviction_voting +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-06-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `runner-e8ezs4ez-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/production/substrate +// benchmark +// pallet +// --chain=dev +// --steps=50 +// --repeat=20 +// --pallet=pallet_conviction_voting +// --no-storage-info +// --no-median-slopes +// --no-min-squares +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --output=./frame/conviction-voting/src/weights.rs +// --header=./HEADER-APACHE2 +// --template=./.maintain/frame-weight-template.hbs + +#![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; + +/// Weight functions needed for pallet_conviction_voting. +pub trait WeightInfo { + fn vote_new() -> Weight; + fn vote_existing() -> Weight; + fn remove_vote() -> Weight; + fn remove_other_vote() -> Weight; + fn delegate(r: u32, ) -> Weight; + fn undelegate(r: u32, ) -> Weight; + fn unlock() -> Weight; +} + +/// Weights for pallet_conviction_voting using the Substrate node and recommended hardware. +pub struct SubstrateWeight(PhantomData); +impl WeightInfo for SubstrateWeight { + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13074` + // Estimated: `219984` + // Minimum execution time: 112_936_000 picoseconds. + Weight::from_parts(116_972_000, 219984) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `20216` + // Estimated: `219984` + // Minimum execution time: 291_971_000 picoseconds. + Weight::from_parts(301_738_000, 219984) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `19968` + // Estimated: `219984` + // Minimum execution time: 262_582_000 picoseconds. + Weight::from_parts(270_955_000, 219984) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `12675` + // Estimated: `30706` + // Minimum execution time: 52_909_000 picoseconds. + Weight::from_parts(56_365_000, 30706) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 1]`. + fn delegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + r * (1627 ±0)` + // Estimated: `109992 + r * (109992 ±0)` + // Minimum execution time: 54_640_000 picoseconds. + Weight::from_parts(57_185_281, 109992) + // Standard Error: 193_362 + .saturating_add(Weight::from_parts(44_897_418, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(4_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 109992).saturating_mul(r.into())) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 1]`. + fn undelegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `406 + r * (1376 ±0)` + // Estimated: `109992 + r * (109992 ±0)` + // Minimum execution time: 26_514_000 picoseconds. + Weight::from_parts(28_083_732, 109992) + // Standard Error: 104_905 + .saturating_add(Weight::from_parts(40_722_467, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 109992).saturating_mul(r.into())) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `11734` + // Estimated: `30706` + // Minimum execution time: 71_140_000 picoseconds. + Weight::from_parts(77_388_000, 30706) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } +} + +// For backwards compatibility and tests +impl WeightInfo for () { + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13074` + // Estimated: `219984` + // Minimum execution time: 112_936_000 picoseconds. + Weight::from_parts(116_972_000, 219984) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `20216` + // Estimated: `219984` + // Minimum execution time: 291_971_000 picoseconds. + Weight::from_parts(301_738_000, 219984) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `19968` + // Estimated: `219984` + // Minimum execution time: 262_582_000 picoseconds. + Weight::from_parts(270_955_000, 219984) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `12675` + // Estimated: `30706` + // Minimum execution time: 52_909_000 picoseconds. + Weight::from_parts(56_365_000, 30706) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 1]`. + fn delegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `240 + r * (1627 ±0)` + // Estimated: `109992 + r * (109992 ±0)` + // Minimum execution time: 54_640_000 picoseconds. + Weight::from_parts(57_185_281, 109992) + // Standard Error: 193_362 + .saturating_add(Weight::from_parts(44_897_418, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 109992).saturating_mul(r.into())) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(366), added: 2841, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(107022), added: 109497, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 1]`. + fn undelegate(r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `406 + r * (1376 ±0)` + // Estimated: `109992 + r * (109992 ±0)` + // Minimum execution time: 26_514_000 picoseconds. + Weight::from_parts(28_083_732, 109992) + // Standard Error: 104_905 + .saturating_add(Weight::from_parts(40_722_467, 0).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 109992).saturating_mul(r.into())) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(59), added: 2534, 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(49), added: 2524, mode: MaxEncodedLen) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `11734` + // Estimated: `30706` + // Minimum execution time: 71_140_000 picoseconds. + Weight::from_parts(77_388_000, 30706) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) + } +} From 499c16691fb570fcc5c1e25c07f99d919a412071 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 6 Jun 2024 13:06:52 +0200 Subject: [PATCH 02/70] add hooks trait --- pallets/conviction-voting/Cargo.toml | 1 + pallets/conviction-voting/src/benchmarking.rs | 8 +- pallets/conviction-voting/src/conviction.rs | 19 +- pallets/conviction-voting/src/lib.rs | 238 ++++++++---------- pallets/conviction-voting/src/tests.rs | 230 +++++++++++++---- pallets/conviction-voting/src/traits.rs | 43 +++- pallets/conviction-voting/src/types.rs | 84 ++++--- pallets/conviction-voting/src/vote.rs | 73 +++--- 8 files changed, 416 insertions(+), 280 deletions(-) diff --git a/pallets/conviction-voting/Cargo.toml b/pallets/conviction-voting/Cargo.toml index 05529eb4b..35e498e51 100644 --- a/pallets/conviction-voting/Cargo.toml +++ b/pallets/conviction-voting/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "pallet-conviction-voting" +edition = "2021" version = "28.0.0" license = "Apache-2.0" homepage = "https://substrate.io" diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 8701ed7eb..e94c79d27 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -38,8 +38,7 @@ const SEED: u32 = 0; /// Fill all classes as much as possible up to `MaxVotes` and return the Class with the most votes /// ongoing. -fn fill_voting, I: 'static>( -) -> (ClassOf, BTreeMap, Vec>>) { +fn fill_voting, I: 'static>() -> (ClassOf, BTreeMap, Vec>>) { let mut r = BTreeMap::, Vec>>::new(); for class in T::Polls::classes().into_iter() { for _ in 0..T::MaxVotes::get() { @@ -60,7 +59,10 @@ fn funded_account, I: 'static>(name: &'static str, index: u32) -> T } fn account_vote, I: 'static>(b: BalanceOf) -> AccountVote> { - let v = Vote { aye: true, conviction: Conviction::Locked1x }; + let v = Vote { + aye: true, + conviction: Conviction::Locked1x, + }; AccountVote::Standard { vote: v, balance: b } } diff --git a/pallets/conviction-voting/src/conviction.rs b/pallets/conviction-voting/src/conviction.rs index b5c9a3a70..8054cce87 100644 --- a/pallets/conviction-voting/src/conviction.rs +++ b/pallets/conviction-voting/src/conviction.rs @@ -27,19 +27,7 @@ use sp_runtime::{ use crate::types::Delegations; /// A value denoting the strength of conviction of a vote. -#[derive( - Encode, - Decode, - Copy, - Clone, - Eq, - PartialEq, - Ord, - PartialOrd, - RuntimeDebug, - TypeInfo, - MaxEncodedLen, -)] +#[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen)] pub enum Conviction { /// 0.1x votes, unlocked. None, @@ -109,10 +97,7 @@ impl Conviction { } /// The votes of a voter of the given `balance` with our conviction. - pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>( - self, - capital: B, - ) -> Delegations { + pub fn votes + Zero + Copy + CheckedMul + CheckedDiv + Bounded>(self, capital: B) -> Delegations { let votes = match self { Conviction::None => capital.checked_div(&10u8.into()).unwrap_or_else(Zero::zero), x => capital.checked_mul(&u8::from(x).into()).unwrap_or_else(B::max_value), diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 4826bafa8..31f5851dc 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -27,17 +27,12 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] -extern crate frame_support; -extern crate sp_std; -extern crate frame_system; -extern crate sp_runtime; - use frame_support::{ dispatch::DispatchResult, ensure, traits::{ - fungible, Currency, Get, LockIdentifier, LockableCurrency, PollStatus, Polling, - ReservableCurrency, WithdrawReasons, + fungible, Currency, Get, LockIdentifier, LockableCurrency, PollStatus, Polling, ReservableCurrency, + WithdrawReasons, }, }; use frame_system::pallet_prelude::BlockNumberFor; @@ -48,10 +43,10 @@ use sp_runtime::{ use sp_std::prelude::*; mod conviction; +pub mod traits; mod types; mod vote; pub mod weights; -//pub mod traits; pub use self::{ conviction::Conviction, @@ -70,8 +65,7 @@ pub mod benchmarking; const CONVICTION_VOTING_ID: LockIdentifier = *b"pyconvot"; type AccountIdLookupOf = <::Lookup as StaticLookup>::Source; -type BalanceOf = - <>::Currency as Currency<::AccountId>>::Balance; +type BalanceOf = <>::Currency as Currency<::AccountId>>::Balance; type VotingOf = Voting< BalanceOf, ::AccountId, @@ -80,8 +74,7 @@ type VotingOf = Voting< >::MaxVotes, >; #[allow(dead_code)] -type DelegatingOf = - Delegating, ::AccountId, BlockNumberFor>; +type DelegatingOf = Delegating, ::AccountId, BlockNumberFor>; pub type TallyOf = Tally, >::MaxTurnout>; pub type VotesOf = BalanceOf; type PollIndexOf = <>::Polls as Polling>>::Index; @@ -92,10 +85,9 @@ type ClassOf = <>::Polls as Polling>>::C #[frame_support::pallet] pub mod pallet { use super::*; + use crate::traits::VotingHooks; use frame_support::{ - pallet_prelude::{ - DispatchResultWithPostInfo, IsType, StorageDoubleMap, StorageMap, ValueQuery, - }, + pallet_prelude::{DispatchResultWithPostInfo, IsType, StorageDoubleMap, StorageMap, ValueQuery}, traits::ClassCountOf, Twox64Concat, }; @@ -108,8 +100,7 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config + Sized { // System level stuff. - type RuntimeEvent: From> - + IsType<::RuntimeEvent>; + type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; /// Currency type with which voting happens. @@ -118,11 +109,7 @@ pub mod pallet { + fungible::Inspect; /// The implementation of the logic which conducts polls. - type Polls: Polling< - TallyOf, - Votes = BalanceOf, - Moment = BlockNumberFor, - >; + type Polls: Polling, Votes = BalanceOf, Moment = BlockNumberFor>; /// The maximum amount of tokens which may be used for voting. May just be /// `Currency::total_issuance`, but you might want to reduce this in order to account for @@ -142,20 +129,17 @@ pub mod pallet { /// those successful voters are locked into the consequences that their votes entail. #[pallet::constant] type VoteLockingPeriod: Get>; + + /// Hooks are actions that are executed on certain events. + /// Actions: on_vote, on_remove_vote + type VotingHooks: VotingHooks, BalanceOf>; } /// All voting for a particular voter in a particular voting class. We store the balance for the /// number of votes that we have recorded. #[pallet::storage] - pub type VotingFor, I: 'static = ()> = StorageDoubleMap< - _, - Twox64Concat, - T::AccountId, - Twox64Concat, - ClassOf, - VotingOf, - ValueQuery, - >; + pub type VotingFor, I: 'static = ()> = + StorageDoubleMap<_, Twox64Concat, T::AccountId, Twox64Concat, ClassOf, VotingOf, ValueQuery>; /// The voting classes which have a non-zero lock requirement and the lock amounts which they /// require. The actual amount locked on behalf of this pallet should always be the maximum of @@ -288,10 +272,7 @@ pub mod pallet { // because a valid delegation cover decoding a direct voting with max votes. #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get().into()))] - pub fn undelegate( - origin: OriginFor, - class: ClassOf, - ) -> DispatchResultWithPostInfo { + pub fn undelegate(origin: OriginFor, class: ClassOf) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; let votes = Self::try_undelegate(who, class)?; Ok(Some(T::WeightInfo::undelegate(votes)).into()) @@ -308,11 +289,7 @@ pub mod pallet { /// Weight: `O(R)` with R number of vote of target. #[pallet::call_index(3)] #[pallet::weight(T::WeightInfo::unlock())] - pub fn unlock( - origin: OriginFor, - class: ClassOf, - target: AccountIdLookupOf, - ) -> DispatchResult { + pub fn unlock(origin: OriginFor, class: ClassOf, target: AccountIdLookupOf) -> DispatchResult { ensure_signed(origin)?; let target = T::Lookup::lookup(target)?; Self::update_lock(&class, &target); @@ -385,7 +362,11 @@ pub mod pallet { ) -> DispatchResult { let who = ensure_signed(origin)?; let target = T::Lookup::lookup(target)?; - let scope = if target == who { UnvoteScope::Any } else { UnvoteScope::OnlyExpired }; + let scope = if target == who { + UnvoteScope::Any + } else { + UnvoteScope::OnlyExpired + }; Self::try_remove_vote(&target, index, Some(class), scope)?; Ok(()) } @@ -406,7 +387,12 @@ impl, I: 'static> Pallet { T::Polls::try_access_poll(poll_index, |poll_status| { let (tally, class) = poll_status.ensure_ongoing().ok_or(Error::::NotOngoing)?; VotingFor::::try_mutate(who, &class, |voting| { - if let Voting::Casting(Casting { ref mut votes, delegations, .. }) = voting { + if let Voting::Casting(Casting { + ref mut votes, + delegations, + .. + }) = voting + { match votes.binary_search_by_key(&poll_index, |i| i.0) { Ok(i) => { // Shouldn't be possible to fail, but we handle it gracefully. @@ -415,12 +401,12 @@ impl, I: 'static> Pallet { tally.reduce(approve, *delegations); } votes[i].1 = vote; - }, + } Err(i) => { votes .try_insert(i, (poll_index, vote)) .map_err(|_| Error::::MaxVotesReached)?; - }, + } } // Shouldn't be possible to fail, but we handle it gracefully. tally.add(vote).ok_or(ArithmeticError::Overflow)?; @@ -428,7 +414,7 @@ impl, I: 'static> Pallet { tally.increase(approve, *delegations); } } else { - return Err(Error::::AlreadyDelegating.into()) + return Err(Error::::AlreadyDelegating.into()); } // Extend the lock to `balance` (rather than setting it) since we don't know what // other votes are in place. @@ -454,7 +440,12 @@ impl, I: 'static> Pallet { .or_else(|| Some(T::Polls::as_ongoing(poll_index)?.1)) .ok_or(Error::::ClassNeeded)?; VotingFor::::try_mutate(who, class, |voting| { - if let Voting::Casting(Casting { ref mut votes, delegations, ref mut prior }) = voting { + if let Voting::Casting(Casting { + ref mut votes, + delegations, + ref mut prior, + }) = voting + { let i = votes .binary_search_by_key(&poll_index, |i| i.0) .map_err(|_| Error::::NotVoter)?; @@ -469,23 +460,19 @@ impl, I: 'static> Pallet { tally.reduce(approve, *delegations); } Ok(()) - }, + } PollStatus::Completed(end, approved) => { if let Some((lock_periods, balance)) = v.1.locked_if(approved) { - let unlock_at = end.saturating_add( - T::VoteLockingPeriod::get().saturating_mul(lock_periods.into()), - ); + let unlock_at = + end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); let now = frame_system::Pallet::::block_number(); if now < unlock_at { - ensure!( - matches!(scope, UnvoteScope::Any), - Error::::NoPermissionYet - ); + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); prior.accumulate(unlock_at, balance) } } Ok(()) - }, + } PollStatus::None => Ok(()), // Poll was cancelled. }) } else { @@ -505,7 +492,7 @@ impl, I: 'static> Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_add(amount); 1 - }, + } Voting::Casting(Casting { votes, delegations, .. }) => { *delegations = delegations.saturating_add(amount); for &(poll_index, account_vote) in votes.iter() { @@ -518,7 +505,7 @@ impl, I: 'static> Pallet { } } votes.len() as u32 - }, + } }) } @@ -533,7 +520,7 @@ impl, I: 'static> Pallet { // We don't support second level delegating, so we don't need to do anything more. *delegations = delegations.saturating_sub(amount); 1 - }, + } Voting::Casting(Casting { votes, delegations, .. }) => { *delegations = delegations.saturating_sub(amount); for &(poll_index, account_vote) in votes.iter() { @@ -546,7 +533,7 @@ impl, I: 'static> Pallet { } } votes.len() as u32 - }, + } }) } @@ -561,37 +548,43 @@ impl, I: 'static> Pallet { balance: BalanceOf, ) -> Result { ensure!(who != target, Error::::Nonsense); - T::Polls::classes().binary_search(&class).map_err(|_| Error::::BadClass)?; - ensure!(balance <= T::Currency::total_balance(&who), Error::::InsufficientFunds); - let votes = - VotingFor::::try_mutate(&who, &class, |voting| -> Result { - let old = sp_std::mem::replace( - voting, - Voting::Delegating(Delegating { - balance, - target: target.clone(), - conviction, - delegations: Default::default(), - prior: Default::default(), - }), - ); - match old { - Voting::Delegating(Delegating { .. }) => - return Err(Error::::AlreadyDelegating.into()), - Voting::Casting(Casting { votes, delegations, prior }) => { - // here we just ensure that we're currently idling with no votes recorded. - ensure!(votes.is_empty(), Error::::AlreadyVoting); - voting.set_common(delegations, prior); - }, + T::Polls::classes() + .binary_search(&class) + .map_err(|_| Error::::BadClass)?; + ensure!( + balance <= T::Currency::total_balance(&who), + Error::::InsufficientFunds + ); + let votes = VotingFor::::try_mutate(&who, &class, |voting| -> Result { + let old = sp_std::mem::replace( + voting, + Voting::Delegating(Delegating { + balance, + target: target.clone(), + conviction, + delegations: Default::default(), + prior: Default::default(), + }), + ); + match old { + Voting::Delegating(Delegating { .. }) => return Err(Error::::AlreadyDelegating.into()), + Voting::Casting(Casting { + votes, + delegations, + prior, + }) => { + // here we just ensure that we're currently idling with no votes recorded. + ensure!(votes.is_empty(), Error::::AlreadyVoting); + voting.set_common(delegations, prior); } + } - let votes = - Self::increase_upstream_delegation(&target, &class, conviction.votes(balance)); - // Extend the lock to `balance` (rather than setting it) since we don't know what - // other votes are in place. - Self::extend_lock(&who, &class, balance); - Ok(votes) - })?; + let votes = Self::increase_upstream_delegation(&target, &class, conviction.votes(balance)); + // Extend the lock to `balance` (rather than setting it) since we don't know what + // other votes are in place. + Self::extend_lock(&who, &class, balance); + Ok(votes) + })?; Self::deposit_event(Event::::Delegated(who, target)); Ok(votes) } @@ -600,54 +593,45 @@ impl, I: 'static> Pallet { /// /// Return the number of votes of upstream. fn try_undelegate(who: T::AccountId, class: ClassOf) -> Result { - let votes = - VotingFor::::try_mutate(&who, &class, |voting| -> Result { - match sp_std::mem::replace(voting, Voting::default()) { - Voting::Delegating(Delegating { + let votes = VotingFor::::try_mutate(&who, &class, |voting| -> Result { + match sp_std::mem::replace(voting, Voting::default()) { + Voting::Delegating(Delegating { + balance, + target, + conviction, + delegations, + mut prior, + }) => { + // remove any delegation votes to our current target. + let votes = Self::reduce_upstream_delegation(&target, &class, conviction.votes(balance)); + let now = frame_system::Pallet::::block_number(); + let lock_periods = conviction.lock_periods().into(); + prior.accumulate( + now.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods)), balance, - target, - conviction, - delegations, - mut prior, - }) => { - // remove any delegation votes to our current target. - let votes = Self::reduce_upstream_delegation( - &target, - &class, - conviction.votes(balance), - ); - let now = frame_system::Pallet::::block_number(); - let lock_periods = conviction.lock_periods().into(); - prior.accumulate( - now.saturating_add( - T::VoteLockingPeriod::get().saturating_mul(lock_periods), - ), - balance, - ); - voting.set_common(delegations, prior); - - Ok(votes) - }, - Voting::Casting(_) => Err(Error::::NotDelegating.into()), + ); + voting.set_common(delegations, prior); + + Ok(votes) } - })?; + Voting::Casting(_) => Err(Error::::NotDelegating.into()), + } + })?; Self::deposit_event(Event::::Undelegated(who)); Ok(votes) } fn extend_lock(who: &T::AccountId, class: &ClassOf, amount: BalanceOf) { - ClassLocksFor::::mutate(who, |locks| { - match locks.iter().position(|x| &x.0 == class) { - Some(i) => locks[i].1 = locks[i].1.max(amount), - None => { - let ok = locks.try_push((class.clone(), amount)).is_ok(); - debug_assert!( - ok, - "Vec bounded by number of classes; \ + ClassLocksFor::::mutate(who, |locks| match locks.iter().position(|x| &x.0 == class) { + Some(i) => locks[i].1 = locks[i].1.max(amount), + None => { + let ok = locks.try_push((class.clone(), amount)).is_ok(); + debug_assert!( + ok, + "Vec bounded by number of classes; \ all items in Vec associated with a unique class; \ qed" - ); - }, + ); } }); T::Currency::extend_lock( diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs index b67290e7f..545dee0c8 100644 --- a/pallets/conviction-voting/src/tests.rs +++ b/pallets/conviction-voting/src/tests.rs @@ -47,7 +47,10 @@ frame_support::construct_runtime!( pub struct BaseFilter; impl Contains for BaseFilter { fn contains(call: &RuntimeCall) -> bool { - !matches!(call, &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. })) + !matches!( + call, + &RuntimeCall::Balances(pallet_balances::Call::force_set_balance { .. }) + ) } } @@ -127,15 +130,11 @@ impl Polling> for TestPolls { } }) } - fn access_poll( - index: Self::Index, - f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> R, - ) -> R { + fn access_poll(index: Self::Index, f: impl FnOnce(PollStatus<&mut TallyOf, u64, u8>) -> R) -> R { let mut polls = Polls::get(); let entry = polls.get_mut(&index); let r = match entry { - Some(Ongoing(ref mut tally_mut_ref, class)) => - f(PollStatus::Ongoing(tally_mut_ref, *class)), + Some(Ongoing(ref mut tally_mut_ref, class)) => f(PollStatus::Ongoing(tally_mut_ref, *class)), Some(Completed(when, succeeded)) => f(PollStatus::Completed(*when, *succeeded)), None => f(PollStatus::None), }; @@ -149,8 +148,7 @@ impl Polling> for TestPolls { let mut polls = Polls::get(); let entry = polls.get_mut(&index); let r = match entry { - Some(Ongoing(ref mut tally_mut_ref, class)) => - f(PollStatus::Ongoing(tally_mut_ref, *class)), + Some(Ongoing(ref mut tally_mut_ref, class)) => f(PollStatus::Ongoing(tally_mut_ref, *class)), Some(Completed(when, succeeded)) => f(PollStatus::Completed(*when, *succeeded)), None => f(PollStatus::None), }?; @@ -171,7 +169,7 @@ impl Polling> for TestPolls { fn end_ongoing(index: Self::Index, approved: bool) -> Result<(), ()> { let mut polls = Polls::get(); match polls.get(&index) { - Some(Ongoing(..)) => {}, + Some(Ongoing(..)) => {} _ => return Err(()), } let now = frame_system::Pallet::::block_number(); @@ -189,6 +187,7 @@ impl Config for Test { type WeightInfo = (); type MaxTurnout = frame_support::traits::TotalIssuanceOf; type Polls = TestPolls; + type VotingHooks = (); } pub fn new_test_ext() -> sp_io::TestExternalities { @@ -223,12 +222,18 @@ fn run_to(n: u64) { } fn aye(amount: u64, conviction: u8) -> AccountVote { - let vote = Vote { aye: true, conviction: conviction.try_into().unwrap() }; + let vote = Vote { + aye: true, + conviction: conviction.try_into().unwrap(), + }; AccountVote::Standard { vote, balance: amount } } fn nay(amount: u64, conviction: u8) -> AccountVote { - let vote = Vote { aye: false, conviction: conviction.try_into().unwrap() }; + let vote = Vote { + aye: false, + conviction: conviction.try_into().unwrap(), + }; AccountVote::Standard { vote, balance: amount } } @@ -241,11 +246,15 @@ fn split_abstain(aye: u64, nay: u64, abstain: u64) -> AccountVote { } fn tally(index: u8) -> TallyOf { - >>::as_ongoing(index).expect("No poll").0 + >>::as_ongoing(index) + .expect("No poll") + .0 } fn class(index: u8) -> u8 { - >>::as_ongoing(index).expect("No poll").1 + >>::as_ongoing(index) + .expect("No poll") + .1 } #[test] @@ -431,9 +440,27 @@ fn classwise_delegation_works() { .into_iter() .collect(), ); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 5)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 5 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 1, + 3, + Conviction::Locked1x, + 5 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 2, + 4, + Conviction::Locked1x, + 5 + )); assert_eq!(Balances::usable_balance(1), 5); assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 0))); @@ -475,7 +502,13 @@ fn classwise_delegation_works() { // Redelegate for class 2 to account 3. assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 3, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 2, + 3, + Conviction::Locked1x, + 5 + )); assert_eq!( Polls::get(), vec![ @@ -492,9 +525,27 @@ fn classwise_delegation_works() { assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 3)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 3)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 3)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 3 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 1, + 3, + Conviction::Locked1x, + 3 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 2, + 4, + Conviction::Locked1x, + 3 + )); assert_eq!( Polls::get(), vec![ @@ -516,15 +567,33 @@ fn classwise_delegation_works() { // Redelegating with higher amount extends previous lock. assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 6)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 6 + )); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 4); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 3, Conviction::Locked1x, 7)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 1, + 3, + Conviction::Locked1x, + 7 + )); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 1, 1)); assert_eq!(Balances::usable_balance(1), 3); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 2)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 4, Conviction::Locked1x, 8)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 2, + 4, + Conviction::Locked1x, + 8 + )); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 2, 1)); assert_eq!(Balances::usable_balance(1), 2); assert_eq!( @@ -545,12 +614,24 @@ fn classwise_delegation_works() { fn redelegation_after_vote_ending_should_keep_lock() { new_test_ext().execute_with(|| { Polls::set(vec![(0, Ongoing(Tally::new(0), 0))].into_iter().collect()); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 5 + )); assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 0, aye(10, 1))); Polls::set(vec![(0, Completed(1, true))].into_iter().collect()); assert_eq!(Balances::usable_balance(1), 5); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 3, Conviction::Locked1x, 3)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 3, + Conviction::Locked1x, + 3 + )); assert_eq!(Balances::usable_balance(1), 5); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 5); @@ -575,9 +656,13 @@ fn lock_amalgamation_valid_with_multiple_removed_votes() { assert_eq!(Balances::usable_balance(1), 0); Polls::set( - vec![(0, Completed(1, true)), (1, Completed(1, true)), (2, Completed(1, true))] - .into_iter() - .collect(), + vec![ + (0, Completed(1, true)), + (1, Completed(1, true)), + (2, Completed(1, true)), + ] + .into_iter() + .collect(), ); assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); @@ -608,11 +693,29 @@ fn lock_amalgamation_valid_with_multiple_removed_votes() { #[test] fn lock_amalgamation_valid_with_multiple_delegations() { new_test_ext().execute_with(|| { - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 5 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 10 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked2x, + 5 + )); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 0); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); @@ -641,7 +744,13 @@ fn lock_amalgamation_valid_with_move_roundtrip_to_delegation() { assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 5); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 10)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 10 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 0); @@ -668,7 +777,13 @@ fn lock_amalgamation_valid_with_move_roundtrip_to_delegation() { #[test] fn lock_amalgamation_valid_with_move_roundtrip_to_casting() { new_test_ext().execute_with(|| { - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 5 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); @@ -682,7 +797,13 @@ fn lock_amalgamation_valid_with_move_roundtrip_to_casting() { assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), 0, 1)); assert_eq!(Balances::usable_balance(1), 0); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked2x, 10)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked2x, + 10 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); run_to(3); @@ -702,9 +823,27 @@ fn lock_amalgamation_valid_with_move_roundtrip_to_casting() { #[test] fn lock_aggregation_over_different_classes_with_delegation_works() { new_test_ext().execute_with(|| { - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 0, 2, Conviction::Locked1x, 5)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 1, 2, Conviction::Locked2x, 5)); - assert_ok!(Voting::delegate(RuntimeOrigin::signed(1), 2, 2, Conviction::Locked1x, 10)); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 0, + 2, + Conviction::Locked1x, + 5 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 1, + 2, + Conviction::Locked2x, + 5 + )); + assert_ok!(Voting::delegate( + RuntimeOrigin::signed(1), + 2, + 2, + Conviction::Locked1x, + 10 + )); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 0)); assert_ok!(Voting::undelegate(RuntimeOrigin::signed(1), 1)); @@ -746,9 +885,13 @@ fn lock_aggregation_over_different_classes_with_casting_works() { assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 1, aye(10, 1))); assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 2, aye(5, 2))); Polls::set( - vec![(0, Completed(1, true)), (1, Completed(1, true)), (2, Completed(1, true))] - .into_iter() - .collect(), + vec![ + (0, Completed(1, true)), + (1, Completed(1, true)), + (2, Completed(1, true)), + ] + .into_iter() + .collect(), ); assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(0), 0)); assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(1), 1)); @@ -839,7 +982,10 @@ fn errors_with_delegating_work() { Error::::AlreadyVoting ); - assert_noop!(Voting::undelegate(RuntimeOrigin::signed(1), 0), Error::::NotDelegating); + assert_noop!( + Voting::undelegate(RuntimeOrigin::signed(1), 0), + Error::::NotDelegating + ); }); } diff --git a/pallets/conviction-voting/src/traits.rs b/pallets/conviction-voting/src/traits.rs index 98d5afac4..d866cf490 100644 --- a/pallets/conviction-voting/src/traits.rs +++ b/pallets/conviction-voting/src/traits.rs @@ -1,19 +1,36 @@ +use crate::AccountVote; use frame_support::dispatch::DispatchResult; -use ::{Config, PollIndexOf}; -use ::{AccountVote, BalanceOf}; -pub trait VotingHooks where T: Config { - fn on_vote(who: &T::AccountId, ref_index: PollIndexOf, vote: AccountVote>) -> DispatchResult; +pub trait VotingHooks { + fn on_vote(who: &AccountId, ref_index: Index, vote: AccountVote) -> DispatchResult; - // Called when removed vote is executed. - // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(bool) if referendum is finished(true) or ongoing(false). - fn on_remove_vote(who: &T::AccountId, ref_index: PollIndexOf, is_finished: Option); + // Called when removed vote is executed. + // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(bool) if referendum is finished(true) or ongoing(false). + fn on_remove_vote(who: &AccountId, ref_index: Index, is_finished: Option); - fn remove_vote_locks_if_needed(who: &T::AccountId, ref_index: PollIndexOf) -> Option>; + fn remove_vote_locks_if_needed(who: &AccountId, ref_index: Index) -> Option; - #[cfg(feature = "runtime-benchmarks")] - fn on_vote_worst_case(_who: &T::AccountId); + #[cfg(feature = "runtime-benchmarks")] + fn on_vote_worst_case(_who: &AccountId); - #[cfg(feature = "runtime-benchmarks")] - fn on_remove_vote_worst_case(_who: &T::AccountId); -} \ No newline at end of file + #[cfg(feature = "runtime-benchmarks")] + fn on_remove_vote_worst_case(_who: &AccountId); +} + +impl VotingHooks for () { + fn on_vote(_who: &A, _ref_index: I, _vote: AccountVote) -> DispatchResult { + Ok(()) + } + + fn on_remove_vote(_who: &A, _ref_index: I, _is_finished: Option) {} + + fn remove_vote_locks_if_needed(_who: &A, _ref_index: I) -> Option { + None + } + + #[cfg(feature = "runtime-benchmarks")] + fn on_vote_worst_case(_who: &A) {} + + #[cfg(feature = "runtime-benchmarks")] + fn on_remove_vote_worst_case(_who: &A) {} +} diff --git a/pallets/conviction-voting/src/types.rs b/pallets/conviction-voting/src/types.rs index 2c45b5448..f1e1f1143 100644 --- a/pallets/conviction-voting/src/types.rs +++ b/pallets/conviction-voting/src/types.rs @@ -18,9 +18,7 @@ //! Miscellaneous additional datatypes. use codec::{Codec, Decode, Encode, MaxEncodedLen}; -use frame_support::{ - traits::VoteTally, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound, -}; +use frame_support::{traits::VoteTally, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound}; use scale_info::TypeInfo; use sp_runtime::{ traits::{Saturating, Zero}, @@ -32,16 +30,7 @@ use super::*; use crate::{AccountVote, Conviction, Vote}; /// Info regarding an ongoing referendum. -#[derive( - CloneNoBound, - PartialEqNoBound, - EqNoBound, - RuntimeDebugNoBound, - TypeInfo, - Encode, - Decode, - MaxEncodedLen, -)] +#[derive(CloneNoBound, PartialEqNoBound, EqNoBound, RuntimeDebugNoBound, TypeInfo, Encode, Decode, MaxEncodedLen)] #[scale_info(skip_type_params(Total))] #[codec(mel_bound(Votes: MaxEncodedLen))] pub struct Tally { @@ -62,7 +51,12 @@ impl< > VoteTally for Tally { fn new(_: Class) -> Self { - Self { ayes: Zero::zero(), nays: Zero::zero(), support: Zero::zero(), dummy: PhantomData } + Self { + ayes: Zero::zero(), + nays: Zero::zero(), + support: Zero::zero(), + dummy: PhantomData, + } } fn ayes(&self, _: Class) -> Votes { @@ -79,19 +73,34 @@ impl< #[cfg(feature = "runtime-benchmarks")] fn unanimity(_: Class) -> Self { - Self { ayes: Total::get(), nays: Zero::zero(), support: Total::get(), dummy: PhantomData } + Self { + ayes: Total::get(), + nays: Zero::zero(), + support: Total::get(), + dummy: PhantomData, + } } #[cfg(feature = "runtime-benchmarks")] fn rejection(_: Class) -> Self { - Self { ayes: Zero::zero(), nays: Total::get(), support: Total::get(), dummy: PhantomData } + Self { + ayes: Zero::zero(), + nays: Total::get(), + support: Total::get(), + dummy: PhantomData, + } } #[cfg(feature = "runtime-benchmarks")] fn from_requirements(support: Perbill, approval: Perbill, _: Class) -> Self { let support = support.mul_ceil(Total::get()); let ayes = approval.mul_ceil(support); - Self { ayes, nays: support - ayes, support, dummy: PhantomData } + Self { + ayes, + nays: support - ayes, + support, + dummy: PhantomData, + } } #[cfg(feature = "runtime-benchmarks")] @@ -114,11 +123,7 @@ impl< } } - pub fn from_parts( - ayes_with_conviction: Votes, - nays_with_conviction: Votes, - ayes: Votes, - ) -> Self { + pub fn from_parts(ayes_with_conviction: Votes, nays_with_conviction: Votes, ayes: Votes) -> Self { Self { ayes: ayes_with_conviction, nays: nays_with_conviction, @@ -136,26 +141,25 @@ impl< true => { self.support = self.support.checked_add(&capital)?; self.ayes = self.ayes.checked_add(&votes)? - }, + } false => self.nays = self.nays.checked_add(&votes)?, } - }, + } AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.support = self.support.checked_add(&aye.capital)?; self.ayes = self.ayes.checked_add(&aye.votes)?; self.nays = self.nays.checked_add(&nay.votes)?; - }, + } AccountVote::SplitAbstain { aye, nay, abstain } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); let abstain = Conviction::None.votes(abstain); - self.support = - self.support.checked_add(&aye.capital)?.checked_add(&abstain.capital)?; + self.support = self.support.checked_add(&aye.capital)?.checked_add(&abstain.capital)?; self.ayes = self.ayes.checked_add(&aye.votes)?; self.nays = self.nays.checked_add(&nay.votes)?; - }, + } } Some(()) } @@ -169,26 +173,25 @@ impl< true => { self.support = self.support.checked_sub(&capital)?; self.ayes = self.ayes.checked_sub(&votes)? - }, + } false => self.nays = self.nays.checked_sub(&votes)?, } - }, + } AccountVote::Split { aye, nay } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); self.support = self.support.checked_sub(&aye.capital)?; self.ayes = self.ayes.checked_sub(&aye.votes)?; self.nays = self.nays.checked_sub(&nay.votes)?; - }, + } AccountVote::SplitAbstain { aye, nay, abstain } => { let aye = Conviction::None.votes(aye); let nay = Conviction::None.votes(nay); let abstain = Conviction::None.votes(abstain); - self.support = - self.support.checked_sub(&aye.capital)?.checked_sub(&abstain.capital)?; + self.support = self.support.checked_sub(&aye.capital)?.checked_sub(&abstain.capital)?; self.ayes = self.ayes.checked_sub(&aye.votes)?; self.nays = self.nays.checked_sub(&nay.votes)?; - }, + } } Some(()) } @@ -199,7 +202,7 @@ impl< true => { self.support = self.support.saturating_add(delegations.capital); self.ayes = self.ayes.saturating_add(delegations.votes); - }, + } false => self.nays = self.nays.saturating_add(delegations.votes), } } @@ -210,16 +213,14 @@ impl< true => { self.support = self.support.saturating_sub(delegations.capital); self.ayes = self.ayes.saturating_sub(delegations.votes); - }, + } false => self.nays = self.nays.saturating_sub(delegations.votes), } } } /// Amount of votes and capital placed in delegation for an account. -#[derive( - Encode, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen, -)] +#[derive(Encode, Decode, Default, Copy, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo, MaxEncodedLen)] pub struct Delegations { /// The number of votes (this is post-conviction). pub votes: Balance, @@ -250,7 +251,10 @@ impl Saturating for Delegations { } fn saturating_pow(self, exp: usize) -> Self { - Self { votes: self.votes.saturating_pow(exp), capital: self.capital.saturating_pow(exp) } + Self { + votes: self.votes.saturating_pow(exp), + capital: self.capital.saturating_pow(exp), + } } } diff --git a/pallets/conviction-voting/src/vote.rs b/pallets/conviction-voting/src/vote.rs index 5ae08f0de..6fa279966 100644 --- a/pallets/conviction-voting/src/vote.rs +++ b/pallets/conviction-voting/src/vote.rs @@ -47,8 +47,7 @@ impl Decode for Vote { let b = input.read_byte()?; Ok(Vote { aye: (b & 0b1000_0000) == 0b1000_0000, - conviction: Conviction::try_from(b & 0b0111_1111) - .map_err(|_| codec::Error::from("Invalid conviction"))?, + conviction: Conviction::try_from(b & 0b0111_1111).map_err(|_| codec::Error::from("Invalid conviction"))?, }) } } @@ -77,7 +76,11 @@ pub enum AccountVote { /// A split vote with balances given for both ways as well as abstentions, and with no /// conviction, useful for parachains when voting, other off-chain aggregate accounts and /// individuals who wish to abstain. - SplitAbstain { aye: Balance, nay: Balance, abstain: Balance }, + SplitAbstain { + aye: Balance, + nay: Balance, + abstain: Balance, + }, } impl AccountVote { @@ -86,9 +89,16 @@ impl AccountVote { pub fn locked_if(self, approved: bool) -> Option<(u32, Balance)> { // winning side: can only be removed after the lock period ends. match self { - AccountVote::Standard { vote: Vote { conviction: Conviction::None, .. }, .. } => None, - AccountVote::Standard { vote, balance } if vote.aye == approved => - Some((vote.conviction.lock_periods(), balance)), + AccountVote::Standard { + vote: Vote { + conviction: Conviction::None, + .. + }, + .. + } => None, + AccountVote::Standard { vote, balance } if vote.aye == approved => { + Some((vote.conviction.lock_periods(), balance)) + } _ => None, } } @@ -98,8 +108,7 @@ impl AccountVote { match self { AccountVote::Standard { balance, .. } => balance, AccountVote::Split { aye, nay } => aye.saturating_add(nay), - AccountVote::SplitAbstain { aye, nay, abstain } => - aye.saturating_add(nay).saturating_add(abstain), + AccountVote::SplitAbstain { aye, nay, abstain } => aye.saturating_add(nay).saturating_add(abstain), } } @@ -115,18 +124,7 @@ impl AccountVote { /// A "prior" lock, i.e. a lock for some now-forgotten reason. #[derive( - Encode, - Decode, - Default, - Copy, - Clone, - Eq, - PartialEq, - Ord, - PartialOrd, - RuntimeDebug, - TypeInfo, - MaxEncodedLen, + Encode, Decode, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen, )] pub struct PriorLock(BlockNumber, Balance); @@ -225,13 +223,8 @@ where } } -impl< - Balance: Saturating + Ord + Zero + Copy, - BlockNumber: Ord + Copy + Zero, - AccountId, - PollIndex, - MaxVotes, - > Voting +impl + Voting where MaxVotes: Get, { @@ -242,22 +235,26 @@ where /// The amount of this account's balance that must currently be locked due to voting. pub fn locked_balance(&self) -> Balance { match self { - Voting::Casting(Casting { votes, prior, .. }) => - votes.iter().map(|i| i.1.balance()).fold(prior.locked(), |a, i| a.max(i)), + Voting::Casting(Casting { votes, prior, .. }) => votes + .iter() + .map(|i| i.1.balance()) + .fold(prior.locked(), |a, i| a.max(i)), Voting::Delegating(Delegating { balance, prior, .. }) => *balance.max(&prior.locked()), } } - pub fn set_common( - &mut self, - delegations: Delegations, - prior: PriorLock, - ) { + pub fn set_common(&mut self, delegations: Delegations, prior: PriorLock) { let (d, p) = match self { - Voting::Casting(Casting { ref mut delegations, ref mut prior, .. }) => - (delegations, prior), - Voting::Delegating(Delegating { ref mut delegations, ref mut prior, .. }) => - (delegations, prior), + Voting::Casting(Casting { + ref mut delegations, + ref mut prior, + .. + }) => (delegations, prior), + Voting::Delegating(Delegating { + ref mut delegations, + ref mut prior, + .. + }) => (delegations, prior), }; *d = delegations; *p = prior; From 0743e1dce88a5e3b366ac07cbc16c1002dbc3bcb Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 6 Jun 2024 13:18:53 +0200 Subject: [PATCH 03/70] integrate voting hooks --- pallets/conviction-voting/src/lib.rs | 66 +++++++++++++++++++--------- 1 file changed, 46 insertions(+), 20 deletions(-) diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 31f5851dc..51b123346 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -27,6 +27,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] +use crate::traits::VotingHooks; use frame_support::{ dispatch::DispatchResult, ensure, @@ -419,6 +420,9 @@ impl, I: 'static> Pallet { // Extend the lock to `balance` (rather than setting it) since we don't know what // other votes are in place. Self::extend_lock(who, &class, vote.balance()); + + // call on_vote hook + T::VotingHooks::on_vote(who, poll_index, vote)?; Ok(()) }) }) @@ -451,29 +455,51 @@ impl, I: 'static> Pallet { .map_err(|_| Error::::NotVoter)?; let v = votes.remove(i); - T::Polls::try_access_poll(poll_index, |poll_status| match poll_status { - PollStatus::Ongoing(tally, _) => { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); - // Shouldn't be possible to fail, but we handle it gracefully. - tally.remove(v.1).ok_or(ArithmeticError::Underflow)?; - if let Some(approve) = v.1.as_standard() { - tally.reduce(approve, *delegations); + T::Polls::try_access_poll(poll_index, |poll_status| -> DispatchResult { + let is_finished = match poll_status { + PollStatus::Ongoing(tally, _) => { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); + // Shouldn't be possible to fail, but we handle it gracefully. + tally.remove(v.1).ok_or(ArithmeticError::Underflow)?; + if let Some(approve) = v.1.as_standard() { + tally.reduce(approve, *delegations); + } + Some(false) } - Ok(()) - } - PollStatus::Completed(end, approved) => { - if let Some((lock_periods, balance)) = v.1.locked_if(approved) { - let unlock_at = - end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); - let now = frame_system::Pallet::::block_number(); - if now < unlock_at { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); - prior.accumulate(unlock_at, balance) + PollStatus::Completed(end, approved) => { + if let Some((lock_periods, balance)) = v.1.locked_if(approved) { + let unlock_at = + end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); + let now = frame_system::Pallet::::block_number(); + if now < unlock_at { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); + prior.accumulate(unlock_at, balance) + } + } else { + // Unsuccessful vote, use special hooks to possible lock the funds too in case of conviction. + if let Some(to_lock) = T::VotingHooks::remove_vote_locks_if_needed(who, poll_index) { + if let AccountVote::Standard { vote, .. } = v.1 { + let unlock_at = end.saturating_add( + T::VoteLockingPeriod::get() + .saturating_mul(vote.conviction.lock_periods().into()), + ); + let now = frame_system::Pallet::::block_number(); + if now < unlock_at { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); + prior.accumulate(unlock_at, to_lock) + } + } + } } + Some(true) } - Ok(()) - } - PollStatus::None => Ok(()), // Poll was cancelled. + PollStatus::None => None, // Poll was cancelled. + }; + + // call on_remove_vote hook + T::VotingHooks::on_remove_vote(who, poll_index, is_finished); + + Ok(()) }) } else { Ok(()) From f3bfd3591f4a6f3838d0283a53e55789cad6720e Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 7 Jun 2024 13:19:01 +0200 Subject: [PATCH 04/70] integrate referenda and use concrete index type --- Cargo.lock | 2 + Cargo.toml | 1 + pallets/staking/Cargo.toml | 3 + pallets/staking/src/integrations.rs | 1 + .../src/integrations/conviction_voting.rs | 222 ++++++++++++++++++ pallets/staking/src/integrations/democracy.rs | 6 +- pallets/staking/src/lib.rs | 10 +- pallets/staking/src/tests/mock.rs | 4 +- pallets/staking/src/traits.rs | 5 +- pallets/staking/src/types.rs | 3 +- 10 files changed, 243 insertions(+), 14 deletions(-) create mode 100644 pallets/staking/src/integrations/conviction_voting.rs diff --git a/Cargo.lock b/Cargo.lock index 307de5f7d..4fd1c1bf2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8989,7 +8989,9 @@ dependencies = [ "orml-tokens", "orml-traits", "pallet-balances", + "pallet-conviction-voting 28.0.0", "pallet-democracy 4.2.1", + "pallet-referenda", "pallet-uniques", "parity-scale-codec", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index 942c3fb3b..ca496421d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -215,6 +215,7 @@ pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-state-trie-migration = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-referenda= { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 35a8b2dbd..7f1712e7e 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -32,6 +32,8 @@ frame-support = { workspace = true } frame-system = { workspace = true } frame-benchmarking = { workspace = true, optional = true } pallet-democracy = { workspace = true } +pallet-conviction-voting= { workspace = true } +pallet-referenda = { workspace = true } [dev-dependencies] pallet-uniques = { workspace = true } @@ -56,6 +58,7 @@ std = [ "pallet-uniques/std", "orml-tokens/std", "pallet-democracy/std", + "pallet-conviction-voting/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", diff --git a/pallets/staking/src/integrations.rs b/pallets/staking/src/integrations.rs index 458491b1e..c9c6c487f 100644 --- a/pallets/staking/src/integrations.rs +++ b/pallets/staking/src/integrations.rs @@ -1 +1,2 @@ +pub mod conviction_voting; pub mod democracy; diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs new file mode 100644 index 000000000..d168ff8ad --- /dev/null +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -0,0 +1,222 @@ +use crate::pallet::{PositionVotes, Positions, ProcessedVotes}; +use crate::traits::{GetReferendumState, VestingDetails}; +use crate::types::{Action, Balance, Conviction, ReferendumIndex, Vote}; +use crate::{Config, Error, Pallet}; +use frame_support::defensive; +use frame_support::dispatch::DispatchResult; +use orml_traits::{MultiCurrency, MultiCurrencyExtended}; +use pallet_conviction_voting::traits::VotingHooks; +use pallet_conviction_voting::AccountVote; +use sp_core::Get; +use sp_runtime::FixedPointNumber; + +pub struct StakingConvictionVoting(sp_std::marker::PhantomData); + +impl VotingHooks for StakingConvictionVoting +where + T::Currency: MultiCurrencyExtended, +{ + fn on_vote(who: &T::AccountId, ref_index: ReferendumIndex, vote: AccountVote) -> DispatchResult { + let position_id = if let Some(position_id) = Pallet::::get_user_position_id(who)? { + position_id + } else { + return Ok(()); + }; + + Positions::::try_mutate(position_id, |maybe_position| { + let position = match maybe_position.as_mut() { + Some(position) => position, + None => { + let e = crate::Error::::InconsistentState(crate::InconsistentStateError::PositionNotFound); + defensive!(e); + + //NOTE: This is intentional, user can't recover from this state and we don't want + //to block voting. + return Ok(()); + } + }; + + Pallet::::process_votes(who, position_id, position)?; + + let amount = vote.balance(); + let conviction = if let AccountVote::Standard { vote, .. } = vote { + match vote.conviction { + pallet_conviction_voting::Conviction::None => Conviction::None, + pallet_conviction_voting::Conviction::Locked1x => Conviction::Locked1x, + pallet_conviction_voting::Conviction::Locked2x => Conviction::Locked2x, + pallet_conviction_voting::Conviction::Locked3x => Conviction::Locked3x, + pallet_conviction_voting::Conviction::Locked4x => Conviction::Locked4x, + pallet_conviction_voting::Conviction::Locked5x => Conviction::Locked5x, + pallet_conviction_voting::Conviction::Locked6x => Conviction::Locked6x, + } + } else { + Conviction::default() + }; + + // We are capping vote by min(position stake, user's balance - vested amount - locked + // rewards). + // Sub of vested and lockek rewards is necessary because locks overlay so users may end + // up in the situation where portion of the staking lock is also vested or locked + // rewads and we don't want to assign points for it. + let max_vote = T::Currency::free_balance(T::NativeAssetId::get(), who) + .saturating_sub(T::Vesting::locked(who.clone())) + .saturating_sub(position.accumulated_locked_rewards) + .min(position.stake); + let staking_vote = Vote { + amount: amount.min(position.stake).min(max_vote), + conviction, + }; + + PositionVotes::::try_mutate(position_id, |voting| -> DispatchResult { + match voting.votes.binary_search_by_key(&ref_index, |value| value.0) { + Ok(idx) => { + let _ = sp_std::mem::replace(&mut voting.votes[idx], (ref_index, staking_vote)); + } + Err(idx) => { + voting + .votes + .try_insert(idx, (ref_index, staking_vote)) + .map_err(|_| Error::::MaxVotesReached)?; + } + } + Ok(()) + }) + }) + } + + fn on_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, is_finished: Option) { + let Some(maybe_position_id) = Pallet::::get_user_position_id(who).ok() else { + return; + }; + + let Some(position_id) = maybe_position_id else { + return; + }; + + let entry = ProcessedVotes::::take(who, ref_index); + if entry.is_some() { + // this vote was already processed, just remove it + return; + } + + let _ = Positions::::try_mutate(position_id, |maybe_position| -> DispatchResult { + if let Some(position) = maybe_position.as_mut() { + let max_position_vote = Conviction::max_multiplier().saturating_mul_int(position.stake); + + if let Some(vote_idx) = PositionVotes::::get(position_id) + .votes + .iter() + .position(|(idx, _)| *idx == ref_index) + { + let (ref_idx, vote) = PositionVotes::::get(position_id).votes[vote_idx]; + debug_assert_eq!(ref_idx, ref_index, "Referendum index mismatch"); + let points = + Pallet::::calculate_points_for_action(Action::DemocracyVote, vote, max_position_vote); + // Add points only if referendum is finished + if let Some(is_finished) = is_finished { + if is_finished { + position.action_points = position.action_points.saturating_add(points); + } + } + PositionVotes::::mutate(position_id, |voting| { + voting.votes.remove(vote_idx); + }); + } + } + Ok(()) + }); + } + + fn remove_vote_locks_if_needed(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { + let Some(position_id) = Pallet::::get_user_position_id(who).ok()? else { + return None; + }; + + if let Some(vote) = ProcessedVotes::::get(who, ref_index) { + return Some(vote.amount); + } + + let Some(vote_idx) = PositionVotes::::get(position_id) + .votes + .iter() + .position(|(idx, _)| *idx == ref_index) + else { + return None; + }; + let (ref_idx, vote) = PositionVotes::::get(position_id).votes[vote_idx]; + debug_assert_eq!(ref_idx, ref_index, "Referendum index mismatch"); + Some(vote.amount) + } + + #[cfg(feature = "runtime-benchmarks")] + fn on_vote_worst_case(who: &T::AccountId) { + use crate::LockIdentifier; + #[cfg(not(feature = "std"))] + use codec::alloc::string::ToString; + use frame_system::Origin; + use orml_traits::MultiLockableCurrency; + + T::Currency::update_balance( + T::NativeAssetId::get(), + &Pallet::::pot_account_id(), + 10_000_000_000_000i128, + ) + .unwrap(); + Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); + T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); + + let position_id = Pallet::::get_user_position_id(&who.clone()).unwrap().unwrap(); + + let mut votes = sp_std::vec::Vec::<(u32, Vote)>::new(); + for i in 0..::MaxVotes::get() { + votes.push(( + i, + Vote { + amount: 20_000_000_000_000_000, + conviction: Conviction::Locked1x, + }, + )); + } + + for i in 0..::MaxLocks::get() - 5 { + let id: LockIdentifier = scale_info::prelude::format!("{:a>8}", i.to_string()) + .as_bytes() + .try_into() + .unwrap(); + + T::Currency::set_lock(id, T::NativeAssetId::get(), who, 10_000_000_000_000_u128).unwrap(); + } + + let voting = crate::types::Voting:: { + votes: votes.try_into().unwrap(), + }; + + crate::PositionVotes::::insert(position_id, voting); + } + + #[cfg(feature = "runtime-benchmarks")] + fn on_remove_vote_worst_case(who: &T::AccountId) { + use frame_system::Origin; + + T::Currency::update_balance( + T::NativeAssetId::get(), + &Pallet::::pot_account_id(), + 10_000_000_000_000i128, + ) + .unwrap(); + Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); + T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); + } +} + +pub struct ReferendumStatus(sp_std::marker::PhantomData); + +impl GetReferendumState for ReferendumStatus { + fn is_referendum_finished(_index: ReferendumIndex) -> bool { + todo!() + //let maybe_info = pallet_democracy::Pallet::::referendum_info(index); + //matches!(maybe_info, Some(ReferendumInfo::Finished { .. })) + } +} diff --git a/pallets/staking/src/integrations/democracy.rs b/pallets/staking/src/integrations/democracy.rs index 5d84f2b16..5327bfd17 100644 --- a/pallets/staking/src/integrations/democracy.rs +++ b/pallets/staking/src/integrations/democracy.rs @@ -1,5 +1,5 @@ use crate::pallet::{PositionVotes, Positions, ProcessedVotes}; -use crate::traits::{DemocracyReferendum, VestingDetails}; +use crate::traits::{GetReferendumState, VestingDetails}; use crate::types::{Action, Balance, Conviction, Vote}; use crate::{Config, Error, Pallet}; use frame_support::defensive; @@ -213,8 +213,8 @@ where pub struct ReferendumStatus(sp_std::marker::PhantomData); -impl DemocracyReferendum for ReferendumStatus { - fn is_referendum_finished(index: ReferendumIndex) -> bool { +impl GetReferendumState for ReferendumStatus { + fn is_referendum_finished(index: pallet_democracy::ReferendumIndex) -> bool { let maybe_info = pallet_democracy::Pallet::::referendum_info(index); matches!(maybe_info, Some(ReferendumInfo::Finished { .. })) } diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 4ae7f71b3..32384fe4c 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -17,7 +17,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] -use crate::traits::{ActionData, DemocracyReferendum, PayablePercentage, VestingDetails}; +use crate::traits::{ActionData, GetReferendumState, PayablePercentage, VestingDetails}; use crate::types::{Action, Balance, Period, Point, Position, StakingData, Voting}; use frame_support::ensure; use frame_support::{ @@ -59,7 +59,7 @@ pub const STAKING_LOCK_ID: LockIdentifier = *b"stk_stks"; #[frame_support::pallet] pub mod pallet { use super::*; - use crate::traits::{DemocracyReferendum, Freeze}; + use crate::traits::Freeze; use crate::types::Voting; use codec::HasCompact; use frame_support::PalletId; @@ -170,7 +170,7 @@ pub mod pallet { type MaxPointsPerAction: GetByKey; /// Democracy referendum state. - type ReferendumInfo: DemocracyReferendum; + type ReferendumInfo: GetReferendumState; /// Provides information about amount of vested tokens. type Vesting: VestingDetails; @@ -213,8 +213,8 @@ pub mod pallet { Blake2_128Concat, T::AccountId, Blake2_128Concat, - pallet_democracy::ReferendumIndex, - crate::types::Vote, + types::ReferendumIndex, + types::Vote, OptionQuery, >; diff --git a/pallets/staking/src/tests/mock.rs b/pallets/staking/src/tests/mock.rs index d149fb4e6..51bbc827e 100644 --- a/pallets/staking/src/tests/mock.rs +++ b/pallets/staking/src/tests/mock.rs @@ -253,8 +253,8 @@ impl GetByKey for DummyMaxPointsPerAction { pub struct DummyReferendumStatus; -impl DemocracyReferendum for DummyReferendumStatus { - fn is_referendum_finished(index: pallet_democracy::ReferendumIndex) -> bool { +impl GetReferendumState for DummyReferendumStatus { + fn is_referendum_finished(index: types::ReferendumIndex) -> bool { index % 2 == 0 } } diff --git a/pallets/staking/src/traits.rs b/pallets/staking/src/traits.rs index 1a845a980..004cabc65 100644 --- a/pallets/staking/src/traits.rs +++ b/pallets/staking/src/traits.rs @@ -1,6 +1,5 @@ use crate::types::Balance; use frame_support::dispatch::DispatchResult; -use pallet_democracy::ReferendumIndex; use sp_runtime::FixedU128; pub trait PayablePercentage { @@ -8,8 +7,8 @@ pub trait PayablePercentage { fn get(points: Point) -> Option; } -pub trait DemocracyReferendum { - fn is_referendum_finished(index: ReferendumIndex) -> bool; +pub trait GetReferendumState { + fn is_referendum_finished(index: Index) -> bool; } pub(crate) trait ActionData { diff --git a/pallets/staking/src/types.rs b/pallets/staking/src/types.rs index a4fc3964b..83c5e6680 100644 --- a/pallets/staking/src/types.rs +++ b/pallets/staking/src/types.rs @@ -1,6 +1,5 @@ use crate::traits::ActionData; use codec::{Decode, Encode, MaxEncodedLen}; -use pallet_democracy::ReferendumIndex; use scale_info::TypeInfo; use sp_core::bounded::BoundedVec; use sp_core::Get; @@ -11,6 +10,8 @@ pub type Balance = u128; pub type Point = u128; pub type Period = u128; +pub type ReferendumIndex = u32; + pub enum Action { DemocracyVote, } From 7b9df52e10ffbe3f89c4a0c376543b32c3f706ae Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 7 Jun 2024 13:42:34 +0200 Subject: [PATCH 05/70] implement get referenda status for pallet-referenda --- .../src/integrations/conviction_voting.rs | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index d168ff8ad..44b8e9b8b 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -4,6 +4,7 @@ use crate::types::{Action, Balance, Conviction, ReferendumIndex, Vote}; use crate::{Config, Error, Pallet}; use frame_support::defensive; use frame_support::dispatch::DispatchResult; +use frame_support::traits::{PollStatus, Polling}; use orml_traits::{MultiCurrency, MultiCurrencyExtended}; use pallet_conviction_voting::traits::VotingHooks; use pallet_conviction_voting::AccountVote; @@ -213,10 +214,23 @@ where pub struct ReferendumStatus(sp_std::marker::PhantomData); -impl GetReferendumState for ReferendumStatus { +impl::Tally>> GetReferendumState + for ReferendumStatus +where + ::Tally>>::Index: From, +{ fn is_referendum_finished(_index: ReferendumIndex) -> bool { - todo!() - //let maybe_info = pallet_democracy::Pallet::::referendum_info(index); - //matches!(maybe_info, Some(ReferendumInfo::Finished { .. })) + let r = >::try_access_poll::(_index.into(), |status| { + let r = match status { + PollStatus::Completed(_, _) => true, + PollStatus::Ongoing(_, _) => false, + PollStatus::None => false, + }; + Ok(r) + }); + debug_assert!(r.is_ok(), "Failed to access poll"); + // If we failed to access poll, we assume that referendum is not finished - this should never be the case + // Note: we cant return true, because it would reward points. + r.unwrap_or(false) } } From 6a678debd7d279085e0d4a307d3a5df904cbbb1f Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 8 Jun 2024 13:50:22 +0200 Subject: [PATCH 06/70] Add OpenGov dependencies --- Cargo.lock | 3436 +++++++++++++++++++++--------------- Cargo.toml | 9 + runtime/hydradx/Cargo.toml | 14 + 3 files changed, 2028 insertions(+), 1431 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bd31e2029..05d7c41ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1860,8 +1860,8 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-service", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "url", ] @@ -1881,10 +1881,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -1914,16 +1914,16 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "schnellru", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "substrate-prometheus-endpoint", @@ -1951,10 +1951,10 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", - "sp-trie", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "tracing", ] @@ -1968,8 +1968,8 @@ dependencies = [ "async-trait", "cumulus-primitives-parachain-inherent", "sp-consensus", - "sp-inherents", - "sp-runtime", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -1991,8 +1991,8 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -2017,7 +2017,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -2048,11 +2048,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", ] @@ -2062,16 +2062,16 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-aura", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -2080,14 +2080,14 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -2101,22 +2101,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", - "sp-version", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "trie-db 0.27.1", ] @@ -2138,13 +2138,13 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -2154,18 +2154,18 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", ] @@ -2178,10 +2178,10 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -2194,10 +2194,10 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -2213,14 +2213,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-storage", - "sp-trie", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -2232,8 +2232,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", ] @@ -2243,13 +2243,13 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2272,10 +2272,10 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -2291,7 +2291,7 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", @@ -2325,10 +2325,10 @@ dependencies = [ "sc-tracing", "sc-utils", "schnellru", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus", "sp-consensus-babe", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -2356,13 +2356,13 @@ dependencies = [ "serde_json", "smoldot", "smoldot-light", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-consensus-babe", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tokio", "tokio-util", @@ -2378,10 +2378,10 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3281,10 +3281,10 @@ dependencies = [ "fp-consensus", "fp-rpc", "sc-consensus", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-consensus", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -3303,9 +3303,9 @@ dependencies = [ "sc-client-db", "smallvec", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-database", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3323,10 +3323,10 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3367,17 +3367,17 @@ dependencies = [ "sc-utils", "schnellru", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "substrate-prometheus-endpoint", "thiserror", @@ -3408,11 +3408,11 @@ dependencies = [ "fp-storage", "parity-scale-codec", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-io", - "sp-runtime", - "sp-storage", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3577,11 +3577,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3591,9 +3591,9 @@ source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041c dependencies = [ "ethereum", "parity-scale-codec", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3604,10 +3604,10 @@ dependencies = [ "ethereum", "ethereum-types", "fp-evm", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "num_enum 0.6.1", "parity-scale-codec", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3616,13 +3616,13 @@ version = "3.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "evm 0.39.1", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3635,11 +3635,11 @@ dependencies = [ "fp-evm", "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3647,11 +3647,11 @@ name = "fp-self-contained" version = "1.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3674,23 +3674,48 @@ name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-support-procedural", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "static_assertions", +] + +[[package]] +name = "frame-benchmarking" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "linregress", + "log", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "static_assertions", ] @@ -3704,9 +3729,9 @@ dependencies = [ "chrono", "clap 4.4.11", "comfy-table", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "gethostname", "handlebars", "itertools 0.10.5", @@ -3725,19 +3750,19 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-database", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", - "sp-trie", - "sp-wasm-interface", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "thousands", ] @@ -3759,15 +3784,15 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "frame-election-provider-solution-type", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3775,17 +3800,17 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3812,9 +3837,9 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "spinners", "substrate-rpc-client", @@ -3832,7 +3857,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural", + "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "k256", "log", @@ -3843,25 +3868,65 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-core-hashing-proc-macro", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-genesis-builder", - "sp-inherents", - "sp-io", - "sp-metadata-ir", - "sp-runtime", - "sp-staking", + "sp-genesis-builder 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "static_assertions", "tt-call", ] +[[package]] +name = "frame-support" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "aquamarine", + "bitflags 1.3.2", + "docify", + "environmental", + "frame-metadata", + "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "impl-trait-for-tuples", + "k256", + "log", + "macro_magic", + "parity-scale-codec", + "paste", + "scale-info", + "serde", + "serde_json", + "smallvec", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-genesis-builder 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "static_assertions", + "tt-call", +] + [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3871,7 +3936,25 @@ dependencies = [ "cfg-expr", "derive-syn-parse", "expander 2.0.0", - "frame-support-procedural-tools", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "itertools 0.10.5", + "macro_magic", + "proc-macro-warning", + "proc-macro2", + "quote", + "syn 2.0.42", +] + +[[package]] +name = "frame-support-procedural" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "Inflector", + "cfg-expr", + "derive-syn-parse", + "expander 2.0.0", + "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "itertools 0.10.5", "macro_magic", "proc-macro-warning", @@ -3885,7 +3968,19 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support-procedural-tools-derive", + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.42", +] + +[[package]] +name = "frame-support-procedural-tools" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "proc-macro-crate 1.3.1", "proc-macro2", "quote", @@ -3902,38 +3997,67 @@ dependencies = [ "syn 2.0.42", ] +[[package]] +name = "frame-support-procedural-tools-derive" +version = "3.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.42", +] + [[package]] name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cfg-if", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-version", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] +[[package]] +name = "frame-system" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "cfg-if", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "log", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", +] + [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3942,7 +4066,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -3950,11 +4074,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -4522,8 +4646,8 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-case 2.2.2", ] @@ -4554,7 +4678,7 @@ dependencies = [ "fp-consensus", "fp-rpc", "fp-storage", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-benchmarking-cli", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4595,24 +4719,24 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "sp-transaction-pool", - "sp-trie", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", @@ -4625,8 +4749,8 @@ version = "1.3.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "lazy_static", @@ -4660,10 +4784,10 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4687,10 +4811,10 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4720,6 +4844,7 @@ dependencies = [ "pallet-collator-rewards", "pallet-collator-selection", "pallet-collective", + "pallet-conviction-voting", "pallet-currencies", "pallet-dca", "pallet-democracy 4.2.0", @@ -4749,6 +4874,7 @@ dependencies = [ "pallet-otc", "pallet-preimage", "pallet-proxy", + "pallet-referenda", "pallet-referrals", "pallet-relaychain-info", "pallet-route-executor", @@ -4766,6 +4892,7 @@ dependencies = [ "pallet-treasury", "pallet-uniques", "pallet-utility", + "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "pallet-xcm", "pallet-xcm-rate-limiter", "pallet-xyk", @@ -4779,21 +4906,22 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-consensus-aura", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-trie", - "sp-version", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4804,13 +4932,13 @@ dependencies = [ name = "hydradx-traits" version = "3.3.1" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -5432,12 +5560,12 @@ name = "kusama-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -6343,13 +6471,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6361,11 +6489,11 @@ dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6404,7 +6532,7 @@ dependencies = [ "evm-gasometer 0.36.0", "evm-runtime 0.36.0", "sha3", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6901,19 +7029,19 @@ name = "orml-benchmarking" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-benchmarking", - "frame-support", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api", - "sp-io", - "sp-runtime", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6921,16 +7049,16 @@ name = "orml-tokens" version = "0.4.2-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6938,7 +7066,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -6946,10 +7074,10 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -6958,13 +7086,13 @@ name = "orml-unknown-tokens" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "orml-xcm-support", "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -6973,14 +7101,14 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -6988,14 +7116,14 @@ name = "orml-vesting" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7003,12 +7131,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -7017,11 +7145,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "orml-traits", "parity-scale-codec", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", ] @@ -7032,8 +7160,8 @@ version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "orml-traits", "orml-xcm-support", @@ -7041,9 +7169,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", ] @@ -7058,9 +7186,9 @@ checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" name = "pallet-asset-registry" version = "3.2.3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "log", "orml-tokens", @@ -7070,12 +7198,12 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-api", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "substrate-wasm-builder", "test-utils", @@ -7086,17 +7214,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7104,15 +7232,15 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7120,16 +7248,16 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-aura", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7137,15 +7265,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7153,13 +7281,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7167,23 +7295,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-babe", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7193,19 +7321,19 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "aquamarine", "docify", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7213,14 +7341,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7228,8 +7356,8 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "pallet-session", @@ -7237,10 +7365,10 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7250,8 +7378,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "array-bytes", "binary-merkle-tree", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-beefy", "pallet-mmr", @@ -7259,22 +7387,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-beefy", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-bonds" version = "2.2.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "log", "orml-tokens", @@ -7285,11 +7413,11 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7297,17 +7425,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7315,27 +7443,27 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-circuit-breaker" version = "1.1.24" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7346,10 +7474,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-case 3.3.1", "test-utils", ] @@ -7358,9 +7486,9 @@ dependencies = [ name = "pallet-claims" version = "3.4.8" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex", "hex-literal 0.3.4", "lazy_static", @@ -7370,19 +7498,19 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-collator-rewards" version = "1.0.7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "orml-tokens", "orml-traits", @@ -7391,12 +7519,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-wasm-builder", ] @@ -7405,18 +7533,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7424,16 +7552,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7442,23 +7570,23 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-currencies" version = "2.1.0" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "orml-tokens", "orml-traits", "orml-utilities", @@ -7466,10 +7594,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7478,9 +7606,9 @@ version = "1.4.7" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -7500,12 +7628,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-case 2.2.2", "test-utils", ] @@ -7515,26 +7643,26 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-democracy" version = "4.2.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-balances", "pallet-preimage", @@ -7542,19 +7670,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-duster" version = "3.2.4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "lazy_static", "log", @@ -7565,10 +7693,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-wasm-builder", ] @@ -7576,9 +7704,9 @@ dependencies = [ name = "pallet-dynamic-evm-fee" version = "1.0.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "log", @@ -7591,11 +7719,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -7603,19 +7731,19 @@ dependencies = [ name = "pallet-dynamic-fees" version = "1.0.3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "orml-traits", "parity-scale-codec", "proptest", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7623,21 +7751,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "strum 0.24.1", ] @@ -7646,13 +7774,13 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "sp-npos-elections", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7660,27 +7788,27 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-npos-elections", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-ema-oracle" version = "1.3.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "log", @@ -7690,11 +7818,11 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -7712,14 +7840,14 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-storage", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7731,9 +7859,9 @@ dependencies = [ "evm 0.39.1", "fp-account", "fp-evm", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -7741,28 +7869,28 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-evm-accounts" version = "1.1.1" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex-literal 0.4.1", "hydradx-traits", "orml-tokens", "orml-traits", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -7771,7 +7899,7 @@ name = "pallet-evm-accounts-rpc-runtime-api" version = "1.0.0" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7779,11 +7907,11 @@ name = "pallet-evm-chain-id" version = "1.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7800,7 +7928,7 @@ version = "2.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-bn", ] @@ -7811,8 +7939,8 @@ dependencies = [ "derive_more", "evm 0.39.1", "fp-evm", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex-literal 0.4.1", "libsecp256k1", "log", @@ -7827,10 +7955,10 @@ dependencies = [ "serde", "sha3", "slices", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7839,10 +7967,10 @@ version = "2.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-evm", "parity-scale-codec", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7861,7 +7989,7 @@ source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041c dependencies = [ "fp-evm", "ripemd", - "sp-io", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7870,17 +7998,17 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "docify", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7888,17 +8016,17 @@ name = "pallet-genesis-history" version = "2.1.1" dependencies = [ "derive_more", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex-literal 0.4.1", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7906,22 +8034,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-grandpa", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7930,14 +8058,14 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "enumflags2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7945,19 +8073,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -7965,25 +8093,25 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-keyring", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-lbp" version = "4.8.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7994,10 +8122,10 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-wasm-builder", "test-utils", ] @@ -8007,8 +8135,8 @@ name = "pallet-liquidity-mining" version = "4.3.3" dependencies = [ "fixed", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8019,11 +8147,11 @@ dependencies = [ "proptest", "rand 0.8.5", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -8032,16 +8160,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8049,17 +8177,17 @@ name = "pallet-message-queue" version = "7.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8068,17 +8196,17 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8086,24 +8214,24 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-nft" version = "7.1.3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "log", "pallet-balances", @@ -8111,10 +8239,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8122,15 +8250,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8138,18 +8266,18 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8157,19 +8285,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-runtime-interface", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8179,8 +8307,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8188,16 +8316,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8205,10 +8333,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-babe", "pallet-balances", @@ -8219,9 +8347,9 @@ dependencies = [ "pallet-staking 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8229,9 +8357,9 @@ name = "pallet-omnipool" version = "4.3.0" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "impl-trait-for-tuples", @@ -8244,20 +8372,20 @@ dependencies = [ "primitive-types", "proptest", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-omnipool-liquidity-mining" version = "2.1.7" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "log", @@ -8272,19 +8400,19 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-otc" version = "1.1.3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "orml-tokens", "orml-traits", @@ -8292,11 +8420,11 @@ dependencies = [ "pretty_assertions", "proptest", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -8305,16 +8433,16 @@ name = "pallet-preimage" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8322,14 +8450,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8337,17 +8465,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8355,14 +8483,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8371,26 +8499,26 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "assert_matches", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-referrals" version = "1.2.4" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex-literal 0.3.4", "hydra-dx-math", "hydradx-traits", @@ -8399,11 +8527,11 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8412,21 +8540,21 @@ version = "0.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-route-executor" version = "2.3.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -8438,10 +8566,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -8451,15 +8579,15 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "docify", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8468,21 +8596,21 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8490,16 +8618,16 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-session", "pallet-staking 4.0.0-dev", "parity-scale-codec", "rand 0.8.5", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8507,17 +8635,17 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8525,9 +8653,9 @@ name = "pallet-stableswap" version = "3.6.2" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8536,12 +8664,12 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -8549,9 +8677,9 @@ dependencies = [ name = "pallet-staking" version = "3.1.0" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "log", "orml-tokens", @@ -8563,10 +8691,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8574,10 +8702,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-authorship", "pallet-session", @@ -8585,11 +8713,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto", - "sp-io", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8609,7 +8737,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "log", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8618,7 +8746,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8626,16 +8754,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8643,14 +8771,14 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8658,17 +8786,17 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-inherents", - "sp-io", - "sp-runtime", - "sp-std", - "sp-storage", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", ] @@ -8677,26 +8805,26 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] name = "pallet-transaction-multi-payment" version = "10.0.3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8710,11 +8838,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "test-utils", ] @@ -8722,9 +8850,9 @@ dependencies = [ name = "pallet-transaction-pause" version = "1.0.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "orml-tokens", "orml-traits", @@ -8732,11 +8860,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8744,15 +8872,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8763,11 +8891,11 @@ dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8778,8 +8906,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8788,16 +8916,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8805,14 +8933,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8820,15 +8948,15 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8836,14 +8964,14 @@ name = "pallet-vesting" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8851,14 +8979,29 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "pallet-whitelist" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "parity-scale-codec", + "scale-info", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -8867,17 +9010,17 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bounded-collections", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", ] @@ -8887,15 +9030,15 @@ name = "pallet-xcm-benchmarks" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "log", "parity-scale-codec", "scale-info", - "sp-io", - "sp-runtime", - "sp-std", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -8906,9 +9049,9 @@ name = "pallet-xcm-rate-limiter" version = "0.1.8" dependencies = [ "cumulus-pallet-xcmp-queue", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8921,10 +9064,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -8932,9 +9075,9 @@ dependencies = [ name = "pallet-xyk" version = "6.4.2" dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydra-dx-math", "hydradx-traits", "log", @@ -8946,11 +9089,11 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-wasm-builder", ] @@ -8958,8 +9101,8 @@ dependencies = [ name = "pallet-xyk-liquidity-mining" version = "1.1.10" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-traits", "log", "orml-tokens", @@ -8971,11 +9114,11 @@ dependencies = [ "pretty_assertions", "primitives", "scale-info", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8984,12 +9127,12 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -8999,8 +9142,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "kusama-runtime-constants", "log", "num-traits", @@ -9017,10 +9160,10 @@ dependencies = [ "scale-info", "smallvec", "sp-consensus-aura", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9412,8 +9555,8 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "schnellru", - "sp-core", - "sp-keystore", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9457,8 +9600,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -9480,9 +9623,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tokio-util", "tracing-gum", @@ -9495,9 +9638,9 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -9519,8 +9662,8 @@ dependencies = [ "polkadot-primitives", "sc-network", "schnellru", - "sp-application-crypto", - "sp-keystore", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9534,8 +9677,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core", - "sp-trie", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -9554,9 +9697,9 @@ dependencies = [ "rand_chacha 0.3.1", "sc-network", "sc-network-common", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing-gum", ] @@ -9595,7 +9738,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -9622,10 +9765,10 @@ dependencies = [ "sc-keystore", "schnellru", "schnorrkel 0.9.1", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus", "sp-consensus-slots", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9666,7 +9809,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9680,7 +9823,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", "wasm-timer", @@ -9770,7 +9913,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9828,9 +9971,9 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-build-script-utils", "tempfile", "tokio", @@ -9848,7 +9991,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -9868,10 +10011,10 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core", - "sp-externalities", - "sp-io", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tokio", "tracing-gum", ] @@ -9891,9 +10034,9 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-io", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-maybe-compressed-blob", - "sp-tracing", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tikv-jemalloc-ctl", "tokio", "tracing-gum", @@ -9927,7 +10070,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tokio", ] @@ -9987,12 +10130,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel 0.9.1", "serde", - "sp-application-crypto", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-babe", - "sp-core", - "sp-keystore", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-maybe-compressed-blob", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "zstd 0.12.4", ] @@ -10024,7 +10167,7 @@ dependencies = [ "sc-network", "sc-transaction-pool-api", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -10057,9 +10200,9 @@ dependencies = [ "prioritized-metered-channel", "rand 0.8.5", "schnellru", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -10081,8 +10224,8 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "schnellru", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -10094,14 +10237,14 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "bounded-collections", "derive_more", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -10134,18 +10277,18 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -10169,13 +10312,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore", - "sp-runtime", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -10186,11 +10329,11 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -10238,7 +10381,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", - "pallet-whitelist", + "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -10251,25 +10394,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", - "sp-storage", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -10283,10 +10426,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -10310,15 +10453,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api", - "sp-core", - "sp-inherents", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-npos-elections", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "static_assertions", ] @@ -10328,12 +10471,12 @@ name = "polkadot-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -10343,11 +10486,11 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bs58 0.5.0", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "parity-scale-codec", "polkadot-primitives", - "sp-std", - "sp-tracing", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -10358,9 +10501,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking", - "frame-support", - "frame-system", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "log", "pallet-authority-discovery", @@ -10381,16 +10524,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-inherents", - "sp-io", - "sp-keystore", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -10402,10 +10545,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "async-trait", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-benchmarking-cli", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -10485,7 +10628,7 @@ dependencies = [ "schnellru", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -10493,20 +10636,20 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-keyring", - "sp-keystore", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-kusama-runtime", "substrate-prometheus-endpoint", @@ -10533,8 +10676,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore", - "sp-staking", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing-gum", ] @@ -10546,7 +10689,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -10629,8 +10772,8 @@ dependencies = [ "environmental", "evm 0.39.1", "fp-evm", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -10644,10 +10787,10 @@ dependencies = [ "serde", "sha3", "similar-asserts", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "staging-xcm", ] @@ -10658,7 +10801,7 @@ version = "0.1.0" dependencies = [ "case", "fp-evm", - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "macrotest", "num_enum 0.5.11", "precompile-utils", @@ -10666,8 +10809,8 @@ dependencies = [ "proc-macro2", "quote", "sha3", - "sp-core", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "syn 1.0.109", "trybuild", ] @@ -10750,14 +10893,14 @@ dependencies = [ name = "primitives" version = "6.0.2" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hex-literal 0.3.4", "parity-scale-codec", "polkadot-primitives", "scale-info", "serde", - "sp-core", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "static_assertions", ] @@ -11398,10 +11541,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "binary-merkle-tree", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -11456,23 +11599,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", - "sp-storage", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11485,12 +11628,12 @@ name = "rococo-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -11559,11 +11702,11 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "fp-evm", "fp-rpc", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-executive", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", @@ -11633,23 +11776,23 @@ dependencies = [ "primitives", "sc-consensus-grandpa", "scraper", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", - "sp-externalities", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-trie", - "sp-version", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11663,8 +11806,8 @@ name = "runtime-mock" version = "1.0.0" dependencies = [ "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-runtime", "orml-tokens", "pallet-asset-registry", @@ -11674,10 +11817,10 @@ dependencies = [ "primitives", "scraper", "serde", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "toml 0.5.11", ] @@ -11883,8 +12026,8 @@ version = "4.1.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "log", - "sp-core", - "sp-wasm-interface", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -11906,12 +12049,12 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-blockchain", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", ] @@ -11930,12 +12073,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", ] @@ -11946,12 +12089,12 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -11968,8 +12111,8 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -12012,12 +12155,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-keyring", - "sp-keystore", - "sp-panic-handler", - "sp-runtime", - "sp-version", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tiny-bip39", "tokio", @@ -12036,16 +12179,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-database", - "sp-externalities", - "sp-runtime", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-statement-store", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", ] @@ -12066,13 +12209,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-database", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12090,11 +12233,11 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", @@ -12114,17 +12257,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", ] @@ -12150,17 +12293,17 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool-api", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", ] @@ -12176,14 +12319,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12206,16 +12349,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core", - "sp-keystore", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -12235,8 +12378,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12250,7 +12393,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12281,15 +12424,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", ] @@ -12309,8 +12452,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12327,13 +12470,13 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -12347,15 +12490,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "schnellru", - "sp-api", - "sp-core", - "sp-externalities", - "sp-io", - "sp-panic-handler", - "sp-runtime-interface", - "sp-trie", - "sp-version", - "sp-wasm-interface", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -12366,7 +12509,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "wasm-instrument", ] @@ -12383,8 +12526,8 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface", - "sp-wasm-interface", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "wasmtime", ] @@ -12401,7 +12544,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12412,9 +12555,9 @@ dependencies = [ "array-bytes", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto", - "sp-core", - "sp-keystore", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12448,10 +12591,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -12474,7 +12617,7 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "unsigned-varint", ] @@ -12493,7 +12636,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12509,7 +12652,7 @@ dependencies = [ "sc-network", "sc-network-common", "schnellru", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "tracing", ] @@ -12530,8 +12673,8 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12559,12 +12702,12 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", ] @@ -12583,7 +12726,7 @@ dependencies = [ "sc-network-common", "sc-utils", "sp-consensus", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", ] @@ -12611,12 +12754,12 @@ dependencies = [ "sc-network-common", "sc-transaction-pool-api", "sc-utils", - "sp-api", - "sp-core", - "sp-externalities", - "sp-keystore", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "threadpool", "tracing", ] @@ -12648,16 +12791,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", - "sp-keystore", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-offchain", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", "sp-statement-store", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tokio", ] @@ -12673,10 +12816,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", - "sp-runtime", - "sp-version", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12713,11 +12856,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-version", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tokio", "tokio-stream", @@ -12764,20 +12907,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", "sp-consensus", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie", - "sp-version", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -12795,7 +12938,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12807,7 +12950,7 @@ dependencies = [ "fs4", "log", "sc-client-db", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tokio", ] @@ -12827,7 +12970,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12845,9 +12988,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -12886,12 +13029,12 @@ dependencies = [ "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", - "sp-runtime", - "sp-tracing", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "tracing", "tracing-log", @@ -12925,11 +13068,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-blockchain", - "sp-core", - "sp-runtime", - "sp-tracing", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -12946,8 +13089,8 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -12963,7 +13106,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -13058,15 +13201,15 @@ version = "1.2.3" dependencies = [ "clap 3.2.25", "frame-remote-externalities", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "hydradx-runtime", "jsonrpsee 0.15.1", "pallet-balances", "parity-scale-codec", "serde", - "sp-core", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", "substrate-rpc-client", "tokio", @@ -13383,8 +13526,8 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -13578,15 +13721,36 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro", - "sp-core", - "sp-externalities", - "sp-metadata-ir", - "sp-runtime", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-trie", - "sp-version", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", +] + +[[package]] +name = "sp-api" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "scale-info", + "sp-api-proc-macro 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", ] @@ -13604,6 +13768,20 @@ dependencies = [ "syn 2.0.42", ] +[[package]] +name = "sp-api-proc-macro" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "Inflector", + "blake2", + "expander 2.0.0", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.42", +] + [[package]] name = "sp-application-crypto" version = "23.0.0" @@ -13612,9 +13790,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-io", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-application-crypto" +version = "23.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -13627,7 +13818,21 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "static_assertions", +] + +[[package]] +name = "sp-arithmetic" +version = "16.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "integer-sqrt", + "num-traits", + "parity-scale-codec", + "scale-info", + "serde", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "static_assertions", ] @@ -13638,10 +13843,10 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -13649,10 +13854,10 @@ name = "sp-block-builder" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -13665,10 +13870,10 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus", "sp-database", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -13681,9 +13886,9 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core", - "sp-inherents", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -13696,12 +13901,12 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-slots", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", ] @@ -13714,13 +13919,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-slots", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", ] @@ -13733,13 +13938,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "strum 0.24.1", ] @@ -13753,12 +13958,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -13769,7 +13974,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", ] @@ -13806,12 +14011,59 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing", + "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities", - "sp-runtime-interface", - "sp-std", - "sp-storage", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "ss58-registry", + "substrate-bip39", + "thiserror", + "tiny-bip39", + "tracing", + "zeroize", +] + +[[package]] +name = "sp-core" +version = "21.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "array-bytes", + "arrayvec 0.7.4", + "bandersnatch_vrfs", + "bitflags 1.3.2", + "blake2", + "bounded-collections", + "bs58 0.5.0", + "dyn-clonable", + "ed25519-zebra 3.1.0", + "futures", + "hash-db 0.16.0", + "hash256-std-hasher", + "impl-serde", + "lazy_static", + "libsecp256k1", + "log", + "merlin 2.0.1", + "parity-scale-codec", + "parking_lot 0.12.1", + "paste", + "primitive-types", + "rand 0.8.5", + "regex", + "scale-info", + "schnorrkel 0.9.1", + "secp256k1", + "secrecy", + "serde", + "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "ss58-registry", "substrate-bip39", "thiserror", @@ -13833,13 +14085,36 @@ dependencies = [ "twox-hash", ] +[[package]] +name = "sp-core-hashing" +version = "9.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2 0.10.8", + "sha3", + "twox-hash", +] + [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "quote", - "sp-core-hashing", + "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "syn 2.0.42", +] + +[[package]] +name = "sp-core-hashing-proc-macro" +version = "9.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "quote", + "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "syn 2.0.42", ] @@ -13862,6 +14137,16 @@ dependencies = [ "syn 2.0.42", ] +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.42", +] + [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -13879,8 +14164,19 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "environmental", "parity-scale-codec", - "sp-std", - "sp-storage", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-externalities" +version = "0.19.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -13889,9 +14185,20 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "serde_json", - "sp-api", - "sp-runtime", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-genesis-builder" +version = "0.1.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "serde_json", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -13903,8 +14210,22 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", +] + +[[package]] +name = "sp-inherents" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "async-trait", + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", ] @@ -13920,14 +14241,38 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core", - "sp-externalities", - "sp-keystore", - "sp-runtime-interface", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", - "sp-tracing", - "sp-trie", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "tracing", + "tracing-core", +] + +[[package]] +name = "sp-io" +version = "23.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "bytes", + "ed25519-dalek", + "libsecp256k1", + "log", + "parity-scale-codec", + "rustversion", + "secp256k1", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "tracing", "tracing-core", ] @@ -13938,8 +14283,8 @@ version = "24.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "lazy_static", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "strum 0.24.1", ] @@ -13950,8 +14295,20 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core", - "sp-externalities", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", +] + +[[package]] +name = "sp-keystore" +version = "0.27.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "parking_lot 0.12.1", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", ] @@ -13972,7 +14329,18 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -13985,11 +14353,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api", - "sp-core", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime", - "sp-std", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -14001,10 +14369,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-core", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14012,9 +14380,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api", - "sp-core", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14027,6 +14395,16 @@ dependencies = [ "regex", ] +[[package]] +name = "sp-panic-handler" +version = "8.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "backtrace", + "lazy_static", + "regex", +] + [[package]] name = "sp-rpc" version = "6.0.0" @@ -14034,7 +14412,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "rustc-hash", "serde", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14051,14 +14429,36 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-std", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] +[[package]] +name = "sp-runtime" +version = "24.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "either", + "hash256-std-hasher", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "paste", + "rand 0.8.5", + "scale-info", + "serde", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", +] + [[package]] name = "sp-runtime-interface" version = "17.0.0" @@ -14068,12 +14468,30 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "17.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "static_assertions", ] @@ -14089,6 +14507,18 @@ dependencies = [ "syn 2.0.42", ] +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "11.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "Inflector", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 2.0.42", +] + [[package]] name = "sp-session" version = "4.0.0-dev" @@ -14096,12 +14526,12 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-api", - "sp-core", - "sp-keystore", - "sp-runtime", - "sp-staking", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14113,9 +14543,23 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core", - "sp-runtime", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-staking" +version = "4.0.0-dev" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "impl-trait-for-tuples", + "parity-scale-codec", + "scale-info", + "serde", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -14129,11 +14573,32 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core", - "sp-externalities", - "sp-panic-handler", - "sp-std", - "sp-trie", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", + "tracing", + "trie-db 0.27.1", +] + +[[package]] +name = "sp-state-machine" +version = "0.28.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "hash-db 0.16.0", + "log", + "parity-scale-codec", + "parking_lot 0.12.1", + "rand 0.8.5", + "smallvec", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", "tracing", "trie-db 0.27.1", @@ -14148,10 +14613,10 @@ dependencies = [ "log", "parity-scale-codec", "smallvec", - "sp-core", - "sp-externalities", - "sp-std", - "sp-trie", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "trie-db 0.27.1", ] @@ -14168,13 +14633,13 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-externalities", - "sp-runtime", - "sp-runtime-interface", - "sp-std", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", "x25519-dalek 2.0.0", ] @@ -14184,6 +14649,11 @@ name = "sp-std" version = "8.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" +[[package]] +name = "sp-std" +version = "8.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" + [[package]] name = "sp-storage" version = "13.0.0" @@ -14194,7 +14664,20 @@ dependencies = [ "ref-cast", "serde", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-storage" +version = "13.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -14204,9 +14687,9 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents", - "sp-runtime", - "sp-std", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -14216,7 +14699,19 @@ version = "10.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "tracing", + "tracing-core", + "tracing-subscriber", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "tracing", "tracing-core", "tracing-subscriber", @@ -14227,8 +14722,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api", - "sp-runtime", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14239,11 +14734,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core", - "sp-inherents", - "sp-runtime", - "sp-std", - "sp-trie", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14261,8 +14756,31 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core", - "sp-std", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", + "tracing", + "trie-db 0.27.1", + "trie-root", +] + +[[package]] +name = "sp-trie" +version = "22.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "ahash 0.8.6", + "hash-db 0.16.0", + "hashbrown 0.13.2", + "lazy_static", + "memory-db", + "nohash-hasher", + "parity-scale-codec", + "parking_lot 0.12.1", + "scale-info", + "schnellru", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", "tracing", "trie-db 0.27.1", @@ -14279,10 +14797,27 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro", - "sp-runtime", - "sp-std", - "sp-version-proc-macro", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version-proc-macro 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "thiserror", +] + +[[package]] +name = "sp-version" +version = "22.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "parity-wasm", + "scale-info", + "serde", + "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-version-proc-macro 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "thiserror", ] @@ -14297,6 +14832,17 @@ dependencies = [ "syn 2.0.42", ] +[[package]] +name = "sp-version-proc-macro" +version = "8.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "proc-macro2", + "quote", + "syn 2.0.42", +] + [[package]] name = "sp-wasm-interface" version = "14.0.0" @@ -14306,7 +14852,20 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "wasmtime", +] + +[[package]] +name = "sp-wasm-interface" +version = "14.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "wasmtime", ] @@ -14319,10 +14878,25 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", +] + +[[package]] +name = "sp-weights" +version = "20.0.0" +source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "smallvec", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", ] [[package]] @@ -14333,10 +14907,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-arithmetic", - "sp-core", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14400,11 +14974,11 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -14460,7 +15034,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", - "pallet-whitelist", + "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -14472,26 +15046,26 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-application-crypto", - "sp-arithmetic", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", - "sp-storage", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -14521,18 +15095,18 @@ name = "staging-xcm-builder" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", @@ -14544,16 +15118,16 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "environmental", - "frame-benchmarking", - "frame-support", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -14682,11 +15256,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-block-builder", "sp-blockchain", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14711,7 +15285,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] [[package]] @@ -14724,10 +15298,10 @@ dependencies = [ "sc-client-api", "sc-rpc-api", "serde", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie", + "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "trie-db 0.27.1", ] @@ -14915,7 +15489,7 @@ dependencies = [ name = "test-utils" version = "1.1.1" dependencies = [ - "frame-system", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "pretty_assertions", ] @@ -15516,21 +16090,21 @@ dependencies = [ "sc-executor", "serde", "serde_json", - "sp-api", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-consensus-aura", "sp-consensus-babe", - "sp-core", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities", - "sp-inherents", - "sp-io", - "sp-keystore", + "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-rpc", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-rpc-client", "zstd 0.12.4", @@ -16185,11 +16759,11 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking", + "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-election-provider-support", "frame-executive", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -16251,25 +16825,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api", - "sp-application-crypto", + "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core", - "sp-inherents", - "sp-io", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-session", - "sp-staking", - "sp-std", - "sp-storage", + "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-transaction-pool", - "sp-version", + "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -16282,12 +16856,12 @@ name = "westend-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core", - "sp-runtime", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -16660,8 +17234,8 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support", - "frame-system", + "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "impl-trait-for-tuples", "lazy_static", "log", @@ -16673,12 +17247,12 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", - "sp-arithmetic", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", - "sp-tracing", + "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", ] diff --git a/Cargo.toml b/Cargo.toml index 9888f3642..cfa255617 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -187,11 +187,13 @@ pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", rev = pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-bags-list = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } @@ -205,6 +207,7 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/parityt pallet-treasury = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-uniques = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } +pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901", default-features = false } @@ -381,11 +384,13 @@ pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", r pallet-bags-list = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-conviction-voting = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-referenda = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-state-trie-migration = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } @@ -399,6 +404,7 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacti pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } @@ -532,11 +538,13 @@ pallet-aura = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = " pallet-authorship = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-balances = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-collective = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-conviction-voting = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-elections-phragmen = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-identity = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-multisig = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-preimage = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-proxy = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-referenda = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-scheduler = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-session = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-sudo = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } @@ -548,6 +556,7 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacti pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } +pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 52353cede..f2c861aff 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -45,6 +45,7 @@ pallet-xyk-liquidity-mining = { workspace = true } # pallets pallet-bags-list = { workspace = true } pallet-balances = { workspace = true } +pallet-conviction-voting = { workspace = true } pallet-transaction-payment = { workspace = true } pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-treasury = { workspace = true } @@ -59,9 +60,11 @@ pallet-collective = { workspace = true } pallet-tips = { workspace = true } pallet-proxy = { workspace = true } pallet-multisig = { workspace = true } +pallet-referenda = { workspace = true } pallet-democracy = { workspace = true } pallet-elections-phragmen = { workspace = true } pallet-uniques = { workspace = true } +pallet-whitelist = { workspace = true } pallet-xcm-rate-limiter = { workspace = true } pallet-state-trie-migration = { workspace = true } @@ -125,6 +128,7 @@ frame-system-benchmarking = { workspace = true, optional = true } frame-system-rpc-runtime-api = { workspace = true } frame-try-runtime = { workspace = true, optional = true } sp-api = { workspace = true } +sp-arithmetic = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } sp-core = { workspace = true } @@ -208,6 +212,9 @@ runtime-benchmarks = [ "pallet-referrals/runtime-benchmarks", "pallet-evm-accounts/runtime-benchmarks", "pallet-state-trie-migration/runtime-benchmarks", + "pallet-conviction-voting/runtime-benchmarks", + "pallet-referenda/runtime-benchmarks", + "pallet-whitelist/runtime-benchmarks", ] std = [ "codec/std", @@ -281,6 +288,7 @@ std = [ "pallet-duster/std", "warehouse-liquidity-mining/std", "sp-api/std", + "sp-arithmetic/std", "sp-block-builder/std", "sp-consensus-aura/std", "sp-core/std", @@ -311,6 +319,9 @@ std = [ "pallet-evm-accounts-rpc-runtime-api/std", "pallet-xyk-liquidity-mining/std", "pallet-state-trie-migration/std", + "pallet-conviction-voting/std", + "pallet-referenda/std", + "pallet-whitelist/std", ] try-runtime= [ "frame-try-runtime", @@ -382,4 +393,7 @@ try-runtime= [ "pallet-evm-accounts/try-runtime", "pallet-xyk-liquidity-mining/try-runtime", "pallet-state-trie-migration/try-runtime", + "pallet-conviction-voting/try-runtime", + "pallet-referenda/try-runtime", + "pallet-whitelist/try-runtime", ] From 577d457c95aa9358e4d9de09f2a6a235384e87c4 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Thu, 13 Jun 2024 14:41:30 +0200 Subject: [PATCH 07/70] Isolate old governance runtime config --- runtime/hydradx/src/assets.rs | 1 + runtime/hydradx/src/evm/mod.rs | 2 +- runtime/hydradx/src/governance/mod.rs | 88 ++++++++ .../src/{governance.rs => governance/old.rs} | 194 +++++------------- runtime/hydradx/src/system.rs | 60 +++++- runtime/hydradx/src/xcm.rs | 2 + 6 files changed, 200 insertions(+), 147 deletions(-) create mode 100644 runtime/hydradx/src/governance/mod.rs rename runtime/hydradx/src/{governance.rs => governance/old.rs} (60%) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index f921580b2..b8b8bdf95 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -16,6 +16,7 @@ // limitations under the License. use super::*; +use crate::old::{AllTechnicalCommitteeMembers, MajorityOfCouncil, MaxVotes, SuperMajorityTechCommittee}; use crate::system::NativeAssetId; use frame_support::traits::Defensive; diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index f7778ed0b..455ae9a1d 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -187,7 +187,7 @@ impl pallet_evm_accounts::Config for crate::Runtime { type RuntimeEvent = crate::RuntimeEvent; type FeeMultiplier = sp_core::ConstU32<50>; type EvmNonceProvider = EvmNonceProvider; - type ControllerOrigin = crate::SuperMajorityTechCommittee; + type ControllerOrigin = crate::old::SuperMajorityTechCommittee; type WeightInfo = crate::weights::evm_accounts::HydraWeight; } diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs new file mode 100644 index 000000000..2dd32fb0c --- /dev/null +++ b/runtime/hydradx/src/governance/mod.rs @@ -0,0 +1,88 @@ +// This file is part of https://github.com/galacticcouncil/* +// +// $$$$$$$ Licensed under the Apache License, Version 2.0 (the "License") +// $$$$$$$$$$$$$ you may only use this file in compliance with the License +// $$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$ Copyright (C) 2021-2024 Intergalactic, Limited (GIB) +// $$$$$$$$$$$ $$$$$$$$$$ SPDX-License-Identifier: Apache-2.0 +// $$$$$$$$$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$$$$$$$$$$$$$$$ $ Built with <3 for decentralisation +// $$$$$$$$$$$$$$$$$$$ $$$$$$$ +// $$$$$$$ $$$$$$$$$$$$$$$$$$ 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. +// $$$$$$$ +// $$ +// $$$$$ $$$$$ $$ $ +// $$$ $$$ $$$ $$ $$$$$ $$ $$$ $$$$ $$$$$$$ $$$$ $$$ $$$$$$ $$ $$$$$$ +// $$$ $$$ $$$ $$ $$$ $$$ $$$ $ $$ $$ $$ $$ $$ $$ $$$ $$$ +// $$$$$$$$$$$ $$ $$ $$$ $$ $$ $$$$$$$ $$ $$ $$ $$$ $$ $$ +// $$$ $$$ $$$$ $$$ $$ $$ $$$ $$ $$ $$ $$ $$ $$ $$ +// $$$$$ $$$$$ $$ $$$$$$$$ $ $$$ $$$$$$$$ $$$ $$$$ $$$$$$$ $$$$ $$$$ +// $$$ + +// Gov V1 (to be deprecated) +pub mod old; + +use super::*; +use crate::old::{MoreThanHalfCouncil, TreasuryApproveOrigin}; +use frame_support::{parameter_types, sp_runtime::Permill, traits::NeverEnsureOrigin, PalletId}; +use primitives::constants::{currency::DOLLARS, time::DAYS}; +use sp_arithmetic::Perbill; + +use frame_system::EnsureRoot; + +parameter_types! { + pub const TechnicalMaxProposals: u32 = 20; + pub const TechnicalMaxMembers: u32 = 10; + pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * BlockWeights::get().max_block; +} + +pub type TechnicalCollective = pallet_collective::Instance2; +impl pallet_collective::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; + type Proposal = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type MotionDuration = TechnicalMotionDuration; + type MaxProposals = TechnicalMaxProposals; + type MaxMembers = TechnicalMaxMembers; + type DefaultVote = pallet_collective::PrimeDefaultVote; + type WeightInfo = weights::technical_committee::HydraWeight; + type MaxProposalWeight = MaxProposalWeight; + type SetMembersOrigin = EnsureRoot; +} + +parameter_types! { + pub TreasuryAccount: AccountId = Treasury::account_id(); + pub const ProposalBond: Permill = Permill::from_percent(3); + pub const ProposalBondMinimum: Balance = 100 * DOLLARS; + pub const ProposalBondMaximum: Balance = 500 * DOLLARS; + pub const SpendPeriod: BlockNumber = DAYS; + pub const Burn: Permill = Permill::from_percent(0); + pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); + pub const MaxApprovals: u32 = 100; +} + +impl pallet_treasury::Config for Runtime { + type Currency = Balances; + type ApproveOrigin = TreasuryApproveOrigin; + type RejectOrigin = MoreThanHalfCouncil; + type RuntimeEvent = RuntimeEvent; + type OnSlash = Treasury; + type ProposalBond = ProposalBond; + type ProposalBondMinimum = ProposalBondMinimum; + type ProposalBondMaximum = ProposalBondMaximum; + type SpendPeriod = SpendPeriod; + type Burn = Burn; + type PalletId = TreasuryPalletId; + type BurnDestination = (); + type WeightInfo = weights::treasury::HydraWeight; + type SpendFunds = (); + type MaxApprovals = MaxApprovals; + type SpendOrigin = NeverEnsureOrigin; +} diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance/old.rs similarity index 60% rename from runtime/hydradx/src/governance.rs rename to runtime/hydradx/src/governance/old.rs index 3a5b034fc..06f4315c8 100644 --- a/runtime/hydradx/src/governance.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -1,160 +1,43 @@ -// This file is part of HydraDX-node. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// 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 +// This file is part of https://github.com/galacticcouncil/* // -// 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. +// $$$$$$$ Licensed under the Apache License, Version 2.0 (the "License") +// $$$$$$$$$$$$$ you may only use this file in compliance with the License +// $$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$ Copyright (C) 2021-2024 Intergalactic, Limited (GIB) +// $$$$$$$$$$$ $$$$$$$$$$ SPDX-License-Identifier: Apache-2.0 +// $$$$$$$$$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$$$$$$$$$$$$$$$ $ Built with <3 for decentralisation +// $$$$$$$$$$$$$$$$$$$ $$$$$$$ +// $$$$$$$ $$$$$$$$$$$$$$$$$$ 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. +// $$$$$$$ +// $$ +// $$$$$ $$$$$ $$ $ +// $$$ $$$ $$$ $$ $$$$$ $$ $$$ $$$$ $$$$$$$ $$$$ $$$ $$$$$$ $$ $$$$$$ +// $$$ $$$ $$$ $$ $$$ $$$ $$$ $ $$ $$ $$ $$ $$ $$ $$$ $$$ +// $$$$$$$$$$$ $$ $$ $$$ $$ $$ $$$$$$$ $$ $$ $$ $$$ $$ $$ +// $$$ $$$ $$$$ $$$ $$ $$ $$$ $$ $$ $$ $$ $$ $$ $$ +// $$$$$ $$$$$ $$ $$$$$$$$ $ $$$ $$$$$$$$ $$$ $$$$ $$$$$$$ $$$$ $$$$ +// $$$ use super::*; use primitives::constants::{ - currency::{deposit, CENTS, DOLLARS}, + currency::{CENTS, DOLLARS}, time::{DAYS, HOURS}, }; use frame_support::{ parameter_types, - sp_runtime::{Perbill, Percent, Permill}, - traits::{ConstU32, EitherOfDiverse, LockIdentifier, NeverEnsureOrigin, PrivilegeCmp}, - PalletId, + sp_runtime::{Perbill, Percent}, + traits::{ConstU32, EitherOfDiverse, LockIdentifier}, }; use frame_system::{EnsureRoot, EnsureSigned}; use sp_staking::currency_to_vote::U128CurrencyToVote; -use sp_std::cmp::Ordering; - -parameter_types! { - pub TreasuryAccount: AccountId = Treasury::account_id(); - pub const ProposalBond: Permill = Permill::from_percent(3); - pub const ProposalBondMinimum: Balance = 100 * DOLLARS; - pub const ProposalBondMaximum: Balance = 500 * DOLLARS; - pub const SpendPeriod: BlockNumber = DAYS; - pub const Burn: Permill = Permill::from_percent(0); - pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); - pub const MaxApprovals: u32 = 100; -} - -impl pallet_treasury::Config for Runtime { - type Currency = Balances; - type ApproveOrigin = TreasuryApproveOrigin; - type RejectOrigin = MoreThanHalfCouncil; - type RuntimeEvent = RuntimeEvent; - type OnSlash = Treasury; - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = ProposalBondMaximum; - type SpendPeriod = SpendPeriod; - type Burn = Burn; - type PalletId = TreasuryPalletId; - type BurnDestination = (); - type WeightInfo = weights::treasury::HydraWeight; - type SpendFunds = (); - type MaxApprovals = MaxApprovals; - type SpendOrigin = NeverEnsureOrigin; -} - -parameter_types! { - pub PreimageBaseDeposit: Balance = deposit(2, 64); - pub PreimageByteDeposit: Balance = deposit(0, 1); -} - -impl pallet_preimage::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::preimage::HydraWeight; - type Currency = Balances; - type ManagerOrigin = EnsureRoot; - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; -} - -/// Used the compare the privilege of an origin inside the scheduler. -pub struct OriginPrivilegeCmp; - -impl PrivilegeCmp for OriginPrivilegeCmp { - fn cmp_privilege(left: &OriginCaller, right: &OriginCaller) -> Option { - if left == right { - return Some(Ordering::Equal); - } - - match (left, right) { - // Root is greater than anything. - (OriginCaller::system(frame_system::RawOrigin::Root), _) => Some(Ordering::Greater), - // Check which one has more yes votes. - ( - OriginCaller::Council(pallet_collective::RawOrigin::Members(l_yes_votes, l_count)), - OriginCaller::Council(pallet_collective::RawOrigin::Members(r_yes_votes, r_count)), - ) => Some((l_yes_votes * r_count).cmp(&(r_yes_votes * l_count))), - // For every other origin we don't care, as they are not used for `ScheduleOrigin`. - _ => None, - } - } -} - -parameter_types! { - pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * BlockWeights::get().max_block; - pub const MaxScheduledPerBlock: u32 = 50; -} -impl pallet_scheduler::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeOrigin = RuntimeOrigin; - type PalletsOrigin = OriginCaller; - type RuntimeCall = RuntimeCall; - type MaximumWeight = MaximumSchedulerWeight; - type ScheduleOrigin = MoreThanHalfCouncil; - type OriginPrivilegeCmp = OriginPrivilegeCmp; - type MaxScheduledPerBlock = MaxScheduledPerBlock; - type WeightInfo = weights::scheduler::HydraWeight; - type Preimages = Preimage; -} - -parameter_types! { - pub const CouncilMaxProposals: u32 = 30; - pub const CouncilMaxMembers: u32 = 13; - pub const CouncilMotionDuration: BlockNumber = 5 * DAYS; - pub MaxProposalWeight: Weight = Perbill::from_percent(50) * BlockWeights::get().max_block; -} - -pub 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::PrimeDefaultVote; - type WeightInfo = weights::council::HydraWeight; - type MaxProposalWeight = MaxProposalWeight; - type SetMembersOrigin = EnsureRoot; -} - -parameter_types! { - pub const TechnicalMaxProposals: u32 = 20; - pub const TechnicalMaxMembers: u32 = 10; - pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS; -} - -pub type TechnicalCollective = pallet_collective::Instance2; -impl pallet_collective::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Proposal = RuntimeCall; - type RuntimeEvent = RuntimeEvent; - type MotionDuration = TechnicalMotionDuration; - type MaxProposals = TechnicalMaxProposals; - type MaxMembers = TechnicalMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::technical_committee::HydraWeight; - type MaxProposalWeight = MaxProposalWeight; - type SetMembersOrigin = EnsureRoot; -} #[cfg(test)] mod tests { @@ -202,6 +85,27 @@ pub type AllTechnicalCommitteeMembers = EitherOfDiverse< EnsureRoot, >; +parameter_types! { + pub const CouncilMaxProposals: u32 = 30; + pub const CouncilMaxMembers: u32 = 13; + pub const CouncilMotionDuration: BlockNumber = 5 * DAYS; + pub MaxProposalWeight: Weight = Perbill::from_percent(50) * BlockWeights::get().max_block; +} + +pub 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::PrimeDefaultVote; + type WeightInfo = weights::council::HydraWeight; + type MaxProposalWeight = MaxProposalWeight; + type SetMembersOrigin = EnsureRoot; +} + parameter_types! { pub const LaunchPeriod: BlockNumber = 3 * DAYS; pub const VotingPeriod: BlockNumber = 3 * DAYS; diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index f09f5a9a2..9eea96e43 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -17,6 +17,8 @@ use super::*; +use crate::old::{MoreThanHalfCouncil, SuperMajorityTechCommittee}; + use pallet_transaction_multi_payment::{DepositAll, TransferFees}; use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; use primitives::constants::{ @@ -26,6 +28,7 @@ use primitives::constants::{ }; use codec::{Decode, Encode, MaxEncodedLen}; +use core::cmp::Ordering; use frame_support::{ dispatch::DispatchClass, parameter_types, @@ -33,7 +36,7 @@ use frame_support::{ traits::{ConstU32, IdentityLookup}, FixedPointNumber, Perbill, Perquintill, RuntimeDebug, }, - traits::{ConstBool, Contains, InstanceFilter, SortedMembers}, + traits::{ConstBool, Contains, InstanceFilter, PrivilegeCmp, SortedMembers}, weights::{ constants::{BlockExecutionWeight, RocksDbWeight}, ConstantMultiplier, WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, @@ -44,6 +47,7 @@ use frame_system::EnsureSignedBy; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; use scale_info::TypeInfo; +use frame_system::EnsureRoot; pub struct CallFilter; impl Contains for CallFilter { fn contains(call: &RuntimeCall) -> bool { @@ -261,6 +265,60 @@ impl pallet_collator_selection::Config for Runtime { type MinEligibleCollators = ConstU32<4>; } +parameter_types! { + pub PreimageBaseDeposit: Balance = deposit(2, 64); + pub PreimageByteDeposit: Balance = deposit(0, 1); +} + +impl pallet_preimage::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type WeightInfo = weights::preimage::HydraWeight; + type Currency = Balances; + type ManagerOrigin = EnsureRoot; + type BaseDeposit = PreimageBaseDeposit; + type ByteDeposit = PreimageByteDeposit; +} + +parameter_types! { + pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * BlockWeights::get().max_block; + pub const MaxScheduledPerBlock: u32 = 50; +} +impl pallet_scheduler::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type RuntimeOrigin = RuntimeOrigin; + type PalletsOrigin = OriginCaller; + type RuntimeCall = RuntimeCall; + type MaximumWeight = MaximumSchedulerWeight; + type ScheduleOrigin = MoreThanHalfCouncil; + type OriginPrivilegeCmp = OriginPrivilegeCmp; + type MaxScheduledPerBlock = MaxScheduledPerBlock; + type WeightInfo = weights::scheduler::HydraWeight; + type Preimages = Preimage; +} + +/// Used the compare the privilege of an origin inside the scheduler. +pub struct OriginPrivilegeCmp; + +impl PrivilegeCmp for OriginPrivilegeCmp { + fn cmp_privilege(left: &OriginCaller, right: &OriginCaller) -> Option { + if left == right { + return Some(Ordering::Equal); + } + + match (left, right) { + // Root is greater than anything. + (OriginCaller::system(frame_system::RawOrigin::Root), _) => Some(Ordering::Greater), + // Check which one has more yes votes. + ( + OriginCaller::Council(pallet_collective::RawOrigin::Members(l_yes_votes, l_count)), + OriginCaller::Council(pallet_collective::RawOrigin::Members(r_yes_votes, r_count)), + ) => Some((l_yes_votes * r_count).cmp(&(r_yes_votes * l_count))), + // For every other origin we don't care, as they are not used for `ScheduleOrigin`. + _ => None, + } + } +} + parameter_types! { pub const Period: u32 = 4 * HOURS; pub const Offset: u32 = 0; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 0f7c5d5cd..b2f5215ad 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,4 +1,6 @@ use super::*; + +use crate::old::{MajorityOfCouncil, MoreThanHalfCouncil, MoreThanHalfTechCommittee}; use sp_std::marker::PhantomData; use codec::MaxEncodedLen; From 05deaefbaad2b7364f77a2e6d3572b05d6ad5c22 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 14 Jun 2024 11:58:48 +0200 Subject: [PATCH 08/70] flag origins to be replaced --- runtime/hydradx/src/assets.rs | 20 ++++++++++++++++++++ runtime/hydradx/src/evm/mod.rs | 1 + runtime/hydradx/src/governance/mod.rs | 3 +++ runtime/hydradx/src/system.rs | 8 ++++++++ runtime/hydradx/src/xcm.rs | 3 +++ 5 files changed, 35 insertions(+) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index b8b8bdf95..0eb9a7b53 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -359,6 +359,7 @@ impl orml_vesting::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type MinVestedTransfer = MinVestedTransfer; + // TODO origin type VestedTransferOrigin = RootAsVestingPallet; type WeightInfo = weights::vesting::HydraWeight; type MaxVestingSchedules = MaxVestingSchedules; @@ -388,7 +389,10 @@ parameter_types! { impl pallet_asset_registry::Config for Runtime { type RuntimeEvent = RuntimeEvent; + + // TODO origin type RegistryOrigin = EnsureRoot; + // TODO origin type UpdateOrigin = SuperMajorityTechCommittee; type Currency = pallet_currencies::fungibles::FungibleCurrencies; type AssetId = AssetId; @@ -416,8 +420,10 @@ impl pallet_uniques::Config for Runtime { type CollectionId = CollectionId; type ItemId = ItemId; type Currency = Balances; + // TODO origin type ForceOrigin = MajorityOfCouncil; // Standard collection creation is disallowed + // TODO origin type CreateOrigin = AsEnsureOriginWithArg>; type Locker = (); type CollectionDeposit = CollectionDeposit; @@ -450,7 +456,9 @@ impl pallet_omnipool::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Currency = Currencies; + // TODO origin type AuthorityOrigin = EnsureRoot; + // TODO origin type TechnicalOrigin = SuperMajorityTechCommittee; type AssetRegistry = AssetRegistry; type HdxAssetId = NativeAssetId; @@ -503,6 +511,7 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; + // TODO origin type TechnicalOrigin = SuperMajorityTechCommittee; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; @@ -531,6 +540,7 @@ where impl pallet_ema_oracle::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type AuthorityOrigin = SuperMajorityTechCommittee; /// The definition of the oracle time periods currently assumes a 6 second block time. /// We use the parachain blocks anyway, because we want certain guarantees over how many blocks correspond @@ -568,6 +578,7 @@ impl pallet_duster::Config for Runtime { type MinCurrencyDeposits = AssetRegistry; type Reward = DustingReward; type NativeCurrencyId = NativeAssetId; + // TODO origin type BlacklistUpdateOrigin = SuperMajorityTechCommittee; type WeightInfo = (); } @@ -610,6 +621,7 @@ parameter_types! { impl pallet_omnipool_liquidity_mining::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Currencies; + // TODO origin type CreateOrigin = AllTechnicalCommitteeMembers; type PalletId = OmniLMPalletId; type NFTCollectionId = OmnipoolLMCollectionId; @@ -657,6 +669,7 @@ parameter_types! { impl pallet_xyk_liquidity_mining::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currencies = Currencies; + // TODO origin type CreateOrigin = AllTechnicalCommitteeMembers; type PalletId = XYKLmPalletId; type NFTCollectionId = XYKLmCollectionId; @@ -758,6 +771,7 @@ impl Contains for RetryOnErrorForDca { impl pallet_dca::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; + // TODO origin type TechnicalOrigin = SuperMajorityTechCommittee; type Currencies = Currencies; type RelayChainBlockHashProvider = RelayChainBlockHashProviderAdapter; @@ -1057,6 +1071,7 @@ impl pallet_route_executor::Config for Runtime { type DefaultRoutePoolType = DefaultRoutePoolType; type NativeAssetId = NativeAssetId; type InspectRegistry = AssetRegistry; + // TODO origin type TechnicalOrigin = SuperMajorityTechCommittee; type EdToRefundCalculator = RefundAndLockedEdCalculator; } @@ -1210,6 +1225,7 @@ impl pallet_stableswap::Config for Runtime { type Currency = Currencies; type ShareAccountId = StableswapAccountIdConstructor; type AssetInspection = AssetRegistry; + // TODO origin type AuthorityOrigin = EnsureRoot; type DustAccountHandler = Duster; type Hooks = StableswapHooksAdapter; @@ -1242,6 +1258,7 @@ impl pallet_bonds::Config for Runtime { type ExistentialDeposits = AssetRegistry; type TimestampProvider = Timestamp; type PalletId = BondsPalletId; + // TODO origin type IssueOrigin = EnsureSigned; type AssetTypeWhitelist = AssetTypeWhitelist; type ProtocolFee = ProtocolFee; @@ -1282,6 +1299,7 @@ impl GetByKey for StakingMinSlash { impl pallet_staking::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type AuthorityOrigin = MajorityOfCouncil; type AssetId = AssetId; type Currency = Currencies; @@ -1336,6 +1354,7 @@ impl pallet_lbp::Config for Runtime { type RuntimeEvent = RuntimeEvent; type MultiCurrency = Currencies; type LockedBalance = MultiCurrencyLockedBalance; + // TODO origin type CreatePoolOrigin = SuperMajorityTechCommittee; type LBPWeightFunction = pallet_lbp::LBPWeightFunction; type AssetPairAccountId = AssetPairAccountId; @@ -1384,6 +1403,7 @@ parameter_types! { impl pallet_referrals::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type AuthorityOrigin = EnsureRoot; type AssetId = AssetId; type Currency = FungibleCurrencies; diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 455ae9a1d..a51e0fdb5 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -187,6 +187,7 @@ impl pallet_evm_accounts::Config for crate::Runtime { type RuntimeEvent = crate::RuntimeEvent; type FeeMultiplier = sp_core::ConstU32<50>; type EvmNonceProvider = EvmNonceProvider; + // TODO origin type ControllerOrigin = crate::old::SuperMajorityTechCommittee; type WeightInfo = crate::weights::evm_accounts::HydraWeight; } diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 2dd32fb0c..87df09eb2 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -70,7 +70,9 @@ parameter_types! { impl pallet_treasury::Config for Runtime { type Currency = Balances; + // TODO origin type ApproveOrigin = TreasuryApproveOrigin; + // TODO origin type RejectOrigin = MoreThanHalfCouncil; type RuntimeEvent = RuntimeEvent; type OnSlash = Treasury; @@ -84,5 +86,6 @@ impl pallet_treasury::Config for Runtime { type WeightInfo = weights::treasury::HydraWeight; type SpendFunds = (); type MaxApprovals = MaxApprovals; + // TODO origin type SpendOrigin = NeverEnsureOrigin; } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 9eea96e43..5c5bec1eb 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -252,6 +252,7 @@ parameter_types! { impl pallet_collator_selection::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; + // TODO origin type UpdateOrigin = MoreThanHalfCouncil; type PotId = PotId; type MaxCandidates = MaxCandidates; @@ -274,6 +275,7 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::preimage::HydraWeight; type Currency = Balances; + // TODO origin type ManagerOrigin = EnsureRoot; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; @@ -289,6 +291,7 @@ impl pallet_scheduler::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; + // TODO origin type ScheduleOrigin = MoreThanHalfCouncil; type OriginPrivilegeCmp = OriginPrivilegeCmp; type MaxScheduledPerBlock = MaxScheduledPerBlock; @@ -365,7 +368,9 @@ impl pallet_identity::Config for Runtime { type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; + // TODO origin type ForceOrigin = MoreThanHalfCouncil; + // TODO origin type RegistrarOrigin = MoreThanHalfCouncil; type WeightInfo = weights::identity::HydraWeight; } @@ -536,6 +541,7 @@ impl pallet_transaction_payment::Config for Runtime { impl pallet_transaction_multi_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type AcceptedCurrencyOrigin = SuperMajorityTechCommittee; type Currencies = Currencies; type RouteProvider = Router; @@ -587,6 +593,7 @@ impl pallet_collator_rewards::Config for Runtime { impl pallet_transaction_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type UpdateOrigin = SuperMajorityTechCommittee; type WeightInfo = weights::transaction_pause::HydraWeight; } @@ -606,6 +613,7 @@ parameter_types! { } impl pallet_state_trie_migration::Config for Runtime { + // TODO origin type ControlOrigin = SuperMajorityTechCommittee; type SignedFilter = EnsureSignedBy; type RuntimeEvent = RuntimeEvent; diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index b2f5215ad..40f5bf3b1 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -190,6 +190,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; type ExecuteOverweightOrigin = EnsureRoot; + // TODO origin type ControllerOrigin = MoreThanHalfTechCommittee; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = (); @@ -243,6 +244,7 @@ impl orml_unknown_tokens::Config for Runtime { impl orml_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; + // TODO origin type SovereignOrigin = MoreThanHalfCouncil; } @@ -274,6 +276,7 @@ impl pallet_xcm::Config for Runtime { type WeightInfo = weights::xcm::HydraWeight; #[cfg(feature = "runtime-benchmarks")] type ReachableDest = ReachableDest; + // TODO origin type AdminOrigin = MajorityOfCouncil; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); From c1c0dc21d6086f1efe602075a4c055b710917d4e Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 22 Jun 2024 12:57:20 +0200 Subject: [PATCH 09/70] tracks and origins (temp) --- runtime/hydradx/src/governance/mod.rs | 5 + runtime/hydradx/src/governance/origins.rs | 146 +++++++++++++++ runtime/hydradx/src/governance/tracks.rs | 207 ++++++++++++++++++++++ 3 files changed, 358 insertions(+) create mode 100644 runtime/hydradx/src/governance/origins.rs create mode 100644 runtime/hydradx/src/governance/tracks.rs diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 87df09eb2..b010ee045 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -28,6 +28,9 @@ // Gov V1 (to be deprecated) pub mod old; +mod origins; +mod tracks; + use super::*; use crate::old::{MoreThanHalfCouncil, TreasuryApproveOrigin}; use frame_support::{parameter_types, sp_runtime::Permill, traits::NeverEnsureOrigin, PalletId}; @@ -89,3 +92,5 @@ impl pallet_treasury::Config for Runtime { // TODO origin type SpendOrigin = NeverEnsureOrigin; } + +impl origins::pallet_custom_origins::Config for Runtime {} diff --git a/runtime/hydradx/src/governance/origins.rs b/runtime/hydradx/src/governance/origins.rs new file mode 100644 index 000000000..eda09a89c --- /dev/null +++ b/runtime/hydradx/src/governance/origins.rs @@ -0,0 +1,146 @@ +// This file is part of https://github.com/galacticcouncil/* +// +// $$$$$$$ Licensed under the Apache License, Version 2.0 (the "License") +// $$$$$$$$$$$$$ you may only use this file in compliance with the License +// $$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$ Copyright (C) 2021-2024 Intergalactic, Limited (GIB) +// $$$$$$$$$$$ $$$$$$$$$$ SPDX-License-Identifier: Apache-2.0 +// $$$$$$$$$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$$$$$$$$$$$$$$$ $ Built with <3 for decentralisation +// $$$$$$$$$$$$$$$$$$$ $$$$$$$ +// $$$$$$$ $$$$$$$$$$$$$$$$$$ 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. +// $$$$$$$ +// $$ +// $$$$$ $$$$$ $$ $ +// $$$ $$$ $$$ $$ $$$$$ $$ $$$ $$$$ $$$$$$$ $$$$ $$$ $$$$$$ $$ $$$$$$ +// $$$ $$$ $$$ $$ $$$ $$$ $$$ $ $$ $$ $$ $$ $$ $$ $$$ $$$ +// $$$$$$$$$$$ $$ $$ $$$ $$ $$ $$$$$$$ $$ $$ $$ $$$ $$ $$ +// $$$ $$$ $$$$ $$$ $$ $$ $$$ $$ $$ $$ $$ $$ $$ $$ +// $$$$$ $$$$$ $$ $$$$$$$$ $ $$$ $$$$$$$$ $$$ $$$$ $$$$$$$ $$$$ $$$$ +// $$$ + +//! Custom origins for governance interventions. +pub use pallet_custom_origins::*; + +#[frame_support::pallet] +pub mod pallet_custom_origins { + use crate::Balance; + use frame_support::pallet_prelude::*; + use primitives::constants::currency::UNITS; + + #[pallet::config] + pub trait Config: frame_system::Config {} + + #[pallet::pallet] + pub struct Pallet(_); + + #[derive(PartialEq, Eq, Clone, MaxEncodedLen, Encode, Decode, TypeInfo, RuntimeDebug)] + #[pallet::origin] + pub enum Origin { + /// Origin able to dispatch a whitelisted call. + WhitelistedCaller, + /// Origin able to cancel referenda. + ReferendumCanceller, + /// Origin able to kill referenda. + ReferendumKiller, + /// Origin for managing general stuff such as the registrar and permissioned HRMP + /// channel operations. + GeneralAdmin, + /// Origin able to perform specific Omnipool-related actions. + OmnipoolAdmin, + /// Origin for spending very high amounts of BSX from the treasury as well as generally + /// administering it. + Treasurer, + /// Origin able to spend up to roughly $5,000 from the treasury at once. + Spender, + /// Origin able to spend up to roughly $500 from the treasury at once. + Tipper, + } + + macro_rules! decl_unit_ensures { + ( $name:ident: $success_type:ty = $success:expr ) => { + pub struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + Origin::$name => Ok($success), + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + Ok(O::from(Origin::$name)) + } + } + }; + ( $name:ident ) => { decl_unit_ensures! { $name : () = () } }; + ( $name:ident: $success_type:ty = $success:expr, $( $rest:tt )* ) => { + decl_unit_ensures! { $name: $success_type = $success } + decl_unit_ensures! { $( $rest )* } + }; + ( $name:ident, $( $rest:tt )* ) => { + decl_unit_ensures! { $name } + decl_unit_ensures! { $( $rest )* } + }; + () => {} + } + decl_unit_ensures!( + GeneralAdmin, + OmnipoolAdmin, + WhitelistedCaller, + ReferendumCanceller, + ReferendumKiller, + Treasurer, + ); + + macro_rules! decl_ensure { + ( + $vis:vis type $name:ident: EnsureOrigin { + $( $item:ident = $success:expr, )* + } + ) => { + $vis struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + $( + Origin::$item => Ok($success), + )* + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + // By convention the more privileged origins go later, so for greatest chance + // of success, we want the last one. + let _result: Result = Err(()); + $( + let _result: Result = Ok(O::from(Origin::$item)); + )* + _result + } + } + } + } + + // TODO opengov + decl_ensure! { + pub type Spender: EnsureOrigin { + Tipper = 500_000 * UNITS, // ~= $5,000 + Spender = 5_000_000 * UNITS, // ~= $50,000 + Treasurer = 500_000_000 * UNITS, // ~= $5,000,000 + } + } +} diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs new file mode 100644 index 000000000..b50eee688 --- /dev/null +++ b/runtime/hydradx/src/governance/tracks.rs @@ -0,0 +1,207 @@ +// This file is part of https://github.com/galacticcouncil/* +// +// $$$$$$$ Licensed under the Apache License, Version 2.0 (the "License") +// $$$$$$$$$$$$$ you may only use this file in compliance with the License +// $$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$ Copyright (C) 2021-2024 Intergalactic, Limited (GIB) +// $$$$$$$$$$$ $$$$$$$$$$ SPDX-License-Identifier: Apache-2.0 +// $$$$$$$$$$$$$$$$$$$$$$$$$$ +// $$$$$$$$$$$$$$$$$$$$$$$ $ Built with <3 for decentralisation +// $$$$$$$$$$$$$$$$$$$ $$$$$$$ +// $$$$$$$ $$$$$$$$$$$$$$$$$$ 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. +// $$$$$$$ +// $$ +// $$$$$ $$$$$ $$ $ +// $$$ $$$ $$$ $$ $$$$$ $$ $$$ $$$$ $$$$$$$ $$$$ $$$ $$$$$$ $$ $$$$$$ +// $$$ $$$ $$$ $$ $$$ $$$ $$$ $ $$ $$ $$ $$ $$ $$ $$$ $$$ +// $$$$$$$$$$$ $$ $$ $$$ $$ $$ $$$$$$$ $$ $$ $$ $$$ $$ $$ +// $$$ $$$ $$$$ $$$ $$ $$ $$$ $$ $$ $$ $$ $$ $$ $$ +// $$$$$ $$$$$ $$ $$$$$$$$ $ $$$ $$$$$$$$ $$$ $$$$ $$$$$$$ $$$$ $$$$ +// $$$ + +//! Track configurations for governance. + +use super::*; +use primitives::constants::{ + currency::UNITS, + time::{HOURS, MINUTES}, +}; +const fn percent(x: i32) -> sp_arithmetic::FixedI64 { + sp_arithmetic::FixedI64::from_rational(x as u128, 100) +} + +use pallet_referenda::Curve; +const APP_LINEAR: Curve = Curve::make_linear(7, 7, percent(50), percent(100)); +const APP_LINEAR_FLAT: Curve = Curve::make_linear(4, 7, percent(50), percent(100)); +const APP_RECIP: Curve = Curve::make_reciprocal(1, 7, percent(80), percent(50), percent(100)); +const SUP_LINEAR: Curve = Curve::make_linear(7, 7, percent(0), percent(50)); +const SUP_RECIP: Curve = Curve::make_reciprocal(5, 7, percent(1), percent(0), percent(50)); +const SUP_FAST_RECIP: Curve = Curve::make_reciprocal(3, 7, percent(1), percent(0), percent(50)); +const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(20), percent(1), percent(50)); + +// TODO OpenGov +const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 8] = [ + ( + 0, + pallet_referenda::TrackInfo { + name: "root", + max_deciding: 1, + decision_deposit: 100_000_000 * UNITS, + prepare_period: 24 * HOURS, + decision_period: 7 * DAYS, + confirm_period: 24 * HOURS, + min_enactment_period: 24 * HOURS, + min_approval: APP_RECIP, + min_support: SUP_LINEAR, + }, + ), + ( + 1, + pallet_referenda::TrackInfo { + name: "whitelisted_caller", + max_deciding: 10, + decision_deposit: 1_000_000 * UNITS, + prepare_period: 10 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 10 * MINUTES, + min_enactment_period: 10 * MINUTES, + min_approval: APP_RECIP, + min_support: SUP_WHITELISTED_CALLER, + }, + ), + ( + 2, + pallet_referenda::TrackInfo { + name: "referendum_canceller", + max_deciding: 10, + decision_deposit: 10_000_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 24 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LINEAR_FLAT, + min_support: SUP_FAST_RECIP, + }, + ), + ( + 3, + pallet_referenda::TrackInfo { + name: "referendum_killer", + max_deciding: 10, + decision_deposit: 50_000_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LINEAR_FLAT, + min_support: SUP_FAST_RECIP, + }, + ), + ( + 4, + pallet_referenda::TrackInfo { + name: "general_admin", + max_deciding: 10, + decision_deposit: 10_000_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_RECIP, + min_support: SUP_RECIP, + }, + ), + ( + 5, + pallet_referenda::TrackInfo { + name: "treasurer", + max_deciding: 10, + decision_deposit: 50_000_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 12 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_RECIP, + min_support: SUP_LINEAR, + }, + ), + ( + 6, + pallet_referenda::TrackInfo { + name: "spender", + max_deciding: 10, + decision_deposit: 5_000_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LINEAR, + min_support: SUP_RECIP, + }, + ), + ( + 7, + pallet_referenda::TrackInfo { + name: "tipper", + max_deciding: 10, + decision_deposit: 500_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LINEAR_FLAT, + min_support: SUP_FAST_RECIP, + }, + ), + ( + 8, + pallet_referenda::TrackInfo { + name: "omnipool_admin", + max_deciding: 10, + decision_deposit: 500_000 * UNITS, + prepare_period: 60 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_LINEAR_FLAT, + min_support: SUP_FAST_RECIP, + }, + ), +]; + +pub struct TracksInfo; +impl pallet_referenda::TracksInfo for TracksInfo { + type Id = u16; + type RuntimeOrigin = ::PalletsOrigin; + fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { + &TRACKS_DATA[..] + } + fn track_for(id: &Self::RuntimeOrigin) -> Result { + if let Ok(system_origin) = frame_system::RawOrigin::try_from(id.clone()) { + match system_origin { + frame_system::RawOrigin::Root => Ok(0), + _ => Err(()), + } + } else if let Ok(custom_origin) = origins::Origin::try_from(id.clone()) { + match custom_origin { + origins::Origin::WhitelistedCaller => Ok(1), + origins::Origin::ReferendumCanceller => Ok(2), + origins::Origin::ReferendumKiller => Ok(3), + origins::Origin::GeneralAdmin => Ok(4), + origins::Origin::Treasurer => Ok(5), + origins::Origin::Spender => Ok(6), + origins::Origin::Tipper => Ok(7), + origins::Origin::OmnipoolAdmin => Ok(8), + } + } else { + Err(()) + } + } +} +pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); From dda5b7d1c4504c05b101948fd7d7b79ba83fd950 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 22 Jun 2024 13:47:03 +0200 Subject: [PATCH 10/70] hook up OpenGov into the Runtime --- Cargo.lock | 3436 +++++++---------- Cargo.toml | 2 +- runtime/hydradx/src/governance/mod.rs | 71 +- runtime/hydradx/src/governance/origins.rs | 12 +- runtime/hydradx/src/governance/tracks.rs | 4 +- runtime/hydradx/src/lib.rs | 15 + .../hydradx/src/weights/conviction_voting.rs | 172 + runtime/hydradx/src/weights/mod.rs | 3 + runtime/hydradx/src/weights/referenda.rs | 520 +++ runtime/hydradx/src/weights/whitelist.rs | 108 + 10 files changed, 2328 insertions(+), 2015 deletions(-) create mode 100644 runtime/hydradx/src/weights/conviction_voting.rs create mode 100644 runtime/hydradx/src/weights/referenda.rs create mode 100644 runtime/hydradx/src/weights/whitelist.rs diff --git a/Cargo.lock b/Cargo.lock index 05d7c41ab..0b9362b16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1860,8 +1860,8 @@ dependencies = [ "sc-cli", "sc-client-api", "sc-service", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "url", ] @@ -1881,10 +1881,10 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "tracing", ] @@ -1914,16 +1914,16 @@ dependencies = [ "sc-consensus-slots", "sc-telemetry", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "substrate-prometheus-endpoint", @@ -1951,10 +1951,10 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-timestamp", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", "substrate-prometheus-endpoint", "tracing", ] @@ -1968,8 +1968,8 @@ dependencies = [ "async-trait", "cumulus-primitives-parachain-inherent", "sp-consensus", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -1991,8 +1991,8 @@ dependencies = [ "sc-client-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "tracing", ] @@ -2017,7 +2017,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-maybe-compressed-blob", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "tracing", ] @@ -2048,11 +2048,11 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-transaction-pool", ] @@ -2062,16 +2062,16 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-pallet-parachain-system", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "pallet-aura", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -2080,14 +2080,14 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -2101,22 +2101,22 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "environmental", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-trie", + "sp-version", "staging-xcm", "trie-db 0.27.1", ] @@ -2138,13 +2138,13 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -2154,18 +2154,18 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "polkadot-runtime-common", "rand_chacha 0.3.1", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] @@ -2178,10 +2178,10 @@ dependencies = [ "parity-scale-codec", "polkadot-core-primitives", "polkadot-primitives", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus-aura", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -2194,10 +2194,10 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-runtime", + "sp-std", + "sp-trie", "staging-xcm", ] @@ -2213,14 +2213,14 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-storage", + "sp-trie", "tracing", ] @@ -2232,8 +2232,8 @@ dependencies = [ "cumulus-primitives-core", "futures", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", + "sp-std", "sp-timestamp", ] @@ -2243,13 +2243,13 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "log", "parity-scale-codec", "polkadot-runtime-common", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -2272,10 +2272,10 @@ dependencies = [ "sc-sysinfo", "sc-telemetry", "sc-tracing", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -2291,7 +2291,7 @@ dependencies = [ "parity-scale-codec", "polkadot-overseer", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", @@ -2325,10 +2325,10 @@ dependencies = [ "sc-tracing", "sc-utils", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus", "sp-consensus-babe", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "tracing", ] @@ -2356,13 +2356,13 @@ dependencies = [ "serde_json", "smoldot", "smoldot-light", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "thiserror", "tokio", "tokio-util", @@ -2378,10 +2378,10 @@ dependencies = [ "cumulus-primitives-core", "parity-scale-codec", "polkadot-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-trie", ] [[package]] @@ -3281,10 +3281,10 @@ dependencies = [ "fp-consensus", "fp-rpc", "sc-consensus", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-block-builder", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "thiserror", ] @@ -3303,9 +3303,9 @@ dependencies = [ "sc-client-db", "smallvec", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -3323,10 +3323,10 @@ dependencies = [ "parking_lot 0.12.1", "sc-client-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -3367,17 +3367,17 @@ dependencies = [ "sc-utils", "schnellru", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "sp-timestamp", "substrate-prometheus-endpoint", "thiserror", @@ -3408,11 +3408,11 @@ dependencies = [ "fp-storage", "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-storage", ] [[package]] @@ -3577,11 +3577,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", ] [[package]] @@ -3591,9 +3591,9 @@ source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041c dependencies = [ "ethereum", "parity-scale-codec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3604,10 +3604,10 @@ dependencies = [ "ethereum", "ethereum-types", "fp-evm", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "num_enum 0.6.1", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] @@ -3616,13 +3616,13 @@ version = "3.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "evm 0.39.1", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -3635,11 +3635,11 @@ dependencies = [ "fp-evm", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] @@ -3647,11 +3647,11 @@ name = "fp-self-contained" version = "1.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -3674,48 +3674,23 @@ name = "frame-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-support-procedural", + "frame-system", "linregress", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "static_assertions", -] - -[[package]] -name = "frame-benchmarking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "linregress", - "log", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", "static_assertions", ] @@ -3729,9 +3704,9 @@ dependencies = [ "chrono", "clap 4.4.11", "comfy-table", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "gethostname", "handlebars", "itertools 0.10.5", @@ -3750,19 +3725,19 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", + "sp-trie", + "sp-wasm-interface", "thiserror", "thousands", ] @@ -3784,15 +3759,15 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "frame-election-provider-solution-type", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -3800,17 +3775,17 @@ name = "frame-executive" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-try-runtime", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -3837,9 +3812,9 @@ dependencies = [ "log", "parity-scale-codec", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "spinners", "substrate-rpc-client", @@ -3857,7 +3832,7 @@ dependencies = [ "docify", "environmental", "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support-procedural", "impl-trait-for-tuples", "k256", "log", @@ -3868,65 +3843,25 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-core-hashing-proc-macro", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-genesis-builder 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-genesis-builder", + "sp-inherents", + "sp-io", + "sp-metadata-ir", + "sp-runtime", + "sp-staking", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-tracing", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "static_assertions", "tt-call", ] -[[package]] -name = "frame-support" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "aquamarine", - "bitflags 1.3.2", - "docify", - "environmental", - "frame-metadata", - "frame-support-procedural 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "impl-trait-for-tuples", - "k256", - "log", - "macro_magic", - "parity-scale-codec", - "paste", - "scale-info", - "serde", - "serde_json", - "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-genesis-builder 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "static_assertions", - "tt-call", -] - [[package]] name = "frame-support-procedural" version = "4.0.0-dev" @@ -3936,25 +3871,7 @@ dependencies = [ "cfg-expr", "derive-syn-parse", "expander 2.0.0", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "itertools 0.10.5", - "macro_magic", - "proc-macro-warning", - "proc-macro2", - "quote", - "syn 2.0.42", -] - -[[package]] -name = "frame-support-procedural" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "Inflector", - "cfg-expr", - "derive-syn-parse", - "expander 2.0.0", - "frame-support-procedural-tools 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-support-procedural-tools", "itertools 0.10.5", "macro_magic", "proc-macro-warning", @@ -3968,19 +3885,7 @@ name = "frame-support-procedural-tools" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.42", -] - -[[package]] -name = "frame-support-procedural-tools" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "frame-support-procedural-tools-derive 3.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "frame-support-procedural-tools-derive", "proc-macro-crate 1.3.1", "proc-macro2", "quote", @@ -3997,67 +3902,38 @@ dependencies = [ "syn 2.0.42", ] -[[package]] -name = "frame-support-procedural-tools-derive" -version = "3.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "frame-system" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cfg-if", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-version", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] -[[package]] -name = "frame-system" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "cfg-if", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "log", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", -] - [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -4066,7 +3942,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", ] [[package]] @@ -4074,11 +3950,11 @@ name = "frame-try-runtime" version = "0.10.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -4646,8 +4522,8 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-std", "test-case 2.2.2", ] @@ -4678,7 +4554,7 @@ dependencies = [ "fp-consensus", "fp-rpc", "fp-storage", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-benchmarking-cli", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4719,24 +4595,24 @@ dependencies = [ "sc-transaction-pool-api", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", "substrate-frame-rpc-system", "substrate-prometheus-endpoint", "substrate-state-trie-migration-rpc", @@ -4749,8 +4625,8 @@ version = "1.3.3" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "lazy_static", @@ -4784,10 +4660,10 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4811,10 +4687,10 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-self-contained", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -4892,7 +4768,7 @@ dependencies = [ "pallet-treasury", "pallet-uniques", "pallet-utility", - "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-rate-limiter", "pallet-xyk", @@ -4906,22 +4782,22 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -4932,13 +4808,13 @@ dependencies = [ name = "hydradx-traits" version = "3.3.1" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-std", ] [[package]] @@ -5560,12 +5436,12 @@ name = "kusama-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -6471,13 +6347,13 @@ dependencies = [ "parity-scale-codec", "sc-client-api", "sc-offchain", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -6489,11 +6365,11 @@ dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-mmr-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -6532,7 +6408,7 @@ dependencies = [ "evm-gasometer 0.36.0", "evm-runtime 0.36.0", "sha3", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] @@ -7029,19 +6905,19 @@ name = "orml-benchmarking" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", "log", "parity-scale-codec", "paste", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-io", + "sp-runtime", + "sp-runtime-interface", + "sp-std", + "sp-storage", ] [[package]] @@ -7049,16 +6925,16 @@ name = "orml-tokens" version = "0.4.2-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "orml-traits", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-runtime", + "sp-std", ] [[package]] @@ -7066,7 +6942,7 @@ name = "orml-traits" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "impl-trait-for-tuples", "num-traits", "orml-utilities", @@ -7074,10 +6950,10 @@ dependencies = [ "paste", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -7086,13 +6962,13 @@ name = "orml-unknown-tokens" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "orml-xcm-support", "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", "staging-xcm", ] @@ -7101,14 +6977,14 @@ name = "orml-utilities" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7116,14 +6992,14 @@ name = "orml-vesting" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7131,12 +7007,12 @@ name = "orml-xcm" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "pallet-xcm", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", "staging-xcm", ] @@ -7145,11 +7021,11 @@ name = "orml-xcm-support" version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "orml-traits", "parity-scale-codec", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] @@ -7160,8 +7036,8 @@ version = "0.4.1-dev" source = "git+https://github.com/galacticcouncil/open-runtime-module-library?rev=f36a0abefd8e6b929bee3cc2420f7c4fbe459c99#f36a0abefd8e6b929bee3cc2420f7c4fbe459c99" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "orml-traits", "orml-xcm-support", @@ -7169,9 +7045,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] @@ -7186,9 +7062,9 @@ checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" name = "pallet-asset-registry" version = "3.2.3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "orml-tokens", @@ -7198,12 +7074,12 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "substrate-wasm-builder", "test-utils", @@ -7214,17 +7090,17 @@ name = "pallet-asset-tx-payment" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-transaction-payment", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7232,15 +7108,15 @@ name = "pallet-assets" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -7248,16 +7124,16 @@ name = "pallet-aura" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus-aura", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7265,15 +7141,15 @@ name = "pallet-authority-discovery" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-authority-discovery", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7281,13 +7157,13 @@ name = "pallet-authorship" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7295,23 +7171,23 @@ name = "pallet-babe" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", ] [[package]] @@ -7321,19 +7197,19 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "aquamarine", "docify", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -7341,14 +7217,14 @@ name = "pallet-balances" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7356,8 +7232,8 @@ name = "pallet-beefy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -7365,10 +7241,10 @@ dependencies = [ "scale-info", "serde", "sp-consensus-beefy", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", ] [[package]] @@ -7378,8 +7254,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "array-bytes", "binary-merkle-tree", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-beefy", "pallet-mmr", @@ -7387,22 +7263,22 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] name = "pallet-bonds" version = "2.2.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "orml-tokens", @@ -7413,11 +7289,11 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -7425,17 +7301,17 @@ name = "pallet-bounties" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7443,27 +7319,27 @@ name = "pallet-child-bounties" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-bounties", "pallet-treasury", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-circuit-breaker" version = "1.1.24" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -7474,10 +7350,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-case 3.3.1", "test-utils", ] @@ -7486,9 +7362,9 @@ dependencies = [ name = "pallet-claims" version = "3.4.8" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal 0.3.4", "lazy_static", @@ -7498,19 +7374,19 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-collator-rewards" version = "1.0.7" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-tokens", "orml-traits", @@ -7519,12 +7395,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", "substrate-wasm-builder", ] @@ -7533,18 +7409,18 @@ name = "pallet-collator-selection" version = "3.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -7552,16 +7428,16 @@ name = "pallet-collective" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7570,23 +7446,23 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-currencies" version = "2.1.0" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "orml-tokens", "orml-traits", "orml-utilities", @@ -7594,10 +7470,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7606,9 +7482,9 @@ version = "1.4.7" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -7628,12 +7504,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", "test-case 2.2.2", "test-utils", ] @@ -7643,26 +7519,26 @@ name = "pallet-democracy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-democracy" version = "4.2.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-balances", "pallet-preimage", @@ -7670,19 +7546,19 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-duster" version = "3.2.4" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "lazy_static", "log", @@ -7693,10 +7569,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", ] @@ -7704,9 +7580,9 @@ dependencies = [ name = "pallet-dynamic-evm-fee" version = "1.0.1" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -7719,11 +7595,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -7731,19 +7607,19 @@ dependencies = [ name = "pallet-dynamic-fees" version = "1.0.3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "orml-traits", "parity-scale-codec", "proptest", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7751,21 +7627,21 @@ name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", "strum 0.24.1", ] @@ -7774,13 +7650,13 @@ name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -7788,27 +7664,27 @@ name = "pallet-elections-phragmen" version = "5.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] name = "pallet-ema-oracle" version = "1.3.1" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -7818,11 +7694,11 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -7840,14 +7716,14 @@ dependencies = [ "fp-evm", "fp-rpc", "fp-storage", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "pallet-evm", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7859,9 +7735,9 @@ dependencies = [ "evm 0.39.1", "fp-account", "fp-evm", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -7869,28 +7745,28 @@ dependencies = [ "parity-scale-codec", "rlp", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-evm-accounts" version = "1.1.1" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.4.1", "hydradx-traits", "orml-tokens", "orml-traits", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-std", "test-utils", ] @@ -7899,7 +7775,7 @@ name = "pallet-evm-accounts-rpc-runtime-api" version = "1.0.0" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", ] [[package]] @@ -7907,11 +7783,11 @@ name = "pallet-evm-chain-id" version = "1.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -7928,7 +7804,7 @@ version = "2.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "substrate-bn", ] @@ -7939,8 +7815,8 @@ dependencies = [ "derive_more", "evm 0.39.1", "fp-evm", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hex-literal 0.4.1", "libsecp256k1", "log", @@ -7955,10 +7831,10 @@ dependencies = [ "serde", "sha3", "slices", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -7967,10 +7843,10 @@ version = "2.0.0-dev" source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041cc744ecbb62a2afc13d56d464dc#bf5885a982041cc744ecbb62a2afc13d56d464dc" dependencies = [ "fp-evm", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "pallet-evm", "parity-scale-codec", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -7989,7 +7865,7 @@ source = "git+https://github.com/moonbeam-foundation/frontier?rev=bf5885a982041c dependencies = [ "fp-evm", "ripemd", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", ] [[package]] @@ -7998,17 +7874,17 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "docify", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8016,17 +7892,17 @@ name = "pallet-genesis-history" version = "2.1.1" dependencies = [ "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hex-literal 0.4.1", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8034,22 +7910,22 @@ name = "pallet-grandpa" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", ] [[package]] @@ -8058,14 +7934,14 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "enumflags2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8073,19 +7949,19 @@ name = "pallet-im-online" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8093,25 +7969,25 @@ name = "pallet-indices" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-keyring", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-lbp" version = "4.8.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8122,10 +7998,10 @@ dependencies = [ "rug", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", "test-utils", ] @@ -8135,8 +8011,8 @@ name = "pallet-liquidity-mining" version = "4.3.3" dependencies = [ "fixed", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8147,11 +8023,11 @@ dependencies = [ "proptest", "rand 0.8.5", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -8160,16 +8036,16 @@ name = "pallet-membership" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8177,17 +8053,17 @@ name = "pallet-message-queue" version = "7.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8196,17 +8072,17 @@ name = "pallet-mmr" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -8214,24 +8090,24 @@ name = "pallet-multisig" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-nft" version = "7.1.3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "log", "pallet-balances", @@ -8239,10 +8115,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8250,15 +8126,15 @@ name = "pallet-nis" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -8266,18 +8142,18 @@ name = "pallet-nomination-pools" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", + "sp-tracing", ] [[package]] @@ -8285,19 +8161,19 @@ name = "pallet-nomination-pools-benchmarking" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "pallet-bags-list", "pallet-nomination-pools", "pallet-staking 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-runtime-interface", + "sp-staking", + "sp-std", ] [[package]] @@ -8307,8 +8183,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "pallet-nomination-pools", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-std", ] [[package]] @@ -8316,16 +8192,16 @@ name = "pallet-offences" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8333,10 +8209,10 @@ name = "pallet-offences-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-babe", "pallet-balances", @@ -8347,9 +8223,9 @@ dependencies = [ "pallet-staking 4.0.0-dev", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8357,9 +8233,9 @@ name = "pallet-omnipool" version = "4.3.0" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "impl-trait-for-tuples", @@ -8372,20 +8248,20 @@ dependencies = [ "primitive-types", "proptest", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] name = "pallet-omnipool-liquidity-mining" version = "2.1.7" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -8400,19 +8276,19 @@ dependencies = [ "primitive-types", "primitives", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-otc" version = "1.1.3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydradx-traits", "orml-tokens", "orml-traits", @@ -8420,11 +8296,11 @@ dependencies = [ "pretty_assertions", "proptest", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -8433,16 +8309,16 @@ name = "pallet-preimage" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8450,14 +8326,14 @@ name = "pallet-proxy" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8465,17 +8341,17 @@ name = "pallet-ranked-collective" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8483,14 +8359,14 @@ name = "pallet-recovery" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8499,26 +8375,26 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "assert_matches", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-referrals" version = "1.2.4" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hex-literal 0.3.4", "hydra-dx-math", "hydradx-traits", @@ -8527,11 +8403,11 @@ dependencies = [ "parity-scale-codec", "pretty_assertions", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", ] [[package]] @@ -8540,21 +8416,21 @@ version = "0.3.4" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-std", ] [[package]] name = "pallet-route-executor" version = "2.3.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-adapters", "hydradx-traits", @@ -8566,10 +8442,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -8579,15 +8455,15 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "docify", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8596,21 +8472,21 @@ name = "pallet-session" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-trie", ] [[package]] @@ -8618,16 +8494,16 @@ name = "pallet-session-benchmarking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "pallet-session", "pallet-staking 4.0.0-dev", "parity-scale-codec", "rand 0.8.5", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] @@ -8635,17 +8511,17 @@ name = "pallet-society" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "rand_chacha 0.2.2", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8653,9 +8529,9 @@ name = "pallet-stableswap" version = "3.6.2" dependencies = [ "bitflags 1.3.2", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8664,12 +8540,12 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", "test-utils", ] @@ -8677,9 +8553,9 @@ dependencies = [ name = "pallet-staking" version = "3.1.0" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "log", "orml-tokens", @@ -8691,10 +8567,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8702,10 +8578,10 @@ name = "pallet-staking" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "log", "pallet-authorship", "pallet-session", @@ -8713,11 +8589,11 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -8737,7 +8613,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "log", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", ] [[package]] @@ -8746,7 +8622,7 @@ version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", ] [[package]] @@ -8754,16 +8630,16 @@ name = "pallet-state-trie-migration" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8771,14 +8647,14 @@ name = "pallet-sudo" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8786,17 +8662,17 @@ name = "pallet-timestamp" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", + "sp-io", + "sp-runtime", + "sp-std", + "sp-storage", "sp-timestamp", ] @@ -8805,26 +8681,26 @@ name = "pallet-tips" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "pallet-treasury", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] name = "pallet-transaction-multi-payment" version = "10.0.3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -8838,11 +8714,11 @@ dependencies = [ "parity-scale-codec", "primitives", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "test-utils", ] @@ -8850,9 +8726,9 @@ dependencies = [ name = "pallet-transaction-pause" version = "1.0.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "orml-tokens", "orml-traits", @@ -8860,11 +8736,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8872,15 +8748,15 @@ name = "pallet-transaction-payment" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8891,11 +8767,11 @@ dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8906,8 +8782,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "pallet-transaction-payment", "parity-scale-codec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -8916,16 +8792,16 @@ name = "pallet-treasury" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "pallet-balances", "parity-scale-codec", "scale-info", "serde", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -8933,14 +8809,14 @@ name = "pallet-uniques" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -8948,15 +8824,15 @@ name = "pallet-utility" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -8964,14 +8840,14 @@ name = "pallet-vesting" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -8979,29 +8855,14 @@ name = "pallet-whitelist" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "pallet-whitelist" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "parity-scale-codec", - "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -9010,17 +8871,17 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bounded-collections", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-executor", ] @@ -9030,15 +8891,15 @@ name = "pallet-xcm-benchmarks" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "log", "parity-scale-codec", "scale-info", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9049,9 +8910,9 @@ name = "pallet-xcm-rate-limiter" version = "0.1.8" dependencies = [ "cumulus-pallet-xcmp-queue", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "orml-tokens", @@ -9064,10 +8925,10 @@ dependencies = [ "pretty_assertions", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", ] @@ -9075,9 +8936,9 @@ dependencies = [ name = "pallet-xyk" version = "6.4.2" dependencies = [ - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "hydra-dx-math", "hydradx-traits", "log", @@ -9089,11 +8950,11 @@ dependencies = [ "proptest", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "substrate-wasm-builder", ] @@ -9101,8 +8962,8 @@ dependencies = [ name = "pallet-xyk-liquidity-mining" version = "1.1.10" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydradx-traits", "log", "orml-tokens", @@ -9114,11 +8975,11 @@ dependencies = [ "pretty_assertions", "primitives", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", ] [[package]] @@ -9127,12 +8988,12 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "cumulus-primitives-core", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -9142,8 +9003,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "kusama-runtime-constants", "log", "num-traits", @@ -9160,10 +9021,10 @@ dependencies = [ "scale-info", "smallvec", "sp-consensus-aura", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -9555,8 +9416,8 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "schnellru", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9600,8 +9461,8 @@ dependencies = [ "sc-storage-monitor", "sc-sysinfo", "sc-tracing", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-keyring", "sp-maybe-compressed-blob", "substrate-build-script-utils", @@ -9623,9 +9484,9 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", "tokio-util", "tracing-gum", @@ -9638,9 +9499,9 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -9662,8 +9523,8 @@ dependencies = [ "polkadot-primitives", "sc-network", "schnellru", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9677,8 +9538,8 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "reed-solomon-novelpoly", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-trie", "thiserror", ] @@ -9697,9 +9558,9 @@ dependencies = [ "rand_chacha 0.3.1", "sc-network", "sc-network-common", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "tracing-gum", ] @@ -9738,7 +9599,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-maybe-compressed-blob", "thiserror", "tracing-gum", @@ -9765,10 +9626,10 @@ dependencies = [ "sc-keystore", "schnellru", "schnorrkel 0.9.1", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "thiserror", "tracing-gum", ] @@ -9809,7 +9670,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-statement-table", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -9823,7 +9684,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", "thiserror", "tracing-gum", "wasm-timer", @@ -9913,7 +9774,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "sp-blockchain", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", "thiserror", "tracing-gum", ] @@ -9971,9 +9832,9 @@ dependencies = [ "polkadot-primitives", "rand 0.8.5", "slotmap", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface", "substrate-build-script-utils", "tempfile", "tokio", @@ -9991,7 +9852,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-overseer", "polkadot-primitives", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10011,10 +9872,10 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-io", + "sp-tracing", "tokio", "tracing-gum", ] @@ -10034,9 +9895,9 @@ dependencies = [ "sc-executor", "sc-executor-common", "sc-executor-wasmtime", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-io", "sp-maybe-compressed-blob", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-tracing", "tikv-jemalloc-ctl", "tokio", "tracing-gum", @@ -10070,7 +9931,7 @@ dependencies = [ "polkadot-node-primitives", "polkadot-primitives", "sc-network", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "thiserror", "tokio", ] @@ -10130,12 +9991,12 @@ dependencies = [ "polkadot-primitives", "schnorrkel 0.9.1", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", "sp-maybe-compressed-blob", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "thiserror", "zstd 0.12.4", ] @@ -10167,7 +10028,7 @@ dependencies = [ "sc-network", "sc-transaction-pool-api", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-consensus-babe", "substrate-prometheus-endpoint", @@ -10200,9 +10061,9 @@ dependencies = [ "prioritized-metered-channel", "rand 0.8.5", "schnellru", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", "tracing-gum", ] @@ -10224,8 +10085,8 @@ dependencies = [ "polkadot-primitives", "sc-client-api", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", "tikv-jemalloc-ctl", "tracing-gum", ] @@ -10237,14 +10098,14 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "bounded-collections", "derive_more", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "parity-scale-codec", "polkadot-core-primitives", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -10277,18 +10138,18 @@ dependencies = [ "polkadot-parachain-primitives", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -10312,13 +10173,13 @@ dependencies = [ "sc-rpc", "sc-sync-state-rpc", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", + "sp-runtime", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", ] @@ -10329,11 +10190,11 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -10381,7 +10242,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", - "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -10394,25 +10255,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -10426,10 +10287,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "libsecp256k1", "log", @@ -10453,15 +10314,15 @@ dependencies = [ "serde", "serde_derive", "slot-range-helper", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-inherents", + "sp-io", "sp-npos-elections", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", "staging-xcm", "static_assertions", ] @@ -10471,12 +10332,12 @@ name = "polkadot-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -10486,11 +10347,11 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "bs58 0.5.0", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "parity-scale-codec", "polkadot-primitives", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", + "sp-tracing", ] [[package]] @@ -10501,9 +10362,9 @@ dependencies = [ "bitflags 1.3.2", "bitvec", "derive_more", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-authority-discovery", @@ -10524,16 +10385,16 @@ dependencies = [ "rustc-hex", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-inherents", + "sp-io", + "sp-keystore", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", "staging-xcm", "staging-xcm-executor", "static_assertions", @@ -10545,10 +10406,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "async-trait", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-benchmarking-cli", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-rpc-runtime-api", "futures", "hex-literal 0.4.1", @@ -10628,7 +10489,7 @@ dependencies = [ "schnellru", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-blockchain", @@ -10636,20 +10497,20 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-beefy", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", "sp-keyring", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "sp-timestamp", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-kusama-runtime", "substrate-prometheus-endpoint", @@ -10676,8 +10537,8 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", + "sp-staking", "thiserror", "tracing-gum", ] @@ -10689,7 +10550,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "polkadot-primitives", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", ] [[package]] @@ -10772,8 +10633,8 @@ dependencies = [ "environmental", "evm 0.39.1", "fp-evm", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hex", "hex-literal 0.4.1", "impl-trait-for-tuples", @@ -10787,10 +10648,10 @@ dependencies = [ "serde", "sha3", "similar-asserts", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", "staging-xcm", ] @@ -10801,7 +10662,7 @@ version = "0.1.0" dependencies = [ "case", "fp-evm", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "macrotest", "num_enum 0.5.11", "precompile-utils", @@ -10809,8 +10670,8 @@ dependencies = [ "proc-macro2", "quote", "sha3", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-std", "syn 1.0.109", "trybuild", ] @@ -10893,14 +10754,14 @@ dependencies = [ name = "primitives" version = "6.0.2" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "hex-literal 0.3.4", "parity-scale-codec", "polkadot-primitives", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-std", "static_assertions", ] @@ -11541,10 +11402,10 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "binary-merkle-tree", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -11599,23 +11460,23 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11628,12 +11489,12 @@ name = "rococo-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -11702,11 +11563,11 @@ dependencies = [ "cumulus-test-relay-sproof-builder", "fp-evm", "fp-rpc", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-executive", "frame-remote-externalities", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "hex-literal 0.4.1", @@ -11776,23 +11637,23 @@ dependencies = [ "primitives", "sc-consensus-grandpa", "scraper", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-block-builder", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-inherents", + "sp-io", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", "sp-transaction-pool", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -11806,8 +11667,8 @@ name = "runtime-mock" version = "1.0.0" dependencies = [ "frame-remote-externalities", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydradx-runtime", "orml-tokens", "pallet-asset-registry", @@ -11817,10 +11678,10 @@ dependencies = [ "primitives", "scraper", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "toml 0.5.11", ] @@ -12026,8 +11887,8 @@ version = "4.1.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "log", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-wasm-interface", "thiserror", ] @@ -12049,12 +11910,12 @@ dependencies = [ "rand 0.8.5", "sc-client-api", "sc-network", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -12073,12 +11934,12 @@ dependencies = [ "sc-proposer-metrics", "sc-telemetry", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -12089,12 +11950,12 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "sc-client-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", ] [[package]] @@ -12111,8 +11972,8 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -12155,12 +12016,12 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-keyring", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-keystore", + "sp-panic-handler", + "sp-runtime", + "sp-version", "thiserror", "tiny-bip39", "tokio", @@ -12179,16 +12040,16 @@ dependencies = [ "sc-executor", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-database", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-statement-store", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "substrate-prometheus-endpoint", ] @@ -12209,13 +12070,13 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", ] [[package]] @@ -12233,11 +12094,11 @@ dependencies = [ "sc-client-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-prometheus-endpoint", "thiserror", @@ -12257,17 +12118,17 @@ dependencies = [ "sc-consensus", "sc-consensus-slots", "sc-telemetry", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-aura", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -12293,17 +12154,17 @@ dependencies = [ "sc-telemetry", "sc-transaction-pool-api", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -12319,14 +12180,14 @@ dependencies = [ "sc-consensus-epochs", "sc-rpc-api", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", + "sp-runtime", "thiserror", ] @@ -12349,16 +12210,16 @@ dependencies = [ "sc-network-gossip", "sc-network-sync", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", "sp-mmr-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "wasm-timer", @@ -12378,8 +12239,8 @@ dependencies = [ "sc-rpc", "serde", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -12393,7 +12254,7 @@ dependencies = [ "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -12424,15 +12285,15 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -12452,8 +12313,8 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -12470,13 +12331,13 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -12490,15 +12351,15 @@ dependencies = [ "sc-executor-common", "sc-executor-wasmtime", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-io", + "sp-panic-handler", + "sp-runtime-interface", + "sp-trie", + "sp-version", + "sp-wasm-interface", "tracing", ] @@ -12509,7 +12370,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-wasm-interface", "thiserror", "wasm-instrument", ] @@ -12526,8 +12387,8 @@ dependencies = [ "rustix 0.36.17", "sc-allocator", "sc-executor-common", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime-interface", + "sp-wasm-interface", "wasmtime", ] @@ -12544,7 +12405,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -12555,9 +12416,9 @@ dependencies = [ "array-bytes", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-core", + "sp-keystore", "thiserror", ] @@ -12591,10 +12452,10 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -12617,7 +12478,7 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "thiserror", "unsigned-varint", ] @@ -12636,7 +12497,7 @@ dependencies = [ "sc-consensus", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -12652,7 +12513,7 @@ dependencies = [ "sc-network", "sc-network-common", "schnellru", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "substrate-prometheus-endpoint", "tracing", ] @@ -12673,8 +12534,8 @@ dependencies = [ "sc-client-api", "sc-network", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -12702,12 +12563,12 @@ dependencies = [ "sc-utils", "schnellru", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "substrate-prometheus-endpoint", "thiserror", ] @@ -12726,7 +12587,7 @@ dependencies = [ "sc-network-common", "sc-utils", "sp-consensus", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "substrate-prometheus-endpoint", ] @@ -12754,12 +12615,12 @@ dependencies = [ "sc-network-common", "sc-transaction-pool-api", "sc-utils", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-externalities", + "sp-keystore", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "threadpool", "tracing", ] @@ -12791,16 +12652,16 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-keystore", "sp-offchain", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", "sp-statement-store", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "tokio", ] @@ -12816,10 +12677,10 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-version", "thiserror", ] @@ -12856,11 +12717,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-version", "thiserror", "tokio", "tokio-stream", @@ -12907,20 +12768,20 @@ dependencies = [ "sc-utils", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime", "sp-session", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-storage", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", + "sp-version", "static_init", "substrate-prometheus-endpoint", "tempfile", @@ -12938,7 +12799,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", ] [[package]] @@ -12950,7 +12811,7 @@ dependencies = [ "fs4", "log", "sc-client-db", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "thiserror", "tokio", ] @@ -12970,7 +12831,7 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "thiserror", ] @@ -12988,9 +12849,9 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -13029,12 +12890,12 @@ dependencies = [ "sc-client-api", "sc-tracing-proc-macro", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-tracing", "thiserror", "tracing", "tracing-log", @@ -13068,11 +12929,11 @@ dependencies = [ "sc-transaction-pool-api", "sc-utils", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", + "sp-tracing", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -13089,8 +12950,8 @@ dependencies = [ "parity-scale-codec", "serde", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "thiserror", ] @@ -13106,7 +12967,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", ] [[package]] @@ -13201,15 +13062,15 @@ version = "1.2.3" dependencies = [ "clap 3.2.25", "frame-remote-externalities", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "hydradx-runtime", "jsonrpsee 0.15.1", "pallet-balances", "parity-scale-codec", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-io", "sp-rpc", "substrate-rpc-client", "tokio", @@ -13526,8 +13387,8 @@ dependencies = [ "enumn", "parity-scale-codec", "paste", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", ] [[package]] @@ -13721,36 +13582,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api-proc-macro", + "sp-core", + "sp-externalities", + "sp-metadata-ir", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", -] - -[[package]] -name = "sp-api" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "scale-info", - "sp-api-proc-macro 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-metadata-ir 0.1.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", + "sp-trie", + "sp-version", "thiserror", ] @@ -13768,20 +13608,6 @@ dependencies = [ "syn 2.0.42", ] -[[package]] -name = "sp-api-proc-macro" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "Inflector", - "blake2", - "expander 2.0.0", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "sp-application-crypto" version = "23.0.0" @@ -13790,22 +13616,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-application-crypto" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core", + "sp-io", + "sp-std", ] [[package]] @@ -13818,21 +13631,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "static_assertions", -] - -[[package]] -name = "sp-arithmetic" -version = "16.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "integer-sqrt", - "num-traits", - "parity-scale-codec", - "scale-info", - "serde", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", "static_assertions", ] @@ -13843,10 +13642,10 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-runtime", + "sp-std", ] [[package]] @@ -13854,10 +13653,10 @@ name = "sp-block-builder" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-inherents", + "sp-runtime", + "sp-std", ] [[package]] @@ -13870,10 +13669,10 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "schnellru", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus", "sp-database", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -13886,9 +13685,9 @@ dependencies = [ "async-trait", "futures", "log", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "thiserror", ] @@ -13901,12 +13700,12 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -13919,13 +13718,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-consensus-slots", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", "sp-timestamp", ] @@ -13938,13 +13737,13 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", "sp-mmr-primitives", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", "strum 0.24.1", ] @@ -13958,12 +13757,12 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-std", ] [[package]] @@ -13974,7 +13773,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", "sp-timestamp", ] @@ -14011,59 +13810,12 @@ dependencies = [ "secp256k1", "secrecy", "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core-hashing", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "ss58-registry", - "substrate-bip39", - "thiserror", - "tiny-bip39", - "tracing", - "zeroize", -] - -[[package]] -name = "sp-core" -version = "21.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "array-bytes", - "arrayvec 0.7.4", - "bandersnatch_vrfs", - "bitflags 1.3.2", - "blake2", - "bounded-collections", - "bs58 0.5.0", - "dyn-clonable", - "ed25519-zebra 3.1.0", - "futures", - "hash-db 0.16.0", - "hash256-std-hasher", - "impl-serde", - "lazy_static", - "libsecp256k1", - "log", - "merlin 2.0.1", - "parity-scale-codec", - "parking_lot 0.12.1", - "paste", - "primitive-types", - "rand 0.8.5", - "regex", - "scale-info", - "schnorrkel 0.9.1", - "secp256k1", - "secrecy", - "serde", - "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities", + "sp-runtime-interface", + "sp-std", + "sp-storage", "ss58-registry", "substrate-bip39", "thiserror", @@ -14085,36 +13837,13 @@ dependencies = [ "twox-hash", ] -[[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "twox-hash", -] - [[package]] name = "sp-core-hashing-proc-macro" version = "9.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "syn 2.0.42", -] - -[[package]] -name = "sp-core-hashing-proc-macro" -version = "9.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "quote", - "sp-core-hashing 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core-hashing", "syn 2.0.42", ] @@ -14137,16 +13866,6 @@ dependencies = [ "syn 2.0.42", ] -[[package]] -name = "sp-debug-derive" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "sp-debug-derive" version = "8.0.0" @@ -14164,19 +13883,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "environmental", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-externalities" -version = "0.19.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "environmental", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", + "sp-storage", ] [[package]] @@ -14185,20 +13893,9 @@ version = "0.1.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-genesis-builder" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-api", + "sp-runtime", + "sp-std", ] [[package]] @@ -14210,22 +13907,8 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", -] - -[[package]] -name = "sp-inherents" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "async-trait", - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-runtime", + "sp-std", "thiserror", ] @@ -14241,38 +13924,14 @@ dependencies = [ "parity-scale-codec", "rustversion", "secp256k1", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-keystore", + "sp-runtime-interface", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "tracing", - "tracing-core", -] - -[[package]] -name = "sp-io" -version = "23.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "bytes", - "ed25519-dalek", - "libsecp256k1", - "log", - "parity-scale-codec", - "rustversion", - "secp256k1", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", + "sp-tracing", + "sp-trie", "tracing", "tracing-core", ] @@ -14283,8 +13942,8 @@ version = "24.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "lazy_static", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "strum 0.24.1", ] @@ -14295,20 +13954,8 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", -] - -[[package]] -name = "sp-keystore" -version = "0.27.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "parking_lot 0.12.1", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core", + "sp-externalities", "thiserror", ] @@ -14329,18 +13976,7 @@ dependencies = [ "frame-metadata", "parity-scale-codec", "scale-info", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-metadata-ir" -version = "0.1.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "frame-metadata", - "parity-scale-codec", - "scale-info", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", ] [[package]] @@ -14353,11 +13989,11 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", + "sp-std", "thiserror", ] @@ -14369,10 +14005,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -14380,9 +14016,9 @@ name = "sp-offchain" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-runtime", ] [[package]] @@ -14395,16 +14031,6 @@ dependencies = [ "regex", ] -[[package]] -name = "sp-panic-handler" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "backtrace", - "lazy_static", - "regex", -] - [[package]] name = "sp-rpc" version = "6.0.0" @@ -14412,7 +14038,7 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "rustc-hash", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", ] [[package]] @@ -14429,36 +14055,14 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-application-crypto", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] -[[package]] -name = "sp-runtime" -version = "24.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "either", - "hash256-std-hasher", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "paste", - "rand 0.8.5", - "scale-info", - "serde", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", -] - [[package]] name = "sp-runtime-interface" version = "17.0.0" @@ -14468,30 +14072,12 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "static_assertions", -] - -[[package]] -name = "sp-runtime-interface" -version = "17.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "bytes", - "impl-trait-for-tuples", - "parity-scale-codec", - "primitive-types", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime-interface-proc-macro 11.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-wasm-interface 14.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-externalities", + "sp-runtime-interface-proc-macro", + "sp-std", + "sp-storage", + "sp-tracing", + "sp-wasm-interface", "static_assertions", ] @@ -14507,18 +14093,6 @@ dependencies = [ "syn 2.0.42", ] -[[package]] -name = "sp-runtime-interface-proc-macro" -version = "11.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "Inflector", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "sp-session" version = "4.0.0-dev" @@ -14526,12 +14100,12 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "parity-scale-codec", "scale-info", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-core", + "sp-keystore", + "sp-runtime", + "sp-staking", + "sp-std", ] [[package]] @@ -14543,23 +14117,9 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-staking" -version = "4.0.0-dev" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "impl-trait-for-tuples", - "parity-scale-codec", - "scale-info", - "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core", + "sp-runtime", + "sp-std", ] [[package]] @@ -14573,32 +14133,11 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", - "tracing", - "trie-db 0.27.1", -] - -[[package]] -name = "sp-state-machine" -version = "0.28.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "hash-db 0.16.0", - "log", - "parity-scale-codec", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-panic-handler 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core", + "sp-externalities", + "sp-panic-handler", + "sp-std", + "sp-trie", "thiserror", "tracing", "trie-db 0.27.1", @@ -14613,10 +14152,10 @@ dependencies = [ "log", "parity-scale-codec", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-externalities", + "sp-std", + "sp-trie", "trie-db 0.27.1", ] @@ -14633,13 +14172,13 @@ dependencies = [ "rand 0.8.5", "scale-info", "sha2 0.10.8", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime-interface 17.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std", "thiserror", "x25519-dalek 2.0.0", ] @@ -14649,11 +14188,6 @@ name = "sp-std" version = "8.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" -[[package]] -name = "sp-std" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" - [[package]] name = "sp-storage" version = "13.0.0" @@ -14664,20 +14198,7 @@ dependencies = [ "ref-cast", "serde", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-storage" -version = "13.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "ref-cast", - "serde", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", ] [[package]] @@ -14687,9 +14208,9 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "async-trait", "parity-scale-codec", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-inherents", + "sp-runtime", + "sp-std", "thiserror", ] @@ -14699,19 +14220,7 @@ version = "10.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "tracing", - "tracing-core", - "tracing-subscriber", -] - -[[package]] -name = "sp-tracing" -version = "10.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", "tracing", "tracing-core", "tracing-subscriber", @@ -14722,8 +14231,8 @@ name = "sp-transaction-pool" version = "4.0.0-dev" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-runtime", ] [[package]] @@ -14734,11 +14243,11 @@ dependencies = [ "async-trait", "parity-scale-codec", "scale-info", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-runtime", + "sp-std", + "sp-trie", ] [[package]] @@ -14756,31 +14265,8 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", - "tracing", - "trie-db 0.27.1", - "trie-root", -] - -[[package]] -name = "sp-trie" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "ahash 0.8.6", - "hash-db 0.16.0", - "hashbrown 0.13.2", - "lazy_static", - "memory-db", - "nohash-hasher", - "parity-scale-codec", - "parking_lot 0.12.1", - "scale-info", - "schnellru", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core", + "sp-std", "thiserror", "tracing", "trie-db 0.27.1", @@ -14797,27 +14283,10 @@ dependencies = [ "parity-wasm", "scale-info", "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "thiserror", -] - -[[package]] -name = "sp-version" -version = "22.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "impl-serde", - "parity-scale-codec", - "parity-wasm", - "scale-info", - "serde", - "sp-core-hashing-proc-macro 9.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-version-proc-macro 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-core-hashing-proc-macro", + "sp-runtime", + "sp-std", + "sp-version-proc-macro", "thiserror", ] @@ -14832,17 +14301,6 @@ dependencies = [ "syn 2.0.42", ] -[[package]] -name = "sp-version-proc-macro" -version = "8.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "proc-macro2", - "quote", - "syn 2.0.42", -] - [[package]] name = "sp-wasm-interface" version = "14.0.0" @@ -14852,20 +14310,7 @@ dependencies = [ "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "wasmtime", -] - -[[package]] -name = "sp-wasm-interface" -version = "14.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "anyhow", - "impl-trait-for-tuples", - "log", - "parity-scale-codec", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", "wasmtime", ] @@ -14878,25 +14323,10 @@ dependencies = [ "scale-info", "serde", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", -] - -[[package]] -name = "sp-weights" -version = "20.0.0" -source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901#c8d2251cafadc108ba2f1f8a3208dc547ff38901" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", + "sp-std", ] [[package]] @@ -14907,10 +14337,10 @@ dependencies = [ "parity-scale-codec", "scale-info", "smallvec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", "sp-debug-derive 8.0.0 (git+https://github.com/paritytech/polkadot-sdk?rev=c8d2251cafadc108ba2f1f8a3208dc547ff38901)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-std", ] [[package]] @@ -14974,11 +14404,11 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -15034,7 +14464,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", - "pallet-whitelist 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -15046,26 +14476,26 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", + "sp-arithmetic", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -15095,18 +14525,18 @@ name = "staging-xcm-builder" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "log", "pallet-transaction-payment", "parity-scale-codec", "polkadot-parachain-primitives", "scale-info", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", "staging-xcm-executor", @@ -15118,16 +14548,16 @@ version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ "environmental", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", + "frame-support", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "staging-xcm", ] @@ -15256,11 +14686,11 @@ dependencies = [ "parity-scale-codec", "sc-rpc-api", "sc-transaction-pool-api", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", ] [[package]] @@ -15285,7 +14715,7 @@ dependencies = [ "log", "sc-rpc-api", "serde", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", ] [[package]] @@ -15298,10 +14728,10 @@ dependencies = [ "sc-client-api", "sc-rpc-api", "serde", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-trie 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-trie", "trie-db 0.27.1", ] @@ -15489,7 +14919,7 @@ dependencies = [ name = "test-utils" version = "1.1.1" dependencies = [ - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-system", "pretty_assertions", ] @@ -16090,21 +15520,21 @@ dependencies = [ "sc-executor", "serde", "serde_json", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", "sp-debug-derive 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-externalities 0.19.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-keystore 0.27.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-externalities", + "sp-inherents", + "sp-io", + "sp-keystore", "sp-rpc", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-state-machine 0.28.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "sp-timestamp", "sp-transaction-storage-proof", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", "substrate-rpc-client", "zstd 0.12.4", @@ -16759,11 +16189,11 @@ source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb dependencies = [ "binary-merkle-tree", "bitvec", - "frame-benchmarking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-benchmarking", "frame-election-provider-support", "frame-executive", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", "frame-try-runtime", @@ -16825,25 +16255,25 @@ dependencies = [ "serde", "serde_derive", "smallvec", - "sp-api 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-application-crypto 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-api", + "sp-application-crypto", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", "sp-consensus-beefy", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-inherents 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-inherents", + "sp-io", "sp-mmr-primitives", "sp-npos-elections", "sp-offchain", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-runtime", "sp-session", - "sp-staking 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-storage 13.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-staking", + "sp-std", + "sp-storage", "sp-transaction-pool", - "sp-version 22.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-version", "staging-xcm", "staging-xcm-builder", "staging-xcm-executor", @@ -16856,12 +16286,12 @@ name = "westend-runtime-constants" version = "1.0.0" source = "git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3#062d92eae0f3bb9908faf2d4e241eef17368b9d3" dependencies = [ - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", "polkadot-primitives", "polkadot-runtime-common", "smallvec", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-core", + "sp-runtime", "sp-weights 20.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", ] @@ -17234,8 +16664,8 @@ dependencies = [ "cumulus-primitives-core", "cumulus-primitives-parachain-inherent", "cumulus-test-relay-sproof-builder", - "frame-support 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "frame-system 4.0.0-dev (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "frame-support", + "frame-system", "impl-trait-for-tuples", "lazy_static", "log", @@ -17247,12 +16677,12 @@ dependencies = [ "polkadot-parachain-primitives", "polkadot-primitives", "polkadot-runtime-parachains", - "sp-arithmetic 16.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-core 21.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-io 23.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-runtime 24.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-std 8.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", - "sp-tracing 10.0.0 (git+https://github.com/galacticcouncil/polkadot-sdk?rev=062d92eae0f3bb9908faf2d4e241eef17368b9d3)", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", + "sp-tracing", "staging-xcm", "staging-xcm-executor", ] diff --git a/Cargo.toml b/Cargo.toml index cfa255617..ca24a1106 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -404,7 +404,7 @@ pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/galacti pallet-treasury = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-uniques = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-utility = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } -pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "c8d2251cafadc108ba2f1f8a3208dc547ff38901" } +pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } pallet-im-online = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } substrate-build-script-utils = { git = "https://github.com/galacticcouncil/polkadot-sdk", rev = "062d92eae0f3bb9908faf2d4e241eef17368b9d3" } diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index b010ee045..81ed7bdd3 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -28,16 +28,26 @@ // Gov V1 (to be deprecated) pub mod old; -mod origins; +pub mod origins; mod tracks; use super::*; +use crate::governance::{ + origins::{ReferendumCanceller, ReferendumKiller, Spender, WhitelistedCaller}, + tracks::TracksInfo, +}; use crate::old::{MoreThanHalfCouncil, TreasuryApproveOrigin}; -use frame_support::{parameter_types, sp_runtime::Permill, traits::NeverEnsureOrigin, PalletId}; +use frame_support::{ + parameter_types, + sp_runtime::Permill, + traits::{EitherOf, NeverEnsureOrigin}, + PalletId, +}; use primitives::constants::{currency::DOLLARS, time::DAYS}; use sp_arithmetic::Perbill; +use sp_core::ConstU32; -use frame_system::EnsureRoot; +use frame_system::{EnsureRoot, EnsureRootWithSuccess}; parameter_types! { pub const TechnicalMaxProposals: u32 = 20; @@ -93,4 +103,59 @@ impl pallet_treasury::Config for Runtime { type SpendOrigin = NeverEnsureOrigin; } +parameter_types! { + pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; +} + +impl pallet_conviction_voting::Config for Runtime { + type WeightInfo = weights::conviction_voting::WeightInfo; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type VoteLockingPeriod = VoteLockingPeriod; + type MaxVotes = ConstU32<512>; + type MaxTurnout = frame_support::traits::tokens::currency::ActiveIssuanceOf; + type Polls = Referenda; +} + +parameter_types! { + pub const MaxBalance: Balance = Balance::max_value(); +} +pub type TreasurySpender = EitherOf, Spender>; + +impl pallet_whitelist::Config for Runtime { + type WeightInfo = weights::whitelist::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + // TODO WhitelistOrigin + type WhitelistOrigin = EnsureRoot; + type DispatchWhitelistedOrigin = EitherOf, WhitelistedCaller>; + type Preimages = Preimage; +} + +parameter_types! { + pub const AlarmInterval: BlockNumber = 1; + pub const SubmissionDeposit: Balance = 1 * DOLLARS; + pub const UndecidingTimeout: BlockNumber = 14 * DAYS; +} + +impl pallet_referenda::Config for Runtime { + type WeightInfo = weights::referenda::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type Scheduler = Scheduler; + type Currency = Balances; + type SubmitOrigin = frame_system::EnsureSigned; + type CancelOrigin = EitherOf, ReferendumCanceller>; + type KillOrigin = EitherOf, ReferendumKiller>; + type Slash = Treasury; + type Votes = pallet_conviction_voting::VotesOf; + type Tally = pallet_conviction_voting::TallyOf; + type SubmissionDeposit = SubmissionDeposit; + type MaxQueued = ConstU32<100>; + type UndecidingTimeout = UndecidingTimeout; + type AlarmInterval = AlarmInterval; + type Tracks = TracksInfo; + type Preimages = Preimage; +} + impl origins::pallet_custom_origins::Config for Runtime {} diff --git a/runtime/hydradx/src/governance/origins.rs b/runtime/hydradx/src/governance/origins.rs index eda09a89c..a14d76ae1 100644 --- a/runtime/hydradx/src/governance/origins.rs +++ b/runtime/hydradx/src/governance/origins.rs @@ -50,12 +50,12 @@ pub mod pallet_custom_origins { /// Origin able to kill referenda. ReferendumKiller, /// Origin for managing general stuff such as the registrar and permissioned HRMP - /// channel operations. + /// channel operations. GeneralAdmin, - /// Origin able to perform specific Omnipool-related actions. - OmnipoolAdmin, + /// Origin able to perform specific Omnipool-related actions. + OmnipoolAdmin, /// Origin for spending very high amounts of BSX from the treasury as well as generally - /// administering it. + /// administering it. Treasurer, /// Origin able to spend up to roughly $5,000 from the treasury at once. Spender, @@ -95,7 +95,7 @@ pub mod pallet_custom_origins { } decl_unit_ensures!( GeneralAdmin, - OmnipoolAdmin, + OmnipoolAdmin, WhitelistedCaller, ReferendumCanceller, ReferendumKiller, @@ -135,7 +135,7 @@ pub mod pallet_custom_origins { } } - // TODO opengov + // TODO opengov decl_ensure! { pub type Spender: EnsureOrigin { Tipper = 500_000 * UNITS, // ~= $5,000 diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs index b50eee688..d20519bbd 100644 --- a/runtime/hydradx/src/governance/tracks.rs +++ b/runtime/hydradx/src/governance/tracks.rs @@ -46,7 +46,7 @@ const SUP_FAST_RECIP: Curve = Curve::make_reciprocal(3, 7, percent(1), percent(0 const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(20), percent(1), percent(50)); // TODO OpenGov -const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 8] = [ +const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] = [ ( 0, pallet_referenda::TrackInfo { @@ -159,7 +159,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 8] min_support: SUP_FAST_RECIP, }, ), - ( + ( 8, pallet_referenda::TrackInfo { name: "omnipool_admin", diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 9ed880600..348a1ae73 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -40,6 +40,7 @@ pub mod types; pub mod xcm; pub use assets::*; +pub use governance::origins::pallet_custom_origins; pub use governance::*; pub use system::*; pub use xcm::*; @@ -157,6 +158,12 @@ construct_runtime!( Uniques: pallet_uniques = 32, StateTrieMigration: pallet_state_trie_migration = 35, + // OpenGov + ConvictionVoting: pallet_conviction_voting::{Pallet, Call, Storage, Event} = 36, + Referenda: pallet_referenda::{Pallet, Call, Storage, Event} = 37, + Origins: pallet_custom_origins::{Origin} = 38, + Whitelist: pallet_whitelist::{Pallet, Call, Storage, Event} = 39, + // HydraDX related modules AssetRegistry: pallet_asset_registry = 51, Claims: pallet_claims = 53, @@ -729,6 +736,10 @@ impl_runtime_apis! { list_benchmark!(list, extra, pallet_otc, OTC); list_benchmark!(list, extra, pallet_xcm, PolkadotXcm); + list_benchmark!(list, extra, pallet_conviction_voting, ConvictionVoting); + list_benchmark!(list, extra, pallet_referenda, Referenda); + list_benchmark!(list, extra, pallet_whitelist, Whitelist); + orml_list_benchmark!(list, extra, pallet_currencies, benchmarking::currencies); orml_list_benchmark!(list, extra, orml_tokens, benchmarking::tokens); orml_list_benchmark!(list, extra, orml_vesting, benchmarking::vesting); @@ -815,6 +826,10 @@ impl_runtime_apis! { add_benchmark!(params, batches, pallet_otc, OTC); add_benchmark!(params, batches, pallet_xcm, PolkadotXcm); + add_benchmark!(params, batches, pallet_conviction_voting, ConvictionVoting); + add_benchmark!(params, batches, pallet_referenda, Referenda); + add_benchmark!(params, batches, pallet_whitelist, Whitelist); + orml_add_benchmark!(params, batches, pallet_currencies, benchmarking::currencies); orml_add_benchmark!(params, batches, orml_tokens, benchmarking::tokens); orml_add_benchmark!(params, batches, orml_vesting, benchmarking::vesting); diff --git a/runtime/hydradx/src/weights/conviction_voting.rs b/runtime/hydradx/src/weights/conviction_voting.rs new file mode 100644 index 000000000..82f6ea3ac --- /dev/null +++ b/runtime/hydradx/src/weights/conviction_voting.rs @@ -0,0 +1,172 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_conviction_voting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=2 +// --repeat=1 +// --pallet=pallet_conviction_voting +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_conviction_voting`. +pub struct WeightInfo(PhantomData); +impl pallet_conviction_voting::WeightInfo for WeightInfo { + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn vote_new() -> Weight { + // Proof Size summary in bytes: + // Measured: `13612` + // Estimated: `86075` + // Minimum execution time: 174_000_000 picoseconds. + Weight::from_parts(174_000_000, 0) + .saturating_add(Weight::from_parts(0, 86075)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn vote_existing() -> Weight { + // Proof Size summary in bytes: + // Measured: `14364` + // Estimated: `127513` + // Minimum execution time: 240_000_000 picoseconds. + Weight::from_parts(240_000_000, 0) + .saturating_add(Weight::from_parts(0, 127513)) + .saturating_add(T::DbWeight::get().reads(6)) + .saturating_add(T::DbWeight::get().writes(6)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn remove_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `14084` + // Estimated: `118973` + // Minimum execution time: 219_000_000 picoseconds. + Weight::from_parts(219_000_000, 0) + .saturating_add(Weight::from_parts(0, 118973)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn remove_other_vote() -> Weight { + // Proof Size summary in bytes: + // Measured: `13139` + // Estimated: `35107` + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(109_000_000, 0) + .saturating_add(Weight::from_parts(0, 35107)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:512 w:512) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 512]`. + fn delegate(_r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `272 + r * (427 ±0)` + // Estimated: `1900250` + // Minimum execution time: 86_000_000 picoseconds. + Weight::from_parts(27_182_000_000, 0) + .saturating_add(Weight::from_parts(0, 1900250)) + .saturating_add(T::DbWeight::get().reads(518)) + .saturating_add(T::DbWeight::get().writes(518)) + } + /// Storage: ConvictionVoting VotingFor (r:2 w:2) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:512 w:512) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// The range of component `r` is `[0, 512]`. + fn undelegate(_r: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `470 + r * (426 ±0)` + // Estimated: `1891710` + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(27_242_000_000, 0) + .saturating_add(Weight::from_parts(0, 1891710)) + .saturating_add(T::DbWeight::get().reads(516)) + .saturating_add(T::DbWeight::get().writes(516)) + } + /// Storage: ConvictionVoting VotingFor (r:1 w:1) + /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) + /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) + /// Storage: Balances Locks (r:1 w:1) + /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + fn unlock() -> Weight { + // Proof Size summary in bytes: + // Measured: `12385` + // Estimated: `39246` + // Minimum execution time: 121_000_000 picoseconds. + Weight::from_parts(121_000_000, 0) + .saturating_add(Weight::from_parts(0, 39246)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } +} diff --git a/runtime/hydradx/src/weights/mod.rs b/runtime/hydradx/src/weights/mod.rs index 0673c3f59..382056f6a 100644 --- a/runtime/hydradx/src/weights/mod.rs +++ b/runtime/hydradx/src/weights/mod.rs @@ -3,6 +3,7 @@ pub mod bonds; pub mod circuit_breaker; pub mod claims; pub mod collator_selection; +pub mod conviction_voting; pub mod council; pub mod currencies; pub mod dca; @@ -20,6 +21,7 @@ pub mod otc; pub mod payment; pub mod preimage; pub mod proxy; +pub mod referenda; pub mod referrals; pub mod registry; pub mod route_executor; @@ -36,6 +38,7 @@ pub mod transaction_pause; pub mod treasury; pub mod utility; pub mod vesting; +pub mod whitelist; pub mod xcm; pub mod xcmp_queue; pub mod xyk; diff --git a/runtime/hydradx/src/weights/referenda.rs b/runtime/hydradx/src/weights/referenda.rs new file mode 100644 index 000000000..5ebe89b69 --- /dev/null +++ b/runtime/hydradx/src/weights/referenda.rs @@ -0,0 +1,520 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `1`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=1 +// --repeat=1 +// --pallet=pallet_referenda +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_referenda`. +pub struct WeightInfo(PhantomData); +impl pallet_referenda::WeightInfo for WeightInfo { + /// Storage: Referenda ReferendumCount (r:1 w:1) + /// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:0 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn submit() -> Weight { + // Proof Size summary in bytes: + // Measured: `290` + // Estimated: `43917` + // Minimum execution time: 54_000_000 picoseconds. + Weight::from_parts(54_000_000, 0) + .saturating_add(Weight::from_parts(0, 43917)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn place_decision_deposit_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `575` + // Estimated: `88267` + // Minimum execution time: 64_000_000 picoseconds. + Weight::from_parts(64_000_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + fn place_decision_deposit_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3203` + // Estimated: `13357` + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(82_000_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + fn place_decision_deposit_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3223` + // Estimated: `13357` + // Minimum execution time: 59_000_000 picoseconds. + Weight::from_parts(59_000_000, 0) + .saturating_add(Weight::from_parts(0, 13357)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn place_decision_deposit_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `575` + // Estimated: `93247` + // Minimum execution time: 142_000_000 picoseconds. + Weight::from_parts(142_000_000, 0) + .saturating_add(Weight::from_parts(0, 93247)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + fn place_decision_deposit_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `482` + // Estimated: `9381` + // Minimum execution time: 54_000_000 picoseconds. + Weight::from_parts(54_000_000, 0) + .saturating_add(Weight::from_parts(0, 9381)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn refund_decision_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `415` + // Estimated: `4401` + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(35_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn refund_submission_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `405` + // Estimated: `4401` + // Minimum execution time: 36_000_000 picoseconds. + Weight::from_parts(36_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn cancel() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `88267` + // Minimum execution time: 52_000_000 picoseconds. + Weight::from_parts(52_000_000, 0) + .saturating_add(Weight::from_parts(0, 88267)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:1 w:0) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn kill() -> Weight { + // Proof Size summary in bytes: + // Measured: `756` + // Estimated: `91784` + // Minimum execution time: 141_000_000 picoseconds. + Weight::from_parts(141_000_000, 0) + .saturating_add(Weight::from_parts(0, 91784)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda TrackQueue (r:1 w:0) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + fn one_fewer_deciding_queue_empty() -> Weight { + // Proof Size summary in bytes: + // Measured: `174` + // Estimated: `8956` + // Minimum execution time: 12_000_000 picoseconds. + Weight::from_parts(12_000_000, 0) + .saturating_add(Weight::from_parts(0, 8956)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn one_fewer_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3972` + // Estimated: `95245` + // Minimum execution time: 139_000_000 picoseconds. + Weight::from_parts(139_000_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn one_fewer_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `3972` + // Estimated: `95245` + // Minimum execution time: 153_000_000 picoseconds. + Weight::from_parts(153_000_000, 0) + .saturating_add(Weight::from_parts(0, 95245)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_requeued_insertion() -> Weight { + // Proof Size summary in bytes: + // Measured: `3990` + // Estimated: `52306` + // Minimum execution time: 82_000_000 picoseconds. + Weight::from_parts(82_000_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_requeued_slide() -> Weight { + // Proof Size summary in bytes: + // Measured: `3990` + // Estimated: `52306` + // Minimum execution time: 76_000_000 picoseconds. + Weight::from_parts(76_000_000, 0) + .saturating_add(Weight::from_parts(0, 52306)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3964` + // Estimated: `55785` + // Minimum execution time: 108_000_000 picoseconds. + Weight::from_parts(108_000_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:0) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Referenda TrackQueue (r:1 w:1) + /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:0) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_not_queued() -> Weight { + // Proof Size summary in bytes: + // Measured: `3984` + // Estimated: `55785` + // Minimum execution time: 85_000_000 picoseconds. + Weight::from_parts(85_000_000, 0) + .saturating_add(Weight::from_parts(0, 55785)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_no_deposit() -> Weight { + // Proof Size summary in bytes: + // Measured: `403` + // Estimated: `46829` + // Minimum execution time: 37_000_000 picoseconds. + Weight::from_parts(37_000_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_preparing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `46829` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 46829)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + fn nudge_referendum_timed_out() -> Weight { + // Proof Size summary in bytes: + // Measured: `310` + // Estimated: `4401` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 4401)) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_deciding_failing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `51809` + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(46_000_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda DecidingCount (r:1 w:1) + /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_deciding_passing() -> Weight { + // Proof Size summary in bytes: + // Measured: `451` + // Estimated: `51809` + // Minimum execution time: 49_000_000 picoseconds. + Weight::from_parts(49_000_000, 0) + .saturating_add(Weight::from_parts(0, 51809)) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_begin_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 39_000_000 picoseconds. + Weight::from_parts(39_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_end_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `487` + // Estimated: `48330` + // Minimum execution time: 41_000_000 picoseconds. + Weight::from_parts(41_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_continue_not_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(34_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_continue_confirming() -> Weight { + // Proof Size summary in bytes: + // Measured: `508` + // Estimated: `48330` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(32_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:2 w:2) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: Scheduler Lookup (r:1 w:1) + /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + fn nudge_referendum_approved() -> Weight { + // Proof Size summary in bytes: + // Measured: `508` + // Estimated: `93281` + // Minimum execution time: 73_000_000 picoseconds. + Weight::from_parts(73_000_000, 0) + .saturating_add(Weight::from_parts(0, 93281)) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(4)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:1) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Balances InactiveIssuance (r:1 w:0) + /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: Scheduler Agenda (r:1 w:1) + /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + fn nudge_referendum_rejected() -> Weight { + // Proof Size summary in bytes: + // Measured: `504` + // Estimated: `48330` + // Minimum execution time: 40_000_000 picoseconds. + Weight::from_parts(40_000_000, 0) + .saturating_add(Weight::from_parts(0, 48330)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:0) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:0 w:1) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn set_some_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `454` + // Estimated: `7957` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(25_000_000, 0) + .saturating_add(Weight::from_parts(0, 7957)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + /// Storage: Referenda ReferendumInfoFor (r:1 w:0) + /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: Referenda MetadataOf (r:1 w:1) + /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + fn clear_metadata() -> Weight { + // Proof Size summary in bytes: + // Measured: `387` + // Estimated: `7918` + // Minimum execution time: 22_000_000 picoseconds. + Weight::from_parts(22_000_000, 0) + .saturating_add(Weight::from_parts(0, 7918)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/hydradx/src/weights/whitelist.rs b/runtime/hydradx/src/weights/whitelist.rs new file mode 100644 index 000000000..552d0df18 --- /dev/null +++ b/runtime/hydradx/src/weights/whitelist.rs @@ -0,0 +1,108 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. + +// Polkadot is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +// You should have received a copy of the GNU General Public License +// along with Polkadot. If not, see . +//! Autogenerated weights for `pallet_whitelist` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! WORST CASE MAP SIZE: `1000000` +//! HOSTNAME: `cob`, CPU: `` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/release/polkadot +// benchmark +// pallet +// --chain=polkadot-dev +// --steps=2 +// --repeat=1 +// --pallet=pallet_whitelist +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_whitelist`. +pub struct WeightInfo(PhantomData); +impl pallet_whitelist::WeightInfo for WeightInfo { + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn whitelist_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `118` + // Estimated: `7061` + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(33_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + fn remove_whitelisted_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `7061` + // Minimum execution time: 24_000_000 picoseconds. + Weight::from_parts(24_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// 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:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 4194294]`. + fn dispatch_whitelisted_call(_n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `311 + n * (1 ±0)` + // Estimated: `4205175` + // Minimum execution time: 43_000_000 picoseconds. + Weight::from_parts(4_138_000_000, 0) + .saturating_add(Weight::from_parts(0, 4205175)) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + /// Storage: Whitelist WhitelistedCall (r:1 w:1) + /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) + /// Storage: Preimage StatusFor (r:1 w:1) + /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// The range of component `n` is `[1, 10000]`. + fn dispatch_whitelisted_call_with_preimage(_n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `247` + // Estimated: `7061` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(45_000_000, 0) + .saturating_add(Weight::from_parts(0, 7061)) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } +} From c79549d0b61ba3447cec3a11fb8547ee3103ebdf Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 22 Jun 2024 14:30:52 +0200 Subject: [PATCH 11/70] merge conflicts --- Cargo.lock | 4 ++ Cargo.toml | 8 +-- runtime/hydradx/Cargo.toml | 1 - runtime/hydradx/src/governance/mod.rs | 79 +++++++++++++++++++++++++-- runtime/hydradx/src/governance/old.rs | 12 ++-- runtime/hydradx/src/system.rs | 19 +++++-- runtime/hydradx/src/xcm.rs | 1 - 7 files changed, 103 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb9b9c39b..a072ece13 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4986,6 +4986,7 @@ dependencies = [ "pallet-collator-rewards", "pallet-collator-selection", "pallet-collective", + "pallet-conviction-voting", "pallet-currencies", "pallet-dca", "pallet-democracy 4.2.1", @@ -5017,6 +5018,7 @@ dependencies = [ "pallet-otc-settlements", "pallet-preimage", "pallet-proxy", + "pallet-referenda", "pallet-referrals", "pallet-relaychain-info", "pallet-route-executor", @@ -5034,6 +5036,7 @@ dependencies = [ "pallet-treasury", "pallet-uniques", "pallet-utility", + "pallet-whitelist", "pallet-xcm", "pallet-xyk", "pallet-xyk-liquidity-mining", @@ -5048,6 +5051,7 @@ dependencies = [ "serde", "smallvec", "sp-api", + "sp-arithmetic", "sp-block-builder", "sp-consensus-aura", "sp-core", diff --git a/Cargo.toml b/Cargo.toml index 565695ec7..386459b7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -218,7 +218,7 @@ pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } pallet-state-trie-migration = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } -pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } +pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2", default-features = false } @@ -411,13 +411,13 @@ pallet-aura = { git = "https://github.com/paritytech/polkadot-sdk", branch = "re pallet-authorship = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-balances = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-collective = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -pallet-conviction-voting = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-conviction-voting = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-elections-phragmen = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-identity = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-multisig = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-preimage = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-proxy = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -pallet-referenda = { git = "https://github.com/galacticcouncil/polkadot-sdk", branch = "release-polkadot-v1.7.2" } +pallet-referenda = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-scheduler = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-session = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-sudo = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } @@ -432,7 +432,7 @@ pallet-utility = { git = "https://github.com/paritytech/polkadot-sdk", branch = pallet-im-online = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-message-queue = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } pallet-state-trie-migration = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } -pallet-whitelist = { git = "https://github.com/galacticcouncil/polkadot-sdk",branch = "release-polkadot-v1.7.2" } +pallet-whitelist = { git = "https://github.com/paritytech/polkadot-sdk",branch = "release-polkadot-v1.7.2" } substrate-build-script-utils = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } substrate-frame-rpc-system = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.2" } diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 24014b652..4ec0fc02b 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -65,7 +65,6 @@ pallet-democracy = { workspace = true } pallet-elections-phragmen = { workspace = true } pallet-uniques = { workspace = true } pallet-whitelist = { workspace = true } -pallet-xcm-rate-limiter = { workspace = true } pallet-message-queue = { workspace = true } pallet-state-trie-migration = { workspace = true } diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 8d6de74ae..cf2ed97ad 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -40,12 +40,13 @@ use crate::old::{MoreThanHalfCouncil, TreasuryApproveOrigin}; use frame_support::{ parameter_types, sp_runtime::Permill, - traits::{EitherOf, NeverEnsureOrigin}, + traits::{tokens::UnityAssetBalanceConversion, EitherOf}, PalletId, }; use primitives::constants::{currency::DOLLARS, time::DAYS}; use sp_arithmetic::Perbill; use sp_core::ConstU32; +use sp_runtime::traits::IdentityLookup; use frame_system::{EnsureRoot, EnsureRootWithSuccess}; @@ -65,7 +66,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = TechnicalMaxProposals; type MaxMembers = TechnicalMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::technical_committee::HydraWeight; + type WeightInfo = weights::pallet_collective_technical_committee::HydraWeight; type MaxProposalWeight = MaxProposalWeight; type SetMembersOrigin = EnsureRoot; } @@ -79,6 +80,64 @@ parameter_types! { pub const Burn: Permill = Permill::from_percent(0); pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); pub const MaxApprovals: u32 = 100; + pub const TreasuryPayoutPeriod: u32 = 30 * DAYS; +} + +pub struct PayFromTreasuryAccount; + +impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { + type Balance = Balance; + type Beneficiary = AccountId; + type AssetKind = (); + type Id = (); + type Error = sp_runtime::DispatchError; + + #[cfg(not(feature = "runtime-benchmarks"))] + fn pay( + who: &Self::Beneficiary, + _asset_kind: Self::AssetKind, + amount: Self::Balance, + ) -> Result { + let _ = >::transfer( + &TreasuryAccount::get(), + who, + amount, + frame_support::traits::tokens::Preservation::Expendable, + )?; + Ok(()) + } + + #[cfg(feature = "runtime-benchmarks")] + fn pay( + who: &Self::Beneficiary, + _asset_kind: Self::AssetKind, + amount: Self::Balance, + ) -> Result { + // In case of benchmarks, we adjust the value by multiplying it by 1_000_000_000_000, otherwise it fails with BelowMinimum limit error, because + // treasury benchmarks uses only 100 as the amount. + let _ = >::transfer( + &TreasuryAccount::get(), + who, + amount * 1_000_000_000_000, + frame_support::traits::tokens::Preservation::Expendable, + )?; + Ok(()) + } + + fn check_payment(_id: Self::Id) -> frame_support::traits::tokens::PaymentStatus { + frame_support::traits::tokens::PaymentStatus::Success + } + + #[cfg(feature = "runtime-benchmarks")] + fn ensure_successful(_: &Self::Beneficiary, _: Self::AssetKind, amount: Self::Balance) { + >::mint_into( + &TreasuryAccount::get(), + amount * 1_000_000_000_000, + ) + .unwrap(); + } + #[cfg(feature = "runtime-benchmarks")] + fn ensure_concluded(_: Self::Id) {} } impl pallet_treasury::Config for Runtime { @@ -96,11 +155,23 @@ impl pallet_treasury::Config for Runtime { type Burn = Burn; type PalletId = TreasuryPalletId; type BurnDestination = (); - type WeightInfo = weights::treasury::HydraWeight; + type WeightInfo = weights::pallet_treasury::HydraWeight; type SpendFunds = (); type MaxApprovals = MaxApprovals; + #[cfg(not(feature = "runtime-benchmarks"))] // TODO origin - type SpendOrigin = NeverEnsureOrigin; + type SpendOrigin = frame_support::traits::NeverEnsureOrigin; + #[cfg(feature = "runtime-benchmarks")] + type SpendOrigin = + frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; + type AssetKind = (); // set to () to support only the native currency + type Beneficiary = AccountId; + type BeneficiaryLookup = IdentityLookup; + type Paymaster = PayFromTreasuryAccount; + type BalanceConverter = UnityAssetBalanceConversion; + type PayoutPeriod = TreasuryPayoutPeriod; + #[cfg(feature = "runtime-benchmarks")] + type BenchmarkHelper = (); // default impl is enough because we support only the native currency } parameter_types! { diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index 06f4315c8..485e354dd 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -27,7 +27,7 @@ use super::*; use primitives::constants::{ - currency::{CENTS, DOLLARS}, + currency::{CENTS, DOLLARS, UNITS}, time::{DAYS, HOURS}, }; @@ -101,7 +101,7 @@ impl pallet_collective::Config for Runtime { type MaxProposals = CouncilMaxProposals; type MaxMembers = CouncilMaxMembers; type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::council::HydraWeight; + type WeightInfo = weights::pallet_collective_council::HydraWeight; type MaxProposalWeight = MaxProposalWeight; type SetMembersOrigin = EnsureRoot; } @@ -121,7 +121,7 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type WeightInfo = weights::democracy::HydraWeight; + type WeightInfo = weights::pallet_democracy::HydraWeight; type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; type Preimages = Preimage; @@ -195,7 +195,7 @@ impl pallet_elections_phragmen::Config for Runtime { type TermDuration = TermDuration; type MaxCandidates = MaxElectionCandidates; type MaxVoters = MaxElectionVoters; - type WeightInfo = weights::elections::HydraWeight; + type WeightInfo = weights::pallet_elections_phragmen::HydraWeight; type MaxVotesPerVoter = MaxVotesPerVoter; } @@ -206,6 +206,7 @@ parameter_types! { pub const TipReportDepositBase: Balance = 10 * DOLLARS; pub const TipReportDepositPerByte: Balance = CENTS; pub const MaximumReasonLength: u32 = 1024; + pub const MaxTipAmount: u128 = 5_000_000 * UNITS; // ~$100k } impl pallet_tips::Config for Runtime { @@ -215,6 +216,7 @@ impl pallet_tips::Config for Runtime { type TipCountdown = TipCountdown; type TipFindersFee = TipFindersFee; type TipReportDepositBase = TipReportDepositBase; + type MaxTipAmount = MaxTipAmount; type Tippers = Elections; - type WeightInfo = weights::tips::HydraWeight; + type WeightInfo = weights::pallet_tips::HydraWeight; } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 8326197dc..d7fe428ed 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -36,7 +36,10 @@ use frame_support::{ traits::{ConstU32, IdentityLookup}, FixedPointNumber, Perbill, Perquintill, RuntimeDebug, }, - traits::{ConstBool, Contains, InstanceFilter, PrivilegeCmp, SortedMembers}, + traits::{ + fungible::HoldConsideration, ConstBool, Contains, InstanceFilter, LinearStoragePrice, PrivilegeCmp, + SortedMembers, + }, weights::{ constants::{BlockExecutionWeight, RocksDbWeight}, ConstantMultiplier, WeightToFeeCoefficient, WeightToFeeCoefficients, WeightToFeePolynomial, @@ -47,7 +50,6 @@ use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; use scale_info::TypeInfo; -use frame_system::EnsureRoot; pub struct CallFilter; impl Contains for CallFilter { fn contains(call: &RuntimeCall) -> bool { @@ -274,16 +276,21 @@ impl pallet_collator_selection::Config for Runtime { parameter_types! { pub PreimageBaseDeposit: Balance = deposit(2, 64); pub PreimageByteDeposit: Balance = deposit(0, 1); + pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); } impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::preimage::HydraWeight; + type WeightInfo = weights::pallet_preimage::HydraWeight; type Currency = Balances; // TODO origin type ManagerOrigin = EnsureRoot; - type BaseDeposit = PreimageBaseDeposit; - type ByteDeposit = PreimageByteDeposit; + type Consideration = HoldConsideration< + AccountId, + Balances, + PreimageHoldReason, + LinearStoragePrice, + >; } parameter_types! { @@ -300,7 +307,7 @@ impl pallet_scheduler::Config for Runtime { type ScheduleOrigin = MoreThanHalfCouncil; type OriginPrivilegeCmp = OriginPrivilegeCmp; type MaxScheduledPerBlock = MaxScheduledPerBlock; - type WeightInfo = weights::scheduler::HydraWeight; + type WeightInfo = weights::pallet_scheduler::HydraWeight; type Preimages = Preimage; } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index ec45f2b0d..4f92170ed 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -7,7 +7,6 @@ use codec::MaxEncodedLen; use hydradx_adapters::{MultiCurrencyTrader, ReroutingMultiCurrencyAdapter, ToFeeReceiver}; use pallet_transaction_multi_payment::DepositAll; use primitives::{AssetId, Price}; -use sp_std::marker::PhantomData; // shadow glob import of polkadot_xcm::v3::prelude::AssetId use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use frame_support::{ From 3d2a8e84e23039882ddfdbe43f42ab4e76cb657b Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 22 Jun 2024 14:32:30 +0200 Subject: [PATCH 12/70] clippy --- runtime/hydradx/src/governance/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index cf2ed97ad..aa42dd308 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -205,7 +205,7 @@ impl pallet_whitelist::Config for Runtime { parameter_types! { pub const AlarmInterval: BlockNumber = 1; - pub const SubmissionDeposit: Balance = 1 * DOLLARS; + pub const SubmissionDeposit: Balance = DOLLARS; pub const UndecidingTimeout: BlockNumber = 14 * DAYS; } From 898d2ba4a32d52ac28ff89969e1cefe95a0e1c0a Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 22 Jun 2024 14:36:43 +0200 Subject: [PATCH 13/70] bump runtime version --- Cargo.lock | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a072ece13..7b01850c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "244.0.0" +version = "245.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 4ec0fc02b..b4df4e308 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "244.0.0" +version = "245.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 3b8eabc1b..b954858fb 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -114,7 +114,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 244, + spec_version: 245, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 641ff79fe4ba15374dded2464ee92df0c4851bb3 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 24 Jun 2024 11:55:45 +0200 Subject: [PATCH 14/70] integrate staking for referenda --- pallets/staking/src/integrations/conviction_voting.rs | 9 ++++----- runtime/hydradx/src/assets.rs | 5 ++++- runtime/hydradx/src/governance/mod.rs | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index 44b8e9b8b..093172f9d 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -212,15 +212,14 @@ where } } -pub struct ReferendumStatus(sp_std::marker::PhantomData); +pub struct ReferendumStatus(sp_std::marker::PhantomData<(P, T)>); -impl::Tally>> GetReferendumState - for ReferendumStatus +impl> GetReferendumState for ReferendumStatus where - ::Tally>>::Index: From, +

>::Index: From, { fn is_referendum_finished(_index: ReferendumIndex) -> bool { - let r = >::try_access_poll::(_index.into(), |status| { + let r =

>::try_access_poll::(_index.into(), |status| { let r = match status { PollStatus::Completed(_, _) => true, PollStatus::Ongoing(_, _) => false, diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 546dc0ae8..cd45a5ca6 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -1388,7 +1388,10 @@ impl pallet_staking::Config for Runtime { type Collections = FreezableNFT; type NFTHandler = Uniques; type MaxVotes = MaxVotes; - type ReferendumInfo = pallet_staking::integrations::democracy::ReferendumStatus; + type ReferendumInfo = pallet_staking::integrations::conviction_voting::ReferendumStatus< + Referenda, + pallet_conviction_voting::TallyOf, + >; type MaxPointsPerAction = PointsPerAction; type Vesting = VestingInfo; type WeightInfo = weights::pallet_staking::HydraWeight; diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index aa42dd308..83ff47027 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -186,6 +186,7 @@ impl pallet_conviction_voting::Config for Runtime { type MaxVotes = ConstU32<512>; type MaxTurnout = frame_support::traits::tokens::currency::ActiveIssuanceOf; type Polls = Referenda; + type VotingHooks = pallet_staking::integrations::conviction_voting::StakingConvictionVoting; } parameter_types! { From dd16960cbd65d0440a356cae78e5894bb4954404 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Thu, 27 Jun 2024 17:39:21 +0200 Subject: [PATCH 15/70] fix staking integration tests --- Cargo.lock | 2 + integration-tests/Cargo.toml | 2 + integration-tests/src/staking.rs | 452 ++++++++++++-------- pallets/conviction-voting/src/conviction.rs | 11 +- pallets/conviction-voting/src/lib.rs | 2 +- runtime/hydradx/src/governance/mod.rs | 2 +- runtime/hydradx/src/lib.rs | 2 +- 7 files changed, 296 insertions(+), 177 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de1f73d8d..c4a79e250 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12041,6 +12041,7 @@ dependencies = [ "pallet-circuit-breaker", "pallet-collator-selection", "pallet-collective", + "pallet-conviction-voting 28.0.0", "pallet-currencies", "pallet-dca", "pallet-democracy 4.2.1", @@ -12059,6 +12060,7 @@ dependencies = [ "pallet-omnipool-liquidity-mining", "pallet-otc", "pallet-otc-settlements", + "pallet-referenda", "pallet-referrals", "pallet-relaychain-info", "pallet-route-executor", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 2524e59f9..486be4c45 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -107,6 +107,8 @@ pallet-transaction-payment-rpc-runtime-api = { workspace = true } pallet-utility = { workspace = true } pallet-uniques = { workspace = true } pallet-im-online = { workspace = true } +pallet-referenda = { workspace = true } +pallet-conviction-voting = { workspace = true } sp-api = { workspace = true } sp-block-builder = { workspace = true } sp-consensus-aura = { workspace = true } diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index 7c4870855..ec3b19550 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -1,22 +1,22 @@ #![cfg(test)] use crate::polkadot_test_net::*; -use frame_support::traits::LockIdentifier; use frame_support::{ assert_noop, assert_ok, dispatch::DispatchResult, - traits::{Bounded, OnInitialize, StorePreimage}, + traits::{schedule::DispatchTime, Bounded, LockIdentifier, OnInitialize, StorePreimage}, }; use frame_system::RawOrigin; use hydradx_runtime::{ - Balances, BlockNumber, Currencies, Democracy, Omnipool, Preimage, Scheduler, Staking, System, Tokens, Vesting, + Balances, BlockNumber, ConvictionVoting, Currencies, Democracy, Omnipool, Preimage, Referenda, Scheduler, Staking, + System, Tokens, Vesting, }; use orml_traits::currency::MultiCurrency; use orml_vesting::VestingSchedule; -use pallet_democracy::{AccountVote, Conviction, ReferendumIndex, ReferendumInfo, Vote}; +use pallet_conviction_voting::{AccountVote, Conviction, Vote}; +use pallet_referenda::ReferendumIndex; use pretty_assertions::assert_eq; -use primitives::constants::time::DAYS; -use primitives::AccountId; +use primitives::{constants::time::DAYS, AccountId}; use sp_runtime::AccountId32; use xcm_emulator::TestExt; @@ -24,6 +24,8 @@ type CallOf = ::RuntimeCall; type BoundedCallOf = Bounded, ::Hashing>; type Schedule = VestingSchedule; +const ROOT_TRACK: >::Id = 0; + fn vesting_schedule() -> Schedule { Schedule { start: 0, @@ -39,28 +41,42 @@ fn set_balance_proposal(who: AccountId, value: u128) -> BoundedCallOf DispatchResult { - Democracy::propose( +fn propose_set_balance(who: AccountId, dest: AccountId, value: u128, dispatch_time: BlockNumber) -> DispatchResult { + Referenda::submit( hydradx_runtime::RuntimeOrigin::signed(who), + Box::new(RawOrigin::Root.into()), set_balance_proposal(dest, value), - 100_000 * UNITS, + DispatchTime::At(dispatch_time), ) } fn begin_referendum() -> ReferendumIndex { - assert_ok!(propose_set_balance(ALICE.into(), CHARLIE.into(), 2)); - fast_forward_to(3 * DAYS); - 0 -} + let referendum_index = pallet_referenda::pallet::ReferendumCount::::get(); + let now = System::block_number(); -fn end_referendum() { - fast_forward_to(7 * DAYS); + assert_ok!(propose_set_balance(ALICE.into(), CHARLIE.into(), 2, now + 10 * DAYS)); + + assert_ok!(Balances::force_set_balance( + RawOrigin::Root.into(), + DAVE.into(), // not used in the tests + 2_000_000_000 * UNITS, + )); + + assert_ok!(Referenda::place_decision_deposit( + hydradx_runtime::RuntimeOrigin::signed(DAVE.into()), + referendum_index + )); + + assert_eq!(pallet_referenda::DecidingCount::::get(0), 0); + fast_forward_to(now + 8 * DAYS); + assert_eq!(pallet_referenda::DecidingCount::::get(0), 1); + + referendum_index } -fn fast_forward_by(n: u32) { - for _ in 1..n { - next_block(); - } +fn end_referendum() { + let now = System::block_number(); + fast_forward_to(now + 12 * DAYS); } fn fast_forward_to(n: u32) { @@ -142,13 +158,15 @@ fn democracy_vote_should_record_stake_vote() { ALICE.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) @@ -163,12 +181,11 @@ fn democracy_vote_should_record_stake_vote() { assert!(!stake_voting.votes.is_empty()); let (ref_vote_idx, vote) = stake_voting.votes[0]; - assert_eq!(ref_vote_idx, 0); + assert_eq!(ref_vote_idx, r); assert_eq!( vote, pallet_staking::types::Vote::new(2 * UNITS, pallet_staking::types::Conviction::None) ); - end_referendum(); }); } @@ -198,11 +215,12 @@ fn staking_action_should_claim_points_for_finished_referendums_when_voted() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(1_000 * UNITS) )); + end_referendum(); let alice_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -251,11 +269,12 @@ fn staking_should_transfer_rewards_when_claimed() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(1_000 * UNITS) )); + end_referendum(); let alice_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -271,8 +290,9 @@ fn staking_should_transfer_rewards_when_claimed() { 1_000 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); @@ -320,15 +340,17 @@ fn staking_should_not_reward_when_double_claimed() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) )); + end_referendum(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); @@ -383,11 +405,12 @@ fn staking_should_not_reward_when_increase_stake_again_and_no_vote_activity() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) )); + end_referendum(); let alice_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -401,8 +424,9 @@ fn staking_should_not_reward_when_increase_stake_again_and_no_vote_activity() { 1_000 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); @@ -453,30 +477,35 @@ fn increase_should_slash_min_amount_when_increase_is_low() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye6x(100_000 * UNITS) )); + end_referendum(); - assert_ok!(propose_set_balance(ALICE.into(), CHARLIE.into(), 2)); - fast_forward_to(10 * DAYS); + assert_ok!(propose_set_balance(ALICE.into(), CHARLIE.into(), 2, 22 * DAYS)); + + fast_forward_to(20 * DAYS); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, aye6x(100_000 * UNITS) )); - fast_forward_to(17 * DAYS); - assert_ok!(Democracy::remove_vote( + fast_forward_to(30 * DAYS); + + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), 1 )); @@ -524,11 +553,12 @@ fn staking_should_claim_and_unreserve_rewards_when_unstaked() { let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) )); + end_referendum(); let alice_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -543,8 +573,9 @@ fn staking_should_claim_and_unreserve_rewards_when_unstaked() { 1_000 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); @@ -584,13 +615,15 @@ fn staking_should_remove_vote_when_democracy_removes_vote() { ALICE.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) @@ -604,18 +637,20 @@ fn staking_should_remove_vote_when_democracy_removes_vote() { let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(!stake_voting.votes.is_empty()); let (ref_vote_idx, vote) = stake_voting.votes[0]; - assert_eq!(ref_vote_idx, 0); + assert_eq!(ref_vote_idx, r); assert_eq!( vote, pallet_staking::types::Vote::new(2 * UNITS, pallet_staking::types::Conviction::None) ); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(stake_voting.votes.is_empty()); + end_referendum(); }); } @@ -639,13 +674,15 @@ fn staking_should_not_reward_when_refenrendum_is_ongoing() { ALICE.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) @@ -665,7 +702,6 @@ fn staking_should_not_reward_when_refenrendum_is_ongoing() { )); let alice_balance_after_claim = Currencies::free_balance(HDX, &AccountId32::from(ALICE)); assert_eq!(alice_balance, alice_balance_after_claim); - end_referendum(); }); } @@ -688,12 +724,15 @@ fn democracy_vote_should_work_correctly_when_account_has_no_stake() { ALICE.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); - assert_ok!(Democracy::vote( + + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) )); + end_referendum(); }); } @@ -719,16 +758,20 @@ fn democracy_remote_vote_should_work_correctly_when_account_has_no_stake() { ALICE.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); - assert_ok!(Democracy::vote( + + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, aye(2 * UNITS) )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); + end_referendum(); }); } @@ -1004,7 +1047,7 @@ fn staking_should_assign_less_action_points_when_portion_of_staking_lock_is_vest let r = begin_referendum(); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1015,6 +1058,7 @@ fn staking_should_assign_less_action_points_when_portion_of_staking_lock_is_vest balance: 150_000 * UNITS, } )); + end_referendum(); let stake_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -1060,14 +1104,16 @@ fn staking_should_allow_to_remove_vote_and_lock_when_referendum_is_finished_and_ assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), - 1_000_000 * UNITS, + 2_000_000 * UNITS, )); assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1077,7 +1123,7 @@ fn staking_should_allow_to_remove_vote_and_lock_when_referendum_is_finished_and_ 1_000_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1085,11 +1131,11 @@ fn staking_should_allow_to_remove_vote_and_lock_when_referendum_is_finished_and_ aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1100,6 +1146,7 @@ fn staking_should_allow_to_remove_vote_and_lock_when_referendum_is_finished_and_ balance: 1_000_000 * UNITS, } )); + end_referendum(); let stake_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -1107,19 +1154,22 @@ fn staking_should_allow_to_remove_vote_and_lock_when_referendum_is_finished_and_ ) .unwrap() .unwrap(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + Some(ROOT_TRACK), r ),); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + ROOT_TRACK, BOB.into() ),); let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 100); - assert_lock(&BOB.into(), 1_000_000 * UNITS, DEMOCRACY_ID); + + assert_lock(&BOB.into(), 1_000_000 * UNITS, CONVICTION_VOTING_ID); }); } @@ -1140,14 +1190,16 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), - 1_000_000 * UNITS, + 2_000_000 * UNITS, )); assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 3_000 * UNITS @@ -1157,7 +1209,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { 1_000_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1169,7 +1221,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1180,6 +1232,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { balance: 222 * UNITS, } )); + end_referendum(); fast_forward_to(18 * DAYS); @@ -1189,19 +1242,22 @@ fn staking_should_allow_to_remove_vote_when_user_lost_and_conviction_expires() { ) .unwrap() .unwrap(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + Some(ROOT_TRACK), r ),); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + ROOT_TRACK, BOB.into() ),); let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 1); - assert_no_lock(&BOB.into(), DEMOCRACY_ID); + + assert_no_lock(&BOB.into(), CONVICTION_VOTING_ID); }); } @@ -1222,14 +1278,16 @@ fn staking_should_allow_to_remove_vote_when_user_won() { assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), - 1_000_000 * UNITS, + 2_000_000 * UNITS, )); assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 3_000 * UNITS @@ -1239,7 +1297,7 @@ fn staking_should_allow_to_remove_vote_when_user_won() { 1_000_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1251,7 +1309,7 @@ fn staking_should_allow_to_remove_vote_when_user_won() { } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1262,6 +1320,7 @@ fn staking_should_allow_to_remove_vote_when_user_won() { balance: 222 * UNITS, } )); + end_referendum(); let stake_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -1269,19 +1328,22 @@ fn staking_should_allow_to_remove_vote_when_user_won() { ) .unwrap() .unwrap(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r ),); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() ),); let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 100); - assert_lock(&ALICE.into(), 1_000_000 * UNITS, DEMOCRACY_ID); + + assert_lock(&ALICE.into(), 1_000_000 * UNITS, CONVICTION_VOTING_ID); }); } @@ -1302,14 +1364,16 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), ALICE.into(), - 1_000_000 * UNITS, + 2_000_000 * UNITS, )); assert_ok!(Balances::force_set_balance( RawOrigin::Root.into(), BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 3_000 * UNITS @@ -1319,7 +1383,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { 1_000_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1331,7 +1395,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1342,6 +1406,7 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { balance: 3_000 * UNITS, } )); + end_referendum(); let stake_position_id = pallet_staking::Pallet::::get_user_position_id( @@ -1349,19 +1414,22 @@ fn staking_should_allow_to_remove_vote_when_user_lost_with_no_conviction() { ) .unwrap() .unwrap(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + Some(ROOT_TRACK), r ),); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + ROOT_TRACK, BOB.into() ),); let stake_voting = pallet_staking::Pallet::::get_position_votes(stake_position_id); assert!(stake_voting.votes.is_empty()); let position = pallet_staking::Pallet::::get_position(stake_position_id).unwrap(); assert_eq!(position.get_action_points(), 1); - assert_no_lock(&BOB.into(), DEMOCRACY_ID); + + assert_no_lock(&BOB.into(), CONVICTION_VOTING_ID); }); } @@ -1389,13 +1457,15 @@ fn remove_vote_should_not_lock_when_no_stake_and_lost() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1403,11 +1473,11 @@ fn remove_vote_should_not_lock_when_no_stake_and_lost() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1418,19 +1488,22 @@ fn remove_vote_should_not_lock_when_no_stake_and_lost() { balance: 1_000_000 * UNITS, } )); - end_referendum(); - fast_forward_to(DAYS); + end_referendum(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::unlock( + + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); - assert_no_lock(&ALICE.into(), DEMOCRACY_ID); + + assert_no_lock(&ALICE.into(), CONVICTION_VOTING_ID); }); } @@ -1458,17 +1531,19 @@ fn remove_vote_should_extend_lock_when_vote_not_in_favor() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS )); assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), - 1_000_000 * UNITS + 500_000 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1476,11 +1551,11 @@ fn remove_vote_should_extend_lock_when_vote_not_in_favor() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1491,19 +1566,21 @@ fn remove_vote_should_extend_lock_when_vote_not_in_favor() { balance: 1_000_000 * UNITS, } )); - end_referendum(); - fast_forward_to(DAYS); + end_referendum(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); - assert_lock(&ALICE.into(), 1_000_000 * UNITS, DEMOCRACY_ID); + + assert_lock(&ALICE.into(), 500_000 * UNITS, CONVICTION_VOTING_ID); }); } @@ -1531,7 +1608,9 @@ fn remove_vote_should_extend_lock_for_partial_amount_when_vote_not_in_favor() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1541,7 +1620,7 @@ fn remove_vote_should_extend_lock_for_partial_amount_when_vote_not_in_favor() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1549,11 +1628,11 @@ fn remove_vote_should_extend_lock_for_partial_amount_when_vote_not_in_favor() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1564,19 +1643,21 @@ fn remove_vote_should_extend_lock_for_partial_amount_when_vote_not_in_favor() { balance: 1_000_000 * UNITS, } )); - end_referendum(); - fast_forward_to(DAYS); + end_referendum(); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); - assert_lock(&ALICE.into(), 222_222 * UNITS, DEMOCRACY_ID); + + assert_lock(&ALICE.into(), 222_222 * UNITS, CONVICTION_VOTING_ID); }); } @@ -1604,7 +1685,9 @@ fn unstake_should_fail_when_position_has_existing_votes() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1614,7 +1697,7 @@ fn unstake_should_fail_when_position_has_existing_votes() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1626,7 +1709,7 @@ fn unstake_should_fail_when_position_has_existing_votes() { } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1637,8 +1720,9 @@ fn unstake_should_fail_when_position_has_existing_votes() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + assert_noop!( Staking::unstake(hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1), pallet_staking::Error::::ExistingVotes @@ -1670,7 +1754,9 @@ fn unstake_should_fail_when_position_has_existing_processed_votes() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1680,7 +1766,7 @@ fn unstake_should_fail_when_position_has_existing_processed_votes() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1692,7 +1778,7 @@ fn unstake_should_fail_when_position_has_existing_processed_votes() { } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1703,8 +1789,9 @@ fn unstake_should_fail_when_position_has_existing_processed_votes() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, @@ -1742,7 +1829,9 @@ fn unstake_should_work_when_processed_votes_are_removed() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1752,7 +1841,7 @@ fn unstake_should_work_when_processed_votes_are_removed() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1760,11 +1849,11 @@ fn unstake_should_work_when_processed_votes_are_removed() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1775,8 +1864,9 @@ fn unstake_should_work_when_processed_votes_are_removed() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -1785,8 +1875,9 @@ fn unstake_should_work_when_processed_votes_are_removed() { )); // remove vote to allow unstake - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); @@ -1794,12 +1885,14 @@ fn unstake_should_work_when_processed_votes_are_removed() { hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1 )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); + // the amount should be locked - assert_lock(&ALICE.into(), 222_222 * UNITS, DEMOCRACY_ID); + assert_lock(&ALICE.into(), 222_222 * UNITS, CONVICTION_VOTING_ID); }); } @@ -1827,7 +1920,9 @@ fn remove_vote_should_not_lock_nor_assign_rewards_when_referendum_was_cancelled( BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1837,7 +1932,7 @@ fn remove_vote_should_not_lock_nor_assign_rewards_when_referendum_was_cancelled( 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1845,11 +1940,11 @@ fn remove_vote_should_not_lock_nor_assign_rewards_when_referendum_was_cancelled( aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1860,33 +1955,39 @@ fn remove_vote_should_not_lock_nor_assign_rewards_when_referendum_was_cancelled( balance: 1_000_000 * UNITS, } )); - assert_ok!(Democracy::cancel_referendum(RawOrigin::Root.into(), r,)); - fast_forward_to(DAYS); + + assert_ok!(Referenda::cancel(RawOrigin::Root.into(), r,)); + assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, 222_222 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), + ROOT_TRACK, BOB.into() )); - assert_no_lock(&BOB.into(), DEMOCRACY_ID); - assert_no_lock(&ALICE.into(), DEMOCRACY_ID); + + assert_no_lock(&BOB.into(), CONVICTION_VOTING_ID); + assert_no_lock(&ALICE.into(), CONVICTION_VOTING_ID); let stake_voting = pallet_staking::Pallet::::get_position_votes(1); assert!(stake_voting.votes.is_empty()); @@ -1932,7 +2033,9 @@ fn remove_vote_should_extend_lock_when_votes_are_already_processed() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -1942,7 +2045,7 @@ fn remove_vote_should_extend_lock_when_votes_are_already_processed() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -1950,11 +2053,11 @@ fn remove_vote_should_extend_lock_when_votes_are_already_processed() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -1965,8 +2068,9 @@ fn remove_vote_should_extend_lock_when_votes_are_already_processed() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -1974,17 +2078,20 @@ fn remove_vote_should_extend_lock_when_votes_are_already_processed() { 222_222 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); + // the amount should be locked - assert_lock(&ALICE.into(), 222_222 * UNITS, DEMOCRACY_ID); + assert_lock(&ALICE.into(), 222_222 * UNITS, CONVICTION_VOTING_ID); let stake_voting = pallet_staking::Pallet::::get_position_votes(1); assert!(stake_voting.votes.is_empty()); @@ -2021,7 +2128,9 @@ fn increase_stake_should_fail_when_position_has_existing_processed_votes() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2031,7 +2140,7 @@ fn increase_stake_should_fail_when_position_has_existing_processed_votes() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2039,11 +2148,11 @@ fn increase_stake_should_fail_when_position_has_existing_processed_votes() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2054,8 +2163,9 @@ fn increase_stake_should_fail_when_position_has_existing_processed_votes() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -2093,7 +2203,9 @@ fn claim_should_fail_when_position_has_existing_processed_votes() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2103,7 +2215,7 @@ fn claim_should_fail_when_position_has_existing_processed_votes() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2111,11 +2223,11 @@ fn claim_should_fail_when_position_has_existing_processed_votes() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2126,8 +2238,9 @@ fn claim_should_fail_when_position_has_existing_processed_votes() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -2165,7 +2278,9 @@ fn claim_should_work_when_processed_votes_are_removed() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2175,7 +2290,7 @@ fn claim_should_work_when_processed_votes_are_removed() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2183,11 +2298,11 @@ fn claim_should_work_when_processed_votes_are_removed() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2198,31 +2313,25 @@ fn claim_should_work_when_processed_votes_are_removed() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - let ref_info = pallet_democracy::Pallet::::referendum_info(r).unwrap(); - assert_eq!( - ref_info, - ReferendumInfo::Finished { - approved: false, - end: 43200 - } - ); - fast_forward_to(DAYS); // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, 222_222 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); assert_ok!(Staking::claim(hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1,)); - assert_ok!(Democracy::unlock( + assert_ok!(ConvictionVoting::unlock( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + ROOT_TRACK, ALICE.into() )); let stake_voting = pallet_staking::Pallet::::get_position_votes(1); @@ -2233,7 +2342,8 @@ fn claim_should_work_when_processed_votes_are_removed() { ); let stake_position = pallet_staking::Pallet::::get_position(1).unwrap(); assert_eq!(stake_position.get_action_points(), 100); - assert_lock(&ALICE.into(), 222_222 * UNITS, DEMOCRACY_ID); + + assert_lock(&ALICE.into(), 222_222 * UNITS, CONVICTION_VOTING_ID); }); } @@ -2261,7 +2371,9 @@ fn increase_stake_should_work_when_processed_votes_are_removed() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2271,7 +2383,7 @@ fn increase_stake_should_work_when_processed_votes_are_removed() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2279,11 +2391,11 @@ fn increase_stake_should_work_when_processed_votes_are_removed() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2294,16 +2406,18 @@ fn increase_stake_should_work_when_processed_votes_are_removed() { balance: 1_000_000 * UNITS, } )); + end_referendum(); - fast_forward_to(DAYS); + // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), 1, 222_222 * UNITS )); - assert_ok!(Democracy::remove_vote( + assert_ok!(ConvictionVoting::remove_vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), + Some(ROOT_TRACK), r )); assert_ok!(Staking::increase_stake( @@ -2338,7 +2452,9 @@ fn increase_stake_should_work_when_referendum_ongoing_and_votes_processed() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2348,7 +2464,7 @@ fn increase_stake_should_work_when_referendum_ongoing_and_votes_processed() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2356,11 +2472,11 @@ fn increase_stake_should_work_when_referendum_ongoing_and_votes_processed() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2371,7 +2487,6 @@ fn increase_stake_should_work_when_referendum_ongoing_and_votes_processed() { balance: 1_000_000 * UNITS, } )); - fast_forward_to(DAYS); // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), @@ -2414,7 +2529,9 @@ fn voting_on_next_referenda_should_process_votes() { BOB.into(), 1_000_000 * UNITS, )); + let r = begin_referendum(); + assert_ok!(Staking::stake( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), 1_000_000 * UNITS @@ -2424,7 +2541,7 @@ fn voting_on_next_referenda_should_process_votes() { 222_222 * UNITS )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2432,11 +2549,11 @@ fn voting_on_next_referenda_should_process_votes() { aye: true, conviction: Conviction::Locked6x, }, - balance: 1_000_000 * UNITS, + balance: 500_000 * UNITS, } )); - assert_ok!(Democracy::vote( + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(BOB.into()), r, AccountVote::Standard { @@ -2447,15 +2564,16 @@ fn voting_on_next_referenda_should_process_votes() { balance: 1_000_000 * UNITS, } )); + end_referendum(); + assert!( pallet_staking::Pallet::::processed_votes::(ALICE.into(), r) .is_none() ); - let r = begin_referendum() + 1; - fast_forward_by(3 * DAYS); - assert_ok!(Democracy::vote( + let r = begin_referendum(); + assert_ok!(ConvictionVoting::vote( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), r, AccountVote::Standard { @@ -2473,7 +2591,7 @@ fn voting_on_next_referenda_should_process_votes() { }); } -const DEMOCRACY_ID: LockIdentifier = *b"democrac"; +const CONVICTION_VOTING_ID: LockIdentifier = *b"pyconvot"; fn assert_lock(who: &AccountId, amount: Balance, lock_id: LockIdentifier) { let locks = Balances::locks(who); let lock = locks.iter().find(|e| e.id == lock_id); diff --git a/pallets/conviction-voting/src/conviction.rs b/pallets/conviction-voting/src/conviction.rs index 8054cce87..1f924ac4c 100644 --- a/pallets/conviction-voting/src/conviction.rs +++ b/pallets/conviction-voting/src/conviction.rs @@ -27,9 +27,12 @@ use sp_runtime::{ use crate::types::Delegations; /// A value denoting the strength of conviction of a vote. -#[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[derive( + Encode, Decode, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen, +)] pub enum Conviction { /// 0.1x votes, unlocked. + #[default] None, /// 1x votes, locked for an enactment period following a successful vote. Locked1x, @@ -45,12 +48,6 @@ pub enum Conviction { Locked6x, } -impl Default for Conviction { - fn default() -> Self { - Conviction::None - } -} - impl From for u8 { fn from(c: Conviction) -> u8 { match c { diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 51b123346..e1009e716 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -272,7 +272,7 @@ pub mod pallet { // NOTE: weight must cover an incorrect voting of origin with max votes, this is ensure // because a valid delegation cover decoding a direct voting with max votes. #[pallet::call_index(2)] - #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get().into()))] + #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get()))] pub fn undelegate(origin: OriginFor, class: ClassOf) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; let votes = Self::try_undelegate(who, class)?; diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 83ff47027..27ae1cfc3 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -29,7 +29,7 @@ pub mod old; pub mod origins; -mod tracks; +pub mod tracks; use super::*; use crate::governance::{ diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index b954858fb..1e4800bdd 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -33,7 +33,7 @@ pub mod weights; mod assets; pub mod evm; -mod governance; +pub mod governance; mod system; pub mod types; pub mod xcm; From 6ad5e16aba15c1976533ee7d004475880365bbf9 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 30 Jun 2024 12:41:45 +0200 Subject: [PATCH 16/70] Opengov tracks and origins --- runtime/hydradx/src/governance/origins.rs | 7 +++--- runtime/hydradx/src/governance/tracks.rs | 27 +++++++++++------------ 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/runtime/hydradx/src/governance/origins.rs b/runtime/hydradx/src/governance/origins.rs index a14d76ae1..dc65f901e 100644 --- a/runtime/hydradx/src/governance/origins.rs +++ b/runtime/hydradx/src/governance/origins.rs @@ -135,12 +135,11 @@ pub mod pallet_custom_origins { } } - // TODO opengov decl_ensure! { pub type Spender: EnsureOrigin { - Tipper = 500_000 * UNITS, // ~= $5,000 - Spender = 5_000_000 * UNITS, // ~= $50,000 - Treasurer = 500_000_000 * UNITS, // ~= $5,000,000 + Tipper = 50_000 * UNITS, // ~= $500 + Spender = 2_222_222 * UNITS, // ~= $22,222 + Treasurer = 50_000_000 * UNITS, // ~= $500,000 } } } diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs index d20519bbd..23026da3d 100644 --- a/runtime/hydradx/src/governance/tracks.rs +++ b/runtime/hydradx/src/governance/tracks.rs @@ -43,16 +43,15 @@ const APP_RECIP: Curve = Curve::make_reciprocal(1, 7, percent(80), percent(50), const SUP_LINEAR: Curve = Curve::make_linear(7, 7, percent(0), percent(50)); const SUP_RECIP: Curve = Curve::make_reciprocal(5, 7, percent(1), percent(0), percent(50)); const SUP_FAST_RECIP: Curve = Curve::make_reciprocal(3, 7, percent(1), percent(0), percent(50)); -const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(20), percent(1), percent(50)); +const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(20), percent(5), percent(50)); -// TODO OpenGov const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] = [ ( 0, pallet_referenda::TrackInfo { name: "root", max_deciding: 1, - decision_deposit: 100_000_000 * UNITS, + decision_deposit: 5_000_000 * UNITS, prepare_period: 24 * HOURS, decision_period: 7 * DAYS, confirm_period: 24 * HOURS, @@ -66,7 +65,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "whitelisted_caller", max_deciding: 10, - decision_deposit: 1_000_000 * UNITS, + decision_deposit: 50_000 * UNITS, prepare_period: 10 * MINUTES, decision_period: 7 * DAYS, confirm_period: 10 * MINUTES, @@ -80,10 +79,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "referendum_canceller", max_deciding: 10, - decision_deposit: 10_000_000 * UNITS, + decision_deposit: 500_000 * UNITS, prepare_period: 60 * MINUTES, - decision_period: 7 * DAYS, - confirm_period: 24 * HOURS, + decision_period: 3 * DAYS, + confirm_period: 60 * MINUTES, min_enactment_period: 10 * MINUTES, min_approval: APP_LINEAR_FLAT, min_support: SUP_FAST_RECIP, @@ -94,7 +93,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "referendum_killer", max_deciding: 10, - decision_deposit: 50_000_000 * UNITS, + decision_deposit: 2_500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, confirm_period: 3 * HOURS, @@ -108,7 +107,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "general_admin", max_deciding: 10, - decision_deposit: 10_000_000 * UNITS, + decision_deposit: 500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, confirm_period: 3 * HOURS, @@ -122,7 +121,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "treasurer", max_deciding: 10, - decision_deposit: 50_000_000 * UNITS, + decision_deposit: 1_250_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, confirm_period: 12 * HOURS, @@ -136,7 +135,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "spender", max_deciding: 10, - decision_deposit: 5_000_000 * UNITS, + decision_deposit: 100_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, confirm_period: 3 * HOURS, @@ -150,7 +149,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] pallet_referenda::TrackInfo { name: "tipper", max_deciding: 10, - decision_deposit: 500_000 * UNITS, + decision_deposit: 10_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, confirm_period: 3 * HOURS, @@ -169,8 +168,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] decision_period: 7 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, - min_approval: APP_LINEAR_FLAT, - min_support: SUP_FAST_RECIP, + min_approval: APP_RECIP, + min_support: SUP_RECIP, }, ), ]; From dafc638039e1de930afbb2349bf29c3195a2e396 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 30 Jun 2024 13:27:55 +0200 Subject: [PATCH 17/70] replace origins --- runtime/hydradx/src/assets.rs | 59 +++++++++------------------ runtime/hydradx/src/evm/mod.rs | 7 ++-- runtime/hydradx/src/governance/mod.rs | 19 ++++----- runtime/hydradx/src/system.rs | 41 ++++++++----------- runtime/hydradx/src/xcm.rs | 10 ++--- 5 files changed, 52 insertions(+), 84 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 546dc0ae8..b944023ff 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -16,7 +16,8 @@ // limitations under the License. use super::*; -use crate::old::{AllTechnicalCommitteeMembers, MajorityOfCouncil, MaxVotes, SuperMajorityTechCommittee}; +use crate::old::MaxVotes; +use crate::origins::{GeneralAdmin, OmnipoolAdmin}; use crate::system::NativeAssetId; use hydradx_adapters::{ @@ -52,8 +53,8 @@ use frame_support::{ sp_runtime::traits::{One, PhantomData}, sp_runtime::{FixedU128, Perbill, Permill}, traits::{ - AsEnsureOriginWithArg, ConstU32, Contains, Currency, Defensive, EnsureOrigin, Imbalance, LockIdentifier, - NeverEnsureOrigin, OnUnbalanced, + AsEnsureOriginWithArg, ConstU32, Contains, Currency, Defensive, EitherOf, EnsureOrigin, Imbalance, + LockIdentifier, NeverEnsureOrigin, OnUnbalanced, }, BoundedVec, PalletId, }; @@ -361,7 +362,6 @@ impl orml_vesting::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type MinVestedTransfer = MinVestedTransfer; - // TODO origin type VestedTransferOrigin = RootAsVestingPallet; type WeightInfo = weights::orml_vesting::HydraWeight; type MaxVestingSchedules = MaxVestingSchedules; @@ -391,11 +391,8 @@ parameter_types! { impl pallet_asset_registry::Config for Runtime { type RuntimeEvent = RuntimeEvent; - - // TODO origin - type RegistryOrigin = EnsureRoot; - // TODO origin - type UpdateOrigin = SuperMajorityTechCommittee; + type RegistryOrigin = EitherOf, GeneralAdmin>; + type UpdateOrigin = EitherOf, GeneralAdmin>; type Currency = pallet_currencies::fungibles::FungibleCurrencies; type AssetId = AssetId; type AssetNativeLocation = AssetLocation; @@ -422,10 +419,8 @@ impl pallet_uniques::Config for Runtime { type CollectionId = CollectionId; type ItemId = ItemId; type Currency = Balances; - // TODO origin - type ForceOrigin = MajorityOfCouncil; + type ForceOrigin = EnsureRoot; // Standard collection creation is disallowed - // TODO origin type CreateOrigin = AsEnsureOriginWithArg>; type Locker = (); type CollectionDeposit = CollectionDeposit; @@ -458,10 +453,8 @@ impl pallet_omnipool::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Currency = Currencies; - // TODO origin - type AuthorityOrigin = EnsureRoot; - // TODO origin - type TechnicalOrigin = SuperMajorityTechCommittee; + type AuthorityOrigin = EitherOf, OmnipoolAdmin>; + type TechnicalOrigin = EitherOf, TechCommitteeMajority>; type AssetRegistry = AssetRegistry; type HdxAssetId = NativeAssetId; type HubAssetId = LRNA; @@ -513,8 +506,7 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - // TODO origin - type TechnicalOrigin = SuperMajorityTechCommittee; + type TechnicalOrigin = EitherOf, GeneralAdmin>; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; @@ -542,8 +534,7 @@ where impl pallet_ema_oracle::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type AuthorityOrigin = SuperMajorityTechCommittee; + type AuthorityOrigin = EitherOf, GeneralAdmin>; /// The definition of the oracle time periods currently assumes a 6 second block time. /// We use the parachain blocks anyway, because we want certain guarantees over how many blocks correspond /// to which smoothing factor. @@ -580,8 +571,7 @@ impl pallet_duster::Config for Runtime { type MinCurrencyDeposits = AssetRegistry; type Reward = DustingReward; type NativeCurrencyId = NativeAssetId; - // TODO origin - type BlacklistUpdateOrigin = SuperMajorityTechCommittee; + type BlacklistUpdateOrigin = EitherOf, GeneralAdmin>; type WeightInfo = weights::pallet_duster::HydraWeight; } @@ -623,8 +613,7 @@ parameter_types! { impl pallet_omnipool_liquidity_mining::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Currencies; - // TODO origin - type CreateOrigin = AllTechnicalCommitteeMembers; + type CreateOrigin = EitherOf, OmnipoolAdmin>; type PalletId = OmniLMPalletId; type NFTCollectionId = OmnipoolLMCollectionId; type NFTHandler = Uniques; @@ -671,8 +660,7 @@ parameter_types! { impl pallet_xyk_liquidity_mining::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currencies = Currencies; - // TODO origin - type CreateOrigin = AllTechnicalCommitteeMembers; + type CreateOrigin = EitherOf, GeneralAdmin>; type PalletId = XYKLmPalletId; type NFTCollectionId = XYKLmCollectionId; type NFTHandler = Uniques; @@ -773,8 +761,7 @@ impl Contains for RetryOnErrorForDca { impl pallet_dca::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; - // TODO origin - type TechnicalOrigin = SuperMajorityTechCommittee; + type TechnicalOrigin = EitherOf, TechCommitteeMajority>; type Currencies = Currencies; type RelayChainBlockHashProvider = RelayChainBlockHashProviderAdapter; type RandomnessProvider = DCA; @@ -1121,8 +1108,7 @@ impl pallet_route_executor::Config for Runtime { type DefaultRoutePoolType = DefaultRoutePoolType; type NativeAssetId = NativeAssetId; type InspectRegistry = AssetRegistry; - // TODO origin - type TechnicalOrigin = SuperMajorityTechCommittee; + type TechnicalOrigin = EitherOf, GeneralAdmin>; type EdToRefundCalculator = RefundAndLockedEdCalculator; } @@ -1293,8 +1279,7 @@ impl pallet_stableswap::Config for Runtime { type Currency = Currencies; type ShareAccountId = StableswapAccountIdConstructor; type AssetInspection = AssetRegistry; - // TODO origin - type AuthorityOrigin = EnsureRoot; + type AuthorityOrigin = EitherOf, GeneralAdmin>; type DustAccountHandler = Duster; type Hooks = StableswapHooksAdapter; type MinPoolLiquidity = MinPoolLiquidity; @@ -1326,7 +1311,6 @@ impl pallet_bonds::Config for Runtime { type ExistentialDeposits = AssetRegistry; type TimestampProvider = Timestamp; type PalletId = BondsPalletId; - // TODO origin type IssueOrigin = EnsureSigned; type AssetTypeWhitelist = AssetTypeWhitelist; type ProtocolFee = ProtocolFee; @@ -1367,8 +1351,7 @@ impl GetByKey for StakingMinSlash { impl pallet_staking::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type AuthorityOrigin = MajorityOfCouncil; + type AuthorityOrigin = EitherOf, GeneralAdmin>; type AssetId = AssetId; type Currency = Currencies; type PeriodLength = PeriodLength; @@ -1422,8 +1405,7 @@ impl pallet_lbp::Config for Runtime { type RuntimeEvent = RuntimeEvent; type MultiCurrency = Currencies; type LockedBalance = MultiCurrencyLockedBalance; - // TODO origin - type CreatePoolOrigin = SuperMajorityTechCommittee; + type CreatePoolOrigin = EitherOf, GeneralAdmin>; type LBPWeightFunction = pallet_lbp::LBPWeightFunction; type AssetPairAccountId = AssetPairAccountId; type WeightInfo = weights::pallet_lbp::HydraWeight; @@ -1471,8 +1453,7 @@ parameter_types! { impl pallet_referrals::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type AuthorityOrigin = EnsureRoot; + type AuthorityOrigin = EitherOf, GeneralAdmin>; type AssetId = AssetId; type Currency = FungibleCurrencies; type Convert = ConvertViaOmnipool; diff --git a/runtime/hydradx/src/evm/mod.rs b/runtime/hydradx/src/evm/mod.rs index 25cb75f83..ceb7ea2f8 100644 --- a/runtime/hydradx/src/evm/mod.rs +++ b/runtime/hydradx/src/evm/mod.rs @@ -21,6 +21,7 @@ use crate::evm::evm_fee::FeeCurrencyOverrideOrDefault; use crate::evm::runner::WrapRunner; +use crate::origins::GeneralAdmin; use crate::types::ShortOraclePrice; pub use crate::{ evm::accounts_conversion::{ExtendedAddressMapping, FindAuthorTruncated}, @@ -30,10 +31,11 @@ use crate::{NativeAssetId, LRNA}; pub use fp_evm::GenesisAccount as EvmGenesisAccount; use frame_support::{ parameter_types, - traits::{Defensive, FindAuthor}, + traits::{Defensive, EitherOf, FindAuthor}, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, ConsensusEngineId, }; +use frame_system::EnsureRoot; use hex_literal::hex; use hydradx_adapters::price::ConvertAmount; use hydradx_adapters::{AssetFeeOraclePriceProvider, OraclePriceProvider}; @@ -187,8 +189,7 @@ impl pallet_evm_accounts::Config for crate::Runtime { type RuntimeEvent = crate::RuntimeEvent; type FeeMultiplier = sp_core::ConstU32<50>; type EvmNonceProvider = EvmNonceProvider; - // TODO origin - type ControllerOrigin = crate::old::SuperMajorityTechCommittee; + type ControllerOrigin = EitherOf, GeneralAdmin>; type WeightInfo = crate::weights::pallet_evm_accounts::HydraWeight; } diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index aa42dd308..e00e90380 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -33,22 +33,23 @@ mod tracks; use super::*; use crate::governance::{ - origins::{ReferendumCanceller, ReferendumKiller, Spender, WhitelistedCaller}, + origins::{ReferendumCanceller, ReferendumKiller, Spender, Treasurer, WhitelistedCaller}, tracks::TracksInfo, }; -use crate::old::{MoreThanHalfCouncil, TreasuryApproveOrigin}; use frame_support::{ parameter_types, sp_runtime::Permill, traits::{tokens::UnityAssetBalanceConversion, EitherOf}, PalletId, }; +use frame_system::{EnsureRoot, EnsureRootWithSuccess}; use primitives::constants::{currency::DOLLARS, time::DAYS}; use sp_arithmetic::Perbill; use sp_core::ConstU32; use sp_runtime::traits::IdentityLookup; +use pallet_collective::EnsureProportionAtLeast; -use frame_system::{EnsureRoot, EnsureRootWithSuccess}; +pub type TechCommitteeMajority = EnsureProportionAtLeast; parameter_types! { pub const TechnicalMaxProposals: u32 = 20; @@ -142,10 +143,8 @@ impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { impl pallet_treasury::Config for Runtime { type Currency = Balances; - // TODO origin - type ApproveOrigin = TreasuryApproveOrigin; - // TODO origin - type RejectOrigin = MoreThanHalfCouncil; + type ApproveOrigin = EitherOf, Treasurer>; + type RejectOrigin = EitherOf, Treasurer>; type RuntimeEvent = RuntimeEvent; type OnSlash = Treasury; type ProposalBond = ProposalBond; @@ -159,8 +158,7 @@ impl pallet_treasury::Config for Runtime { type SpendFunds = (); type MaxApprovals = MaxApprovals; #[cfg(not(feature = "runtime-benchmarks"))] - // TODO origin - type SpendOrigin = frame_support::traits::NeverEnsureOrigin; + type SpendOrigin = TreasurySpender; #[cfg(feature = "runtime-benchmarks")] type SpendOrigin = frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; @@ -197,8 +195,7 @@ impl pallet_whitelist::Config for Runtime { type WeightInfo = weights::pallet_whitelist::WeightInfo; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; - // TODO WhitelistOrigin - type WhitelistOrigin = EnsureRoot; + type WhitelistOrigin = EitherOf, TechCommitteeMajority>; type DispatchWhitelistedOrigin = EitherOf, WhitelistedCaller>; type Preimages = Preimage; } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index d7fe428ed..40fbaf361 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -17,15 +17,7 @@ use super::*; -use crate::old::{MoreThanHalfCouncil, SuperMajorityTechCommittee}; - -use pallet_transaction_multi_payment::{DepositAll, TransferFees}; -use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; -use primitives::constants::{ - chain::{CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT}, - currency::{deposit, CENTS, DOLLARS, MILLICENTS}, - time::{DAYS, HOURS, SLOT_DURATION}, -}; +use crate::origins::GeneralAdmin; use codec::{Decode, Encode, MaxEncodedLen}; use core::cmp::Ordering; @@ -37,7 +29,7 @@ use frame_support::{ FixedPointNumber, Perbill, Perquintill, RuntimeDebug, }, traits::{ - fungible::HoldConsideration, ConstBool, Contains, InstanceFilter, LinearStoragePrice, PrivilegeCmp, + fungible::HoldConsideration, ConstBool, Contains, EitherOf, InstanceFilter, LinearStoragePrice, PrivilegeCmp, SortedMembers, }, weights::{ @@ -48,6 +40,13 @@ use frame_support::{ }; use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; +use pallet_transaction_multi_payment::{DepositAll, TransferFees}; +use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; +use primitives::constants::{ + chain::{CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT}, + currency::{deposit, CENTS, DOLLARS, MILLICENTS}, + time::{DAYS, HOURS, SLOT_DURATION}, +}; use scale_info::TypeInfo; pub struct CallFilter; @@ -256,8 +255,7 @@ parameter_types! { impl pallet_collator_selection::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; - // TODO origin - type UpdateOrigin = MoreThanHalfCouncil; + type UpdateOrigin = EitherOf, GeneralAdmin>; type PotId = PotId; #[cfg(not(feature = "runtime-benchmarks"))] type MaxCandidates = MaxCandidates; @@ -283,7 +281,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_preimage::HydraWeight; type Currency = Balances; - // TODO origin type ManagerOrigin = EnsureRoot; type Consideration = HoldConsideration< AccountId, @@ -303,8 +300,7 @@ impl pallet_scheduler::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; - // TODO origin - type ScheduleOrigin = MoreThanHalfCouncil; + type ScheduleOrigin = EitherOf, GeneralAdmin>; type OriginPrivilegeCmp = OriginPrivilegeCmp; type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::HydraWeight; @@ -383,10 +379,8 @@ impl pallet_identity::Config for Runtime { type IdentityInformation = pallet_identity::legacy::IdentityInfo; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; - // TODO origin - type ForceOrigin = MoreThanHalfCouncil; - // TODO origin - type RegistrarOrigin = MoreThanHalfCouncil; + type ForceOrigin = EitherOf, GeneralAdmin>; + type RegistrarOrigin = EitherOf, GeneralAdmin>; type OffchainSignature = Signature; type SigningPublicKey = ::Signer; type UsernameAuthorityOrigin = EnsureRoot; @@ -562,8 +556,7 @@ impl pallet_transaction_payment::Config for Runtime { impl pallet_transaction_multi_payment::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type AcceptedCurrencyOrigin = SuperMajorityTechCommittee; + type AcceptedCurrencyOrigin = EitherOf, GeneralAdmin>; type Currencies = Currencies; type RouteProvider = Router; type OraclePriceProvider = OraclePriceProvider; @@ -614,8 +607,7 @@ impl pallet_collator_rewards::Config for Runtime { impl pallet_transaction_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type UpdateOrigin = SuperMajorityTechCommittee; + type UpdateOrigin = EitherOf, TechCommitteeMajority>; type WeightInfo = weights::pallet_transaction_pause::HydraWeight; } @@ -634,8 +626,7 @@ parameter_types! { } impl pallet_state_trie_migration::Config for Runtime { - // TODO origin - type ControlOrigin = SuperMajorityTechCommittee; + type ControlOrigin = EnsureRoot; #[cfg(not(feature = "runtime-benchmarks"))] type SignedFilter = frame_system::EnsureSignedBy; #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 4f92170ed..b9067f993 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,6 +1,5 @@ use super::*; -use crate::old::{MajorityOfCouncil, MoreThanHalfCouncil, MoreThanHalfTechCommittee}; use sp_std::marker::PhantomData; use codec::MaxEncodedLen; @@ -15,6 +14,7 @@ use frame_support::{ traits::{ConstU32, Contains, ContainsPair, Everything, Get, Nothing, TransformOrigin}, PalletId, }; +use frame_system::EnsureRoot; use hydradx_adapters::{xcm_exchange::XcmAssetExchanger, xcm_execute_filter::AllowTransferAndSwap}; use orml_traits::{location::AbsoluteReserveProvider, parameter_type_with_key}; use orml_xcm_support::{DepositToAlternative, IsNativeConcrete, MultiNativeAsset}; @@ -208,7 +208,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ControllerOrigin = MoreThanHalfTechCommittee; + type ControllerOrigin = EnsureRoot; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::cumulus_pallet_xcmp_queue::HydraWeight; @@ -253,8 +253,7 @@ impl orml_unknown_tokens::Config for Runtime { impl orml_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // TODO origin - type SovereignOrigin = MoreThanHalfCouncil; + type SovereignOrigin = EnsureRoot; } impl pallet_xcm::Config for Runtime { @@ -278,8 +277,7 @@ impl pallet_xcm::Config for Runtime { type SovereignAccountOf = (); type MaxLockers = ConstU32<8>; type WeightInfo = weights::pallet_xcm::HydraWeight; - // TODO origin - type AdminOrigin = MajorityOfCouncil; + type AdminOrigin = EnsureRoot; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); } From 6b302dde699a700cc16b93e07e05cbf06d44d45c Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 30 Jun 2024 13:29:21 +0200 Subject: [PATCH 18/70] fmt --- runtime/hydradx/src/governance/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index e00e90380..e9392f038 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -43,11 +43,11 @@ use frame_support::{ PalletId, }; use frame_system::{EnsureRoot, EnsureRootWithSuccess}; +use pallet_collective::EnsureProportionAtLeast; use primitives::constants::{currency::DOLLARS, time::DAYS}; use sp_arithmetic::Perbill; use sp_core::ConstU32; use sp_runtime::traits::IdentityLookup; -use pallet_collective::EnsureProportionAtLeast; pub type TechCommitteeMajority = EnsureProportionAtLeast; From fe74c523829004f17c2c534d2cf860288e6a861c Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 30 Jun 2024 13:52:02 +0200 Subject: [PATCH 19/70] fix bench --- runtime/hydradx/src/lib.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index b954858fb..e75ba2a73 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -729,9 +729,9 @@ impl_runtime_apis! { list_benchmarks!(list, extra); - list_benchmark!(list, extra, pallet_conviction_voting, ConvictionVoting); - list_benchmark!(list, extra, pallet_referenda, Referenda); - list_benchmark!(list, extra, pallet_whitelist, Whitelist); + list_benchmarks!(list, extra, pallet_conviction_voting, ConvictionVoting); + list_benchmarks!(list, extra, pallet_referenda, Referenda); + list_benchmarks!(list, extra, pallet_whitelist, Whitelist); orml_list_benchmark!(list, extra, pallet_currencies, benchmarking::currencies); orml_list_benchmark!(list, extra, orml_tokens, benchmarking::tokens); @@ -818,9 +818,9 @@ impl_runtime_apis! { add_benchmarks!(params, batches); - add_benchmark!(params, batches, pallet_conviction_voting, ConvictionVoting); - add_benchmark!(params, batches, pallet_referenda, Referenda); - add_benchmark!(params, batches, pallet_whitelist, Whitelist); + add_benchmarks!(params, batches, pallet_conviction_voting, ConvictionVoting); + add_benchmarks!(params, batches, pallet_referenda, Referenda); + add_benchmarks!(params, batches, pallet_whitelist, Whitelist); orml_add_benchmark!(params, batches, pallet_currencies, benchmarking::currencies); orml_add_benchmark!(params, batches, orml_tokens, benchmarking::tokens); From e3d068184e67ed53c16dbbaa8bc11cb19e98c7fb Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 30 Jun 2024 14:51:35 +0200 Subject: [PATCH 20/70] exclude referenda from CallFilter --- Cargo.lock | 1 + integration-tests/Cargo.toml | 1 + integration-tests/src/call_filter.rs | 35 +++++++++++++++++++++++++++- runtime/hydradx/src/lib.rs | 11 +++++---- runtime/hydradx/src/system.rs | 5 +++- 5 files changed, 47 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b01850c0..4373c8e3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12038,6 +12038,7 @@ dependencies = [ "pallet-omnipool-liquidity-mining", "pallet-otc", "pallet-otc-settlements", + "pallet-referenda", "pallet-referrals", "pallet-relaychain-info", "pallet-route-executor", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 2524e59f9..8efa6b16c 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -48,6 +48,7 @@ pallet-elections-phragmen = { workspace = true } pallet-tips = { workspace = true } pallet-xyk-liquidity-mining = { workspace = true } pallet-transaction-pause = { workspace = true } +pallet-referenda = { workspace = true } # collator support pallet-collator-selection = { workspace = true } diff --git a/integration-tests/src/call_filter.rs b/integration-tests/src/call_filter.rs index 419a6353d..034aa942b 100644 --- a/integration-tests/src/call_filter.rs +++ b/integration-tests/src/call_filter.rs @@ -4,11 +4,13 @@ use crate::polkadot_test_net::*; use frame_support::{ assert_ok, sp_runtime::{FixedU128, Permill}, - traits::Contains, + traits::{Contains, StorePreimage}, weights::Weight, }; +use hydradx_runtime::{origins, Preimage}; use polkadot_xcm::v3::prelude::*; use polkadot_xcm::VersionedXcm; +use primitives::constants::currency::UNITS; use xcm_emulator::TestExt; #[test] @@ -305,3 +307,34 @@ fn create_contract_from_evm_pallet_should_be_filtered_by_call_filter() { assert!(!hydradx_runtime::CallFilter::contains(&call)); }); } + +#[test] +fn referenda_can_not_be_filtered() { + TestNet::reset(); + + Hydra::execute_with(|| { + // Arrange + // Try to pause transactions for Referenda/submit + assert_ok!(hydradx_runtime::TransactionPause::pause_transaction( + hydradx_runtime::RuntimeOrigin::root(), + b"Referenda".to_vec(), + b"submit".to_vec() + )); + + // Prepare a Referenda/submit call + let spend_call = hydradx_runtime::RuntimeCall::Treasury(pallet_treasury::Call::spend_local { + amount: 100 * UNITS, + beneficiary: ALICE.into(), + }); + let preimage = ::bound(spend_call).unwrap(); + + // Act & Assert + let successful_call = hydradx_runtime::RuntimeCall::Referenda(pallet_referenda::Call::submit { + proposal_origin: Box::new(hydradx_runtime::OriginCaller::Origins(origins::Origin::Tipper)), + proposal: preimage, + enactment_moment: frame_support::traits::schedule::DispatchTime::After(100), + }); + + assert!(hydradx_runtime::CallFilter::contains(&successful_call)); + }); +} diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index e75ba2a73..dbc310d85 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -165,10 +165,10 @@ construct_runtime!( StateTrieMigration: pallet_state_trie_migration = 35, // OpenGov - ConvictionVoting: pallet_conviction_voting::{Pallet, Call, Storage, Event} = 36, - Referenda: pallet_referenda::{Pallet, Call, Storage, Event} = 37, - Origins: pallet_custom_origins::{Origin} = 38, - Whitelist: pallet_whitelist::{Pallet, Call, Storage, Event} = 39, + ConvictionVoting: pallet_conviction_voting = 36, + Referenda: pallet_referenda = 37, + Origins: pallet_custom_origins = 38, + Whitelist: pallet_whitelist = 39, // HydraDX related modules AssetRegistry: pallet_asset_registry = 51, @@ -891,6 +891,9 @@ mod benches { [cumulus_pallet_parachain_system, ParachainSystem] [pallet_collator_selection, CollatorSelection] [pallet_xcm, PalletXcmExtrinsiscsBenchmark::] + [pallet_conviction_voting, ConvictionVoting] + [pallet_referenda, Referenda] + [pallet_whitelist, Whitelist] ); } diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 40fbaf361..e6e98649a 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -54,7 +54,10 @@ impl Contains for CallFilter { fn contains(call: &RuntimeCall) -> bool { if matches!( call, - RuntimeCall::System(_) | RuntimeCall::Timestamp(_) | RuntimeCall::ParachainSystem(_) + RuntimeCall::System(_) + | RuntimeCall::Timestamp(_) + | RuntimeCall::ParachainSystem(_) + | RuntimeCall::Referenda(_) ) { // always allow // Note: this is done to avoid unnecessary check of paused storage. From 3dcb70dd928a85f01a7b5e5dd369ca58d0f5c169 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 1 Jul 2024 13:54:59 +0200 Subject: [PATCH 21/70] versions --- Cargo.lock | 2 +- integration-tests/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4373c8e3b..a80847637 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11980,7 +11980,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.22.5" +version = "1.23.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 8efa6b16c..066a9a941 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.22.5" +version = "1.23.0" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b4df4e308..4ef834c6b 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "245.0.0" +version = "246.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index dbc310d85..632bf480c 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -114,7 +114,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 245, + spec_version: 246, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 27bb10c695bc6fccb3b8fb1d052b5d612d569966 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 1 Jul 2024 14:04:34 +0200 Subject: [PATCH 22/70] remove irrelevant tests --- Cargo.lock | 2 +- integration-tests/src/asset_registry.rs | 82 ------------------------- 2 files changed, 1 insertion(+), 83 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a80847637..4640c1032 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "245.0.0" +version = "246.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/src/asset_registry.rs b/integration-tests/src/asset_registry.rs index 499d5cf03..e06ffd2e5 100644 --- a/integration-tests/src/asset_registry.rs +++ b/integration-tests/src/asset_registry.rs @@ -38,88 +38,6 @@ fn root_should_update_decimals_when_it_was_already_set() { }); } -#[test] -fn tech_comm_should_not_update_decimals_when_it_was_aleady_set() { - TestNet::reset(); - Hydra::execute_with(|| { - let tech_comm = pallet_collective::RawOrigin::::Members(1, 1); - let new_decimals = 53_u8; - - assert_ne!(Registry::assets(HDX).unwrap().decimals.unwrap(), new_decimals); - - assert_noop!( - Registry::update( - tech_comm.into(), - HDX, - None, - None, - None, - None, - None, - None, - Some(new_decimals), - None - ), - pallet_asset_registry::Error::::Forbidden - ); - }); -} - -#[test] -fn tech_comm_should_update_decimals_when_it_wasnt_set_yet() { - TestNet::reset(); - Hydra::execute_with(|| { - let tech_comm = pallet_collective::RawOrigin::::Members(1, 1); - let new_decimals = 12_u8; - - assert!(Registry::assets(LRNA).unwrap().decimals.is_none()); - - assert_ok!(Registry::update( - tech_comm.into(), - LRNA, - None, - None, - None, - None, - None, - None, - Some(new_decimals), - None - )); - - assert_eq!(Registry::assets(LRNA).unwrap().decimals.unwrap(), new_decimals); - }); -} - -#[test] -fn tech_comm_should_not_update_location_when_asset_exists() { - TestNet::reset(); - Hydra::execute_with(|| { - let tech_comm = pallet_collective::RawOrigin::::Members(1, 1); - - assert!(Registry::locations(LRNA).is_none()); - - assert_noop!( - Registry::update( - tech_comm.into(), - LRNA, - None, - None, - None, - None, - None, - None, - None, - Some(hydradx_runtime::AssetLocation(MultiLocation::new( - 1, - X2(Parachain(MOONBEAM_PARA_ID), GeneralIndex(0)) - ))), - ), - pallet_asset_registry::Error::::Forbidden - ); - }); -} - #[test] fn root_should_update_location_when_asset_exists() { TestNet::reset(); From a5a73588d08f6ae821bfc591d90a5641077d589e Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 1 Jul 2024 14:19:56 +0200 Subject: [PATCH 23/70] fix integration tests --- integration-tests/src/asset_registry.rs | 4 ++-- integration-tests/src/insufficient_assets_ed.rs | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/integration-tests/src/asset_registry.rs b/integration-tests/src/asset_registry.rs index e06ffd2e5..d01d0a1fc 100644 --- a/integration-tests/src/asset_registry.rs +++ b/integration-tests/src/asset_registry.rs @@ -2,9 +2,9 @@ use crate::asset_registry::Junction::GeneralIndex; use crate::polkadot_test_net::*; -use frame_support::{assert_noop, assert_ok}; +use frame_support::assert_ok; use frame_system::RawOrigin; -use hydradx_runtime::{AssetRegistry as Registry, TechnicalCollective}; +use hydradx_runtime::AssetRegistry as Registry; use polkadot_xcm::v3::{ Junction::{self, Parachain}, Junctions::X2, diff --git a/integration-tests/src/insufficient_assets_ed.rs b/integration-tests/src/insufficient_assets_ed.rs index cb941c86d..78eaf5319 100644 --- a/integration-tests/src/insufficient_assets_ed.rs +++ b/integration-tests/src/insufficient_assets_ed.rs @@ -7,8 +7,8 @@ use frame_support::{assert_noop, assert_ok, traits::Contains}; use frame_system::RawOrigin; use hydradx_runtime::RuntimeOrigin as hydra_origin; use hydradx_runtime::{ - AssetRegistry as Registry, Currencies, DustRemovalWhitelist, InsufficientEDinHDX, MultiTransactionPayment, - NativeExistentialDeposit, RuntimeEvent, TechnicalCollective, Tokens, TreasuryAccount, SUFFICIENCY_LOCK, + origins::Origin, AssetRegistry as Registry, Currencies, DustRemovalWhitelist, InsufficientEDinHDX, + MultiTransactionPayment, NativeExistentialDeposit, RuntimeEvent, Tokens, TreasuryAccount, SUFFICIENCY_LOCK, }; use hydradx_traits::NativePriceOracle; use orml_traits::MultiCurrency; @@ -1343,7 +1343,7 @@ fn tx_should_fail_with_unsupported_currency_error_when_fee_asset_price_was_not_p fn banned_asset_should_not_create_new_account() { TestNet::reset(); Hydra::execute_with(|| { - let tech_comm = pallet_collective::RawOrigin::::Members(1, 1); + let update_origin = hydradx_runtime::OriginCaller::Origins(Origin::GeneralAdmin); //Arrange let sht1: AssetId = register_external_asset(0_u128); assert_ok!(Tokens::set_balance( @@ -1354,7 +1354,7 @@ fn banned_asset_should_not_create_new_account() { 0, )); - assert_ok!(Registry::ban_asset(tech_comm.into(), sht1)); + assert_ok!(Registry::ban_asset(update_origin.into(), sht1)); assert_eq!(Currencies::free_balance(sht1, &ALICE.into()), 0); assert_eq!(treasury_sufficiency_lock(), 0); @@ -1371,7 +1371,7 @@ fn banned_asset_should_not_create_new_account() { fn banned_asset_should_not_be_transferable_to_existing_account() { TestNet::reset(); Hydra::execute_with(|| { - let tech_comm = pallet_collective::RawOrigin::::Members(1, 1); + let update_origin = hydradx_runtime::OriginCaller::Origins(Origin::GeneralAdmin); //Arrange let sht1: AssetId = register_external_asset(0_u128); assert_ok!(Tokens::set_balance( @@ -1390,7 +1390,7 @@ fn banned_asset_should_not_be_transferable_to_existing_account() { 0, )); - assert_ok!(Registry::ban_asset(tech_comm.into(), sht1)); + assert_ok!(Registry::ban_asset(update_origin.into(), sht1)); //Act & assert assert_noop!( From 8043a941c5cfea95027c8179dc2f5aae6511f9dd Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 1 Jul 2024 15:13:45 +0200 Subject: [PATCH 24/70] fix bench --- runtime/hydradx/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 632bf480c..d5957a344 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -729,10 +729,6 @@ impl_runtime_apis! { list_benchmarks!(list, extra); - list_benchmarks!(list, extra, pallet_conviction_voting, ConvictionVoting); - list_benchmarks!(list, extra, pallet_referenda, Referenda); - list_benchmarks!(list, extra, pallet_whitelist, Whitelist); - orml_list_benchmark!(list, extra, pallet_currencies, benchmarking::currencies); orml_list_benchmark!(list, extra, orml_tokens, benchmarking::tokens); orml_list_benchmark!(list, extra, orml_vesting, benchmarking::vesting); @@ -818,10 +814,6 @@ impl_runtime_apis! { add_benchmarks!(params, batches); - add_benchmarks!(params, batches, pallet_conviction_voting, ConvictionVoting); - add_benchmarks!(params, batches, pallet_referenda, Referenda); - add_benchmarks!(params, batches, pallet_whitelist, Whitelist); - orml_add_benchmark!(params, batches, pallet_currencies, benchmarking::currencies); orml_add_benchmark!(params, batches, orml_tokens, benchmarking::tokens); orml_add_benchmark!(params, batches, orml_vesting, benchmarking::vesting); From e6e1e8e18024c048e829ad7b639174e666d19e65 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 3 Jul 2024 15:14:21 +0200 Subject: [PATCH 25/70] fix staking reward amount in integration test --- integration-tests/src/staking.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/integration-tests/src/staking.rs b/integration-tests/src/staking.rs index ec3b19550..55c661b81 100644 --- a/integration-tests/src/staking.rs +++ b/integration-tests/src/staking.rs @@ -24,7 +24,10 @@ type CallOf = ::RuntimeCall; type BoundedCallOf = Bounded, ::Hashing>; type Schedule = VestingSchedule; -const ROOT_TRACK: >::Id = 0; +const ROOT_TRACK: >::Id = 0; fn vesting_schedule() -> Schedule { Schedule { @@ -585,7 +588,7 @@ fn staking_should_claim_and_unreserve_rewards_when_unstaked() { )); let alice_balance_after_claim = Currencies::free_balance(HDX, &AccountId32::from(ALICE)); assert!(alice_balance_after_claim > alice_balance); - assert_eq!(alice_balance_after_claim, 1000000001920799631); + assert_eq!(alice_balance_after_claim, 999900127998361620); let stake_position_id = pallet_staking::Pallet::::get_user_position_id( &sp_runtime::AccountId32::from(ALICE), @@ -2316,7 +2319,6 @@ fn claim_should_work_when_processed_votes_are_removed() { end_referendum(); - // Votes are processed assert_ok!(Staking::increase_stake( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), From 3297e0a8897e982ec00c8d82a05227a4ea958ad9 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 08:59:32 +0200 Subject: [PATCH 26/70] clippy fix --- pallets/conviction-voting/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index e1009e716..6c1c3e187 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -26,6 +26,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] +#![allow(clippy::mem_replace_with_default)] use crate::traits::VotingHooks; use frame_support::{ From 9d53fd8b965d4a1aad66717a8bdb69f2c51322c1 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 09:41:00 +0200 Subject: [PATCH 27/70] staking migration; conviction-voting benchmark update --- Cargo.lock | 14 ++-- integration-tests/Cargo.toml | 2 +- pallets/conviction-voting/src/benchmarking.rs | 8 ++ pallets/staking/Cargo.toml | 2 +- pallets/staking/src/lib.rs | 3 +- pallets/staking/src/migration.rs | 76 +++++++++++++++++++ runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 3 +- 8 files changed, 98 insertions(+), 12 deletions(-) create mode 100644 pallets/staking/src/migration.rs diff --git a/Cargo.lock b/Cargo.lock index c4a79e250..6d8379afe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4917,7 +4917,7 @@ dependencies = [ "pallet-referrals", "pallet-route-executor", "pallet-stableswap", - "pallet-staking 3.1.1", + "pallet-staking 4.0.0", "pallet-transaction-multi-payment", "pallet-uniques", "pallet-xyk", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "245.0.0" +version = "247.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -5025,7 +5025,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 3.1.1", + "pallet-staking 4.0.0", "pallet-state-trie-migration", "pallet-timestamp", "pallet-tips", @@ -9094,7 +9094,7 @@ dependencies = [ [[package]] name = "pallet-staking" -version = "3.1.1" +version = "4.0.0" dependencies = [ "frame-benchmarking", "frame-support", @@ -12001,7 +12001,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.22.5" +version = "1.23.1" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -12067,7 +12067,7 @@ dependencies = [ "pallet-scheduler", "pallet-session", "pallet-stableswap", - "pallet-staking 3.1.1", + "pallet-staking 4.0.0", "pallet-timestamp", "pallet-tips", "pallet-transaction-multi-payment", @@ -12129,7 +12129,7 @@ dependencies = [ "pallet-asset-registry", "pallet-omnipool", "pallet-stableswap", - "pallet-staking 3.1.1", + "pallet-staking 4.0.0", "primitives", "scraper", "serde", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 486be4c45..26c98b1e0 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.22.5" +version = "1.23.1" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index e94c79d27..23e804f61 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -75,6 +75,8 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let account_vote = account_vote::(100u32.into()); + T::DemocracyHooks::on_vote_worst_case(&caller); + let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; let r = polls.len() - 1; @@ -102,6 +104,8 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); + T::DemocracyHooks::on_vote_worst_case(&caller); + let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; let r = polls.len(); @@ -130,6 +134,8 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); + T::DemocracyHooks::on_remove_vote_worst_case(&caller); + let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; let r = polls.len(); @@ -159,6 +165,8 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); + T::DemocracyHooks::on_remove_vote_worst_case(&caller); + let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; let r = polls.len(); diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 7f1712e7e..646fb4a8a 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-staking" -version = "3.1.1" +version = "4.0.0" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/staking/src/lib.rs b/pallets/staking/src/lib.rs index 32384fe4c..cc9840629 100644 --- a/pallets/staking/src/lib.rs +++ b/pallets/staking/src/lib.rs @@ -45,6 +45,7 @@ mod tests; mod benchmarks; pub mod integrations; +pub mod migration; pub mod traits; pub mod types; pub mod weights; @@ -68,7 +69,7 @@ pub mod pallet { use sp_runtime::traits::AtLeast32BitUnsigned; /// Current storage version. - const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs new file mode 100644 index 000000000..93f63ca23 --- /dev/null +++ b/pallets/staking/src/migration.rs @@ -0,0 +1,76 @@ +use frame_support::migrations::VersionedMigration; +use frame_support::{traits::Get, weights::Weight}; + +use crate::*; + +pub mod versioned { + use super::*; + + pub type V1ToV2 = VersionedMigration< + 1, + 2, + v2::VersionUncheckedMigrateV1ToV2, + crate::pallet::Pallet, + ::DbWeight, + >; +} + +// This migration clear existing staking votes. +// It is necessary to clear the votes because staking supports opengov from v2.0.0. +pub mod v2 { + use super::*; + use frame_support::traits::OnRuntimeUpgrade; + + const TARGET: &str = "runtime::staking::migration::v2"; + + pub struct VersionUncheckedMigrateV1ToV2(PhantomData); + + impl OnRuntimeUpgrade for VersionUncheckedMigrateV1ToV2 { + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, TryRuntimeError> { + let existing_votes = PositionVotes::::iter().count(); + let processed_votes = ProcessedVotes::::iter().count(); + log::info!( + target: TARGET, + "pre-upgrade state contains '{}' existing votes and '{} processed votes.", + existing_votes, + processed_votes + + ); + Ok(Vec::new()) + } + + fn on_runtime_upgrade() -> Weight { + log::info!( + target: TARGET, + "running storage migration from version 1 to version 2." + ); + + let weight = T::DbWeight::get().reads_writes(1, 1); + let ev = PositionVotes::::clear(u32::MAX, None); + assert!(ev.maybe_cursor.is_none(), "PositionVotes storage is not empty"); + + let pv = ProcessedVotes::::clear(u32::MAX, None); + assert!(pv.maybe_cursor.is_none(), "ProcessedVotes storage is not empty"); + + // Clear the storage + weight + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade(state: Vec) -> Result<(), TryRuntimeError> { + // TODO: check if the votes storage is empty + assert_eq!( + PositionVotes::::iter().count(), + 0, + "PositionVotes storage is not empty" + ); + assert_eq!( + ProcessedVotes::::iter().count(), + 0, + "ProcessedVotes storage is not empty" + ); + Ok(()) + } + } +} diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index b4df4e308..7cfeb638c 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "245.0.0" +version = "247.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 1e4800bdd..c2d602b6b 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -114,7 +114,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 245, + spec_version: 247, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -281,6 +281,7 @@ pub type Executive = frame_executive::Executive< frame_support::migrations::RemovePallet::DbWeight>, cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4, pallet_identity::migration::versioned::V0ToV1, // We have currently 379 identities in basllisk, so limit of 450 should be enough + pallet_staking::migration::versioned::V1ToV2, // Clears staking votes ), >; From 49d1aaa5e6a47f5e3e96b8328261f2d8edfff1c7 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 09:56:51 +0200 Subject: [PATCH 28/70] fix integration tests --- Cargo.lock | 1 + integration-tests/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 21e446f71..6d8379afe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -12041,6 +12041,7 @@ dependencies = [ "pallet-circuit-breaker", "pallet-collator-selection", "pallet-collective", + "pallet-conviction-voting 28.0.0", "pallet-currencies", "pallet-dca", "pallet-democracy 4.2.1", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index c9714b2e1..ab43825b2 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -49,6 +49,7 @@ pallet-tips = { workspace = true } pallet-xyk-liquidity-mining = { workspace = true } pallet-transaction-pause = { workspace = true } pallet-referenda = { workspace = true } +pallet-conviction-voting= { workspace = true } # collator support pallet-collator-selection = { workspace = true } From 0e220dbd2e64196294c44a36d2523cfcd8819edd Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 12:00:08 +0200 Subject: [PATCH 29/70] fix integration tests --- pallets/conviction-voting/src/benchmarking.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 23e804f61..42ab7954b 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -75,7 +75,7 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let account_vote = account_vote::(100u32.into()); - T::DemocracyHooks::on_vote_worst_case(&caller); + T::VotingHooks::on_vote_worst_case(&caller); let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; @@ -104,7 +104,7 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); - T::DemocracyHooks::on_vote_worst_case(&caller); + T::VotingHooks::on_vote_worst_case(&caller); let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; @@ -134,7 +134,7 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); - T::DemocracyHooks::on_remove_vote_worst_case(&caller); + T::VotingHooks::on_remove_vote_worst_case(&caller); let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; @@ -165,7 +165,7 @@ benchmarks_instance_pallet! { whitelist_account!(caller); let old_account_vote = account_vote::(100u32.into()); - T::DemocracyHooks::on_remove_vote_worst_case(&caller); + T::VotingHooks::on_remove_vote_worst_case(&caller); let (class, all_polls) = fill_voting::(); let polls = &all_polls[&class]; From 8711d26fd2e254a07426ba8a7967ee71a987e7cb Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 12:20:32 +0200 Subject: [PATCH 30/70] clippy fix --- pallets/conviction-voting/src/benchmarking.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 42ab7954b..bef64dff0 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -16,7 +16,8 @@ // limitations under the License. //! ConvictionVoting pallet benchmarking. - +#[allow(clippy::unnecessary_cast)] +#[allow(clippy::len_zero)] use super::*; use assert_matches::assert_matches; From 7309fc2823600f5e4b1e93de9241e68c445c0bc1 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 4 Jul 2024 12:46:55 +0200 Subject: [PATCH 31/70] clippy fix --- pallets/conviction-voting/src/benchmarking.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index bef64dff0..50b09e2ea 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -16,8 +16,8 @@ // limitations under the License. //! ConvictionVoting pallet benchmarking. -#[allow(clippy::unnecessary_cast)] -#[allow(clippy::len_zero)] +#![allow(clippy::unnecessary_cast)] +#![allow(clippy::len_zero)] use super::*; use assert_matches::assert_matches; From 8d0cb1418ea4f800572199f5018acad2f5ba3204 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sat, 6 Jul 2024 12:53:19 +0200 Subject: [PATCH 32/70] Modify certain origins --- Cargo.lock | 6 +++--- pallets/omnipool/Cargo.toml | 2 +- pallets/omnipool/src/lib.rs | 10 +++++----- pallets/stableswap/Cargo.toml | 2 +- pallets/stableswap/src/lib.rs | 5 ++++- pallets/transaction-pause/Cargo.toml | 2 +- pallets/transaction-pause/src/lib.rs | 8 ++++---- runtime/hydradx/src/assets.rs | 9 +++++---- runtime/hydradx/src/governance/mod.rs | 1 + runtime/hydradx/src/system.rs | 2 +- runtime/hydradx/src/xcm.rs | 9 +++++---- 11 files changed, 31 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4640c1032..e92360467 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8706,7 +8706,7 @@ dependencies = [ [[package]] name = "pallet-omnipool" -version = "4.3.2" +version = "4.4.0" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9050,7 +9050,7 @@ dependencies = [ [[package]] name = "pallet-stableswap" -version = "3.6.4" +version = "3.7.0" dependencies = [ "bitflags 1.3.2", "frame-benchmarking", @@ -9251,7 +9251,7 @@ dependencies = [ [[package]] name = "pallet-transaction-pause" -version = "1.0.3" +version = "1.1.0" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/omnipool/Cargo.toml b/pallets/omnipool/Cargo.toml index ec37db74f..6c41f1a98 100644 --- a/pallets/omnipool/Cargo.toml +++ b/pallets/omnipool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool" -version = "4.3.2" +version = "4.4.0" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/src/lib.rs b/pallets/omnipool/src/lib.rs index 245e458dc..c8ae3c2fe 100644 --- a/pallets/omnipool/src/lib.rs +++ b/pallets/omnipool/src/lib.rs @@ -156,11 +156,11 @@ pub mod pallet { /// Multi currency mechanism type Currency: MultiCurrency; - /// Origin that can add token, refund refused asset and withdraw protocol liquidity. + /// Origin that can add token, refund refused asset, withdraw protocol liquidity and set the weight of assets. type AuthorityOrigin: EnsureOrigin; - /// Origin that can change asset's tradability and weight. - type TechnicalOrigin: EnsureOrigin; + /// Security origin that can set asset's tradability. + type SecurityOrigin: EnsureOrigin; /// Asset Registry mechanism - used to check if asset is correctly registered in asset registry type AssetRegistry: RegistryInspect; @@ -1432,7 +1432,7 @@ pub mod pallet { asset_id: T::AssetId, state: Tradability, ) -> DispatchResult { - T::TechnicalOrigin::ensure_origin(origin)?; + T::SecurityOrigin::ensure_origin(origin)?; if asset_id == T::HubAssetId::get() { // Atm omnipool does not allow adding/removing liquidity of hub asset. @@ -1513,7 +1513,7 @@ pub mod pallet { #[pallet::weight(::WeightInfo::set_asset_weight_cap())] #[transactional] pub fn set_asset_weight_cap(origin: OriginFor, asset_id: T::AssetId, cap: Permill) -> DispatchResult { - T::TechnicalOrigin::ensure_origin(origin)?; + T::AuthorityOrigin::ensure_origin(origin)?; Assets::::try_mutate(asset_id, |maybe_asset| -> DispatchResult { let asset_state = maybe_asset.as_mut().ok_or(Error::::AssetNotFound)?; diff --git a/pallets/stableswap/Cargo.toml b/pallets/stableswap/Cargo.toml index 462c072f5..d9c597cff 100644 --- a/pallets/stableswap/Cargo.toml +++ b/pallets/stableswap/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-stableswap' -version = '3.6.4' +version = '3.7.0' description = 'AMM for correlated assets' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index 13cf9caeb..f6f28b59c 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -140,6 +140,9 @@ pub mod pallet { /// The origin which can create a new pool type AuthorityOrigin: EnsureOrigin; + /// Security origin which can set the asset tradable state + type SecurityOrigin: EnsureOrigin; + /// Account whitelist manager to exclude pool accounts from dusting mechanism. type DustAccountHandler: DustRemovalAccountWhitelist; @@ -861,7 +864,7 @@ pub mod pallet { asset_id: T::AssetId, state: Tradability, ) -> DispatchResult { - T::AuthorityOrigin::ensure_origin(origin)?; + T::SecurityOrigin::ensure_origin(origin)?; let pool = Pools::::get(pool_id).ok_or(Error::::PoolNotFound)?; let _ = pool.find_asset(asset_id).ok_or(Error::::AssetNotInPool)?; diff --git a/pallets/transaction-pause/Cargo.toml b/pallets/transaction-pause/Cargo.toml index 1c5e05d5c..20d4682d0 100644 --- a/pallets/transaction-pause/Cargo.toml +++ b/pallets/transaction-pause/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-transaction-pause" -version = "1.0.3" +version = "1.1.0" authors = ["Acala Developers", "GalacticCouncil"] edition = "2021" diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 03b14881c..8ec9a2e68 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -56,8 +56,8 @@ pub mod pallet { pub trait Config: frame_system::Config { type RuntimeEvent: From> + IsType<::RuntimeEvent>; - /// The origin which may set filter. - type UpdateOrigin: EnsureOrigin; + /// The origin which may set the transaction pause filter. + type SecurityOrigin: EnsureOrigin; /// Weight information for the extrinsics in this module. type WeightInfo: WeightInfo; @@ -103,7 +103,7 @@ pub mod pallet { #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::pause_transaction())] pub fn pause_transaction(origin: OriginFor, pallet_name: Vec, function_name: Vec) -> DispatchResult { - T::UpdateOrigin::ensure_origin(origin)?; + T::SecurityOrigin::ensure_origin(origin)?; let pallet_name_b = BoundedName::try_from(pallet_name.clone()).map_err(|_| Error::::NameTooLong)?; let function_name_b = BoundedName::try_from(function_name.clone()).map_err(|_| Error::::NameTooLong)?; @@ -134,7 +134,7 @@ pub mod pallet { pallet_name: Vec, function_name: Vec, ) -> DispatchResult { - T::UpdateOrigin::ensure_origin(origin)?; + T::SecurityOrigin::ensure_origin(origin)?; let pallet_name_b = BoundedName::try_from(pallet_name.clone()).map_err(|_| Error::::NameTooLong)?; let function_name_b = BoundedName::try_from(function_name.clone()).map_err(|_| Error::::NameTooLong)?; diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index b944023ff..5dd6f4a8e 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -454,7 +454,7 @@ impl pallet_omnipool::Config for Runtime { type AssetId = AssetId; type Currency = Currencies; type AuthorityOrigin = EitherOf, OmnipoolAdmin>; - type TechnicalOrigin = EitherOf, TechCommitteeMajority>; + type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; type AssetRegistry = AssetRegistry; type HdxAssetId = NativeAssetId; type HubAssetId = LRNA; @@ -506,7 +506,7 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - type TechnicalOrigin = EitherOf, GeneralAdmin>; + type TechnicalOrigin = EitherOf, OmnipoolAdmin>; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; @@ -761,7 +761,7 @@ impl Contains for RetryOnErrorForDca { impl pallet_dca::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; - type TechnicalOrigin = EitherOf, TechCommitteeMajority>; + type TechnicalOrigin = EitherOf, GeneralAdmin>; type Currencies = Currencies; type RelayChainBlockHashProvider = RelayChainBlockHashProviderAdapter; type RandomnessProvider = DCA; @@ -1279,7 +1279,8 @@ impl pallet_stableswap::Config for Runtime { type Currency = Currencies; type ShareAccountId = StableswapAccountIdConstructor; type AssetInspection = AssetRegistry; - type AuthorityOrigin = EitherOf, GeneralAdmin>; + type AuthorityOrigin = EitherOf, OmnipoolAdmin>; + type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; type DustAccountHandler = Duster; type Hooks = StableswapHooksAdapter; type MinPoolLiquidity = MinPoolLiquidity; diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index e9392f038..84eb9d4ac 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -50,6 +50,7 @@ use sp_core::ConstU32; use sp_runtime::traits::IdentityLookup; pub type TechCommitteeMajority = EnsureProportionAtLeast; +pub type TechCommitteeSuperMajority = EnsureProportionAtLeast; parameter_types! { pub const TechnicalMaxProposals: u32 = 20; diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index e6e98649a..7c46b12d6 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -610,7 +610,7 @@ impl pallet_collator_rewards::Config for Runtime { impl pallet_transaction_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type UpdateOrigin = EitherOf, TechCommitteeMajority>; + type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; type WeightInfo = weights::pallet_transaction_pause::HydraWeight; } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index 56401b798..cdb6960b0 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -1,5 +1,6 @@ use super::*; +use crate::origins::GeneralAdmin; use sp_std::marker::PhantomData; use codec::MaxEncodedLen; @@ -11,7 +12,7 @@ use cumulus_primitives_core::{AggregateMessageOrigin, ParaId}; use frame_support::{ parameter_types, sp_runtime::traits::{AccountIdConversion, Convert}, - traits::{ConstU32, Contains, ContainsPair, Everything, Get, Nothing, TransformOrigin}, + traits::{ConstU32, Contains, ContainsPair, EitherOf, Everything, Get, Nothing, TransformOrigin}, PalletId, }; use frame_system::EnsureRoot; @@ -205,7 +206,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ControllerOrigin = EnsureRoot; + type ControllerOrigin = EitherOf, GeneralAdmin>; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::cumulus_pallet_xcmp_queue::HydraWeight; @@ -250,7 +251,7 @@ impl orml_unknown_tokens::Config for Runtime { impl orml_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SovereignOrigin = EnsureRoot; + type SovereignOrigin = EitherOf, GeneralAdmin>; } impl pallet_xcm::Config for Runtime { @@ -274,7 +275,7 @@ impl pallet_xcm::Config for Runtime { type SovereignAccountOf = (); type MaxLockers = ConstU32<8>; type WeightInfo = weights::pallet_xcm::HydraWeight; - type AdminOrigin = EnsureRoot; + type AdminOrigin = EitherOf, GeneralAdmin>; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); } From 8dbb268f03bea563c9b016e6f8a0c1865e078aa3 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 7 Jul 2024 21:12:18 +0200 Subject: [PATCH 33/70] fix tests --- pallets/circuit-breaker/src/tests/mock.rs | 2 +- pallets/dca/src/tests/mock.rs | 2 +- pallets/omnipool-liquidity-mining/src/tests/mock.rs | 2 +- pallets/otc-settlements/src/mock.rs | 2 +- pallets/xcm-rate-limiter/src/tests/mock.rs | 2 +- runtime/adapters/src/tests/mock.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index a28a2ac92..b61fdacbd 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -215,7 +215,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index 36b8f0230..3bb8b0de8 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -253,7 +253,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/omnipool-liquidity-mining/src/tests/mock.rs b/pallets/omnipool-liquidity-mining/src/tests/mock.rs index a04e8cfd1..716bf96fe 100644 --- a/pallets/omnipool-liquidity-mining/src/tests/mock.rs +++ b/pallets/omnipool-liquidity-mining/src/tests/mock.rs @@ -290,7 +290,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u128; diff --git a/pallets/otc-settlements/src/mock.rs b/pallets/otc-settlements/src/mock.rs index d319a25fe..5f2211d08 100644 --- a/pallets/otc-settlements/src/mock.rs +++ b/pallets/otc-settlements/src/mock.rs @@ -305,7 +305,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = AssetRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/xcm-rate-limiter/src/tests/mock.rs b/pallets/xcm-rate-limiter/src/tests/mock.rs index 8ba04257c..2f5a5bb10 100644 --- a/pallets/xcm-rate-limiter/src/tests/mock.rs +++ b/pallets/xcm-rate-limiter/src/tests/mock.rs @@ -245,7 +245,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/runtime/adapters/src/tests/mock.rs b/runtime/adapters/src/tests/mock.rs index c244d849d..a3b4c8b29 100644 --- a/runtime/adapters/src/tests/mock.rs +++ b/runtime/adapters/src/tests/mock.rs @@ -199,7 +199,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; From ed70664a7d568ebb1702bc8354c11fb88b5cba0d Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 7 Jul 2024 21:23:17 +0200 Subject: [PATCH 34/70] tests and versions --- Cargo.lock | 12 ++++++------ pallets/circuit-breaker/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/omnipool/src/tests/mock.rs | 2 +- pallets/otc-settlements/Cargo.toml | 2 +- pallets/otc/Cargo.toml | 2 +- runtime/adapters/Cargo.toml | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e92360467..4873e0cdf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "1.3.4" +version = "1.3.5" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7808,7 +7808,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.25" +version = "1.1.26" dependencies = [ "frame-benchmarking", "frame-support", @@ -7952,7 +7952,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.4.9" +version = "1.4.10" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8733,7 +8733,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.1.8" +version = "2.1.9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8760,7 +8760,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "1.1.5" +version = "1.1.6" dependencies = [ "frame-benchmarking", "frame-support", @@ -8782,7 +8782,7 @@ dependencies = [ [[package]] name = "pallet-otc-settlements" -version = "1.0.0" +version = "1.0.1" dependencies = [ "frame-benchmarking", "frame-support", diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 5ea64546b..1af12bea0 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.25" +version = "1.1.26" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 4d3427ce4..9cd629442 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.4.9" +version = "1.4.10" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index 67ea84795..29efd1bdf 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.1.8" +version = "2.1.9" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/omnipool/src/tests/mock.rs b/pallets/omnipool/src/tests/mock.rs index 6d7dfe5a8..5e0c4b003 100644 --- a/pallets/omnipool/src/tests/mock.rs +++ b/pallets/omnipool/src/tests/mock.rs @@ -189,7 +189,7 @@ impl Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type TechnicalOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/otc-settlements/Cargo.toml b/pallets/otc-settlements/Cargo.toml index 50280f9d9..eabeedcfd 100644 --- a/pallets/otc-settlements/Cargo.toml +++ b/pallets/otc-settlements/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc-settlements' -version = '1.0.0' +version = '1.0.1' description = 'A pallet with offchain worker closing OTC arbs' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index 6bf56e1e0..994552520 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '1.1.5' +version = '1.1.6' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 05baabe02..d6ca4836a 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "1.3.4" +version = "1.3.5" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" From 28cd88a7d32b9b0f5c6c96ed781e6947d8599ddc Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 7 Jul 2024 21:33:14 +0200 Subject: [PATCH 35/70] fix moar tests --- pallets/stableswap/src/tests/mock.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/stableswap/src/tests/mock.rs b/pallets/stableswap/src/tests/mock.rs index 079938ce3..b5190cf4e 100644 --- a/pallets/stableswap/src/tests/mock.rs +++ b/pallets/stableswap/src/tests/mock.rs @@ -174,6 +174,7 @@ impl Config for Test { type ShareAccountId = AccountIdConstructor; type AssetInspection = DummyRegistry; type AuthorityOrigin = EnsureRoot; + type SecurityOrigin = EnsureRoot; type MinPoolLiquidity = MinimumLiquidity; type AmplificationRange = AmplificationRange; type MinTradingLimit = MinimumTradingLimit; From b8d2d03a854be419e14664afa6b1329a0e7f296b Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 7 Jul 2024 21:43:37 +0200 Subject: [PATCH 36/70] tests --- pallets/transaction-pause/src/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index 2178e4772..f7d62e86a 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -115,7 +115,7 @@ ord_parameter_types! { impl Config for Runtime { type RuntimeEvent = RuntimeEvent; - type UpdateOrigin = EnsureSignedBy; + type SecurityOrigin = EnsureSignedBy; type WeightInfo = (); } From 242da6778bdbd1f4ef2488eb7bb09911685f6f16 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Sun, 7 Jul 2024 22:12:42 +0200 Subject: [PATCH 37/70] clippy --- pallets/transaction-pause/src/benchmarking.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/transaction-pause/src/benchmarking.rs b/pallets/transaction-pause/src/benchmarking.rs index 585b7966d..c4a97085c 100644 --- a/pallets/transaction-pause/src/benchmarking.rs +++ b/pallets/transaction-pause/src/benchmarking.rs @@ -26,15 +26,15 @@ use frame_support::assert_ok; benchmarks! { pause_transaction { - let origin = T::UpdateOrigin::try_successful_origin().unwrap(); + let origin = T::SecurityOrigin::try_successful_origin().unwrap(); }: { assert_ok!(crate::Pallet::::pause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())); } unpause_transaction { - let origin = T::UpdateOrigin::try_successful_origin().unwrap(); + let origin = T::SecurityOrigin::try_successful_origin().unwrap(); crate::Pallet::::pause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())?; - let origin = T::UpdateOrigin::try_successful_origin().unwrap(); + let origin = T::SecurityOrigin::try_successful_origin().unwrap(); }:{ assert_ok!(crate::Pallet::::unpause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())); } From ceb70c5a24e1b0032a3f25a677f194220f882e4f Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 8 Jul 2024 09:38:42 +0200 Subject: [PATCH 38/70] conviction voting clippy --- pallets/conviction-voting/src/benchmarking.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 50b09e2ea..75d0cd8d3 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -18,6 +18,7 @@ //! ConvictionVoting pallet benchmarking. #![allow(clippy::unnecessary_cast)] #![allow(clippy::len_zero)] +#![allow(clippy::type_complexity)] use super::*; use assert_matches::assert_matches; From 1bab689ff6d99a4abd2020672e4b17b8e6321a64 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 8 Jul 2024 09:49:01 +0200 Subject: [PATCH 39/70] review comments --- pallets/conviction-voting/src/lib.rs | 4 ++-- pallets/conviction-voting/src/traits.rs | 6 ++++-- pallets/staking/src/integrations/conviction_voting.rs | 2 +- pallets/staking/src/migration.rs | 11 +++++++---- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 6c1c3e187..64f58f36e 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -477,8 +477,8 @@ impl, I: 'static> Pallet { prior.accumulate(unlock_at, balance) } } else { - // Unsuccessful vote, use special hooks to possible lock the funds too in case of conviction. - if let Some(to_lock) = T::VotingHooks::remove_vote_locks_if_needed(who, poll_index) { + // Unsuccessful vote, use special hooks to lock the funds too in case of conviction. + if let Some(to_lock) = T::VotingHooks::get_amount_to_lock_for_remove_vote(who, poll_index) { if let AccountVote::Standard { vote, .. } = v.1 { let unlock_at = end.saturating_add( T::VoteLockingPeriod::get() diff --git a/pallets/conviction-voting/src/traits.rs b/pallets/conviction-voting/src/traits.rs index d866cf490..56b2668a8 100644 --- a/pallets/conviction-voting/src/traits.rs +++ b/pallets/conviction-voting/src/traits.rs @@ -8,7 +8,9 @@ pub trait VotingHooks { // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(bool) if referendum is finished(true) or ongoing(false). fn on_remove_vote(who: &AccountId, ref_index: Index, is_finished: Option); - fn remove_vote_locks_if_needed(who: &AccountId, ref_index: Index) -> Option; + // Called when removed vote is executed and vote is in opposition. + // Returns the amount that should be locked for the conviction time. + fn get_amount_to_lock_for_remove_vote(who: &AccountId, ref_index: Index) -> Option; #[cfg(feature = "runtime-benchmarks")] fn on_vote_worst_case(_who: &AccountId); @@ -24,7 +26,7 @@ impl VotingHooks for () { fn on_remove_vote(_who: &A, _ref_index: I, _is_finished: Option) {} - fn remove_vote_locks_if_needed(_who: &A, _ref_index: I) -> Option { + fn get_amount_to_lock_for_remove_vote(_who: &A, _ref_index: I) -> Option { None } diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index 093172f9d..443ead680 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -128,7 +128,7 @@ where }); } - fn remove_vote_locks_if_needed(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { + fn get_amount_to_lock_for_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { let Some(position_id) = Pallet::::get_user_position_id(who).ok()? else { return None; }; diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs index 93f63ca23..d8264f4fa 100644 --- a/pallets/staking/src/migration.rs +++ b/pallets/staking/src/migration.rs @@ -46,14 +46,17 @@ pub mod v2 { "running storage migration from version 1 to version 2." ); - let weight = T::DbWeight::get().reads_writes(1, 1); - let ev = PositionVotes::::clear(u32::MAX, None); + let existing_votes = PositionVotes::::iter().count(); + let processed_votes = ProcessedVotes::::iter().count(); + + let mut weight = T::DbWeight::get().reads_writes(1, 1); + let ev = PositionVotes::::clear(existing_votes as u32, None); assert!(ev.maybe_cursor.is_none(), "PositionVotes storage is not empty"); - let pv = ProcessedVotes::::clear(u32::MAX, None); + let pv = ProcessedVotes::::clear(processed_votes as u32, None); assert!(pv.maybe_cursor.is_none(), "ProcessedVotes storage is not empty"); - // Clear the storage + weight.saturating_accrue(T::DbWeight::get().reads(existing_votes.saturating_add(processed_votes) as u64)); weight } From 61864998a3d1a21c2d8b83ec826ec0217ff1e775 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 8 Jul 2024 09:49:53 +0200 Subject: [PATCH 40/70] formatting --- pallets/conviction-voting/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 64f58f36e..eb06e1a8f 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -478,7 +478,9 @@ impl, I: 'static> Pallet { } } else { // Unsuccessful vote, use special hooks to lock the funds too in case of conviction. - if let Some(to_lock) = T::VotingHooks::get_amount_to_lock_for_remove_vote(who, poll_index) { + if let Some(to_lock) = + T::VotingHooks::get_amount_to_lock_for_remove_vote(who, poll_index) + { if let AccountVote::Standard { vote, .. } = v.1 { let unlock_at = end.saturating_add( T::VoteLockingPeriod::get() From e69897f76d2c335809d3ffe2285d06d9205e3339 Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 8 Jul 2024 11:26:39 +0200 Subject: [PATCH 41/70] clippy fix --- pallets/conviction-voting/src/tests.rs | 1 + pallets/staking/src/migration.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs index 545dee0c8..4a2ac1cb4 100644 --- a/pallets/conviction-voting/src/tests.rs +++ b/pallets/conviction-voting/src/tests.rs @@ -16,6 +16,7 @@ // limitations under the License. //! The crate's tests. +#![allow(clippy::manual_next_back)] use std::collections::BTreeMap; diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs index d8264f4fa..268e90134 100644 --- a/pallets/staking/src/migration.rs +++ b/pallets/staking/src/migration.rs @@ -20,6 +20,8 @@ pub mod versioned { pub mod v2 { use super::*; use frame_support::traits::OnRuntimeUpgrade; + #[cfg(feature = "try-runtime")] + use sp_runtime::TryRuntimeError; const TARGET: &str = "runtime::staking::migration::v2"; From b710f3ea5dac0e1aff914a60ee1beede184f488f Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 26 Jul 2024 16:05:42 +0200 Subject: [PATCH 42/70] fix hooks benchmakrs --- pallets/staking/src/integrations/conviction_voting.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index 443ead680..79643ed74 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -164,7 +164,11 @@ where ) .unwrap(); Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); - T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + + if T::Currency::free_balance(T::NativeAssetId::get(), who) <= 1_000_000_000_000_000 { + T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + } + Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); let position_id = Pallet::::get_user_position_id(&who.clone()).unwrap().unwrap(); @@ -207,7 +211,9 @@ where ) .unwrap(); Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); - T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + if T::Currency::free_balance(T::NativeAssetId::get(), who) <= 1_000_000_000_000_000 { + T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); + } Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); } } From 721cd363890c2d47fd90aa30418bdf69da31c7a5 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 26 Jul 2024 16:59:49 +0200 Subject: [PATCH 43/70] set stking max votes to 512 --- .../src/integrations/conviction_voting.rs | 19 ------------------- runtime/hydradx/src/governance/old.rs | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index 79643ed74..4047a65e1 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -171,19 +171,6 @@ where Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); - let position_id = Pallet::::get_user_position_id(&who.clone()).unwrap().unwrap(); - - let mut votes = sp_std::vec::Vec::<(u32, Vote)>::new(); - for i in 0..::MaxVotes::get() { - votes.push(( - i, - Vote { - amount: 20_000_000_000_000_000, - conviction: Conviction::Locked1x, - }, - )); - } - for i in 0..::MaxLocks::get() - 5 { let id: LockIdentifier = scale_info::prelude::format!("{:a>8}", i.to_string()) .as_bytes() @@ -192,12 +179,6 @@ where T::Currency::set_lock(id, T::NativeAssetId::get(), who, 10_000_000_000_000_u128).unwrap(); } - - let voting = crate::types::Voting:: { - votes: votes.try_into().unwrap(), - }; - - crate::PositionVotes::::insert(position_id, voting); } #[cfg(feature = "runtime-benchmarks")] diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index 485e354dd..a939d9dbe 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -116,7 +116,7 @@ parameter_types! { pub const VoteLockingPeriod: BlockNumber = 6 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS; pub const InstantAllowed: bool = true; - pub const MaxVotes: u32 = 100; + pub const MaxVotes: u32 = 512; pub const MaxProposals: u32 = 100; } From aca9decef47014ae8170d2869b98760f4655e101 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 12 Jul 2024 13:19:04 +0200 Subject: [PATCH 44/70] allow general admin track to set techcom members --- runtime/hydradx/src/governance/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 278aea0e6..30fd03b4b 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -33,7 +33,7 @@ pub mod tracks; use super::*; use crate::governance::{ - origins::{ReferendumCanceller, ReferendumKiller, Spender, Treasurer, WhitelistedCaller}, + origins::{GeneralAdmin, ReferendumCanceller, ReferendumKiller, Spender, Treasurer, WhitelistedCaller}, tracks::TracksInfo, }; use frame_support::{ @@ -70,7 +70,7 @@ impl pallet_collective::Config for Runtime { type DefaultVote = pallet_collective::PrimeDefaultVote; type WeightInfo = weights::pallet_collective_technical_committee::HydraWeight; type MaxProposalWeight = MaxProposalWeight; - type SetMembersOrigin = EnsureRoot; + type SetMembersOrigin = EitherOf, GeneralAdmin>; } parameter_types! { From c8d99829ef60854062868c443fb060ce17dc7d34 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 30 Jul 2024 19:25:42 +0200 Subject: [PATCH 45/70] rebenchmark --- .../src/weights/pallet_conviction_voting.rs | 316 ++++--- .../hydradx/src/weights/pallet_referenda.rs | 797 +++++++++--------- .../hydradx/src/weights/pallet_whitelist.rs | 172 ++-- 3 files changed, 663 insertions(+), 622 deletions(-) diff --git a/runtime/hydradx/src/weights/pallet_conviction_voting.rs b/runtime/hydradx/src/weights/pallet_conviction_voting.rs index 82f6ea3ac..d53645a91 100644 --- a/runtime/hydradx/src/weights/pallet_conviction_voting.rs +++ b/runtime/hydradx/src/weights/pallet_conviction_voting.rs @@ -1,172 +1,218 @@ -// Copyright 2017-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of HydraDX. -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// 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. -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . //! Autogenerated weights for `pallet_conviction_voting` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/polkadot +// target/release/hydradx // benchmark // pallet -// --chain=polkadot-dev -// --steps=2 -// --repeat=1 -// --pallet=pallet_conviction_voting -// --extrinsic=* -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-conviction-voting +// --output=pallet-conviction-voting.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; -/// Weight functions for `pallet_conviction_voting`. +/// Weights for `pallet_conviction_voting`. pub struct WeightInfo(PhantomData); -impl pallet_conviction_voting::WeightInfo for WeightInfo { - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + +/// Weights for `pallet_conviction_voting` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl pallet_conviction_voting::WeightInfo for HydraWeight { + /// Storage: `Referenda::ReferendumInfoFor` (r:512 w:512) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, 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(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `13612` - // Estimated: `86075` - // Minimum execution time: 174_000_000 picoseconds. - Weight::from_parts(174_000_000, 0) - .saturating_add(Weight::from_parts(0, 86075)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(5)) + // Measured: `186019` + // Estimated: `1747422` + // Minimum execution time: 13_245_475_000 picoseconds. + Weight::from_parts(13_301_613_000, 1747422) + .saturating_add(T::DbWeight::get().reads(522_u64)) + .saturating_add(T::DbWeight::get().writes(519_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:512 w:512) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, 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(49), added: 2524, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `14364` - // Estimated: `127513` - // Minimum execution time: 240_000_000 picoseconds. - Weight::from_parts(240_000_000, 0) - .saturating_add(Weight::from_parts(0, 127513)) - .saturating_add(T::DbWeight::get().reads(6)) - .saturating_add(T::DbWeight::get().writes(6)) + // Measured: `186062` + // Estimated: `1747422` + // Minimum execution time: 13_281_719_000 picoseconds. + Weight::from_parts(13_383_975_000, 1747422) + .saturating_add(T::DbWeight::get().reads(522_u64)) + .saturating_add(T::DbWeight::get().writes(519_u64)) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn remove_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `14084` - // Estimated: `118973` - // Minimum execution time: 219_000_000 picoseconds. - Weight::from_parts(219_000_000, 0) - .saturating_add(Weight::from_parts(0, 118973)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `25603` + // Estimated: `83866` + // Minimum execution time: 198_051_000 picoseconds. + Weight::from_parts(200_656_000, 83866) + .saturating_add(T::DbWeight::get().reads(9_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Uniques::Account` (r:2 w:0) + /// Proof: `Uniques::Account` (`max_values`: None, `max_size`: Some(112), added: 2587, mode: `MaxEncodedLen`) + /// Storage: `Staking::ProcessedVotes` (r:1 w:0) + /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) + /// Storage: `Staking::PositionVotes` (r:1 w:1) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Storage: `Staking::Positions` (r:1 w:1) + /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `13139` - // Estimated: `35107` - // Minimum execution time: 109_000_000 picoseconds. - Weight::from_parts(109_000_000, 0) - .saturating_add(Weight::from_parts(0, 35107)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `24727` + // Estimated: `30706` + // Minimum execution time: 157_039_000 picoseconds. + Weight::from_parts(160_138_000, 30706) + .saturating_add(T::DbWeight::get().reads(7_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: ConvictionVoting VotingFor (r:2 w:2) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:512 w:512) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) - /// The range of component `r` is `[0, 512]`. - fn delegate(_r: u32, ) -> Weight { + /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:10 w:10) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, 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(49), added: 2524, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 10]`. + fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `272 + r * (427 ±0)` - // Estimated: `1900250` - // Minimum execution time: 86_000_000 picoseconds. - Weight::from_parts(27_182_000_000, 0) - .saturating_add(Weight::from_parts(0, 1900250)) - .saturating_add(T::DbWeight::get().reads(518)) - .saturating_add(T::DbWeight::get().writes(518)) + // Measured: `1236 + r * (967 ±0)` + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 71_477_000 picoseconds. + Weight::from_parts(86_869_038, 83866) + // Standard Error: 164_830 + .saturating_add(Weight::from_parts(28_212_119, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } - /// Storage: ConvictionVoting VotingFor (r:2 w:2) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:512 w:512) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// The range of component `r` is `[0, 512]`. - fn undelegate(_r: u32, ) -> Weight { + /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:10 w:10) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// The range of component `r` is `[0, 10]`. + fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `470 + r * (426 ±0)` - // Estimated: `1891710` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(27_242_000_000, 0) - .saturating_add(Weight::from_parts(0, 1891710)) - .saturating_add(T::DbWeight::get().reads(516)) - .saturating_add(T::DbWeight::get().writes(516)) + // Measured: `1189 + r * (967 ±0)` + // Estimated: `83866 + r * (3411 ±0)` + // Minimum execution time: 40_924_000 picoseconds. + Weight::from_parts(53_130_818, 83866) + // Standard Error: 154_113 + .saturating_add(Weight::from_parts(28_385_183, 0).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } - /// Storage: ConvictionVoting VotingFor (r:1 w:1) - /// Proof: ConvictionVoting VotingFor (max_values: None, max_size: Some(27241), added: 29716, mode: MaxEncodedLen) - /// Storage: ConvictionVoting ClassLocksFor (r:1 w:1) - /// Proof: ConvictionVoting ClassLocksFor (max_values: None, max_size: Some(311), added: 2786, mode: MaxEncodedLen) - /// Storage: Balances Locks (r:1 w:1) - /// Proof: Balances Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) + /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) + /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, 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(49), added: 2524, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `12385` - // Estimated: `39246` - // Minimum execution time: 121_000_000 picoseconds. - Weight::from_parts(121_000_000, 0) - .saturating_add(Weight::from_parts(0, 39246)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `12121` + // Estimated: `30706` + // Minimum execution time: 91_017_000 picoseconds. + Weight::from_parts(93_098_000, 30706) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_referenda.rs b/runtime/hydradx/src/weights/pallet_referenda.rs index 5ebe89b69..fc0c44d0d 100644 --- a/runtime/hydradx/src/weights/pallet_referenda.rs +++ b/runtime/hydradx/src/weights/pallet_referenda.rs @@ -1,520 +1,499 @@ -// Copyright 2017-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of HydraDX. -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// 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. -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . //! Autogenerated weights for `pallet_referenda` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `1`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/polkadot +// target/release/hydradx // benchmark // pallet -// --chain=polkadot-dev -// --steps=1 -// --repeat=1 -// --pallet=pallet_referenda -// --extrinsic=* -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-referenda +// --output=pallet_referenda.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; -/// Weight functions for `pallet_referenda`. +/// Weights for `pallet_referenda`. pub struct WeightInfo(PhantomData); -impl pallet_referenda::WeightInfo for WeightInfo { - /// Storage: Referenda ReferendumCount (r:1 w:1) - /// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:0 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + +/// Weights for `pallet_referenda` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl pallet_referenda::WeightInfo for HydraWeight { + /// Storage: `Referenda::ReferendumCount` (r:1 w:1) + /// Proof: `Referenda::ReferendumCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:0 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) fn submit() -> Weight { // Proof Size summary in bytes: - // Measured: `290` - // Estimated: `43917` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) - .saturating_add(Weight::from_parts(0, 43917)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `258` + // Estimated: `42428` + // Minimum execution time: 42_788_000 picoseconds. + Weight::from_parts(43_444_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `575` - // Estimated: `88267` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(64_000_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `511` + // Estimated: `83866` + // Minimum execution time: 54_709_000 picoseconds. + Weight::from_parts(55_371_000, 83866) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3203` - // Estimated: `13357` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3298` + // Estimated: `42428` + // Minimum execution time: 65_002_000 picoseconds. + Weight::from_parts(65_880_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3223` - // Estimated: `13357` - // Minimum execution time: 59_000_000 picoseconds. - Weight::from_parts(59_000_000, 0) - .saturating_add(Weight::from_parts(0, 13357)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3318` + // Estimated: `42428` + // Minimum execution time: 64_442_000 picoseconds. + Weight::from_parts(65_228_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `575` - // Estimated: `93247` - // Minimum execution time: 142_000_000 picoseconds. - Weight::from_parts(142_000_000, 0) - .saturating_add(Weight::from_parts(0, 93247)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `511` + // Estimated: `83866` + // Minimum execution time: 65_625_000 picoseconds. + Weight::from_parts(66_128_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn place_decision_deposit_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `482` - // Estimated: `9381` - // Minimum execution time: 54_000_000 picoseconds. - Weight::from_parts(54_000_000, 0) - .saturating_add(Weight::from_parts(0, 9381)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `511` + // Estimated: `83866` + // Minimum execution time: 64_713_000 picoseconds. + Weight::from_parts(65_366_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) fn refund_decision_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `415` + // Measured: `389` // Estimated: `4401` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(35_000_000, 0) - .saturating_add(Weight::from_parts(0, 4401)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 34_880_000 picoseconds. + Weight::from_parts(35_186_000, 4401) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) fn refund_submission_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `405` + // Measured: `379` // Estimated: `4401` - // Minimum execution time: 36_000_000 picoseconds. - Weight::from_parts(36_000_000, 0) - .saturating_add(Weight::from_parts(0, 4401)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 34_863_000 picoseconds. + Weight::from_parts(35_309_000, 4401) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn cancel() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `88267` - // Minimum execution time: 52_000_000 picoseconds. - Weight::from_parts(52_000_000, 0) - .saturating_add(Weight::from_parts(0, 88267)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `419` + // Estimated: `83866` + // Minimum execution time: 38_964_000 picoseconds. + Weight::from_parts(39_306_000, 83866) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:1 w:0) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`) + /// Storage: `Referenda::MetadataOf` (r:1 w:0) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn kill() -> Weight { // Proof Size summary in bytes: - // Measured: `756` - // Estimated: `91784` - // Minimum execution time: 141_000_000 picoseconds. - Weight::from_parts(141_000_000, 0) - .saturating_add(Weight::from_parts(0, 91784)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `763` + // Estimated: `83866` + // Minimum execution time: 105_099_000 picoseconds. + Weight::from_parts(105_893_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Referenda TrackQueue (r:1 w:0) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:0) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) fn one_fewer_deciding_queue_empty() -> Weight { // Proof Size summary in bytes: - // Measured: `174` - // Estimated: `8956` - // Minimum execution time: 12_000_000 picoseconds. - Weight::from_parts(12_000_000, 0) - .saturating_add(Weight::from_parts(0, 8956)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `212` + // Estimated: `5477` + // Minimum execution time: 13_356_000 picoseconds. + Weight::from_parts(13_548_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `3972` - // Estimated: `95245` - // Minimum execution time: 139_000_000 picoseconds. - Weight::from_parts(139_000_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `3188` + // Estimated: `42428` + // Minimum execution time: 44_751_000 picoseconds. + Weight::from_parts(45_406_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn one_fewer_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `3972` - // Estimated: `95245` - // Minimum execution time: 153_000_000 picoseconds. - Weight::from_parts(153_000_000, 0) - .saturating_add(Weight::from_parts(0, 95245)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `3188` + // Estimated: `42428` + // Minimum execution time: 47_122_000 picoseconds. + Weight::from_parts(47_714_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:0) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_requeued_insertion() -> Weight { // Proof Size summary in bytes: - // Measured: `3990` - // Estimated: `52306` - // Minimum execution time: 82_000_000 picoseconds. - Weight::from_parts(82_000_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3049` + // Estimated: `5477` + // Minimum execution time: 22_886_000 picoseconds. + Weight::from_parts(23_180_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:0) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_requeued_slide() -> Weight { // Proof Size summary in bytes: - // Measured: `3990` - // Estimated: `52306` - // Minimum execution time: 76_000_000 picoseconds. - Weight::from_parts(76_000_000, 0) - .saturating_add(Weight::from_parts(0, 52306)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3049` + // Estimated: `5477` + // Minimum execution time: 23_174_000 picoseconds. + Weight::from_parts(23_374_000, 5477) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:0) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3964` - // Estimated: `55785` - // Minimum execution time: 108_000_000 picoseconds. - Weight::from_parts(108_000_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3053` + // Estimated: `5477` + // Minimum execution time: 27_949_000 picoseconds. + Weight::from_parts(28_365_000, 5477) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:0) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Referenda TrackQueue (r:1 w:1) - /// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:0) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:0) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Referenda::TrackQueue` (r:1 w:1) + /// Proof: `Referenda::TrackQueue` (`max_values`: None, `max_size`: Some(2012), added: 4487, mode: `MaxEncodedLen`) fn nudge_referendum_not_queued() -> Weight { // Proof Size summary in bytes: - // Measured: `3984` - // Estimated: `55785` - // Minimum execution time: 85_000_000 picoseconds. - Weight::from_parts(85_000_000, 0) - .saturating_add(Weight::from_parts(0, 55785)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `3073` + // Estimated: `5477` + // Minimum execution time: 27_720_000 picoseconds. + Weight::from_parts(28_069_000, 5477) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_no_deposit() -> Weight { // Proof Size summary in bytes: - // Measured: `403` - // Estimated: `46829` - // Minimum execution time: 37_000_000 picoseconds. - Weight::from_parts(37_000_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `371` + // Estimated: `42428` + // Minimum execution time: 27_309_000 picoseconds. + Weight::from_parts(27_680_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_preparing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `46829` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) - .saturating_add(Weight::from_parts(0, 46829)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 27_553_000 picoseconds. + Weight::from_parts(28_228_000, 42428) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) fn nudge_referendum_timed_out() -> Weight { // Proof Size summary in bytes: - // Measured: `310` + // Measured: `316` // Estimated: `4401` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) - .saturating_add(Weight::from_parts(0, 4401)) - .saturating_add(T::DbWeight::get().reads(1)) - .saturating_add(T::DbWeight::get().writes(1)) + // Minimum execution time: 18_789_000 picoseconds. + Weight::from_parts(19_190_000, 4401) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_deciding_failing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `51809` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(46_000_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 36_770_000 picoseconds. + Weight::from_parts(37_417_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda DecidingCount (r:1 w:1) - /// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::DecidingCount` (r:1 w:1) + /// Proof: `Referenda::DecidingCount` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_deciding_passing() -> Weight { // Proof Size summary in bytes: - // Measured: `451` - // Estimated: `51809` - // Minimum execution time: 49_000_000 picoseconds. - Weight::from_parts(49_000_000, 0) - .saturating_add(Weight::from_parts(0, 51809)) - .saturating_add(T::DbWeight::get().reads(4)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `419` + // Estimated: `42428` + // Minimum execution time: 38_288_000 picoseconds. + Weight::from_parts(38_837_000, 42428) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_begin_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 39_000_000 picoseconds. - Weight::from_parts(39_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 31_243_000 picoseconds. + Weight::from_parts(31_697_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_end_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `487` - // Estimated: `48330` - // Minimum execution time: 41_000_000 picoseconds. - Weight::from_parts(41_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `455` + // Estimated: `42428` + // Minimum execution time: 31_941_000 picoseconds. + Weight::from_parts(32_301_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_continue_not_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(34_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 30_425_000 picoseconds. + Weight::from_parts(30_923_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_continue_confirming() -> Weight { // Proof Size summary in bytes: - // Measured: `508` - // Estimated: `48330` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(32_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `476` + // Estimated: `42428` + // Minimum execution time: 29_395_000 picoseconds. + Weight::from_parts(29_718_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:2 w:2) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) - /// Storage: Scheduler Lookup (r:1 w:1) - /// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:2 w:2) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Lookup` (r:1 w:1) + /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`) fn nudge_referendum_approved() -> Weight { // Proof Size summary in bytes: - // Measured: `508` - // Estimated: `93281` - // Minimum execution time: 73_000_000 picoseconds. - Weight::from_parts(73_000_000, 0) - .saturating_add(Weight::from_parts(0, 93281)) - .saturating_add(T::DbWeight::get().reads(5)) - .saturating_add(T::DbWeight::get().writes(4)) + // Measured: `476` + // Estimated: `83866` + // Minimum execution time: 43_572_000 picoseconds. + Weight::from_parts(44_054_000, 83866) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:1) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Balances InactiveIssuance (r:1 w:0) - /// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) - /// Storage: Scheduler Agenda (r:1 w:1) - /// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Balances::InactiveIssuance` (r:1 w:0) + /// Proof: `Balances::InactiveIssuance` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`) + /// Storage: `Scheduler::Agenda` (r:1 w:1) + /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn nudge_referendum_rejected() -> Weight { // Proof Size summary in bytes: - // Measured: `504` - // Estimated: `48330` - // Minimum execution time: 40_000_000 picoseconds. - Weight::from_parts(40_000_000, 0) - .saturating_add(Weight::from_parts(0, 48330)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `472` + // Estimated: `42428` + // Minimum execution time: 31_209_000 picoseconds. + Weight::from_parts(31_680_000, 42428) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:0) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:0 w:1) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, 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: `Referenda::MetadataOf` (r:0 w:1) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn set_some_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `454` - // Estimated: `7957` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(25_000_000, 0) - .saturating_add(Weight::from_parts(0, 7957)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `527` + // Estimated: `4401` + // Minimum execution time: 25_585_000 picoseconds. + Weight::from_parts(26_017_000, 4401) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: Referenda ReferendumInfoFor (r:1 w:0) - /// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen) - /// Storage: Referenda MetadataOf (r:1 w:1) - /// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) + /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) + /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) + /// Storage: `Referenda::MetadataOf` (r:1 w:1) + /// Proof: `Referenda::MetadataOf` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) fn clear_metadata() -> Weight { // Proof Size summary in bytes: - // Measured: `387` - // Estimated: `7918` - // Minimum execution time: 22_000_000 picoseconds. - Weight::from_parts(22_000_000, 0) - .saturating_add(Weight::from_parts(0, 7918)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(1)) + // Measured: `393` + // Estimated: `4401` + // Minimum execution time: 20_838_000 picoseconds. + Weight::from_parts(21_218_000, 4401) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } -} +} \ No newline at end of file diff --git a/runtime/hydradx/src/weights/pallet_whitelist.rs b/runtime/hydradx/src/weights/pallet_whitelist.rs index 552d0df18..df3e87f86 100644 --- a/runtime/hydradx/src/weights/pallet_whitelist.rs +++ b/runtime/hydradx/src/weights/pallet_whitelist.rs @@ -1,108 +1,124 @@ -// Copyright 2017-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. +// This file is part of HydraDX. -// Polkadot is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. +// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). +// 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. -// Polkadot is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// You should have received a copy of the GNU General Public License -// along with Polkadot. If not, see . //! Autogenerated weights for `pallet_whitelist` //! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-03-07, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 +//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `cob`, CPU: `` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 +//! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// ./target/release/polkadot +// target/release/hydradx // benchmark // pallet -// --chain=polkadot-dev -// --steps=2 -// --repeat=1 -// --pallet=pallet_whitelist -// --extrinsic=* -// --execution=wasm +// --chain=dev +// --steps=10 +// --repeat=30 // --wasm-execution=compiled -// --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --heap-pages=4096 +// --template=scripts/pallet-weight-template.hbs +// --pallet=pallet-whitelist +// --output=pallet_whitelist.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; -/// Weight functions for `pallet_whitelist`. +/// Weights for `pallet_whitelist`. pub struct WeightInfo(PhantomData); -impl pallet_whitelist::WeightInfo for WeightInfo { - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + +/// Weights for `pallet_whitelist` using the HydraDX node and recommended hardware. +pub struct HydraWeight(PhantomData); +impl pallet_whitelist::WeightInfo for HydraWeight { + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, 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:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn whitelist_call() -> Weight { // Proof Size summary in bytes: - // Measured: `118` - // Estimated: `7061` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(33_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `218` + // Estimated: `3556` + // Minimum execution time: 23_242_000 picoseconds. + Weight::from_parts(23_861_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, 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:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) fn remove_whitelisted_call() -> Weight { // Proof Size summary in bytes: - // Measured: `247` - // Estimated: `7061` - // Minimum execution time: 24_000_000 picoseconds. - Weight::from_parts(24_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `347` + // Estimated: `3556` + // Minimum execution time: 21_663_000 picoseconds. + Weight::from_parts(22_035_000, 3556) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// 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:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`) + /// 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 `n` is `[1, 4194294]`. - fn dispatch_whitelisted_call(_n: u32, ) -> Weight { + fn dispatch_whitelisted_call(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `311 + n * (1 ±0)` - // Estimated: `4205175` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(4_138_000_000, 0) - .saturating_add(Weight::from_parts(0, 4205175)) - .saturating_add(T::DbWeight::get().reads(3)) - .saturating_add(T::DbWeight::get().writes(3)) + // Measured: `423 + n * (1 ±0)` + // Estimated: `3884 + n * (1 ±0)` + // Minimum execution time: 34_811_000 picoseconds. + Weight::from_parts(35_117_000, 3884) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_334, 0).saturating_mul(n.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(n.into())) } - /// Storage: Whitelist WhitelistedCall (r:1 w:1) - /// Proof: Whitelist WhitelistedCall (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) - /// Storage: Preimage StatusFor (r:1 w:1) - /// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen) + /// Storage: `Whitelist::WhitelistedCall` (r:1 w:1) + /// Proof: `Whitelist::WhitelistedCall` (`max_values`: None, `max_size`: Some(40), added: 2515, 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:1) + /// Proof: `Preimage::RequestStatusFor` (`max_values`: None, `max_size`: Some(91), added: 2566, mode: `MaxEncodedLen`) /// The range of component `n` is `[1, 10000]`. - fn dispatch_whitelisted_call_with_preimage(_n: u32, ) -> Weight { + fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `247` - // Estimated: `7061` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(45_000_000, 0) - .saturating_add(Weight::from_parts(0, 7061)) - .saturating_add(T::DbWeight::get().reads(2)) - .saturating_add(T::DbWeight::get().writes(2)) + // Measured: `347` + // Estimated: `3556` + // Minimum execution time: 27_266_000 picoseconds. + Weight::from_parts(27_786_147, 3556) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_216, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } -} +} \ No newline at end of file From f44b7a962b75e0393bd0b77f22a7cae08cc16ef5 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 30 Jul 2024 21:34:04 +0200 Subject: [PATCH 46/70] merge conflicts --- runtime/hydradx/src/governance.rs | 399 -------------------------- runtime/hydradx/src/governance/old.rs | 2 + 2 files changed, 2 insertions(+), 399 deletions(-) delete mode 100644 runtime/hydradx/src/governance.rs diff --git a/runtime/hydradx/src/governance.rs b/runtime/hydradx/src/governance.rs deleted file mode 100644 index dd462e301..000000000 --- a/runtime/hydradx/src/governance.rs +++ /dev/null @@ -1,399 +0,0 @@ -// This file is part of HydraDX-node. - -// Copyright (C) 2020-2023 Intergalactic, Limited (GIB). -// 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. - -use super::*; -use primitives::constants::{ - currency::{deposit, CENTS, DOLLARS, UNITS}, - time::{DAYS, HOURS}, -}; - -use frame_support::{ - parameter_types, - sp_runtime::{Perbill, Percent, Permill}, - traits::{ - fungible::HoldConsideration, tokens::UnityAssetBalanceConversion, ConstU32, EitherOfDiverse, - LinearStoragePrice, LockIdentifier, PrivilegeCmp, - }, - PalletId, -}; -use frame_system::{EnsureRoot, EnsureSigned}; -use sp_runtime::traits::IdentityLookup; -use sp_staking::currency_to_vote::U128CurrencyToVote; -use sp_std::cmp::Ordering; - -parameter_types! { - pub TreasuryAccount: AccountId = Treasury::account_id(); - pub const ProposalBond: Permill = Permill::from_percent(3); - pub const ProposalBondMinimum: Balance = 100 * DOLLARS; - pub const ProposalBondMaximum: Balance = 500 * DOLLARS; - pub const SpendPeriod: BlockNumber = DAYS; - pub const Burn: Permill = Permill::from_percent(0); - pub const TreasuryPalletId: PalletId = PalletId(*b"py/trsry"); - pub const MaxApprovals: u32 = 100; - pub const TreasuryPayoutPeriod: u32 = 30 * DAYS; -} - -pub struct PayFromTreasuryAccount; - -impl frame_support::traits::tokens::Pay for PayFromTreasuryAccount { - type Balance = Balance; - type Beneficiary = AccountId; - type AssetKind = (); - type Id = (); - type Error = sp_runtime::DispatchError; - - #[cfg(not(feature = "runtime-benchmarks"))] - fn pay( - who: &Self::Beneficiary, - _asset_kind: Self::AssetKind, - amount: Self::Balance, - ) -> Result { - let _ = >::transfer( - &TreasuryAccount::get(), - who, - amount, - frame_support::traits::tokens::Preservation::Expendable, - )?; - Ok(()) - } - - #[cfg(feature = "runtime-benchmarks")] - fn pay( - who: &Self::Beneficiary, - _asset_kind: Self::AssetKind, - amount: Self::Balance, - ) -> Result { - // In case of benchmarks, we adjust the value by multiplying it by 1_000_000_000_000, otherwise it fails with BelowMinimum limit error, because - // treasury benchmarks uses only 100 as the amount. - let _ = >::transfer( - &TreasuryAccount::get(), - who, - amount * 1_000_000_000_000, - frame_support::traits::tokens::Preservation::Expendable, - )?; - Ok(()) - } - - fn check_payment(_id: Self::Id) -> frame_support::traits::tokens::PaymentStatus { - frame_support::traits::tokens::PaymentStatus::Success - } - - #[cfg(feature = "runtime-benchmarks")] - fn ensure_successful(_: &Self::Beneficiary, _: Self::AssetKind, amount: Self::Balance) { - >::mint_into( - &TreasuryAccount::get(), - amount * 1_000_000_000_000, - ) - .unwrap(); - } - #[cfg(feature = "runtime-benchmarks")] - fn ensure_concluded(_: Self::Id) {} -} - -impl pallet_treasury::Config for Runtime { - type Currency = Balances; - type ApproveOrigin = TreasuryApproveOrigin; - type RejectOrigin = MoreThanHalfCouncil; - type RuntimeEvent = RuntimeEvent; - type OnSlash = Treasury; - type ProposalBond = ProposalBond; - type ProposalBondMinimum = ProposalBondMinimum; - type ProposalBondMaximum = ProposalBondMaximum; - type SpendPeriod = SpendPeriod; - type Burn = Burn; - type PalletId = TreasuryPalletId; - type BurnDestination = (); - type WeightInfo = weights::pallet_treasury::HydraWeight; - type SpendFunds = (); - type MaxApprovals = MaxApprovals; - #[cfg(not(feature = "runtime-benchmarks"))] - type SpendOrigin = frame_support::traits::NeverEnsureOrigin; - #[cfg(feature = "runtime-benchmarks")] - type SpendOrigin = - frame_system::EnsureWithSuccess, AccountId, crate::benches::BenchmarkMaxBalance>; - type AssetKind = (); // set to () to support only the native currency - type Beneficiary = AccountId; - type BeneficiaryLookup = IdentityLookup; - type Paymaster = PayFromTreasuryAccount; - type BalanceConverter = UnityAssetBalanceConversion; - type PayoutPeriod = TreasuryPayoutPeriod; - #[cfg(feature = "runtime-benchmarks")] - type BenchmarkHelper = (); // default impl is enough because we support only the native currency -} - -parameter_types! { - pub PreimageBaseDeposit: Balance = deposit(2, 64); - pub PreimageByteDeposit: Balance = deposit(0, 1); - pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage); -} - -impl pallet_preimage::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type WeightInfo = weights::pallet_preimage::HydraWeight; - type Currency = Balances; - type ManagerOrigin = EnsureRoot; - type Consideration = HoldConsideration< - AccountId, - Balances, - PreimageHoldReason, - LinearStoragePrice, - >; -} - -/// Used the compare the privilege of an origin inside the scheduler. -pub struct OriginPrivilegeCmp; - -impl PrivilegeCmp for OriginPrivilegeCmp { - fn cmp_privilege(left: &OriginCaller, right: &OriginCaller) -> Option { - if left == right { - return Some(Ordering::Equal); - } - - match (left, right) { - // Root is greater than anything. - (OriginCaller::system(frame_system::RawOrigin::Root), _) => Some(Ordering::Greater), - // Check which one has more yes votes. - ( - OriginCaller::Council(pallet_collective::RawOrigin::Members(l_yes_votes, l_count)), - OriginCaller::Council(pallet_collective::RawOrigin::Members(r_yes_votes, r_count)), - ) => Some((l_yes_votes * r_count).cmp(&(r_yes_votes * l_count))), - // For every other origin we don't care, as they are not used for `ScheduleOrigin`. - _ => None, - } - } -} - -parameter_types! { - pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * BlockWeights::get().max_block; - pub const MaxScheduledPerBlock: u32 = 50; -} -impl pallet_scheduler::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type RuntimeOrigin = RuntimeOrigin; - type PalletsOrigin = OriginCaller; - type RuntimeCall = RuntimeCall; - type MaximumWeight = MaximumSchedulerWeight; - type ScheduleOrigin = MoreThanHalfCouncil; - type OriginPrivilegeCmp = OriginPrivilegeCmp; - type MaxScheduledPerBlock = MaxScheduledPerBlock; - type WeightInfo = weights::pallet_scheduler::HydraWeight; - type Preimages = Preimage; -} - -parameter_types! { - pub const CouncilMaxProposals: u32 = 30; - pub const CouncilMaxMembers: u32 = 13; - pub const CouncilMotionDuration: BlockNumber = 5 * DAYS; - pub MaxProposalWeight: Weight = Perbill::from_percent(50) * BlockWeights::get().max_block; -} - -pub 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::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective_council::HydraWeight; - type MaxProposalWeight = MaxProposalWeight; - type SetMembersOrigin = EnsureRoot; -} - -parameter_types! { - pub const TechnicalMaxProposals: u32 = 20; - pub const TechnicalMaxMembers: u32 = 10; - pub const TechnicalMotionDuration: BlockNumber = 5 * DAYS; -} - -pub type TechnicalCollective = pallet_collective::Instance2; -impl pallet_collective::Config for Runtime { - type RuntimeOrigin = RuntimeOrigin; - type Proposal = RuntimeCall; - type RuntimeEvent = RuntimeEvent; - type MotionDuration = TechnicalMotionDuration; - type MaxProposals = TechnicalMaxProposals; - type MaxMembers = TechnicalMaxMembers; - type DefaultVote = pallet_collective::PrimeDefaultVote; - type WeightInfo = weights::pallet_collective_technical_committee::HydraWeight; - type MaxProposalWeight = MaxProposalWeight; - type SetMembersOrigin = EnsureRoot; -} - -#[cfg(test)] -mod tests { - use super::{EnactmentPeriod, VoteLockingPeriod}; - - #[test] - fn democracy_periods() { - // Make sure VoteLockingPeriod > EnactmentPeriod - assert!(VoteLockingPeriod::get() > EnactmentPeriod::get()); - } -} - -pub type TreasuryApproveOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - -pub type MoreThanHalfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionMoreThan, ->; - -pub type MajorityOfCouncil = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, ->; - -pub type AllCouncilMembers = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, ->; - -pub type MoreThanHalfTechCommittee = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, ->; - -pub type SuperMajorityTechCommittee = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, ->; - -pub type AllTechnicalCommitteeMembers = EitherOfDiverse< - pallet_collective::EnsureProportionAtLeast, - EnsureRoot, ->; - -parameter_types! { - pub const LaunchPeriod: BlockNumber = 3 * DAYS; - pub const VotingPeriod: BlockNumber = 3 * DAYS; - pub const FastTrackVotingPeriod: BlockNumber = 3 * HOURS; - pub const MinimumDeposit: Balance = 1000 * DOLLARS; - pub const EnactmentPeriod: BlockNumber = 24 * HOURS; - // Make sure VoteLockingPeriod > EnactmentPeriod - pub const VoteLockingPeriod: BlockNumber = 6 * DAYS; - pub const CooloffPeriod: BlockNumber = 7 * DAYS; - pub const InstantAllowed: bool = true; - pub const MaxVotes: u32 = 100; - pub const MaxProposals: u32 = 100; -} - -impl pallet_democracy::Config for Runtime { - type WeightInfo = weights::pallet_democracy::HydraWeight; - type RuntimeEvent = RuntimeEvent; - type Scheduler = Scheduler; - type Preimages = Preimage; - type Currency = Balances; - type EnactmentPeriod = EnactmentPeriod; - type LaunchPeriod = LaunchPeriod; - type VotingPeriod = VotingPeriod; - type VoteLockingPeriod = VoteLockingPeriod; - type MinimumDeposit = MinimumDeposit; - type InstantAllowed = InstantAllowed; - type FastTrackVotingPeriod = FastTrackVotingPeriod; - type CooloffPeriod = CooloffPeriod; - type MaxVotes = MaxVotes; - type MaxProposals = MaxProposals; - type MaxDeposits = ConstU32<100>; - type MaxBlacklisted = ConstU32<100>; - /// A straight majority of the council can decide what their next motion is. - type ExternalOrigin = MoreThanHalfCouncil; - type ExternalMajorityOrigin = MoreThanHalfCouncil; - /// A unanimous council can have the next scheduled referendum be a straight default-carries - /// (NTB) vote. - type ExternalDefaultOrigin = AllCouncilMembers; - type SubmitOrigin = EnsureSigned; - type FastTrackOrigin = MoreThanHalfTechCommittee; - type InstantOrigin = AllTechnicalCommitteeMembers; - // To cancel a proposal which has been passed, 2/3 of the council must agree to it. - type CancellationOrigin = MajorityOfCouncil; - type BlacklistOrigin = EnsureRoot; - // To cancel a proposal before it has been passed, the technical committee must be unanimous or - // Root must agree. - type CancelProposalOrigin = AllTechnicalCommitteeMembers; - // Any single technical committee member may veto a coming council proposal, however they can - // only do it once and it lasts only for the cooloff period. - type VetoOrigin = pallet_collective::EnsureMember; - type PalletsOrigin = OriginCaller; - type Slash = Treasury; - type DemocracyHooks = pallet_staking::integrations::democracy::StakingDemocracy; - // Any single technical committee member may remove a vote. - type VoteRemovalOrigin = frame_system::EnsureSignedBy; -} - -parameter_types! { - // Bond for candidacy into governance - pub const CandidacyBond: Balance = 5 * DOLLARS; - // 1 storage item created, key size is 32 bytes, value size is 16+16. - pub const VotingBondBase: Balance = CENTS; - // additional data per vote is 32 bytes (account id). - pub const VotingBondFactor: Balance = CENTS; - pub const TermDuration: BlockNumber = 7 * DAYS; - pub const DesiredMembers: u32 = 13; - pub const DesiredRunnersUp: u32 = 15; - pub const ElectionsPhragmenPalletId: LockIdentifier = *b"phrelect"; - pub const MaxElectionCandidates: u32 = 100; - pub const MaxElectionVoters: u32 = 768; - pub const MaxVotesPerVoter: u32 = 10; -} - -impl pallet_elections_phragmen::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type PalletId = ElectionsPhragmenPalletId; - type Currency = Balances; - type ChangeMembers = Council; - type InitializeMembers = (); - // Set to () if defined in chain spec - type CurrencyToVote = U128CurrencyToVote; - type CandidacyBond = CandidacyBond; - type VotingBondBase = VotingBondBase; - type VotingBondFactor = VotingBondFactor; - type LoserCandidate = Treasury; - type KickedMember = Treasury; - type DesiredMembers = DesiredMembers; - type DesiredRunnersUp = DesiredRunnersUp; - type TermDuration = TermDuration; - type MaxCandidates = MaxElectionCandidates; - type MaxVoters = MaxElectionVoters; - type WeightInfo = weights::pallet_elections_phragmen::HydraWeight; - type MaxVotesPerVoter = MaxVotesPerVoter; -} - -parameter_types! { - pub const DataDepositPerByte: Balance = CENTS; - pub const TipCountdown: BlockNumber = 24 * HOURS; - pub const TipFindersFee: Percent = Percent::from_percent(1); - pub const TipReportDepositBase: Balance = 10 * DOLLARS; - pub const TipReportDepositPerByte: Balance = CENTS; - pub const MaximumReasonLength: u32 = 1024; - pub const MaxTipAmount: u128 = 5_000_000 * UNITS; // ~$100k -} - -impl pallet_tips::Config for Runtime { - type RuntimeEvent = RuntimeEvent; - type MaximumReasonLength = MaximumReasonLength; - type DataDepositPerByte = DataDepositPerByte; - type TipCountdown = TipCountdown; - type TipFindersFee = TipFindersFee; - type TipReportDepositBase = TipReportDepositBase; - type MaxTipAmount = MaxTipAmount; - type Tippers = Elections; - type WeightInfo = weights::pallet_tips::HydraWeight; -} diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index a939d9dbe..b329cccea 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -159,6 +159,8 @@ impl pallet_democracy::Config for Runtime { type PalletsOrigin = OriginCaller; type Slash = Treasury; type DemocracyHooks = pallet_staking::integrations::democracy::StakingDemocracy; + // Any single technical committee member may remove a vote. + type VoteRemovalOrigin = frame_system::EnsureSignedBy; } parameter_types! { From 0ada3563808b0a79e50e14028ff847ca3acde98d Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 30 Jul 2024 23:29:13 +0200 Subject: [PATCH 47/70] fix weights and versions --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- runtime/adapters/Cargo.toml | 2 +- runtime/hydradx/src/governance/mod.rs | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d349a2c49..b7cc671de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "1.3.5" +version = "1.3.6" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -11954,7 +11954,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.23.1" +version = "1.23.2" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 0db634016..e933a4986 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.23.1" +version = "1.23.2" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index d6ca4836a..8ad16d7de 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "1.3.5" +version = "1.3.6" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 30fd03b4b..74d4f6473 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -178,7 +178,7 @@ parameter_types! { } impl pallet_conviction_voting::Config for Runtime { - type WeightInfo = weights::pallet_conviction_voting::WeightInfo; + type WeightInfo = weights::pallet_conviction_voting::HydraWeight; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type VoteLockingPeriod = VoteLockingPeriod; @@ -194,7 +194,7 @@ parameter_types! { pub type TreasurySpender = EitherOf, Spender>; impl pallet_whitelist::Config for Runtime { - type WeightInfo = weights::pallet_whitelist::WeightInfo; + type WeightInfo = weights::pallet_whitelist::HydraWeight; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type WhitelistOrigin = EitherOf, TechCommitteeMajority>; @@ -209,7 +209,7 @@ parameter_types! { } impl pallet_referenda::Config for Runtime { - type WeightInfo = weights::pallet_referenda::WeightInfo; + type WeightInfo = weights::pallet_referenda::HydraWeight; type RuntimeCall = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Scheduler = Scheduler; From ce07b74ea1a69bfa314a3ffed9d63e07111ba728 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 31 Jul 2024 15:10:26 +0200 Subject: [PATCH 48/70] lower votes --- runtime/hydradx/src/governance/mod.rs | 2 +- runtime/hydradx/src/governance/tracks.rs | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 74d4f6473..1b0f2cca0 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -182,7 +182,7 @@ impl pallet_conviction_voting::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type VoteLockingPeriod = VoteLockingPeriod; - type MaxVotes = ConstU32<512>; + type MaxVotes = ConstU32<25>; type MaxTurnout = frame_support::traits::tokens::currency::ActiveIssuanceOf; type Polls = Referenda; type VotingHooks = pallet_staking::integrations::conviction_voting::StakingConvictionVoting; diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs index 23026da3d..955111c27 100644 --- a/runtime/hydradx/src/governance/tracks.rs +++ b/runtime/hydradx/src/governance/tracks.rs @@ -64,7 +64,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 1, pallet_referenda::TrackInfo { name: "whitelisted_caller", - max_deciding: 10, + max_deciding: 3, decision_deposit: 50_000 * UNITS, prepare_period: 10 * MINUTES, decision_period: 7 * DAYS, @@ -78,7 +78,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 2, pallet_referenda::TrackInfo { name: "referendum_canceller", - max_deciding: 10, + max_deciding: 3, decision_deposit: 500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 3 * DAYS, @@ -92,7 +92,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 3, pallet_referenda::TrackInfo { name: "referendum_killer", - max_deciding: 10, + max_deciding: 3, decision_deposit: 2_500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, @@ -106,7 +106,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 4, pallet_referenda::TrackInfo { name: "general_admin", - max_deciding: 10, + max_deciding: 3, decision_deposit: 500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, @@ -120,7 +120,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 5, pallet_referenda::TrackInfo { name: "treasurer", - max_deciding: 10, + max_deciding: 3, decision_deposit: 1_250_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, @@ -134,7 +134,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 6, pallet_referenda::TrackInfo { name: "spender", - max_deciding: 10, + max_deciding: 3, decision_deposit: 100_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, @@ -148,7 +148,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 7, pallet_referenda::TrackInfo { name: "tipper", - max_deciding: 10, + max_deciding: 3, decision_deposit: 10_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, @@ -162,7 +162,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] 8, pallet_referenda::TrackInfo { name: "omnipool_admin", - max_deciding: 10, + max_deciding: 3, decision_deposit: 500_000 * UNITS, prepare_period: 60 * MINUTES, decision_period: 7 * DAYS, From e091149f4c5f80953aaab851d75654da89fa0608 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 31 Jul 2024 15:23:45 +0200 Subject: [PATCH 49/70] maxvotes --- runtime/hydradx/src/assets.rs | 2 +- runtime/hydradx/src/governance/mod.rs | 3 ++- runtime/hydradx/src/governance/old.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 7cd5263b1..806446b32 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -16,7 +16,7 @@ // limitations under the License. use super::*; -use crate::old::MaxVotes; +use crate::MaxVotes; use crate::origins::{GeneralAdmin, OmnipoolAdmin}; use crate::system::NativeAssetId; diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 1b0f2cca0..8d0b86a45 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -175,6 +175,7 @@ impl pallet_treasury::Config for Runtime { parameter_types! { pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; + pub const MaxVotes: u32 = 25; } impl pallet_conviction_voting::Config for Runtime { @@ -182,7 +183,7 @@ impl pallet_conviction_voting::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type VoteLockingPeriod = VoteLockingPeriod; - type MaxVotes = ConstU32<25>; + type MaxVotes = MaxVotes; type MaxTurnout = frame_support::traits::tokens::currency::ActiveIssuanceOf; type Polls = Referenda; type VotingHooks = pallet_staking::integrations::conviction_voting::StakingConvictionVoting; diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index b329cccea..065e9650f 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -116,7 +116,7 @@ parameter_types! { pub const VoteLockingPeriod: BlockNumber = 6 * DAYS; pub const CooloffPeriod: BlockNumber = 7 * DAYS; pub const InstantAllowed: bool = true; - pub const MaxVotes: u32 = 512; + pub const MaxVotes: u32 = 100; pub const MaxProposals: u32 = 100; } From da06fe8dbc1ae72b80860bb2bb027f2a50222dc1 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 31 Jul 2024 15:31:05 +0200 Subject: [PATCH 50/70] fix MaxVotes --- runtime/hydradx/src/assets.rs | 5 ++++- runtime/hydradx/src/governance/mod.rs | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 806446b32..02fa2af6c 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -16,7 +16,6 @@ // limitations under the License. use super::*; -use crate::MaxVotes; use crate::origins::{GeneralAdmin, OmnipoolAdmin}; use crate::system::NativeAssetId; @@ -1374,6 +1373,10 @@ impl GetByKey for StakingMinSlash { } } +parameter_types! { + pub const MaxVotes: u32 = 25; +} + impl pallet_staking::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AuthorityOrigin = EitherOf, GeneralAdmin>; diff --git a/runtime/hydradx/src/governance/mod.rs b/runtime/hydradx/src/governance/mod.rs index 8d0b86a45..1b0f2cca0 100644 --- a/runtime/hydradx/src/governance/mod.rs +++ b/runtime/hydradx/src/governance/mod.rs @@ -175,7 +175,6 @@ impl pallet_treasury::Config for Runtime { parameter_types! { pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; - pub const MaxVotes: u32 = 25; } impl pallet_conviction_voting::Config for Runtime { @@ -183,7 +182,7 @@ impl pallet_conviction_voting::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type VoteLockingPeriod = VoteLockingPeriod; - type MaxVotes = MaxVotes; + type MaxVotes = ConstU32<25>; type MaxTurnout = frame_support::traits::tokens::currency::ActiveIssuanceOf; type Polls = Referenda; type VotingHooks = pallet_staking::integrations::conviction_voting::StakingConvictionVoting; From d828033a08781ddeb20404e6d8b1f74ea9b6bcdf Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Wed, 31 Jul 2024 16:08:00 +0200 Subject: [PATCH 51/70] update conviction voting bench --- .../src/weights/pallet_conviction_voting.rs | 112 +++++++++--------- 1 file changed, 56 insertions(+), 56 deletions(-) diff --git a/runtime/hydradx/src/weights/pallet_conviction_voting.rs b/runtime/hydradx/src/weights/pallet_conviction_voting.rs index d53645a91..8beff3391 100644 --- a/runtime/hydradx/src/weights/pallet_conviction_voting.rs +++ b/runtime/hydradx/src/weights/pallet_conviction_voting.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-07-30, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-07-31, STEPS: `10`, REPEAT: `30`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `bench-bot`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -35,7 +35,7 @@ // --heap-pages=4096 // --template=scripts/pallet-weight-template.hbs // --pallet=pallet-conviction-voting -// --output=pallet-conviction-voting.rs +// --output=pallet_conviction_voting.rs // --extrinsic=* #![cfg_attr(rustfmt, rustfmt_skip)] @@ -52,10 +52,10 @@ pub struct WeightInfo(PhantomData); /// Weights for `pallet_conviction_voting` using the HydraDX node and recommended hardware. pub struct HydraWeight(PhantomData); impl pallet_conviction_voting::WeightInfo for HydraWeight { - /// Storage: `Referenda::ReferendumInfoFor` (r:512 w:512) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:25) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -67,22 +67,22 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_new() -> Weight { // Proof Size summary in bytes: - // Measured: `186019` - // Estimated: `1747422` - // Minimum execution time: 13_245_475_000 picoseconds. - Weight::from_parts(13_301_613_000, 1747422) - .saturating_add(T::DbWeight::get().reads(522_u64)) - .saturating_add(T::DbWeight::get().writes(519_u64)) + // Measured: `12365` + // Estimated: `86265` + // Minimum execution time: 867_120_000 picoseconds. + Weight::from_parts(871_610_000, 86265) + .saturating_add(T::DbWeight::get().reads(35_u64)) + .saturating_add(T::DbWeight::get().writes(32_u64)) } - /// Storage: `Referenda::ReferendumInfoFor` (r:512 w:512) + /// Storage: `Referenda::ReferendumInfoFor` (r:25 w:25) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -94,20 +94,20 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn vote_existing() -> Weight { // Proof Size summary in bytes: - // Measured: `186062` - // Estimated: `1747422` - // Minimum execution time: 13_281_719_000 picoseconds. - Weight::from_parts(13_383_975_000, 1747422) - .saturating_add(T::DbWeight::get().reads(522_u64)) - .saturating_add(T::DbWeight::get().writes(519_u64)) + // Measured: `12434` + // Estimated: `86265` + // Minimum execution time: 900_865_000 picoseconds. + Weight::from_parts(906_943_000, 86265) + .saturating_add(T::DbWeight::get().reads(35_u64)) + .saturating_add(T::DbWeight::get().writes(32_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:1) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:2 w:0) @@ -117,20 +117,20 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) fn remove_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `25603` + // Measured: `3710` // Estimated: `83866` - // Minimum execution time: 198_051_000 picoseconds. - Weight::from_parts(200_656_000, 83866) + // Minimum execution time: 100_301_000 picoseconds. + Weight::from_parts(101_319_000, 83866) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `Referenda::ReferendumInfoFor` (r:1 w:0) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Uniques::Account` (r:2 w:0) @@ -138,21 +138,21 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Storage: `Staking::ProcessedVotes` (r:1 w:0) /// Proof: `Staking::ProcessedVotes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`) /// Storage: `Staking::PositionVotes` (r:1 w:1) - /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(10786), added: 13261, mode: `MaxEncodedLen`) + /// Proof: `Staking::PositionVotes` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`) /// Storage: `Staking::Positions` (r:1 w:1) /// Proof: `Staking::Positions` (`max_values`: None, `max_size`: Some(132), added: 2607, mode: `MaxEncodedLen`) fn remove_other_vote() -> Weight { // Proof Size summary in bytes: - // Measured: `24727` - // Estimated: `30706` - // Minimum execution time: 157_039_000 picoseconds. - Weight::from_parts(160_138_000, 30706) + // Measured: `3184` + // Estimated: `6164` + // Minimum execution time: 75_474_000 picoseconds. + Weight::from_parts(76_658_000, 6164) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) - /// Storage: `Referenda::ReferendumInfoFor` (r:10 w:10) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:3 w:3) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) @@ -162,44 +162,44 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// 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(49), added: 2524, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 10]`. + /// The range of component `r` is `[0, 3]`. fn delegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1236 + r * (967 ±0)` + // Measured: `216 + r * (945 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 71_477_000 picoseconds. - Weight::from_parts(86_869_038, 83866) - // Standard Error: 164_830 - .saturating_add(Weight::from_parts(28_212_119, 0).saturating_mul(r.into())) + // Minimum execution time: 47_619_000 picoseconds. + Weight::from_parts(53_590_250, 83866) + // Standard Error: 447_289 + .saturating_add(Weight::from_parts(29_376_750, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(5_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: `ConvictionVoting::VotingFor` (r:2 w:2) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) - /// Storage: `Referenda::ReferendumInfoFor` (r:10 w:10) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) + /// Storage: `Referenda::ReferendumInfoFor` (r:3 w:3) /// Proof: `Referenda::ReferendumInfoFor` (`max_values`: None, `max_size`: Some(936), added: 3411, mode: `MaxEncodedLen`) /// Storage: `Scheduler::Agenda` (r:2 w:2) /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 10]`. + /// The range of component `r` is `[0, 3]`. fn undelegate(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1189 + r * (967 ±0)` + // Measured: `444 + r * (808 ±0)` // Estimated: `83866 + r * (3411 ±0)` - // Minimum execution time: 40_924_000 picoseconds. - Weight::from_parts(53_130_818, 83866) - // Standard Error: 154_113 - .saturating_add(Weight::from_parts(28_385_183, 0).saturating_mul(r.into())) + // Minimum execution time: 24_546_000 picoseconds. + Weight::from_parts(28_692_195, 83866) + // Standard Error: 331_935 + .saturating_add(Weight::from_parts(27_465_902, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) + .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3411).saturating_mul(r.into())) } /// Storage: `ConvictionVoting::VotingFor` (r:1 w:1) - /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(27241), added: 29716, mode: `MaxEncodedLen`) + /// Proof: `ConvictionVoting::VotingFor` (`max_values`: None, `max_size`: Some(1429), added: 3904, mode: `MaxEncodedLen`) /// Storage: `ConvictionVoting::ClassLocksFor` (r:1 w:1) /// Proof: `ConvictionVoting::ClassLocksFor` (`max_values`: None, `max_size`: Some(203), added: 2678, mode: `MaxEncodedLen`) /// Storage: `Balances::Locks` (r:1 w:1) @@ -208,10 +208,10 @@ impl pallet_conviction_voting::WeightInfo for HydraWeig /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(49), added: 2524, mode: `MaxEncodedLen`) fn unlock() -> Weight { // Proof Size summary in bytes: - // Measured: `12121` - // Estimated: `30706` - // Minimum execution time: 91_017_000 picoseconds. - Weight::from_parts(93_098_000, 30706) + // Measured: `1406` + // Estimated: `4894` + // Minimum execution time: 47_369_000 picoseconds. + Weight::from_parts(48_332_000, 4894) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } From 6675a0ba8cfe68f296090cc361895ff24f51bee4 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Wed, 31 Jul 2024 19:07:12 +0200 Subject: [PATCH 52/70] fix metadata-hash build --- Cargo.lock | 557 +++++++++++++++++++++++++++-------------------------- 1 file changed, 279 insertions(+), 278 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b7cc671de..6ac121d48 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -925,7 +925,7 @@ dependencies = [ [[package]] name = "binary-merkle-tree" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "hash-db 0.16.0", "log", @@ -1165,7 +1165,7 @@ dependencies = [ [[package]] name = "bp-xcm-bridge-hub-router" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -1621,7 +1621,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" +source = "git+https://github.com/w3f/ring-proof#665f5f51af5734c7b6d90b985dd6861d4c5b4752" dependencies = [ "ark-ec", "ark-ff", @@ -2027,7 +2027,7 @@ dependencies = [ [[package]] name = "cumulus-client-cli" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "clap 4.5.7", "parity-scale-codec", @@ -2044,7 +2044,7 @@ dependencies = [ [[package]] name = "cumulus-client-collator" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-client-consensus-common", "cumulus-client-network", @@ -2067,7 +2067,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-client-collator", @@ -2109,7 +2109,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-common" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-client-pov-recovery", @@ -2138,7 +2138,7 @@ dependencies = [ [[package]] name = "cumulus-client-consensus-proposer" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "anyhow", "async-trait", @@ -2153,7 +2153,7 @@ dependencies = [ [[package]] name = "cumulus-client-network" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-relay-chain-interface", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "cumulus-client-parachain-inherent" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "cumulus-client-pov-recovery" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2224,7 +2224,7 @@ dependencies = [ [[package]] name = "cumulus-client-service" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-client-cli", "cumulus-client-collator", @@ -2260,7 +2260,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-aura-ext" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-pallet-parachain-system", "frame-support", @@ -2278,7 +2278,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bytes", "cumulus-pallet-parachain-system-proc-macro", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-parachain-system-proc-macro" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -2323,7 +2323,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcm" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2339,7 +2339,7 @@ dependencies = [ [[package]] name = "cumulus-pallet-xcmp-queue" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bounded-collections", "bp-xcm-bridge-hub-router", @@ -2364,7 +2364,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-aura" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2378,7 +2378,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-core" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "polkadot-core-primitives", @@ -2395,7 +2395,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-parachain-inherent" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2410,7 +2410,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-proof-size-hostfunction" version = "0.2.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-externalities 0.25.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", "sp-runtime-interface 24.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-timestamp" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "futures", @@ -2433,7 +2433,7 @@ dependencies = [ [[package]] name = "cumulus-primitives-utility" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -2454,7 +2454,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-inprocess-interface" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2478,7 +2478,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-interface" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2496,7 +2496,7 @@ dependencies = [ [[package]] name = "cumulus-relay-chain-minimal-node" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "async-trait", @@ -2537,7 +2537,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.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "cumulus-primitives-core", @@ -2576,7 +2576,7 @@ dependencies = [ [[package]] name = "cumulus-test-relay-sproof-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "parity-scale-codec", @@ -3774,7 +3774,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "12.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", ] @@ -3895,7 +3895,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-support-procedural", @@ -3920,7 +3920,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "32.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "Inflector", "array-bytes 6.2.2", @@ -3968,7 +3968,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -3979,7 +3979,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3996,7 +3996,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -4026,7 +4026,7 @@ dependencies = [ [[package]] name = "frame-metadata-hash-extension" version = "0.1.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "docify", @@ -4041,7 +4041,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "indicatif", @@ -4063,7 +4063,7 @@ dependencies = [ [[package]] name = "frame-support" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "aquamarine", "array-bytes 6.2.2", @@ -4104,7 +4104,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "Inflector", "cfg-expr", @@ -4123,7 +4123,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 3.1.0", @@ -4135,7 +4135,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro2", "quote", @@ -4145,7 +4145,7 @@ dependencies = [ [[package]] name = "frame-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cfg-if", "docify", @@ -4165,7 +4165,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -4180,7 +4180,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -4189,7 +4189,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "parity-scale-codec", @@ -6668,7 +6668,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "log", @@ -6687,7 +6687,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", @@ -7193,7 +7193,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ - "proc-macro-crate 1.3.1", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", "syn 2.0.67", @@ -7473,7 +7473,7 @@ checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" [[package]] name = "pallet-asset-conversion" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7491,7 +7491,7 @@ dependencies = [ [[package]] name = "pallet-asset-rate" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7533,7 +7533,7 @@ dependencies = [ [[package]] name = "pallet-asset-tx-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7551,7 +7551,7 @@ dependencies = [ [[package]] name = "pallet-assets" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7567,7 +7567,7 @@ dependencies = [ [[package]] name = "pallet-aura" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -7584,7 +7584,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -7600,7 +7600,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -7614,7 +7614,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7638,7 +7638,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "aquamarine", "docify", @@ -7660,7 +7660,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -7676,7 +7676,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -7696,7 +7696,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "binary-merkle-tree", @@ -7745,7 +7745,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7763,7 +7763,7 @@ dependencies = [ [[package]] name = "pallet-broker" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "frame-benchmarking", @@ -7780,7 +7780,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7870,7 +7870,7 @@ dependencies = [ [[package]] name = "pallet-collator-selection" version = "9.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7890,7 +7890,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -7926,7 +7926,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8020,7 +8020,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8108,7 +8108,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8131,7 +8131,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8145,7 +8145,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8354,7 +8354,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -8391,7 +8391,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8414,7 +8414,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "enumflags2", "frame-benchmarking", @@ -8431,7 +8431,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8451,7 +8451,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8518,7 +8518,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8535,7 +8535,7 @@ dependencies = [ [[package]] name = "pallet-message-queue" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "environmental", "frame-benchmarking", @@ -8555,7 +8555,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8573,7 +8573,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8609,7 +8609,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -8644,7 +8644,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8664,7 +8664,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8675,7 +8675,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8824,7 +8824,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8841,7 +8841,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8856,7 +8856,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8875,7 +8875,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -8890,7 +8890,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8945,7 +8945,7 @@ dependencies = [ [[package]] name = "pallet-root-testing" version = "4.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -8985,7 +8985,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -9003,7 +9003,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9042,7 +9042,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9111,7 +9111,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -9134,7 +9134,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -9145,7 +9145,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "log", "sp-arithmetic", @@ -9154,7 +9154,7 @@ dependencies = [ [[package]] name = "pallet-staking-runtime-api" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -9164,7 +9164,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9181,7 +9181,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -9197,7 +9197,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -9217,7 +9217,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9284,7 +9284,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -9300,7 +9300,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "pallet-transaction-payment-rpc-runtime-api", @@ -9316,7 +9316,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -9328,7 +9328,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "frame-benchmarking", @@ -9347,7 +9347,7 @@ dependencies = [ [[package]] name = "pallet-uniques" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9362,7 +9362,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9378,7 +9378,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9393,7 +9393,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9408,7 +9408,7 @@ dependencies = [ [[package]] name = "pallet-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bounded-collections", "frame-benchmarking", @@ -9431,7 +9431,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-benchmarking", "frame-support", @@ -9500,7 +9500,7 @@ dependencies = [ [[package]] name = "parachains-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "cumulus-primitives-utility", @@ -9855,7 +9855,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "futures", @@ -9875,7 +9875,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "always-assert", "futures", @@ -9891,7 +9891,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "derive_more", "fatality", @@ -9914,7 +9914,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "fatality", @@ -9937,7 +9937,7 @@ dependencies = [ [[package]] name = "polkadot-cli" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cfg-if", "clap 4.5.7", @@ -9965,7 +9965,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "fatality", @@ -9987,7 +9987,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -9999,7 +9999,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "derive_more", "fatality", @@ -10024,7 +10024,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -10038,7 +10038,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "futures-timer", @@ -10060,7 +10060,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "always-assert", "async-trait", @@ -10083,7 +10083,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "parity-scale-codec", @@ -10101,7 +10101,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "derive_more", @@ -10134,7 +10134,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "futures", @@ -10156,7 +10156,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "fatality", @@ -10176,7 +10176,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "polkadot-node-subsystem", @@ -10191,7 +10191,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -10212,7 +10212,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "polkadot-node-metrics", @@ -10226,7 +10226,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "futures-timer", @@ -10243,7 +10243,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "fatality", "futures", @@ -10262,7 +10262,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-prospective-parachains" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "fatality", @@ -10296,7 +10296,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "fatality", @@ -10313,7 +10313,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "always-assert", "array-bytes 6.2.2", @@ -10346,7 +10346,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "polkadot-node-primitives", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cfg-if", "cpu-time", @@ -10389,7 +10389,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "polkadot-node-metrics", @@ -10404,7 +10404,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "lazy_static", "log", @@ -10422,7 +10422,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bs58 0.5.0", "futures", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-channel 1.9.0", "async-trait", @@ -10465,7 +10465,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "bounded-vec", @@ -10488,7 +10488,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -10498,7 +10498,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "bitvec", @@ -10526,7 +10526,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "derive_more", @@ -10561,7 +10561,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -10583,7 +10583,7 @@ dependencies = [ [[package]] name = "polkadot-parachain-primitives" version = "6.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bounded-collections", "derive_more", @@ -10600,7 +10600,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "hex-literal 0.4.1", @@ -10627,7 +10627,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "mmr-rpc", @@ -10660,7 +10660,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitvec", "frame-benchmarking", @@ -10712,7 +10712,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bs58 0.5.0", "frame-benchmarking", @@ -10725,7 +10725,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bitflags 1.3.2", "bitvec", @@ -10774,7 +10774,7 @@ dependencies = [ [[package]] name = "polkadot-service" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "frame-benchmarking", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -10914,7 +10914,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -11701,13 +11701,14 @@ dependencies = [ [[package]] name = "ring" version = "0.1.0" -source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" +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", @@ -11787,7 +11788,7 @@ dependencies = [ [[package]] name = "rococo-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "binary-merkle-tree", "frame-benchmarking", @@ -11884,7 +11885,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "polkadot-primitives", @@ -12292,7 +12293,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "log", "sp-core", @@ -12303,7 +12304,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -12332,7 +12333,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "futures-timer", @@ -12354,7 +12355,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "sp-api", @@ -12369,7 +12370,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "docify", @@ -12395,7 +12396,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -12406,7 +12407,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.36.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "bip39", @@ -12447,7 +12448,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "fnv", "futures", @@ -12474,7 +12475,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "hash-db 0.16.0", "kvdb", @@ -12500,7 +12501,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -12525,7 +12526,7 @@ dependencies = [ [[package]] name = "sc-consensus-aura" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -12554,7 +12555,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "fork-tree", @@ -12590,7 +12591,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "jsonrpsee 0.20.3", @@ -12612,7 +12613,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12648,7 +12649,7 @@ dependencies = [ [[package]] name = "sc-consensus-beefy-rpc" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "jsonrpsee 0.20.3", @@ -12667,7 +12668,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "fork-tree", "parity-scale-codec", @@ -12680,7 +12681,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ahash 0.8.6", "array-bytes 6.2.2", @@ -12723,7 +12724,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.19.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "finality-grandpa", "futures", @@ -12743,7 +12744,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -12766,7 +12767,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -12788,7 +12789,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -12800,7 +12801,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.29.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "anyhow", "cfg-if", @@ -12818,7 +12819,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ansi_term", "futures", @@ -12835,7 +12836,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "25.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "parking_lot 0.12.1", @@ -12849,7 +12850,7 @@ dependencies = [ [[package]] name = "sc-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 4.2.0", "arrayvec 0.7.4", @@ -12878,7 +12879,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12921,7 +12922,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-channel 1.9.0", "cid", @@ -12941,7 +12942,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -12958,7 +12959,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ahash 0.8.6", "futures", @@ -12977,7 +12978,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -12998,7 +12999,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "async-channel 1.9.0", @@ -13034,7 +13035,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "futures", @@ -13053,7 +13054,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "bytes", @@ -13087,7 +13088,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -13096,7 +13097,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "jsonrpsee 0.20.3", @@ -13128,7 +13129,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", @@ -13148,7 +13149,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "http", "jsonrpsee 0.20.3", @@ -13163,7 +13164,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "futures", @@ -13193,7 +13194,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "directories", @@ -13256,7 +13257,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.30.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "log", "parity-scale-codec", @@ -13267,7 +13268,7 @@ dependencies = [ [[package]] name = "sc-storage-monitor" version = "0.16.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "clap 4.5.7", "fs4", @@ -13280,7 +13281,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", @@ -13299,7 +13300,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "derive_more", "futures", @@ -13320,7 +13321,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "chrono", "futures", @@ -13339,7 +13340,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ansi_term", "chrono", @@ -13369,7 +13370,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro-crate 3.1.0", "proc-macro2", @@ -13380,7 +13381,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -13407,7 +13408,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -13423,7 +13424,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-channel 1.9.0", "futures", @@ -13927,7 +13928,7 @@ dependencies = [ [[package]] name = "slot-range-helper" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "enumn", "parity-scale-codec", @@ -14121,7 +14122,7 @@ dependencies = [ [[package]] name = "sp-api" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "hash-db 0.16.0", "log", @@ -14142,7 +14143,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "Inflector", "blake2 0.10.6", @@ -14156,7 +14157,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14169,7 +14170,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "23.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "integer-sqrt", "num-traits", @@ -14201,7 +14202,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14214,7 +14215,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-api", "sp-inherents", @@ -14225,7 +14226,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "futures", "log", @@ -14243,7 +14244,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "futures", @@ -14258,7 +14259,7 @@ dependencies = [ [[package]] name = "sp-consensus-aura" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "parity-scale-codec", @@ -14275,7 +14276,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "parity-scale-codec", @@ -14294,7 +14295,7 @@ dependencies = [ [[package]] name = "sp-consensus-beefy" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "lazy_static", "parity-scale-codec", @@ -14314,7 +14315,7 @@ dependencies = [ [[package]] name = "sp-consensus-grandpa" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "finality-grandpa", "log", @@ -14332,7 +14333,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.32.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14344,7 +14345,7 @@ dependencies = [ [[package]] name = "sp-core" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "bandersnatch_vrfs", @@ -14390,7 +14391,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "15.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-crypto-hashing", ] @@ -14419,7 +14420,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing" version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "blake2b_simd", "byteorder", @@ -14432,7 +14433,7 @@ dependencies = [ [[package]] name = "sp-crypto-hashing-proc-macro" version = "0.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "quote", "sp-crypto-hashing", @@ -14442,7 +14443,7 @@ dependencies = [ [[package]] name = "sp-database" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -14461,7 +14462,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "proc-macro2", "quote", @@ -14482,7 +14483,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.25.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "environmental", "parity-scale-codec", @@ -14493,7 +14494,7 @@ dependencies = [ [[package]] name = "sp-genesis-builder" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "serde_json", "sp-api", @@ -14504,7 +14505,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -14518,7 +14519,7 @@ dependencies = [ [[package]] name = "sp-io" version = "30.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bytes", "ed25519-dalek", @@ -14543,7 +14544,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "31.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-core", "sp-runtime", @@ -14553,7 +14554,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.34.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", @@ -14565,7 +14566,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "thiserror", "zstd 0.12.4", @@ -14574,7 +14575,7 @@ dependencies = [ [[package]] name = "sp-metadata-ir" version = "0.6.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-metadata", "parity-scale-codec", @@ -14585,7 +14586,7 @@ dependencies = [ [[package]] name = "sp-mixnet" version = "0.4.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14597,7 +14598,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -14615,7 +14616,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14629,7 +14630,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-api", "sp-core", @@ -14639,7 +14640,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "backtrace", "lazy_static", @@ -14649,7 +14650,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "rustc-hash", "serde", @@ -14659,7 +14660,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "31.0.1" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "docify", "either", @@ -14701,7 +14702,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "24.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -14732,7 +14733,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "Inflector", "expander 2.0.0", @@ -14745,7 +14746,7 @@ dependencies = [ [[package]] name = "sp-session" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "scale-info", @@ -14760,7 +14761,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -14774,7 +14775,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.35.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "hash-db 0.16.0", "log", @@ -14795,7 +14796,7 @@ dependencies = [ [[package]] name = "sp-statement-store" version = "10.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "aes-gcm", "curve25519-dalek 4.1.1", @@ -14825,7 +14826,7 @@ source = "git+https://github.com/paritytech//polkadot-sdk?branch=release-polkado [[package]] name = "sp-std" version = "14.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" [[package]] name = "sp-storage" @@ -14843,7 +14844,7 @@ dependencies = [ [[package]] name = "sp-storage" version = "19.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14856,7 +14857,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "parity-scale-codec", @@ -14881,7 +14882,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "16.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2)", @@ -14893,7 +14894,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "sp-api", "sp-runtime", @@ -14902,7 +14903,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "26.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "parity-scale-codec", @@ -14917,7 +14918,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "ahash 0.8.6", "hash-db 0.16.0", @@ -14941,7 +14942,7 @@ dependencies = [ [[package]] name = "sp-version" version = "29.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "impl-serde", "parity-scale-codec", @@ -14958,7 +14959,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "13.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -14982,7 +14983,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "20.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -14995,7 +14996,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -15064,7 +15065,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-parachain-info" version = "0.7.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-primitives-core", "frame-support", @@ -15078,7 +15079,7 @@ dependencies = [ [[package]] name = "staging-xcm" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "bounded-collections", @@ -15096,7 +15097,7 @@ dependencies = [ [[package]] name = "staging-xcm-builder" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "frame-system", @@ -15118,7 +15119,7 @@ dependencies = [ [[package]] name = "staging-xcm-executor" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "environmental", "frame-benchmarking", @@ -15265,12 +15266,12 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "11.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" [[package]] name = "substrate-frame-rpc-system" version = "28.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -15289,7 +15290,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.17.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "hyper", "log", @@ -15301,7 +15302,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.33.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "jsonrpsee 0.20.3", @@ -15314,7 +15315,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "27.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "jsonrpsee 0.20.3", "parity-scale-codec", @@ -15331,7 +15332,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "17.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "array-bytes 6.2.2", "build-helper", @@ -15979,7 +15980,7 @@ dependencies = [ [[package]] name = "tracing-gum" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "coarsetime", "polkadot-primitives", @@ -15990,7 +15991,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "expander 2.0.0", "proc-macro-crate 3.1.0", @@ -16130,7 +16131,7 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "try-runtime-cli" version = "0.38.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "async-trait", "clap 4.5.7", @@ -16825,7 +16826,7 @@ dependencies = [ [[package]] name = "westend-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "binary-merkle-tree", "bitvec", @@ -16932,7 +16933,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "frame-support", "polkadot-primitives", @@ -17317,7 +17318,7 @@ dependencies = [ [[package]] name = "xcm-emulator" version = "0.5.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-pallet-xcmp-queue", @@ -17351,7 +17352,7 @@ dependencies = [ [[package]] name = "xcm-procedural" version = "7.0.0" -source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#c00ca35b403a95e344d03e229b3f85baa3b96c89" +source = "git+https://github.com/paritytech/polkadot-sdk?branch=release-polkadot-v1.7.2#e73d252e3e13b27a1127bde9a7c47febf70cc9ab" dependencies = [ "Inflector", "proc-macro2", From b61ef6172f473c3d4f94623e2142c475380ec6fa Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 6 Aug 2024 11:42:15 +0200 Subject: [PATCH 53/70] clippy --- pallets/staking/src/migration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs index 268e90134..5f9956cb2 100644 --- a/pallets/staking/src/migration.rs +++ b/pallets/staking/src/migration.rs @@ -63,7 +63,7 @@ pub mod v2 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), TryRuntimeError> { + fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { // TODO: check if the votes storage is empty assert_eq!( PositionVotes::::iter().count(), From 75c18998c69b3f4a62fa636414cd826941fbd6e6 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 13 Aug 2024 13:06:04 +0200 Subject: [PATCH 54/70] review comments --- pallets/circuit-breaker/src/tests/mock.rs | 2 +- pallets/dca/src/lib.rs | 8 ++++---- pallets/dca/src/tests/mock.rs | 6 +++--- pallets/omnipool-liquidity-mining/src/tests/mock.rs | 2 +- pallets/omnipool/src/lib.rs | 4 ++-- pallets/omnipool/src/tests/mock.rs | 2 +- pallets/otc-settlements/src/mock.rs | 4 ++-- pallets/route-executor/src/lib.rs | 6 +++--- pallets/route-executor/src/tests/mock.rs | 2 +- pallets/stableswap/src/lib.rs | 4 ++-- pallets/stableswap/src/tests/mock.rs | 2 +- pallets/transaction-pause/src/benchmarking.rs | 6 +++--- pallets/transaction-pause/src/lib.rs | 6 +++--- pallets/transaction-pause/src/mock.rs | 2 +- pallets/xcm-rate-limiter/src/tests/mock.rs | 2 +- runtime/adapters/src/tests/mock.rs | 4 ++-- runtime/hydradx/src/assets.rs | 11 ++++++----- runtime/hydradx/src/system.rs | 6 +++++- runtime/hydradx/src/xcm.rs | 6 +++--- 19 files changed, 45 insertions(+), 40 deletions(-) diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index b61fdacbd..b3844ea9c 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -215,7 +215,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/dca/src/lib.rs b/pallets/dca/src/lib.rs index 5d0216d68..4c224dfe7 100644 --- a/pallets/dca/src/lib.rs +++ b/pallets/dca/src/lib.rs @@ -57,7 +57,7 @@ //! //! ## Terminating a Schedule //! -//! Both users and technical origin can terminate a DCA schedule. However, users can only terminate schedules that they own. +//! Both users and TerminateOrigin can terminate a DCA schedule. However, users can only terminate schedules that they own. //! //! Once a schedule is terminated, it is completely and permanently removed from the blockchain. @@ -213,7 +213,7 @@ pub mod pallet { type AssetId: Parameter + Member + Copy + MaybeSerializeDeserialize + MaxEncodedLen; /// Origin able to terminate schedules - type TechnicalOrigin: EnsureOrigin; + type TerminateOrigin: EnsureOrigin; ///For named-reserving user's assets type Currencies: NamedMultiReservableCurrency< @@ -552,7 +552,7 @@ pub mod pallet { /// Terminates a DCA schedule and remove it completely from the chain. /// - /// This can be called by both schedule owner or the configured `T::TechnicalOrigin` + /// This can be called by both schedule owner or the configured `T::TerminateOrigin` /// /// Parameters: /// - `origin`: schedule owner @@ -571,7 +571,7 @@ pub mod pallet { ) -> DispatchResult { let schedule = Schedules::::get(schedule_id).ok_or(Error::::ScheduleNotFound)?; - if T::TechnicalOrigin::ensure_origin(origin.clone()).is_err() { + if T::TerminateOrigin::ensure_origin(origin.clone()).is_err() { let who = ensure_signed(origin)?; ensure!(who == schedule.owner, Error::::Forbidden); } diff --git a/pallets/dca/src/tests/mock.rs b/pallets/dca/src/tests/mock.rs index 5e7694428..4cf68e78d 100644 --- a/pallets/dca/src/tests/mock.rs +++ b/pallets/dca/src/tests/mock.rs @@ -253,7 +253,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; @@ -366,7 +366,7 @@ impl pallet_route_executor::Config for Test { type InspectRegistry = DummyRegistry; type DefaultRoutePoolType = DefaultRoutePoolType; type WeightInfo = (); - type TechnicalOrigin = EnsureRoot; + type ForceInsertOrigin = EnsureRoot; type EdToRefundCalculator = MockedEdCalculator; type OraclePriceProvider = PriceProviderMock; type OraclePeriod = RouteValidationOraclePeriod; @@ -689,7 +689,7 @@ impl Config for Test { type BumpChance = BumpChance; type NamedReserveId = NamedReserveId; type MaxNumberOfRetriesOnError = MaxNumberOfRetriesOnError; - type TechnicalOrigin = EnsureRoot; + type TerminateOrigin = EnsureRoot; type RelayChainBlockHashProvider = ParentHashGetterMock; type AmmTradeWeights = (); type MinimumTradingLimit = MinTradeAmount; diff --git a/pallets/omnipool-liquidity-mining/src/tests/mock.rs b/pallets/omnipool-liquidity-mining/src/tests/mock.rs index 716bf96fe..6b6f6dd95 100644 --- a/pallets/omnipool-liquidity-mining/src/tests/mock.rs +++ b/pallets/omnipool-liquidity-mining/src/tests/mock.rs @@ -290,7 +290,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u128; diff --git a/pallets/omnipool/src/lib.rs b/pallets/omnipool/src/lib.rs index c8ae3c2fe..a362d3399 100644 --- a/pallets/omnipool/src/lib.rs +++ b/pallets/omnipool/src/lib.rs @@ -160,7 +160,7 @@ pub mod pallet { type AuthorityOrigin: EnsureOrigin; /// Security origin that can set asset's tradability. - type SecurityOrigin: EnsureOrigin; + type UpdateTradabilityOrigin: EnsureOrigin; /// Asset Registry mechanism - used to check if asset is correctly registered in asset registry type AssetRegistry: RegistryInspect; @@ -1432,7 +1432,7 @@ pub mod pallet { asset_id: T::AssetId, state: Tradability, ) -> DispatchResult { - T::SecurityOrigin::ensure_origin(origin)?; + T::UpdateTradabilityOrigin::ensure_origin(origin)?; if asset_id == T::HubAssetId::get() { // Atm omnipool does not allow adding/removing liquidity of hub asset. diff --git a/pallets/omnipool/src/tests/mock.rs b/pallets/omnipool/src/tests/mock.rs index 5e0c4b003..d0e5a8562 100644 --- a/pallets/omnipool/src/tests/mock.rs +++ b/pallets/omnipool/src/tests/mock.rs @@ -189,7 +189,7 @@ impl Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/otc-settlements/src/mock.rs b/pallets/otc-settlements/src/mock.rs index 81782a9e9..2bfe15f01 100644 --- a/pallets/otc-settlements/src/mock.rs +++ b/pallets/otc-settlements/src/mock.rs @@ -155,7 +155,7 @@ impl pallet_route_executor::Config for Test { type OraclePriceProvider = PriceProviderMock; type OraclePeriod = RouteValidationOraclePeriod; type DefaultRoutePoolType = DefaultRoutePoolType; - type TechnicalOrigin = EnsureRoot; + type ForceInsertOrigin = EnsureRoot; type WeightInfo = (); } @@ -328,7 +328,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = AssetRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/pallets/route-executor/src/lib.rs b/pallets/route-executor/src/lib.rs index b393bf8b6..f7a70a9ba 100644 --- a/pallets/route-executor/src/lib.rs +++ b/pallets/route-executor/src/lib.rs @@ -122,7 +122,7 @@ pub mod pallet { type DefaultRoutePoolType: Get>; /// Origin able to set route without validation - type TechnicalOrigin: EnsureOrigin; + type ForceInsertOrigin: EnsureOrigin; /// Weight information for the extrinsics. type WeightInfo: AmmTradeWeights>; @@ -434,7 +434,7 @@ pub mod pallet { /// Force inserts the on-chain route for a given asset pair, so there is no any validation for the route /// - /// Can only be called by technical origin + /// Can only be called by T::ForceInsertOrigin /// /// The route is stored in an ordered manner, based on the oder of the ids in the asset pair. /// @@ -454,7 +454,7 @@ pub mod pallet { mut asset_pair: AssetPair, mut new_route: Vec>, ) -> DispatchResultWithPostInfo { - T::TechnicalOrigin::ensure_origin(origin)?; + T::ForceInsertOrigin::ensure_origin(origin)?; if !asset_pair.is_ordered() { asset_pair = asset_pair.ordered_pair(); diff --git a/pallets/route-executor/src/tests/mock.rs b/pallets/route-executor/src/tests/mock.rs index 0363cf739..b4726350e 100644 --- a/pallets/route-executor/src/tests/mock.rs +++ b/pallets/route-executor/src/tests/mock.rs @@ -157,7 +157,7 @@ impl Config for Test { type OraclePriceProvider = PriceProviderMock; type OraclePeriod = RouteValidationOraclePeriod; type DefaultRoutePoolType = DefaultRoutePoolType; - type TechnicalOrigin = EnsureRoot; + type ForceInsertOrigin = EnsureRoot; type WeightInfo = (); } diff --git a/pallets/stableswap/src/lib.rs b/pallets/stableswap/src/lib.rs index f6f28b59c..69d2c460e 100644 --- a/pallets/stableswap/src/lib.rs +++ b/pallets/stableswap/src/lib.rs @@ -141,7 +141,7 @@ pub mod pallet { type AuthorityOrigin: EnsureOrigin; /// Security origin which can set the asset tradable state - type SecurityOrigin: EnsureOrigin; + type UpdateTradabilityOrigin: EnsureOrigin; /// Account whitelist manager to exclude pool accounts from dusting mechanism. type DustAccountHandler: DustRemovalAccountWhitelist; @@ -864,7 +864,7 @@ pub mod pallet { asset_id: T::AssetId, state: Tradability, ) -> DispatchResult { - T::SecurityOrigin::ensure_origin(origin)?; + T::UpdateTradabilityOrigin::ensure_origin(origin)?; let pool = Pools::::get(pool_id).ok_or(Error::::PoolNotFound)?; let _ = pool.find_asset(asset_id).ok_or(Error::::AssetNotInPool)?; diff --git a/pallets/stableswap/src/tests/mock.rs b/pallets/stableswap/src/tests/mock.rs index b5190cf4e..68ed93f7c 100644 --- a/pallets/stableswap/src/tests/mock.rs +++ b/pallets/stableswap/src/tests/mock.rs @@ -174,7 +174,7 @@ impl Config for Test { type ShareAccountId = AccountIdConstructor; type AssetInspection = DummyRegistry; type AuthorityOrigin = EnsureRoot; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MinPoolLiquidity = MinimumLiquidity; type AmplificationRange = AmplificationRange; type MinTradingLimit = MinimumTradingLimit; diff --git a/pallets/transaction-pause/src/benchmarking.rs b/pallets/transaction-pause/src/benchmarking.rs index c4a97085c..585b7966d 100644 --- a/pallets/transaction-pause/src/benchmarking.rs +++ b/pallets/transaction-pause/src/benchmarking.rs @@ -26,15 +26,15 @@ use frame_support::assert_ok; benchmarks! { pause_transaction { - let origin = T::SecurityOrigin::try_successful_origin().unwrap(); + let origin = T::UpdateOrigin::try_successful_origin().unwrap(); }: { assert_ok!(crate::Pallet::::pause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())); } unpause_transaction { - let origin = T::SecurityOrigin::try_successful_origin().unwrap(); + let origin = T::UpdateOrigin::try_successful_origin().unwrap(); crate::Pallet::::pause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())?; - let origin = T::SecurityOrigin::try_successful_origin().unwrap(); + let origin = T::UpdateOrigin::try_successful_origin().unwrap(); }:{ assert_ok!(crate::Pallet::::unpause_transaction(origin, b"Balances".to_vec(), b"transfer".to_vec())); } diff --git a/pallets/transaction-pause/src/lib.rs b/pallets/transaction-pause/src/lib.rs index 8ec9a2e68..4853c73bb 100644 --- a/pallets/transaction-pause/src/lib.rs +++ b/pallets/transaction-pause/src/lib.rs @@ -57,7 +57,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// The origin which may set the transaction pause filter. - type SecurityOrigin: EnsureOrigin; + type UpdateOrigin: EnsureOrigin; /// Weight information for the extrinsics in this module. type WeightInfo: WeightInfo; @@ -103,7 +103,7 @@ pub mod pallet { #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::pause_transaction())] pub fn pause_transaction(origin: OriginFor, pallet_name: Vec, function_name: Vec) -> DispatchResult { - T::SecurityOrigin::ensure_origin(origin)?; + T::UpdateOrigin::ensure_origin(origin)?; let pallet_name_b = BoundedName::try_from(pallet_name.clone()).map_err(|_| Error::::NameTooLong)?; let function_name_b = BoundedName::try_from(function_name.clone()).map_err(|_| Error::::NameTooLong)?; @@ -134,7 +134,7 @@ pub mod pallet { pallet_name: Vec, function_name: Vec, ) -> DispatchResult { - T::SecurityOrigin::ensure_origin(origin)?; + T::UpdateOrigin::ensure_origin(origin)?; let pallet_name_b = BoundedName::try_from(pallet_name.clone()).map_err(|_| Error::::NameTooLong)?; let function_name_b = BoundedName::try_from(function_name.clone()).map_err(|_| Error::::NameTooLong)?; diff --git a/pallets/transaction-pause/src/mock.rs b/pallets/transaction-pause/src/mock.rs index f7d62e86a..2178e4772 100644 --- a/pallets/transaction-pause/src/mock.rs +++ b/pallets/transaction-pause/src/mock.rs @@ -115,7 +115,7 @@ ord_parameter_types! { impl Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SecurityOrigin = EnsureSignedBy; + type UpdateOrigin = EnsureSignedBy; type WeightInfo = (); } diff --git a/pallets/xcm-rate-limiter/src/tests/mock.rs b/pallets/xcm-rate-limiter/src/tests/mock.rs index 2f5a5bb10..f563f5472 100644 --- a/pallets/xcm-rate-limiter/src/tests/mock.rs +++ b/pallets/xcm-rate-limiter/src/tests/mock.rs @@ -245,7 +245,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; diff --git a/runtime/adapters/src/tests/mock.rs b/runtime/adapters/src/tests/mock.rs index 6371d872c..03ba22e12 100644 --- a/runtime/adapters/src/tests/mock.rs +++ b/runtime/adapters/src/tests/mock.rs @@ -200,7 +200,7 @@ impl pallet_omnipool::Config for Test { type AssetRegistry = DummyRegistry; type MinimumTradingLimit = MinTradeAmount; type MinimumPoolLiquidity = MinAddedLiquidity; - type SecurityOrigin = EnsureRoot; + type UpdateTradabilityOrigin = EnsureRoot; type MaxInRatio = MaxInRatio; type MaxOutRatio = MaxOutRatio; type CollectionId = u32; @@ -333,7 +333,7 @@ impl pallet_route_executor::Config for Test { type EdToRefundCalculator = MockedEdCalculator; type OraclePriceProvider = PriceProviderMock; type DefaultRoutePoolType = DefaultRoutePoolType; - type TechnicalOrigin = EnsureRoot; + type ForceInsertOrigin = EnsureRoot; type OraclePeriod = RouteValidationOraclePeriod; type WeightInfo = (); } diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 02fa2af6c..27f611f95 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -453,7 +453,8 @@ impl pallet_omnipool::Config for Runtime { type AssetId = AssetId; type Currency = Currencies; type AuthorityOrigin = EitherOf, OmnipoolAdmin>; - type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; + type UpdateTradabilityOrigin = + EitherOf, EitherOf>; type AssetRegistry = AssetRegistry; type HdxAssetId = NativeAssetId; type HubAssetId = LRNA; @@ -505,7 +506,7 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - type TechnicalOrigin = EitherOf, OmnipoolAdmin>; + type TechnicalOrigin = EitherOf, EitherOf>; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; @@ -763,7 +764,7 @@ impl Contains for RetryOnErrorForDca { impl pallet_dca::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; - type TechnicalOrigin = EitherOf, GeneralAdmin>; + type TerminateOrigin = EitherOf, EitherOf>; type Currencies = Currencies; type RelayChainBlockHashProvider = RelayChainBlockHashProviderAdapter; type RandomnessProvider = DCA; @@ -1126,7 +1127,7 @@ impl pallet_route_executor::Config for Runtime { type DefaultRoutePoolType = DefaultRoutePoolType; type NativeAssetId = NativeAssetId; type InspectRegistry = AssetRegistry; - type TechnicalOrigin = EitherOf, GeneralAdmin>; + type ForceInsertOrigin = EitherOf, EitherOf>; type EdToRefundCalculator = RefundAndLockedEdCalculator; type OraclePriceProvider = hydradx_adapters::OraclePriceProvider; type OraclePeriod = RouteValidationOraclePeriod; @@ -1303,7 +1304,7 @@ impl pallet_stableswap::Config for Runtime { type ShareAccountId = StableswapAccountIdConstructor; type AssetInspection = AssetRegistry; type AuthorityOrigin = EitherOf, OmnipoolAdmin>; - type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; + type UpdateTradabilityOrigin = EitherOf, TechCommitteeSuperMajority>; type DustAccountHandler = Duster; type Hooks = StableswapHooksAdapter; type MinPoolLiquidity = MinPoolLiquidity; diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index 7c46b12d6..5bc0885f7 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -55,9 +55,13 @@ impl Contains for CallFilter { if matches!( call, RuntimeCall::System(_) + | RuntimeCall::ConvictionVoting(_) | RuntimeCall::Timestamp(_) | RuntimeCall::ParachainSystem(_) + | RuntimeCall::Preimage(_) | RuntimeCall::Referenda(_) + | RuntimeCall::TransactionPause(_) + | RuntimeCall::Whitelist(_) ) { // always allow // Note: this is done to avoid unnecessary check of paused storage. @@ -610,7 +614,7 @@ impl pallet_collator_rewards::Config for Runtime { impl pallet_transaction_pause::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SecurityOrigin = EitherOf, TechCommitteeSuperMajority>; + type UpdateOrigin = EitherOf, EitherOf>; type WeightInfo = weights::pallet_transaction_pause::HydraWeight; } diff --git a/runtime/hydradx/src/xcm.rs b/runtime/hydradx/src/xcm.rs index cdb6960b0..125726b83 100644 --- a/runtime/hydradx/src/xcm.rs +++ b/runtime/hydradx/src/xcm.rs @@ -206,7 +206,7 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime { type RuntimeEvent = RuntimeEvent; type ChannelInfo = ParachainSystem; type VersionWrapper = PolkadotXcm; - type ControllerOrigin = EitherOf, GeneralAdmin>; + type ControllerOrigin = EitherOf, EitherOf>; type ControllerOriginConverter = XcmOriginToCallOrigin; type PriceForSiblingDelivery = polkadot_runtime_common::xcm_sender::NoPriceForMessageDelivery; type WeightInfo = weights::cumulus_pallet_xcmp_queue::HydraWeight; @@ -251,7 +251,7 @@ impl orml_unknown_tokens::Config for Runtime { impl orml_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SovereignOrigin = EitherOf, GeneralAdmin>; + type SovereignOrigin = EnsureRoot; } impl pallet_xcm::Config for Runtime { @@ -275,7 +275,7 @@ impl pallet_xcm::Config for Runtime { type SovereignAccountOf = (); type MaxLockers = ConstU32<8>; type WeightInfo = weights::pallet_xcm::HydraWeight; - type AdminOrigin = EitherOf, GeneralAdmin>; + type AdminOrigin = EitherOf, EitherOf>; type MaxRemoteLockConsumers = ConstU32<0>; type RemoteLockConsumerIdentifier = (); } From 12a276edf60e010fea2c96563b0ea6e4f645a575 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 13 Aug 2024 13:08:30 +0200 Subject: [PATCH 55/70] Circuit Breaker use UpdateLimitsOrigin --- pallets/circuit-breaker/README.md | 4 ++-- pallets/circuit-breaker/src/lib.rs | 14 +++++++------- pallets/circuit-breaker/src/tests/mock.rs | 2 +- runtime/hydradx/src/assets.rs | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pallets/circuit-breaker/README.md b/pallets/circuit-breaker/README.md index 8b22044ec..75e711ad2 100644 --- a/pallets/circuit-breaker/README.md +++ b/pallets/circuit-breaker/README.md @@ -7,5 +7,5 @@ Three different limits are tracked independently for all assets: trading limit, All trading volumes and amounts of liquidity are reset to zero at the end of block execution, so no values are actually stored in the database. The default percentage limits are set for all assets in the pallet config. -To set a specific trade limit for a given asset, the `set_trade_volume_limit` extrinsic can be executed by `TechnicalOrigin`. -To set a specific limit for liquidity that can be added for a given asset, the `set_liquidity_limit` extrinsic can be executed by `TechnicalOrigin`. +To set a specific trade limit for a given asset, the `set_trade_volume_limit` extrinsic can be executed by `UpdateLimitsOrigin`. +To set a specific limit for liquidity that can be added for a given asset, the `set_liquidity_limit` extrinsic can be executed by `UpdateLimitsOrigin`. diff --git a/pallets/circuit-breaker/src/lib.rs b/pallets/circuit-breaker/src/lib.rs index 613a2f648..61160f688 100644 --- a/pallets/circuit-breaker/src/lib.rs +++ b/pallets/circuit-breaker/src/lib.rs @@ -195,7 +195,7 @@ pub mod pallet { + From; /// Origin able to change the trade volume limit of an asset. - type TechnicalOrigin: EnsureOrigin; + type UpdateLimitsOrigin: EnsureOrigin; /// List of accounts that bypass checks for adding/removing liquidity. Root is always whitelisted type WhitelistedAccounts: Contains; @@ -326,7 +326,7 @@ pub mod pallet { /// Set trade volume limit for an asset. /// /// Parameters: - /// - `origin`: The dispatch origin for this call. Must be `TechnicalOrigin` + /// - `origin`: The dispatch origin for this call. Must be `UpdateLimitsOrigin` /// - `asset_id`: The identifier of an asset /// - `trade_volume_limit`: New trade volume limit represented as a percentage /// @@ -339,7 +339,7 @@ pub mod pallet { asset_id: T::AssetId, trade_volume_limit: (u32, u32), ) -> DispatchResult { - T::TechnicalOrigin::ensure_origin(origin)?; + T::UpdateLimitsOrigin::ensure_origin(origin)?; ensure!(asset_id != T::OmnipoolHubAsset::get(), Error::::NotAllowed); @@ -358,7 +358,7 @@ pub mod pallet { /// Set add liquidity limit for an asset. /// /// Parameters: - /// - `origin`: The dispatch origin for this call. Must be `TechnicalOrigin` + /// - `origin`: The dispatch origin for this call. Must be `UpdateLimitsOrigin` /// - `asset_id`: The identifier of an asset /// - `liquidity_limit`: Optional add liquidity limit represented as a percentage /// @@ -371,7 +371,7 @@ pub mod pallet { asset_id: T::AssetId, liquidity_limit: Option<(u32, u32)>, ) -> DispatchResult { - T::TechnicalOrigin::ensure_origin(origin)?; + T::UpdateLimitsOrigin::ensure_origin(origin)?; ensure!(asset_id != T::OmnipoolHubAsset::get(), Error::::NotAllowed); @@ -392,7 +392,7 @@ pub mod pallet { /// Set remove liquidity limit for an asset. /// /// Parameters: - /// - `origin`: The dispatch origin for this call. Must be `TechnicalOrigin` + /// - `origin`: The dispatch origin for this call. Must be `UpdateLimitsOrigin` /// - `asset_id`: The identifier of an asset /// - `liquidity_limit`: Optional remove liquidity limit represented as a percentage /// @@ -405,7 +405,7 @@ pub mod pallet { asset_id: T::AssetId, liquidity_limit: Option<(u32, u32)>, ) -> DispatchResult { - T::TechnicalOrigin::ensure_origin(origin)?; + T::UpdateLimitsOrigin::ensure_origin(origin)?; ensure!(asset_id != T::OmnipoolHubAsset::get(), Error::::NotAllowed); diff --git a/pallets/circuit-breaker/src/tests/mock.rs b/pallets/circuit-breaker/src/tests/mock.rs index b3844ea9c..023ea7dfb 100644 --- a/pallets/circuit-breaker/src/tests/mock.rs +++ b/pallets/circuit-breaker/src/tests/mock.rs @@ -132,7 +132,7 @@ impl pallet_circuit_breaker::Config for Test { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - type TechnicalOrigin = EnsureRoot; + type UpdateLimitsOrigin = EnsureRoot; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxAddLiquidityLimitPerBlock; diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index 27f611f95..4b905552a 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -506,7 +506,7 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - type TechnicalOrigin = EitherOf, EitherOf>; + type UpdateLimitsOrigin = EitherOf, EitherOf>; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; From 8cc2eea1b8af3ca3b34646d2badf64d2179f5ca7 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 13 Aug 2024 15:06:52 +0200 Subject: [PATCH 56/70] fmt --- runtime/hydradx/src/assets.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/hydradx/src/assets.rs b/runtime/hydradx/src/assets.rs index a6a91393d..9d45ea54f 100644 --- a/runtime/hydradx/src/assets.rs +++ b/runtime/hydradx/src/assets.rs @@ -514,7 +514,8 @@ impl pallet_circuit_breaker::Config for Runtime { type RuntimeEvent = RuntimeEvent; type AssetId = AssetId; type Balance = Balance; - type UpdateLimitsOrigin = EitherOf, EitherOf>; + type UpdateLimitsOrigin = + EitherOf, EitherOf>; type WhitelistedAccounts = CircuitBreakerWhitelist; type DefaultMaxNetTradeVolumeLimitPerBlock = DefaultMaxNetTradeVolumeLimitPerBlock; type DefaultMaxAddLiquidityLimitPerBlock = DefaultMaxLiquidityLimitPerBlock; From 7fbcd6390963e5aaea2cc0dbb2af7b37507db5ae Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Tue, 13 Aug 2024 16:18:59 +0200 Subject: [PATCH 57/70] versions --- Cargo.lock | 6 +++--- integration-tests/Cargo.toml | 2 +- pallets/otc-settlements/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 396bb4979..96fe5eb59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8791,7 +8791,7 @@ dependencies = [ [[package]] name = "pallet-otc-settlements" -version = "1.0.3" +version = "1.0.4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8959,7 +8959,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "2.5.1" +version = "2.5.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -11955,7 +11955,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.23.2" +version = "1.23.3" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index e933a4986..fa534b903 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.23.2" +version = "1.23.3" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/otc-settlements/Cargo.toml b/pallets/otc-settlements/Cargo.toml index 24e23f5d2..e134e9e95 100644 --- a/pallets/otc-settlements/Cargo.toml +++ b/pallets/otc-settlements/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc-settlements' -version = '1.0.3' +version = '1.0.4' description = 'A pallet with offchain worker closing OTC arbs' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 839ef0e51..1dc179630 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '2.5.1' +version = '2.5.2' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' From b059b952b186f051c47830983a148a7937218ff5 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Wed, 14 Aug 2024 21:11:50 +0200 Subject: [PATCH 58/70] remove assertion from staking migration --- pallets/staking/src/migration.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs index 5f9956cb2..c56a5720d 100644 --- a/pallets/staking/src/migration.rs +++ b/pallets/staking/src/migration.rs @@ -52,11 +52,8 @@ pub mod v2 { let processed_votes = ProcessedVotes::::iter().count(); let mut weight = T::DbWeight::get().reads_writes(1, 1); - let ev = PositionVotes::::clear(existing_votes as u32, None); - assert!(ev.maybe_cursor.is_none(), "PositionVotes storage is not empty"); - - let pv = ProcessedVotes::::clear(processed_votes as u32, None); - assert!(pv.maybe_cursor.is_none(), "ProcessedVotes storage is not empty"); + let _ = PositionVotes::::clear(existing_votes as u32, None); + let _ = ProcessedVotes::::clear(processed_votes as u32, None); weight.saturating_accrue(T::DbWeight::get().reads(existing_votes.saturating_add(processed_votes) as u64)); weight @@ -64,7 +61,6 @@ pub mod v2 { #[cfg(feature = "try-runtime")] fn post_upgrade(_state: Vec) -> Result<(), TryRuntimeError> { - // TODO: check if the votes storage is empty assert_eq!( PositionVotes::::iter().count(), 0, From c093a2ba1d99bd5c161286ca7d1d84069c28c89d Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Wed, 14 Aug 2024 21:27:11 +0200 Subject: [PATCH 59/70] remove democracy staking integration --- pallets/staking/src/integrations.rs | 1 - pallets/staking/src/integrations/democracy.rs | 221 ------------------ runtime/hydradx/src/governance/old.rs | 2 +- 3 files changed, 1 insertion(+), 223 deletions(-) delete mode 100644 pallets/staking/src/integrations/democracy.rs diff --git a/pallets/staking/src/integrations.rs b/pallets/staking/src/integrations.rs index c9c6c487f..0e2cefb3b 100644 --- a/pallets/staking/src/integrations.rs +++ b/pallets/staking/src/integrations.rs @@ -1,2 +1 @@ pub mod conviction_voting; -pub mod democracy; diff --git a/pallets/staking/src/integrations/democracy.rs b/pallets/staking/src/integrations/democracy.rs deleted file mode 100644 index 5327bfd17..000000000 --- a/pallets/staking/src/integrations/democracy.rs +++ /dev/null @@ -1,221 +0,0 @@ -use crate::pallet::{PositionVotes, Positions, ProcessedVotes}; -use crate::traits::{GetReferendumState, VestingDetails}; -use crate::types::{Action, Balance, Conviction, Vote}; -use crate::{Config, Error, Pallet}; -use frame_support::defensive; -use frame_support::dispatch::DispatchResult; -use orml_traits::{MultiCurrency, MultiCurrencyExtended}; -use pallet_democracy::traits::DemocracyHooks; -use pallet_democracy::{AccountVote, ReferendumIndex, ReferendumInfo}; -use sp_core::Get; -use sp_runtime::FixedPointNumber; - -pub struct StakingDemocracy(sp_std::marker::PhantomData); - -impl DemocracyHooks for StakingDemocracy -where - T::Currency: MultiCurrencyExtended, -{ - fn on_vote(who: &T::AccountId, ref_index: ReferendumIndex, vote: AccountVote) -> DispatchResult { - let position_id = if let Some(position_id) = Pallet::::get_user_position_id(who)? { - position_id - } else { - return Ok(()); - }; - - Positions::::try_mutate(position_id, |maybe_position| { - let position = match maybe_position.as_mut() { - Some(position) => position, - None => { - let e = crate::Error::::InconsistentState(crate::InconsistentStateError::PositionNotFound); - defensive!(e); - - //NOTE: This is intentional, user can't recover from this state and we don't want - //to block voting. - return Ok(()); - } - }; - - Pallet::::process_votes(who, position_id, position)?; - - let amount = vote.balance(); - let conviction = if let AccountVote::Standard { vote, .. } = vote { - match vote.conviction { - pallet_democracy::Conviction::None => Conviction::None, - pallet_democracy::Conviction::Locked1x => Conviction::Locked1x, - pallet_democracy::Conviction::Locked2x => Conviction::Locked2x, - pallet_democracy::Conviction::Locked3x => Conviction::Locked3x, - pallet_democracy::Conviction::Locked4x => Conviction::Locked4x, - pallet_democracy::Conviction::Locked5x => Conviction::Locked5x, - pallet_democracy::Conviction::Locked6x => Conviction::Locked6x, - } - } else { - Conviction::default() - }; - - // We are capping vote by min(position stake, user's balance - vested amount - locked - // rewards). - // Sub of vested and lockek rewards is necessary because locks overlay so users may end - // up in the situation where portion of the staking lock is also vested or locked - // rewads and we don't want to assign points for it. - let max_vote = T::Currency::free_balance(T::NativeAssetId::get(), who) - .saturating_sub(T::Vesting::locked(who.clone())) - .saturating_sub(position.accumulated_locked_rewards) - .min(position.stake); - let staking_vote = Vote { - amount: amount.min(position.stake).min(max_vote), - conviction, - }; - - PositionVotes::::try_mutate(position_id, |voting| -> DispatchResult { - match voting.votes.binary_search_by_key(&ref_index, |value| value.0) { - Ok(idx) => { - let _ = sp_std::mem::replace(&mut voting.votes[idx], (ref_index, staking_vote)); - } - Err(idx) => { - voting - .votes - .try_insert(idx, (ref_index, staking_vote)) - .map_err(|_| Error::::MaxVotesReached)?; - } - } - Ok(()) - }) - }) - } - - fn on_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, is_finished: Option) { - let Some(maybe_position_id) = Pallet::::get_user_position_id(who).ok() else { - return; - }; - - let Some(position_id) = maybe_position_id else { - return; - }; - - let entry = ProcessedVotes::::take(who, ref_index); - if entry.is_some() { - // this vote was already processed, just remove it - return; - } - - let _ = Positions::::try_mutate(position_id, |maybe_position| -> DispatchResult { - if let Some(position) = maybe_position.as_mut() { - let max_position_vote = Conviction::max_multiplier().saturating_mul_int(position.stake); - - if let Some(vote_idx) = PositionVotes::::get(position_id) - .votes - .iter() - .position(|(idx, _)| *idx == ref_index) - { - let (ref_idx, vote) = PositionVotes::::get(position_id).votes[vote_idx]; - debug_assert_eq!(ref_idx, ref_index, "Referendum index mismatch"); - let points = - Pallet::::calculate_points_for_action(Action::DemocracyVote, vote, max_position_vote); - // Add points only if referendum is finished - if let Some(is_finished) = is_finished { - if is_finished { - position.action_points = position.action_points.saturating_add(points); - } - } - PositionVotes::::mutate(position_id, |voting| { - voting.votes.remove(vote_idx); - }); - } - } - Ok(()) - }); - } - - fn remove_vote_locks_if_needed(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { - let Some(position_id) = Pallet::::get_user_position_id(who).ok()? else { - return None; - }; - - if let Some(vote) = ProcessedVotes::::get(who, ref_index) { - return Some(vote.amount); - } - - let Some(vote_idx) = PositionVotes::::get(position_id) - .votes - .iter() - .position(|(idx, _)| *idx == ref_index) - else { - return None; - }; - let (ref_idx, vote) = PositionVotes::::get(position_id).votes[vote_idx]; - debug_assert_eq!(ref_idx, ref_index, "Referendum index mismatch"); - Some(vote.amount) - } - - #[cfg(feature = "runtime-benchmarks")] - fn on_vote_worst_case(who: &T::AccountId) { - use crate::LockIdentifier; - #[cfg(not(feature = "std"))] - use codec::alloc::string::ToString; - use frame_system::Origin; - use orml_traits::MultiLockableCurrency; - - T::Currency::update_balance( - T::NativeAssetId::get(), - &Pallet::::pot_account_id(), - 10_000_000_000_000i128, - ) - .unwrap(); - Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); - T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); - Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); - - let position_id = Pallet::::get_user_position_id(&who.clone()).unwrap().unwrap(); - - let mut votes = sp_std::vec::Vec::<(u32, Vote)>::new(); - for i in 0..::MaxVotes::get() { - votes.push(( - i, - Vote { - amount: 20_000_000_000_000_000, - conviction: Conviction::Locked1x, - }, - )); - } - - for i in 0..::MaxLocks::get() - 5 { - let id: LockIdentifier = scale_info::prelude::format!("{:a>8}", i.to_string()) - .as_bytes() - .try_into() - .unwrap(); - - T::Currency::set_lock(id, T::NativeAssetId::get(), who, 10_000_000_000_000_u128).unwrap(); - } - - let voting = crate::types::Voting:: { - votes: votes.try_into().unwrap(), - }; - - crate::PositionVotes::::insert(position_id, voting); - } - - #[cfg(feature = "runtime-benchmarks")] - fn on_remove_vote_worst_case(who: &T::AccountId) { - use frame_system::Origin; - - T::Currency::update_balance( - T::NativeAssetId::get(), - &Pallet::::pot_account_id(), - 10_000_000_000_000i128, - ) - .unwrap(); - Pallet::::initialize_staking(Origin::::Root.into()).unwrap(); - T::Currency::update_balance(T::NativeAssetId::get(), who, 1_000_000_000_000_000i128).unwrap(); - Pallet::::stake(Origin::::Signed(who.clone()).into(), 1_000_000_000_000_000u128).unwrap(); - } -} - -pub struct ReferendumStatus(sp_std::marker::PhantomData); - -impl GetReferendumState for ReferendumStatus { - fn is_referendum_finished(index: pallet_democracy::ReferendumIndex) -> bool { - let maybe_info = pallet_democracy::Pallet::::referendum_info(index); - matches!(maybe_info, Some(ReferendumInfo::Finished { .. })) - } -} diff --git a/runtime/hydradx/src/governance/old.rs b/runtime/hydradx/src/governance/old.rs index 065e9650f..a3cf51336 100644 --- a/runtime/hydradx/src/governance/old.rs +++ b/runtime/hydradx/src/governance/old.rs @@ -158,7 +158,7 @@ impl pallet_democracy::Config for Runtime { type VetoOrigin = pallet_collective::EnsureMember; type PalletsOrigin = OriginCaller; type Slash = Treasury; - type DemocracyHooks = pallet_staking::integrations::democracy::StakingDemocracy; + type DemocracyHooks = (); // Any single technical committee member may remove a vote. type VoteRemovalOrigin = frame_system::EnsureSignedBy; } From 5ad0717f3e15d99055ccb70515a16db51d849e8f Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Thu, 15 Aug 2024 08:48:08 +0200 Subject: [PATCH 60/70] fix staking democracy dependencies --- Cargo.lock | 1 - pallets/staking/Cargo.toml | 7 ++++--- pallets/staking/src/tests/mock.rs | 5 ++--- pallets/staking/src/tests/tests.rs | 29 +++++++++++++++-------------- 4 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 96fe5eb59..5db524d32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9095,7 +9095,6 @@ dependencies = [ "orml-traits", "pallet-balances", "pallet-conviction-voting 28.0.0", - "pallet-democracy 4.3.0", "pallet-referenda", "pallet-uniques", "parity-scale-codec", diff --git a/pallets/staking/Cargo.toml b/pallets/staking/Cargo.toml index 646fb4a8a..2170fdcb0 100644 --- a/pallets/staking/Cargo.toml +++ b/pallets/staking/Cargo.toml @@ -31,7 +31,6 @@ sp-core = { workspace = true } frame-support = { workspace = true } frame-system = { workspace = true } frame-benchmarking = { workspace = true, optional = true } -pallet-democracy = { workspace = true } pallet-conviction-voting= { workspace = true } pallet-referenda = { workspace = true } @@ -57,8 +56,8 @@ std = [ "pallet-balances/std", "pallet-uniques/std", "orml-tokens/std", - "pallet-democracy/std", "pallet-conviction-voting/std", + "pallet-referenda/std", ] runtime-benchmarks = [ "frame-benchmarking/runtime-benchmarks", @@ -66,6 +65,8 @@ runtime-benchmarks = [ "frame-system/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "pallet-uniques/runtime-benchmarks", - "pallet-democracy/runtime-benchmarks", + "pallet-conviction-voting/runtime-benchmarks", + "pallet-referenda/runtime-benchmarks", + ] try-runtime = ["frame-support/try-runtime",] diff --git a/pallets/staking/src/tests/mock.rs b/pallets/staking/src/tests/mock.rs index 51bbc827e..32e5107ee 100644 --- a/pallets/staking/src/tests/mock.rs +++ b/pallets/staking/src/tests/mock.rs @@ -26,7 +26,6 @@ use frame_support::{ }; use frame_system::{EnsureRoot, RawOrigin}; use orml_traits::{parameter_type_with_key, LockIdentifier, MultiCurrencyExtended}; -use pallet_democracy::ReferendumIndex; use sp_core::H256; use sp_runtime::{ traits::{BlakeTwo256, BlockNumberProvider, IdentityLookup}, @@ -290,7 +289,7 @@ pub struct ExtBuilder { //(who, staked maount, created_at, pendig_rewards) stakes: Vec<(AccountId, Balance, BlockNumber, Balance)>, init_staking: bool, - with_votings: Vec<(PositionId, Vec<(ReferendumIndex, Vote)>)>, + with_votings: Vec<(PositionId, Vec<(types::ReferendumIndex, Vote)>)>, } impl ExtBuilder { @@ -315,7 +314,7 @@ impl ExtBuilder { self } - pub fn with_votings(mut self, votings: Vec<(u128, Vec<(ReferendumIndex, Vote)>)>) -> Self { + pub fn with_votings(mut self, votings: Vec<(u128, Vec<(types::ReferendumIndex, Vote)>)>) -> Self { self.with_votings = votings; self } diff --git a/pallets/staking/src/tests/tests.rs b/pallets/staking/src/tests/tests.rs index 0779a916b..b389d777f 100644 --- a/pallets/staking/src/tests/tests.rs +++ b/pallets/staking/src/tests/tests.rs @@ -1,5 +1,5 @@ use crate::{ - integrations::democracy::StakingDemocracy, + integrations::conviction_voting::StakingConvictionVoting, types::{Conviction, Vote}, }; @@ -7,7 +7,8 @@ use super::*; use frame_system::RawOrigin; use mock::Staking; -use pallet_democracy::{traits::DemocracyHooks, AccountVote}; +use pallet_conviction_voting::traits::VotingHooks; +use pallet_conviction_voting::AccountVote; use pretty_assertions::assert_eq; //NOTE: Referendums with even indexes are finished. @@ -337,14 +338,14 @@ fn process_votes_should_work_when_on_vote_is_called() { let position_before = Staking::positions(position_id).unwrap(); //Act - assert_ok!(StakingDemocracy::::on_vote( + assert_ok!(StakingConvictionVoting::::on_vote( &BOB, 7, AccountVote::Standard { balance: 1_000 * ONE, - vote: pallet_democracy::Vote { + vote: pallet_conviction_voting::Vote { aye: true, - conviction: pallet_democracy::Conviction::None + conviction: pallet_conviction_voting::Conviction::None } } )); @@ -749,9 +750,9 @@ fn process_votes_should_calculate_action_points_corectly_when_referendum_is_fini } #[test] -fn democracy_hook_vote_cap_should_work() { +fn conviction_voting_hook_vote_cap_should_work() { //Locks OVERLAY so 1000 tokens lock and 100 tokens lock results in 1000 tokens locked in total. - use pallet_democracy::{Conviction as Dconviction, Vote as Dvote}; + use pallet_conviction_voting::{Conviction as Dconviction, Vote as Dvote}; ExtBuilder::default() .with_endowed_accounts(vec![ (ALICE, HDX, 150_000 * ONE), @@ -785,7 +786,7 @@ fn democracy_hook_vote_cap_should_work() { assert_eq!(Staking::position_votes(vested_position_id).votes.len(), 0); //Act - happy path, user have enough token for staking and vesting. - assert_ok!(StakingDemocracy::::on_vote(&VESTED_100K, ref_idx, v)); + assert_ok!(StakingConvictionVoting::::on_vote(&VESTED_100K, ref_idx, v)); //Assert let staking_votes = Staking::position_votes(vested_position_id).votes; @@ -798,7 +799,7 @@ fn democracy_hook_vote_cap_should_work() { Tokens::transfer(RuntimeOrigin::signed(VESTED_100K), ALICE, HDX, 1).unwrap(); //Act - assert_ok!(StakingDemocracy::::on_vote(&VESTED_100K, ref_idx, v)); + assert_ok!(StakingConvictionVoting::::on_vote(&VESTED_100K, ref_idx, v)); //Assert let staking_votes = Staking::position_votes(vested_position_id).votes; @@ -813,7 +814,7 @@ fn democracy_hook_vote_cap_should_work() { assert_eq!(Tokens::free_balance(HDX, &VESTED_100K), 100_000 * ONE); //Act 3 - assert_ok!(StakingDemocracy::::on_vote(&VESTED_100K, ref_idx, v)); + assert_ok!(StakingConvictionVoting::::on_vote(&VESTED_100K, ref_idx, v)); //Assert let staking_votes = Staking::position_votes(vested_position_id).votes; @@ -838,13 +839,13 @@ fn democracy_hook_vote_cap_should_work() { let v = AccountVote::Standard { vote: Dvote { aye: true, - conviction: Dconviction::Locked6x, + conviction: pallet_conviction_voting::Conviction::Locked6x, }, balance: 120_000 * ONE, }; //Act 4 - assert_ok!(StakingDemocracy::::on_vote(&VESTED_100K, ref_idx, v)); + assert_ok!(StakingConvictionVoting::::on_vote(&VESTED_100K, ref_idx, v)); //Assert let staking_votes = Staking::position_votes(vested_position_id).votes; @@ -869,13 +870,13 @@ fn democracy_hook_vote_cap_should_work() { let v = AccountVote::Standard { vote: Dvote { aye: true, - conviction: Dconviction::Locked6x, + conviction: pallet_conviction_voting::Conviction::Locked6x, }, balance: 100_000 * ONE, }; //Act 5 - assert_ok!(StakingDemocracy::::on_vote(&VESTED_100K, ref_idx, v)); + assert_ok!(StakingConvictionVoting::::on_vote(&VESTED_100K, ref_idx, v)); //Assert let staking_votes = Staking::position_votes(vested_position_id).votes; From 066a518463285127d47097efb5ae33dd54c28a61 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Tue, 3 Sep 2024 18:59:08 +0200 Subject: [PATCH 61/70] use latest conviction voting pallet version --- pallets/conviction-voting/src/benchmarking.rs | 4 +- pallets/conviction-voting/src/conviction.rs | 11 +- pallets/conviction-voting/src/lib.rs | 92 ++++++----- pallets/conviction-voting/src/tests.rs | 149 +++++++++++++++++- pallets/conviction-voting/src/traits.rs | 15 +- .../src/integrations/conviction_voting.rs | 8 +- 6 files changed, 211 insertions(+), 68 deletions(-) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 75d0cd8d3..42ab7954b 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -16,9 +16,7 @@ // limitations under the License. //! ConvictionVoting pallet benchmarking. -#![allow(clippy::unnecessary_cast)] -#![allow(clippy::len_zero)] -#![allow(clippy::type_complexity)] + use super::*; use assert_matches::assert_matches; diff --git a/pallets/conviction-voting/src/conviction.rs b/pallets/conviction-voting/src/conviction.rs index 1f924ac4c..8054cce87 100644 --- a/pallets/conviction-voting/src/conviction.rs +++ b/pallets/conviction-voting/src/conviction.rs @@ -27,12 +27,9 @@ use sp_runtime::{ use crate::types::Delegations; /// A value denoting the strength of conviction of a vote. -#[derive( - Encode, Decode, Default, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen, -)] +#[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen)] pub enum Conviction { /// 0.1x votes, unlocked. - #[default] None, /// 1x votes, locked for an enactment period following a successful vote. Locked1x, @@ -48,6 +45,12 @@ pub enum Conviction { Locked6x, } +impl Default for Conviction { + fn default() -> Self { + Conviction::None + } +} + impl From for u8 { fn from(c: Conviction) -> u8 { match c { diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index eb06e1a8f..2a498a5ef 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -26,9 +26,7 @@ #![recursion_limit = "256"] #![cfg_attr(not(feature = "std"), no_std)] -#![allow(clippy::mem_replace_with_default)] -use crate::traits::VotingHooks; use frame_support::{ dispatch::DispatchResult, ensure, @@ -53,6 +51,7 @@ pub mod weights; pub use self::{ conviction::Conviction, pallet::*, + traits::VotingHooks, types::{Delegations, Tally, UnvoteScope}, vote::{AccountVote, Casting, Delegating, Vote, Voting}, weights::WeightInfo, @@ -87,7 +86,6 @@ type ClassOf = <>::Polls as Polling>>::C #[frame_support::pallet] pub mod pallet { use super::*; - use crate::traits::VotingHooks; use frame_support::{ pallet_prelude::{DispatchResultWithPostInfo, IsType, StorageDoubleMap, StorageMap, ValueQuery}, traits::ClassCountOf, @@ -133,7 +131,7 @@ pub mod pallet { type VoteLockingPeriod: Get>; /// Hooks are actions that are executed on certain events. - /// Actions: on_vote, on_remove_vote + /// Events: on_vote, on_remove_vote, on_remove_unsuccessful_vote type VotingHooks: VotingHooks, BalanceOf>; } @@ -273,7 +271,7 @@ pub mod pallet { // NOTE: weight must cover an incorrect voting of origin with max votes, this is ensure // because a valid delegation cover decoding a direct voting with max votes. #[pallet::call_index(2)] - #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get()))] + #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get().into()))] pub fn undelegate(origin: OriginFor, class: ClassOf) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; let votes = Self::try_undelegate(who, class)?; @@ -422,7 +420,7 @@ impl, I: 'static> Pallet { // other votes are in place. Self::extend_lock(who, &class, vote.balance()); - // call on_vote hook + // Call on_vote hook T::VotingHooks::on_vote(who, poll_index, vote)?; Ok(()) }) @@ -456,53 +454,51 @@ impl, I: 'static> Pallet { .map_err(|_| Error::::NotVoter)?; let v = votes.remove(i); - T::Polls::try_access_poll(poll_index, |poll_status| -> DispatchResult { - let is_finished = match poll_status { - PollStatus::Ongoing(tally, _) => { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); - // Shouldn't be possible to fail, but we handle it gracefully. - tally.remove(v.1).ok_or(ArithmeticError::Underflow)?; - if let Some(approve) = v.1.as_standard() { - tally.reduce(approve, *delegations); - } - Some(false) + T::Polls::try_access_poll(poll_index, |poll_status| match poll_status { + PollStatus::Ongoing(tally, _) => { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermission); + // Shouldn't be possible to fail, but we handle it gracefully. + tally.remove(v.1).ok_or(ArithmeticError::Underflow)?; + if let Some(approve) = v.1.as_standard() { + tally.reduce(approve, *delegations); } - PollStatus::Completed(end, approved) => { - if let Some((lock_periods, balance)) = v.1.locked_if(approved) { - let unlock_at = - end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); - let now = frame_system::Pallet::::block_number(); - if now < unlock_at { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); - prior.accumulate(unlock_at, balance) - } - } else { - // Unsuccessful vote, use special hooks to lock the funds too in case of conviction. - if let Some(to_lock) = - T::VotingHooks::get_amount_to_lock_for_remove_vote(who, poll_index) - { - if let AccountVote::Standard { vote, .. } = v.1 { - let unlock_at = end.saturating_add( - T::VoteLockingPeriod::get() - .saturating_mul(vote.conviction.lock_periods().into()), - ); - let now = frame_system::Pallet::::block_number(); - if now < unlock_at { - ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); - prior.accumulate(unlock_at, to_lock) - } + T::VotingHooks::on_remove_vote(who, poll_index, Some(true)); + Ok(()) + } + PollStatus::Completed(end, approved) => { + if let Some((lock_periods, balance)) = v.1.locked_if(approved) { + let unlock_at = + end.saturating_add(T::VoteLockingPeriod::get().saturating_mul(lock_periods.into())); + let now = frame_system::Pallet::::block_number(); + if now < unlock_at { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); + prior.accumulate(unlock_at, balance) + } + } else if v.1.as_standard() == Some(!approved) { + // Unsuccessful vote, use special hooks to lock the funds too in case of conviction. + if let Some(to_lock) = T::VotingHooks::locked_if_unsuccessful_vote(who, poll_index) { + if let AccountVote::Standard { vote, .. } = v.1 { + let unlock_at = end.saturating_add( + T::VoteLockingPeriod::get() + .saturating_mul(vote.conviction.lock_periods().into()), + ); + let now = frame_system::Pallet::::block_number(); + if now < unlock_at { + ensure!(matches!(scope, UnvoteScope::Any), Error::::NoPermissionYet); + prior.accumulate(unlock_at, to_lock) } } } - Some(true) } - PollStatus::None => None, // Poll was cancelled. - }; - - // call on_remove_vote hook - T::VotingHooks::on_remove_vote(who, poll_index, is_finished); - - Ok(()) + // Call on_remove_vote hook + T::VotingHooks::on_remove_vote(who, poll_index, Some(false)); + Ok(()) + } + PollStatus::None => { + // Poll was cancelled. + T::VotingHooks::on_remove_vote(who, poll_index, None); + Ok(()) + } }) } else { Ok(()) diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs index 4a2ac1cb4..f6afefc27 100644 --- a/pallets/conviction-voting/src/tests.rs +++ b/pallets/conviction-voting/src/tests.rs @@ -16,8 +16,8 @@ // limitations under the License. //! The crate's tests. -#![allow(clippy::manual_next_back)] +use std::cell::RefCell; use std::collections::BTreeMap; use frame_support::{ @@ -188,7 +188,7 @@ impl Config for Test { type WeightInfo = (); type MaxTurnout = frame_support::traits::TotalIssuanceOf; type Polls = TestPolls; - type VotingHooks = (); + type VotingHooks = HooksHandler; } pub fn new_test_ext() -> sp_io::TestExternalities { @@ -1028,3 +1028,148 @@ fn errors_with_remove_vote_work() { ); }); } +thread_local! { + static LAST_ON_VOTE_DATA: RefCell)>> = RefCell::new(None); + static LAST_ON_REMOVE_VOTE_DATA: RefCell)>> = RefCell::new(None); + static LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA: RefCell> = RefCell::new(None); + static REMOVE_VOTE_LOCKED_AMOUNT: RefCell> = RefCell::new(None); +} + +pub struct HooksHandler; + +impl HooksHandler { + fn last_on_vote_data() -> Option<(u64, u8, AccountVote)> { + LAST_ON_VOTE_DATA.with(|data| data.borrow().clone()) + } + + fn last_on_remove_vote_data() -> Option<(u64, u8, Option)> { + LAST_ON_REMOVE_VOTE_DATA.with(|data| data.borrow().clone()) + } + + fn last_locked_if_unsuccessful_vote_data() -> Option<(u64, u8)> { + LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| data.borrow().clone()) + } + + fn reset() { + LAST_ON_VOTE_DATA.with(|data| *data.borrow_mut() = None); + LAST_ON_REMOVE_VOTE_DATA.with(|data| *data.borrow_mut() = None); + LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| *data.borrow_mut() = None); + REMOVE_VOTE_LOCKED_AMOUNT.with(|data| *data.borrow_mut() = None); + } + + fn with_remove_locked_amount(v: u64) { + REMOVE_VOTE_LOCKED_AMOUNT.with(|data| *data.borrow_mut() = Some(v)); + } +} + +impl VotingHooks for HooksHandler { + fn on_vote(who: &u64, ref_index: u8, vote: AccountVote) -> DispatchResult { + LAST_ON_VOTE_DATA.with(|data| { + *data.borrow_mut() = Some((*who, ref_index, vote)); + }); + Ok(()) + } + + fn on_remove_vote(who: &u64, ref_index: u8, ongoing: Option) { + LAST_ON_REMOVE_VOTE_DATA.with(|data| { + *data.borrow_mut() = Some((*who, ref_index, ongoing)); + }); + } + + fn locked_if_unsuccessful_vote(who: &u64, ref_index: u8) -> Option { + LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| { + *data.borrow_mut() = Some((*who, ref_index)); + + REMOVE_VOTE_LOCKED_AMOUNT.with(|data| data.borrow().clone()) + }) + } + + #[cfg(feature = "runtime-benchmarks")] + fn on_vote_worst_case(_who: &u64) {} + + #[cfg(feature = "runtime-benchmarks")] + fn on_remove_vote_worst_case(_who: &u64) {} +} + +#[test] +fn voting_hooks_are_called_correctly() { + new_test_ext().execute_with(|| { + let c = class(3); + + let usable_balance_1 = Balances::usable_balance(1); + dbg!(usable_balance_1); + + // Voting + assert_ok!(Voting::vote(RuntimeOrigin::signed(1), 3, aye(1, 1))); + assert_eq!( + HooksHandler::last_on_vote_data(), + Some(( + 1, + 3, + AccountVote::Standard { + vote: Vote { + aye: true, + conviction: Conviction::Locked1x + }, + balance: 1 + } + )) + ); + assert_ok!(Voting::vote(RuntimeOrigin::signed(2), 3, nay(20, 2))); + assert_eq!( + HooksHandler::last_on_vote_data(), + Some(( + 2, + 3, + AccountVote::Standard { + vote: Vote { + aye: false, + conviction: Conviction::Locked2x + }, + balance: 20 + } + )) + ); + HooksHandler::reset(); + + // removing vote while ongoing + assert_ok!(Voting::vote(RuntimeOrigin::signed(3), 3, nay(20, 0))); + assert_eq!( + HooksHandler::last_on_vote_data(), + Some(( + 3, + 3, + AccountVote::Standard { + vote: Vote { + aye: false, + conviction: Conviction::None + }, + balance: 20 + } + )) + ); + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(3), Some(c), 3)); + assert_eq!(HooksHandler::last_on_remove_vote_data(), Some((3, 3, Some(true)))); + HooksHandler::reset(); + + Polls::set(vec![(3, Completed(3, false))].into_iter().collect()); + + // removing successful vote while completed + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(2), Some(c), 3)); + assert_eq!(HooksHandler::last_on_remove_vote_data(), Some((2, 3, Some(false)))); + assert_eq!(HooksHandler::last_locked_if_unsuccessful_vote_data(), None); + + HooksHandler::reset(); + + HooksHandler::with_remove_locked_amount(5); + + // removing unsuccessful vote when completed + assert_ok!(Voting::remove_vote(RuntimeOrigin::signed(1), Some(c), 3)); + assert_eq!(HooksHandler::last_on_remove_vote_data(), Some((1, 3, Some(false)))); + assert_eq!(HooksHandler::last_locked_if_unsuccessful_vote_data(), Some((1, 3))); + + // Removing unsuccessful vote when completed should lock if given amount from the hook + assert_ok!(Voting::unlock(RuntimeOrigin::signed(1), c, 1)); + assert_eq!(Balances::usable_balance(1), 5); + }); +} diff --git a/pallets/conviction-voting/src/traits.rs b/pallets/conviction-voting/src/traits.rs index 56b2668a8..77bf54c98 100644 --- a/pallets/conviction-voting/src/traits.rs +++ b/pallets/conviction-voting/src/traits.rs @@ -2,15 +2,16 @@ use crate::AccountVote; use frame_support::dispatch::DispatchResult; pub trait VotingHooks { + // Called when vote is executed. fn on_vote(who: &AccountId, ref_index: Index, vote: AccountVote) -> DispatchResult; // Called when removed vote is executed. - // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(bool) if referendum is finished(true) or ongoing(false). - fn on_remove_vote(who: &AccountId, ref_index: Index, is_finished: Option); + // is_finished indicates the state of the referendum = None if referendum is cancelled, Some(true) if referendum is ongoing and Some(false) when finished. + fn on_remove_vote(who: &AccountId, ref_index: Index, ongoing: Option); - // Called when removed vote is executed and vote is in opposition. - // Returns the amount that should be locked for the conviction time. - fn get_amount_to_lock_for_remove_vote(who: &AccountId, ref_index: Index) -> Option; + // Called when removed vote is executed and voter lost the direction to possibly lock some balance. + // Can Return the amount that should be locked for the conviction time. + fn locked_if_unsuccessful_vote(who: &AccountId, ref_index: Index) -> Option; #[cfg(feature = "runtime-benchmarks")] fn on_vote_worst_case(_who: &AccountId); @@ -24,9 +25,9 @@ impl VotingHooks for () { Ok(()) } - fn on_remove_vote(_who: &A, _ref_index: I, _is_finished: Option) {} + fn on_remove_vote(_who: &A, _ref_index: I, _ongoing: Option) {} - fn get_amount_to_lock_for_remove_vote(_who: &A, _ref_index: I) -> Option { + fn locked_if_unsuccessful_vote(_who: &A, _ref_index: I) -> Option { None } diff --git a/pallets/staking/src/integrations/conviction_voting.rs b/pallets/staking/src/integrations/conviction_voting.rs index 4047a65e1..e4cbd9c2c 100644 --- a/pallets/staking/src/integrations/conviction_voting.rs +++ b/pallets/staking/src/integrations/conviction_voting.rs @@ -85,7 +85,7 @@ where }) } - fn on_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, is_finished: Option) { + fn on_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex, ongoing: Option) { let Some(maybe_position_id) = Pallet::::get_user_position_id(who).ok() else { return; }; @@ -114,8 +114,8 @@ where let points = Pallet::::calculate_points_for_action(Action::DemocracyVote, vote, max_position_vote); // Add points only if referendum is finished - if let Some(is_finished) = is_finished { - if is_finished { + if let Some(is_ongoing) = ongoing { + if !is_ongoing { position.action_points = position.action_points.saturating_add(points); } } @@ -128,7 +128,7 @@ where }); } - fn get_amount_to_lock_for_remove_vote(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { + fn locked_if_unsuccessful_vote(who: &T::AccountId, ref_index: ReferendumIndex) -> Option { let Some(position_id) = Pallet::::get_user_position_id(who).ok()? else { return None; }; From 3fe0aedcc5c8ec70688e111e283a2106fac17fc0 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Wed, 4 Sep 2024 21:05:42 +0200 Subject: [PATCH 62/70] fix clippy issues in conviction voting --- integration-tests/src/router.rs | 1 - pallets/conviction-voting/src/conviction.rs | 11 ++++------- pallets/conviction-voting/src/lib.rs | 4 ++-- pallets/conviction-voting/src/tests.rs | 8 ++++---- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/integration-tests/src/router.rs b/integration-tests/src/router.rs index d6eba45cc..fb5176cf7 100644 --- a/integration-tests/src/router.rs +++ b/integration-tests/src/router.rs @@ -1352,7 +1352,6 @@ mod omnipool_router_tests { let extra_ed_charge = UNITS / 10; assert_balance!(ALICE.into(), HDX, 1000 * UNITS - ed); - let amount_to_sell = amount_to_sell; assert_ok!(Router::sell( hydradx_runtime::RuntimeOrigin::signed(ALICE.into()), insufficient_asset_1, diff --git a/pallets/conviction-voting/src/conviction.rs b/pallets/conviction-voting/src/conviction.rs index 8054cce87..a10b46765 100644 --- a/pallets/conviction-voting/src/conviction.rs +++ b/pallets/conviction-voting/src/conviction.rs @@ -27,9 +27,12 @@ use sp_runtime::{ use crate::types::Delegations; /// A value denoting the strength of conviction of a vote. -#[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen)] +#[derive( + Default, Encode, Decode, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, RuntimeDebug, TypeInfo, MaxEncodedLen, +)] pub enum Conviction { /// 0.1x votes, unlocked. + #[default] None, /// 1x votes, locked for an enactment period following a successful vote. Locked1x, @@ -45,12 +48,6 @@ pub enum Conviction { Locked6x, } -impl Default for Conviction { - fn default() -> Self { - Conviction::None - } -} - impl From for u8 { fn from(c: Conviction) -> u8 { match c { diff --git a/pallets/conviction-voting/src/lib.rs b/pallets/conviction-voting/src/lib.rs index 2a498a5ef..302b3a3d5 100644 --- a/pallets/conviction-voting/src/lib.rs +++ b/pallets/conviction-voting/src/lib.rs @@ -271,7 +271,7 @@ pub mod pallet { // NOTE: weight must cover an incorrect voting of origin with max votes, this is ensure // because a valid delegation cover decoding a direct voting with max votes. #[pallet::call_index(2)] - #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get().into()))] + #[pallet::weight(T::WeightInfo::undelegate(T::MaxVotes::get()))] pub fn undelegate(origin: OriginFor, class: ClassOf) -> DispatchResultWithPostInfo { let who = ensure_signed(origin)?; let votes = Self::try_undelegate(who, class)?; @@ -619,7 +619,7 @@ impl, I: 'static> Pallet { /// Return the number of votes of upstream. fn try_undelegate(who: T::AccountId, class: ClassOf) -> Result { let votes = VotingFor::::try_mutate(&who, &class, |voting| -> Result { - match sp_std::mem::replace(voting, Voting::default()) { + match sp_std::mem::take(voting) { Voting::Delegating(Delegating { balance, target, diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs index f6afefc27..a18eb1eb8 100644 --- a/pallets/conviction-voting/src/tests.rs +++ b/pallets/conviction-voting/src/tests.rs @@ -1039,15 +1039,15 @@ pub struct HooksHandler; impl HooksHandler { fn last_on_vote_data() -> Option<(u64, u8, AccountVote)> { - LAST_ON_VOTE_DATA.with(|data| data.borrow().clone()) + LAST_ON_VOTE_DATA.with(|data| *data.borrow()) } fn last_on_remove_vote_data() -> Option<(u64, u8, Option)> { - LAST_ON_REMOVE_VOTE_DATA.with(|data| data.borrow().clone()) + LAST_ON_REMOVE_VOTE_DATA.with(|data| *data.borrow()) } fn last_locked_if_unsuccessful_vote_data() -> Option<(u64, u8)> { - LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| data.borrow().clone()) + LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| *data.borrow()) } fn reset() { @@ -1080,7 +1080,7 @@ impl VotingHooks for HooksHandler { LAST_LOCKED_IF_UNSUCCESSFUL_VOTE_DATA.with(|data| { *data.borrow_mut() = Some((*who, ref_index)); - REMOVE_VOTE_LOCKED_AMOUNT.with(|data| data.borrow().clone()) + REMOVE_VOTE_LOCKED_AMOUNT.with(|data| *data.borrow()) }) } From e54ef8e9d3be4cef87455975946b82b2116c7173 Mon Sep 17 00:00:00 2001 From: Martin Hloska Date: Wed, 4 Sep 2024 22:06:29 +0200 Subject: [PATCH 63/70] fix clippy issues in conviction voting tests and benchmarks --- pallets/conviction-voting/src/benchmarking.rs | 15 ++++++++------- pallets/conviction-voting/src/tests.rs | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pallets/conviction-voting/src/benchmarking.rs b/pallets/conviction-voting/src/benchmarking.rs index 42ab7954b..f37bbb873 100644 --- a/pallets/conviction-voting/src/benchmarking.rs +++ b/pallets/conviction-voting/src/benchmarking.rs @@ -16,6 +16,7 @@ // limitations under the License. //! ConvictionVoting pallet benchmarking. +#![allow(clippy::type_complexity)] use super::*; @@ -88,14 +89,14 @@ benchmarks_instance_pallet! { Voting::Casting(Casting { votes, .. }) => votes, _ => return Err("Votes are not direct".into()), }; - assert_eq!(votes.len(), r as usize, "Votes were not recorded."); + assert_eq!(votes.len(), r, "Votes were not recorded."); let index = polls[0]; }: vote(RawOrigin::Signed(caller.clone()), index, account_vote) verify { assert_matches!( VotingFor::::get(&caller, &class), - Voting::Casting(Casting { votes, .. }) if votes.len() == (r + 1) as usize + Voting::Casting(Casting { votes, .. }) if votes.len() == (r + 1) ); } @@ -125,7 +126,7 @@ benchmarks_instance_pallet! { verify { assert_matches!( VotingFor::::get(&caller, &class), - Voting::Casting(Casting { votes, .. }) if votes.len() == r as usize + Voting::Casting(Casting { votes, .. }) if votes.len() == r ); } @@ -154,7 +155,7 @@ benchmarks_instance_pallet! { verify { assert_matches!( VotingFor::::get(&caller, &class), - Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) as usize + Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) ); } @@ -186,7 +187,7 @@ benchmarks_instance_pallet! { verify { assert_matches!( VotingFor::::get(&voter, &class), - Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) as usize + Voting::Casting(Casting { votes, .. }) if votes.len() == (r - 1) ); } @@ -263,9 +264,9 @@ benchmarks_instance_pallet! { // Fill everything up to the max by filling all classes with votes and voting on them all. let (class, all_polls) = fill_voting::(); - assert!(all_polls.len() > 0); + assert!(!all_polls.is_empty()); for (class, polls) in all_polls.iter() { - assert!(polls.len() > 0); + assert!(!all_polls.is_empty()); for i in polls.iter() { ConvictionVoting::::vote(RawOrigin::Signed(caller.clone()).into(), *i, normal_account_vote)?; } diff --git a/pallets/conviction-voting/src/tests.rs b/pallets/conviction-voting/src/tests.rs index a18eb1eb8..d18bda853 100644 --- a/pallets/conviction-voting/src/tests.rs +++ b/pallets/conviction-voting/src/tests.rs @@ -16,6 +16,7 @@ // limitations under the License. //! The crate's tests. +#![allow(clippy::manual_next_back)] use std::cell::RefCell; use std::collections::BTreeMap; From 7be744df633a197361d1515f0cdea6689dacc612 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 9 Sep 2024 14:15:38 +0200 Subject: [PATCH 64/70] bump crates --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d9fa1daba..cb6dd8b0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8959,7 +8959,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "2.6.0" +version = "2.6.1" dependencies = [ "frame-benchmarking", "frame-support", @@ -11954,7 +11954,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.23.3" +version = "1.23.4" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index fa534b903..8016c3759 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.23.3" +version = "1.23.4" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 16894edfd..dad783535 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '2.6.0' +version = '2.6.1' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' From 7fa0af3d07e8b022ce5c895316eee9ba27bfba92 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Mon, 23 Sep 2024 12:51:16 +0200 Subject: [PATCH 65/70] tweak tracks --- launch-configs/chopsticks/hydradx.yml | 2 +- runtime/hydradx/src/governance/tracks.rs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/launch-configs/chopsticks/hydradx.yml b/launch-configs/chopsticks/hydradx.yml index 8d865c296..024d74b4c 100644 --- a/launch-configs/chopsticks/hydradx.yml +++ b/launch-configs/chopsticks/hydradx.yml @@ -2,7 +2,7 @@ endpoint: wss://rpc.hydradx.cloud mock-signature-host: true #block: 1872160 db: ./db.sqlite -wasm-override: target/release/hydradx_runtime.compact.compressed.wasm +wasm-override: target/release/wbuild/hydradx-runtime/hydradx_runtime.compact.compressed.wasm import-storage: System: diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs index 955111c27..0bee48c29 100644 --- a/runtime/hydradx/src/governance/tracks.rs +++ b/runtime/hydradx/src/governance/tracks.rs @@ -43,7 +43,7 @@ const APP_RECIP: Curve = Curve::make_reciprocal(1, 7, percent(80), percent(50), const SUP_LINEAR: Curve = Curve::make_linear(7, 7, percent(0), percent(50)); const SUP_RECIP: Curve = Curve::make_reciprocal(5, 7, percent(1), percent(0), percent(50)); const SUP_FAST_RECIP: Curve = Curve::make_reciprocal(3, 7, percent(1), percent(0), percent(50)); -const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(20), percent(5), percent(50)); +const SUP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(1, 28, percent(3), percent(2), percent(50)); const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] = [ ( @@ -67,8 +67,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] max_deciding: 3, decision_deposit: 50_000 * UNITS, prepare_period: 10 * MINUTES, - decision_period: 7 * DAYS, - confirm_period: 10 * MINUTES, + decision_period: 3 * DAYS, + confirm_period: 4 * HOURS, min_enactment_period: 10 * MINUTES, min_approval: APP_RECIP, min_support: SUP_WHITELISTED_CALLER, @@ -95,7 +95,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] max_deciding: 3, decision_deposit: 2_500_000 * UNITS, prepare_period: 60 * MINUTES, - decision_period: 7 * DAYS, + decision_period: 3 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, min_approval: APP_LINEAR_FLAT, From f7caa9758444ba80d24d70b93af78de21a70840b Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 27 Sep 2024 15:36:10 +0200 Subject: [PATCH 66/70] Update integration-tests/Cargo.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jakub Pánik --- integration-tests/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 8016c3759..9f846ebb6 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -49,7 +49,7 @@ pallet-tips = { workspace = true } pallet-xyk-liquidity-mining = { workspace = true } pallet-transaction-pause = { workspace = true } pallet-referenda = { workspace = true } -pallet-conviction-voting= { workspace = true } +pallet-conviction-voting = { workspace = true } # collator support pallet-collator-selection = { workspace = true } From 1ce194be6ba737aaf865ffb52247814ef45aaae7 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 27 Sep 2024 15:43:33 +0200 Subject: [PATCH 67/70] versions --- Cargo.lock | 4 ++-- integration-tests/Cargo.toml | 2 +- runtime/hydradx/Cargo.toml | 2 +- runtime/hydradx/src/lib.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d465e7a1..20a9bb11f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "hydradx-runtime" -version = "259.0.0" +version = "260.0.0" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", @@ -11955,7 +11955,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.23.6" +version = "1.23.7" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index a73352336..162be915c 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.23.6" +version = "1.23.7" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/runtime/hydradx/Cargo.toml b/runtime/hydradx/Cargo.toml index 3134ff404..24852129b 100644 --- a/runtime/hydradx/Cargo.toml +++ b/runtime/hydradx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-runtime" -version = "259.0.0" +version = "260.0.0" authors = ["GalacticCouncil"] edition = "2021" license = "Apache 2.0" diff --git a/runtime/hydradx/src/lib.rs b/runtime/hydradx/src/lib.rs index 9319eb362..c811a78ca 100644 --- a/runtime/hydradx/src/lib.rs +++ b/runtime/hydradx/src/lib.rs @@ -114,7 +114,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hydradx"), impl_name: create_runtime_str!("hydradx"), authoring_version: 1, - spec_version: 259, + spec_version: 260, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From 36acba5956f067718c43a3b1c045d36c2c1b6900 Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 27 Sep 2024 16:14:46 +0200 Subject: [PATCH 68/70] tweaks --- runtime/hydradx/src/governance/tracks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/hydradx/src/governance/tracks.rs b/runtime/hydradx/src/governance/tracks.rs index 0bee48c29..560807637 100644 --- a/runtime/hydradx/src/governance/tracks.rs +++ b/runtime/hydradx/src/governance/tracks.rs @@ -52,10 +52,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 9] name: "root", max_deciding: 1, decision_deposit: 5_000_000 * UNITS, - prepare_period: 24 * HOURS, + prepare_period: HOURS, decision_period: 7 * DAYS, confirm_period: 24 * HOURS, - min_enactment_period: 24 * HOURS, + min_enactment_period: 4 * HOURS, min_approval: APP_RECIP, min_support: SUP_LINEAR, }, From 4446e0812755fb75473dc7659dc6f7b41b80616e Mon Sep 17 00:00:00 2001 From: Valery Gantchev Date: Fri, 27 Sep 2024 16:37:01 +0200 Subject: [PATCH 69/70] fix merge conflict --- runtime/hydradx/src/system.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/runtime/hydradx/src/system.rs b/runtime/hydradx/src/system.rs index c80534d73..c86721c5a 100644 --- a/runtime/hydradx/src/system.rs +++ b/runtime/hydradx/src/system.rs @@ -47,13 +47,6 @@ use frame_support::{ }; use frame_system::EnsureRoot; use hydradx_adapters::{OraclePriceProvider, RelayChainBlockNumberProvider}; -use pallet_transaction_multi_payment::{DepositAll, TransferFees}; -use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; -use primitives::constants::{ - chain::{CORE_ASSET_ID, MAXIMUM_BLOCK_WEIGHT}, - currency::{deposit, CENTS, DOLLARS, MILLICENTS}, - time::{DAYS, HOURS, SLOT_DURATION}, -}; use scale_info::TypeInfo; pub struct CallFilter; From 0f490ec7ba9fbaf0e2aa198ebcbec9ab383c8e6f Mon Sep 17 00:00:00 2001 From: cl0w <> Date: Fri, 4 Oct 2024 17:36:00 +0200 Subject: [PATCH 70/70] versions and clippy --- Cargo.lock | 16 ++++++++-------- integration-tests/Cargo.toml | 2 +- pallets/circuit-breaker/Cargo.toml | 2 +- pallets/dca/Cargo.toml | 2 +- pallets/omnipool-liquidity-mining/Cargo.toml | 2 +- pallets/otc-settlements/Cargo.toml | 2 +- pallets/otc/Cargo.toml | 2 +- pallets/route-executor/Cargo.toml | 2 +- pallets/staking/src/migration.rs | 1 + runtime/adapters/Cargo.toml | 2 +- 10 files changed, 17 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 099619770..5bbb8397f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4946,7 +4946,7 @@ dependencies = [ [[package]] name = "hydradx-adapters" -version = "1.3.6" +version = "1.3.7" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -7905,7 +7905,7 @@ dependencies = [ [[package]] name = "pallet-circuit-breaker" -version = "1.1.26" +version = "1.1.27" dependencies = [ "frame-benchmarking", "frame-support", @@ -8068,7 +8068,7 @@ dependencies = [ [[package]] name = "pallet-dca" -version = "1.6.1" +version = "1.6.2" dependencies = [ "cumulus-pallet-parachain-system", "cumulus-primitives-core", @@ -8848,7 +8848,7 @@ dependencies = [ [[package]] name = "pallet-omnipool-liquidity-mining" -version = "2.2.1" +version = "2.2.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -8875,7 +8875,7 @@ dependencies = [ [[package]] name = "pallet-otc" -version = "2.0.2" +version = "2.0.3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8897,7 +8897,7 @@ dependencies = [ [[package]] name = "pallet-otc-settlements" -version = "1.0.4" +version = "1.0.5" dependencies = [ "frame-benchmarking", "frame-support", @@ -9083,7 +9083,7 @@ dependencies = [ [[package]] name = "pallet-route-executor" -version = "2.6.1" +version = "2.6.2" dependencies = [ "frame-benchmarking", "frame-support", @@ -12283,7 +12283,7 @@ dependencies = [ [[package]] name = "runtime-integration-tests" -version = "1.23.7" +version = "1.23.8" dependencies = [ "cumulus-pallet-aura-ext", "cumulus-pallet-parachain-system", diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 4dfea62fa..6632a86e0 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "runtime-integration-tests" -version = "1.23.7" +version = "1.23.8" description = "Integration tests" authors = ["GalacticCouncil"] edition = "2021" diff --git a/pallets/circuit-breaker/Cargo.toml b/pallets/circuit-breaker/Cargo.toml index 70e1f216b..059c27660 100644 --- a/pallets/circuit-breaker/Cargo.toml +++ b/pallets/circuit-breaker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-circuit-breaker" -version = "1.1.26" +version = "1.1.27" authors = ["GalacticCouncil "] edition = "2021" license = "Apache-2.0" diff --git a/pallets/dca/Cargo.toml b/pallets/dca/Cargo.toml index 03d8fe8ac..eef6231b7 100644 --- a/pallets/dca/Cargo.toml +++ b/pallets/dca/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-dca' -version = "1.6.1" +version = "1.6.2" description = 'A pallet to manage DCA scheduling' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/omnipool-liquidity-mining/Cargo.toml b/pallets/omnipool-liquidity-mining/Cargo.toml index 91ac3bd29..a8c753cdf 100644 --- a/pallets/omnipool-liquidity-mining/Cargo.toml +++ b/pallets/omnipool-liquidity-mining/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pallet-omnipool-liquidity-mining" -version = "2.2.1" +version = "2.2.2" authors = ['GalacticCouncil'] edition = "2021" license = "Apache-2.0" diff --git a/pallets/otc-settlements/Cargo.toml b/pallets/otc-settlements/Cargo.toml index 9c9f14002..a4e5c86a6 100644 --- a/pallets/otc-settlements/Cargo.toml +++ b/pallets/otc-settlements/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc-settlements' -version = '1.0.4' +version = '1.0.5' description = 'A pallet with offchain worker closing OTC arbs' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/otc/Cargo.toml b/pallets/otc/Cargo.toml index 2e938e458..f6b8259b6 100644 --- a/pallets/otc/Cargo.toml +++ b/pallets/otc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-otc' -version = '2.0.2' +version = '2.0.3' description = 'A pallet for trustless over-the-counter trading' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/route-executor/Cargo.toml b/pallets/route-executor/Cargo.toml index 8ce1e6bb3..2f1d2f155 100644 --- a/pallets/route-executor/Cargo.toml +++ b/pallets/route-executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = 'pallet-route-executor' -version = '2.6.1' +version = '2.6.2' description = 'A pallet to execute a route containing a sequence of trades' authors = ['GalacticCouncil'] edition = '2021' diff --git a/pallets/staking/src/migration.rs b/pallets/staking/src/migration.rs index c56a5720d..1b5f6a072 100644 --- a/pallets/staking/src/migration.rs +++ b/pallets/staking/src/migration.rs @@ -1,5 +1,6 @@ use frame_support::migrations::VersionedMigration; use frame_support::{traits::Get, weights::Weight}; +use sp_std::vec::Vec; use crate::*; diff --git a/runtime/adapters/Cargo.toml b/runtime/adapters/Cargo.toml index 0cf8fee70..2cec31fd3 100644 --- a/runtime/adapters/Cargo.toml +++ b/runtime/adapters/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hydradx-adapters" -version = "1.3.6" +version = "1.3.7" description = "Structs and other generic types for building runtimes." authors = ["GalacticCouncil"] edition = "2021"