From 38181d601eebb84e71df6e3ae3963f55b160239b Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 13:12:40 +0300 Subject: [PATCH 01/15] Update substrate to v0.9.42 --- Cargo.lock | 1610 +++++++++++++++++++++++++++++----------------------- Cargo.toml | 224 ++++---- 2 files changed, 1011 insertions(+), 823 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1205f903867..1effd5b8828 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -528,6 +528,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + [[package]] name = "base58" version = "0.2.0" @@ -889,9 +895,9 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.15.3" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08a1ec454bc3eead8719cb56e15dbbfecdbc14e4b3a3ae4936cc6e31f5fc0d07" +checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" dependencies = [ "camino", "cargo-platform", @@ -1548,6 +1554,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4c2f4e1afd912bc40bfd6fed5d9dc1f288e0ba01bfcc835cc5bc3eb13efe15" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -2335,6 +2353,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c7ed52955ce76b1554f509074bb357d3fb8ac9b51288a65a3fd480d1dfba946" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der-parser" version = "7.0.0" @@ -2477,6 +2505,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2637,10 +2666,24 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der", - "elliptic-curve", - "rfc6979", - "signature", + "der 0.6.1", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", + "signature 1.6.4", +] + +[[package]] +name = "ecdsa" +version = "0.16.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0997c976637b606099b9985693efa3581e84e41f5c11ba5255f88711058ad428" +dependencies = [ + "der 0.7.7", + "digest 0.10.7", + "elliptic-curve 0.13.5", + "rfc6979 0.4.0", + "signature 2.1.0", + "spki 0.7.2", ] [[package]] @@ -2649,7 +2692,7 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature", + "signature 1.6.4", ] [[package]] @@ -2692,18 +2735,37 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct", - "crypto-bigint", - "der", + "base16ct 0.1.1", + "crypto-bigint 0.4.9", + "der 0.6.1", "digest 0.10.7", - "ff", + "ff 0.12.1", "generic-array 0.14.7", - "group", + "group 0.12.1", "hkdf 0.12.3", "pem-rfc7468", - "pkcs8", + "pkcs8 0.9.0", + "rand_core 0.6.4", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "968405c8fdc9b3bf4df0a6638858cc0b52462836ab6b1c87377785dd09cf1c0b" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.2", + "digest 0.10.7", + "ff 0.13.0", + "generic-array 0.14.7", + "group 0.13.0", + "pkcs8 0.10.2", "rand_core 0.6.4", - "sec1", + "sec1 0.7.2", "subtle", "zeroize", ] @@ -2978,6 +3040,16 @@ dependencies = [ "subtle", ] +[[package]] +name = "ff" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "fiat-crypto" version = "0.1.20" @@ -3075,7 +3147,7 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", ] @@ -3098,7 +3170,7 @@ checksum = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-support-procedural", @@ -3110,20 +3182,20 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", ] [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "Inflector", "array-bytes", @@ -3153,16 +3225,16 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "thousands", ] @@ -3170,46 +3242,46 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-election-provider-solution-type", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", "frame-try-runtime", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -3227,15 +3299,19 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ + "async-recursion", "futures", + "indicatif", + "jsonrpsee", "log", "parity-scale-codec", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "spinners", "substrate-rpc-client", "tokio", ] @@ -3243,7 +3319,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "bitflags 1.3.2", "environmental", @@ -3259,61 +3335,62 @@ dependencies = [ "serde", "smallvec", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-core-hashing-proc-macro", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-staking", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "tt-call", ] [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "Inflector", "cfg-expr", "derive-syn-parse", "frame-support-procedural-tools", "itertools", + "proc-macro-warning", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -3324,12 +3401,13 @@ dependencies = [ "rustversion", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-api", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "trybuild", ] @@ -3337,7 +3415,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", @@ -3348,40 +3426,40 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "log", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "sp-api", @@ -3390,13 +3468,13 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "parity-scale-codec", "sp-api", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -3704,12 +3782,12 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", "substrate-prometheus-endpoint", "vara-runtime", @@ -3817,11 +3895,11 @@ dependencies = [ "sc-executor", "sc-service", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", "substrate-build-script-utils", "try-runtime-cli", @@ -3850,10 +3928,10 @@ dependencies = [ "proptest", "serde", "serde_json", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -3928,9 +4006,9 @@ dependencies = [ "once_cell", "region", "sc-executor-common", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", "winapi", ] @@ -3946,7 +4024,7 @@ dependencies = [ "gear-runtime-interface", "gear-wasm-instrument", "log", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -4009,12 +4087,12 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-test-client", "vara-runtime", ] @@ -4035,13 +4113,13 @@ dependencies = [ "sc-cli", "sc-executor", "sc-tracing", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-rpc-client", "tokio", "vara-runtime", @@ -4092,12 +4170,12 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -4123,8 +4201,8 @@ dependencies = [ "pallet-balances", "pallet-gear", "pallet-session", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-validator-set", ] @@ -4142,9 +4220,9 @@ dependencies = [ "parity-scale-codec", "region", "sp-allocator", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", "winapi", ] @@ -4153,8 +4231,8 @@ dependencies = [ name = "gear-runtime-primitives" version = "0.1.0" dependencies = [ - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -4166,9 +4244,9 @@ dependencies = [ "gear-sandbox-env", "log", "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wasmi 0.13.2", "wat", ] @@ -4178,8 +4256,8 @@ name = "gear-sandbox-env" version = "0.1.0" dependencies = [ "parity-scale-codec", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -4192,7 +4270,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "sp-allocator", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "tempfile", "thiserror", "wasmer", @@ -4262,16 +4340,16 @@ dependencies = [ "sp-consensus", "sp-consensus-babe", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-build-script-utils", "substrate-frame-rpc-system", "substrate-state-trie-migration-rpc", @@ -4382,7 +4460,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "chrono", "frame-election-provider-support", @@ -4410,6 +4488,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -4554,7 +4633,18 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ - "ff", + "ff 0.12.1", + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff 0.13.0", "rand_core 0.6.4", "subtle", ] @@ -4583,8 +4673,8 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "subxt", "thiserror", "tokio", @@ -4604,7 +4694,7 @@ dependencies = [ "sc-executor", "sc-executor-common", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "subxt-codegen", "subxt-metadata", "syn 2.0.25", @@ -5402,13 +5492,14 @@ dependencies = [ [[package]] name = "k256" -version = "0.11.6" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" +checksum = "cadb76004ed8e97623117f3df85b17aaa6626ab0b0831e6573f104df16cd1bcc" dependencies = [ "cfg-if", - "ecdsa", - "elliptic-curve", + "ecdsa 0.16.7", + "elliptic-curve 0.13.5", + "once_cell", "sha2 0.10.7", ] @@ -5454,9 +5545,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +checksum = "fe7a749456510c45f795e8b04a6a3e0976d0139213ecbf465843830ad55e2217" dependencies = [ "kvdb", "num_cpus", @@ -5612,7 +5703,7 @@ dependencies = [ "prost-build", "rand 0.8.5", "rw-stream-sink", - "sec1", + "sec1 0.3.0", "sha2 0.10.7", "smallvec", "thiserror", @@ -6008,9 +6099,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.8.3+7.4.4" +version = "0.10.0+7.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +checksum = "0fe4d5874f5ff2bc616e55e8c6086d478fcda13faf9495768a4aa1c22042d30b" dependencies = [ "bindgen", "bzip2-sys", @@ -6216,6 +6307,12 @@ dependencies = [ "libc", ] +[[package]] +name = "maplit" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d" + [[package]] name = "match_cfg" version = "0.1.0" @@ -6969,8 +7066,8 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "51f44edd08f51e2ade572f141051021c5af22677e42b7dd28a88155151c33594" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.7", ] @@ -6980,8 +7077,8 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dfc8c5bf642dde52bb9e87c0ecd8ca5a76faac2eeed98dedb7c717997e1080aa" dependencies = [ - "ecdsa", - "elliptic-curve", + "ecdsa 0.14.8", + "elliptic-curve 0.12.3", "sha2 0.10.7", ] @@ -7039,46 +7136,46 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-authority-discovery", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7089,20 +7186,20 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-consensus-babe", - "sp-consensus-vrf", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7112,17 +7209,17 @@ dependencies = [ "pallet-balances", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7130,14 +7227,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7146,15 +7243,15 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7165,26 +7262,26 @@ dependencies = [ "parity-scale-codec", "rand 0.8.5", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "strum", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-system", "parity-scale-codec", "sp-npos-elections", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7276,11 +7373,11 @@ dependencies = [ "serde", "sp-consensus-babe", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", "test-syscalls", "wabt", @@ -7314,10 +7411,10 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wabt", ] @@ -7345,10 +7442,10 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7370,9 +7467,9 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7402,9 +7499,9 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wabt", ] @@ -7435,10 +7532,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", ] @@ -7453,9 +7550,9 @@ dependencies = [ "pallet-gear-rpc-runtime-api", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7464,9 +7561,9 @@ version = "2.0.0" dependencies = [ "pallet-gear", "sp-api", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7493,10 +7590,10 @@ dependencies = [ "parity-scale-codec", "primitive-types", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7526,10 +7623,10 @@ dependencies = [ "scale-info", "serde", "sp-authority-discovery", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -7549,16 +7646,16 @@ dependencies = [ "primitive-types", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7568,20 +7665,20 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "enumflags2 0.7.7", "frame-benchmarking", @@ -7589,15 +7686,15 @@ dependencies = [ "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7606,18 +7703,18 @@ dependencies = [ "pallet-authorship", "parity-scale-codec", "scale-info", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7625,15 +7722,15 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7641,31 +7738,31 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7673,17 +7770,17 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7693,16 +7790,16 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7710,16 +7807,16 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", @@ -7728,19 +7825,19 @@ dependencies = [ "pallet-timestamp", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7753,40 +7850,40 @@ dependencies = [ "rand_chacha 0.2.2", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "log", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7795,60 +7892,60 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", ] [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-support", "frame-system", "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", "parity-scale-codec", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7858,30 +7955,30 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7889,14 +7986,14 @@ dependencies = [ "log", "parity-scale-codec", "scale-info", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7904,8 +8001,8 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -8201,8 +8298,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der", - "spki", + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.7", + "spki 0.7.2", ] [[package]] @@ -8392,6 +8499,17 @@ dependencies = [ "version_check", ] +[[package]] +name = "proc-macro-warning" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e99670bafb56b9a106419397343bdbc8b8742c3cc449fec6345f86173f47cd4" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.25", +] + [[package]] name = "proc-macro2" version = "1.0.64" @@ -8994,11 +9112,21 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ - "crypto-bigint", + "crypto-bigint 0.4.9", "hmac 0.12.1", "zeroize", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + [[package]] name = "ring" version = "0.16.20" @@ -9044,9 +9172,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.19.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +checksum = "015439787fce1e75d55f279078d33ff14b4af5d93d995e8838ee4631301c8a99" dependencies = [ "libc", "librocksdb-sys", @@ -9140,10 +9268,10 @@ dependencies = [ "sp-consensus-babe", "sp-consensus-grandpa", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -9359,7 +9487,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", @@ -9377,9 +9505,9 @@ dependencies = [ "sp-api", "sp-authority-discovery", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", ] @@ -9387,22 +9515,22 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "sc-client-api", "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9413,26 +9541,26 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "chrono", @@ -9458,11 +9586,11 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "thiserror", "tiny-bip39", @@ -9472,7 +9600,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "fnv", "futures", @@ -9485,20 +9613,20 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-database", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "hash-db", "kvdb", @@ -9512,19 +9640,19 @@ dependencies = [ "sc-client-api", "sc-state-db", "schnellru", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", @@ -9539,9 +9667,9 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", ] @@ -9549,13 +9677,12 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "fork-tree", "futures", "log", - "merlin", "num-bigint", "num-rational", "num-traits", @@ -9568,19 +9695,17 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "schnorrkel", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", ] @@ -9588,7 +9713,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "futures", "jsonrpsee", @@ -9597,33 +9722,33 @@ dependencies = [ "sc-rpc-api", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", "sp-consensus", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "fork-tree", "parity-scale-codec", "sc-client-api", "sc-consensus", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-consensus-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ahash 0.8.3", "array-bytes", @@ -9648,14 +9773,14 @@ dependencies = [ "sc-utils", "serde_json", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", ] @@ -9663,7 +9788,7 @@ dependencies = [ [[package]] name = "sc-consensus-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "finality-grandpa", "futures", @@ -9675,15 +9800,15 @@ dependencies = [ "sc-rpc", "serde", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", @@ -9693,20 +9818,20 @@ dependencies = [ "sc-client-api", "sc-consensus", "sc-telemetry", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", "sp-consensus", "sp-consensus-slots", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "lru", "parity-scale-codec", @@ -9715,14 +9840,14 @@ dependencies = [ "sc-executor-wasmi", "sc-executor-wasmtime", "sp-api", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "tracing", "wasmi 0.13.2", ] @@ -9730,11 +9855,11 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "wasm-instrument 0.3.0", "wasmi 0.13.2", @@ -9743,20 +9868,20 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "log", "sc-executor-common", "sp-allocator", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wasmi 0.13.2", ] [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "anyhow", "cfg-if", @@ -9766,15 +9891,15 @@ dependencies = [ "rustix 0.36.15", "sc-executor-common", "sp-allocator", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wasmtime", ] [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ansi_term", "futures", @@ -9784,28 +9909,28 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "async-trait", "parking_lot 0.12.1", "serde_json", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "async-channel", @@ -9835,11 +9960,12 @@ dependencies = [ "serde", "serde_json", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "snow", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", "unsigned-varint", @@ -9849,7 +9975,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "cid", "futures", @@ -9861,7 +9987,7 @@ dependencies = [ "sc-network", "sc-network-common", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "unsigned-varint", ] @@ -9869,7 +9995,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "async-trait", @@ -9888,7 +10014,7 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", "zeroize", @@ -9897,7 +10023,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ahash 0.8.3", "futures", @@ -9908,7 +10034,7 @@ dependencies = [ "sc-network", "sc-network-common", "sc-peerset", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "tracing", ] @@ -9916,7 +10042,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "futures", @@ -9930,15 +10056,15 @@ dependencies = [ "sc-network-common", "sc-peerset", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "async-trait", @@ -9959,12 +10085,12 @@ dependencies = [ "sc-peerset", "sc-utils", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-blockchain", "sp-consensus", "sp-consensus-grandpa", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", "thiserror", ] @@ -9972,7 +10098,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "futures", @@ -9985,14 +10111,14 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-consensus", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-prometheus-endpoint", ] [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "bytes", @@ -10013,9 +10139,9 @@ dependencies = [ "sc-peerset", "sc-utils", "sp-api", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "threadpool", "tracing", ] @@ -10023,7 +10149,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "futures", "libp2p", @@ -10036,7 +10162,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10045,7 +10171,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "futures", "jsonrpsee", @@ -10062,11 +10188,11 @@ dependencies = [ "serde_json", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-offchain", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", "sp-version", "tokio", @@ -10075,7 +10201,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10084,9 +10210,9 @@ dependencies = [ "scale-info", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "thiserror", ] @@ -10094,7 +10220,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "http", "jsonrpsee", @@ -10109,7 +10235,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "futures", @@ -10125,8 +10251,8 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "thiserror", "tokio-stream", @@ -10135,7 +10261,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "directories", @@ -10178,16 +10304,16 @@ dependencies = [ "sp-api", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-transaction-pool", "sp-transaction-storage-proof", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "static_init", "substrate-prometheus-endpoint", @@ -10201,18 +10327,18 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-storage-monitor" version = "0.1.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "clap 4.3.11", "fs4", @@ -10220,7 +10346,7 @@ dependencies = [ "log", "sc-client-db", "sc-utils", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "tokio", ] @@ -10228,7 +10354,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -10240,14 +10366,14 @@ dependencies = [ "serde", "serde_json", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "futures", "libc", @@ -10258,15 +10384,15 @@ dependencies = [ "sc-telemetry", "serde", "serde_json", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "chrono", "futures", @@ -10285,7 +10411,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ansi_term", "atty", @@ -10303,10 +10429,10 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "tracing", "tracing-log", @@ -10316,18 +10442,18 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", @@ -10343,9 +10469,9 @@ dependencies = [ "serde", "sp-api", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-transaction-pool", "substrate-prometheus-endpoint", "thiserror", @@ -10354,21 +10480,21 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", "log", "serde", "sp-blockchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-channel", "futures", @@ -10377,7 +10503,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "prometheus", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -10593,10 +10719,24 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct", - "der", + "base16ct 0.1.1", + "der 0.6.1", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0aec48e813d6b90b15f0b8948af3c63483992dee44c03e9930b3eebdabe046e" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.7", + "generic-array 0.14.7", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -10871,6 +11011,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" +dependencies = [ + "digest 0.10.7", + "rand_core 0.6.4", +] + [[package]] name = "simba" version = "0.6.0" @@ -10993,7 +11143,7 @@ dependencies = [ [[package]] name = "sp-allocator" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "log", "parity-scale-codec", @@ -11004,17 +11154,19 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "hash-db", "log", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-metadata-ir", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version", "thiserror", ] @@ -11022,7 +11174,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "Inflector", "blake2", @@ -11030,7 +11182,7 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] @@ -11049,14 +11201,14 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11076,46 +11228,46 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", ] [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "sp-api", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "futures", "log", @@ -11125,71 +11277,69 @@ dependencies = [ "sp-api", "sp-consensus", "sp-database", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures", "log", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sp-consensus-aura" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "parity-scale-codec", "scale-info", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-consensus", "sp-consensus-slots", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", ] [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", - "merlin", "parity-scale-codec", "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-consensus", "sp-consensus-slots", - "sp-consensus-vrf", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", ] [[package]] name = "sp-consensus-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "finality-grandpa", "log", @@ -11197,38 +11347,25 @@ dependencies = [ "scale-info", "serde", "sp-api", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", ] -[[package]] -name = "sp-consensus-vrf" -version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" -dependencies = [ - "parity-scale-codec", - "scale-info", - "schnorrkel", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", -] - [[package]] name = "sp-core" version = "7.0.0" @@ -11275,13 +11412,13 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", - "base58", "bitflags 1.3.2", "blake2", "bounded-collections", + "bs58", "dyn-clonable", "ed25519-zebra", "futures", @@ -11294,6 +11431,7 @@ dependencies = [ "merlin", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", "regex", @@ -11303,12 +11441,12 @@ dependencies = [ "secrecy", "serde", "sp-allocator", - "sp-core-hashing 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core-hashing 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "ss58-registry", "substrate-bip39", "thiserror", @@ -11333,32 +11471,32 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", "sha2 0.10.7", "sha3", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "twox-hash", ] [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro2", "quote", - "sp-core-hashing 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "syn 1.0.109", + "sp-core-hashing 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "syn 2.0.25", ] [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11377,11 +11515,11 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] @@ -11398,26 +11536,26 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "impl-trait-for-tuples", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] @@ -11450,7 +11588,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "bytes", "ed25519", @@ -11459,15 +11597,16 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", + "rustversion", "secp256k1", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "tracing", "tracing-core", ] @@ -11475,11 +11614,11 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "lazy_static", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "strum", ] @@ -11502,51 +11641,59 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ - "async-trait", "futures", - "merlin", "parity-scale-codec", "parking_lot 0.12.1", - "schnorrkel", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "thiserror", - "zstd", + "zstd 0.12.3+zstd.1.5.2", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" +dependencies = [ + "frame-metadata", + "parity-scale-codec", + "scale-info", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "sp-api", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11562,7 +11709,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "backtrace", "lazy_static", @@ -11572,11 +11719,11 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "rustc-hash", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11604,7 +11751,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "either", "hash256-std-hasher", @@ -11615,12 +11762,12 @@ dependencies = [ "rand 0.8.5", "scale-info", "serde", - "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-application-crypto 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11644,18 +11791,18 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime-interface-proc-macro 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-storage 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-tracing 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-wasm-interface 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "static_assertions", ] @@ -11674,39 +11821,40 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "serde", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11732,7 +11880,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "hash-db", "log", @@ -11740,11 +11888,11 @@ dependencies = [ "parking_lot 0.12.1", "rand 0.8.5", "smallvec", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-panic-handler 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "tracing", ] @@ -11757,7 +11905,7 @@ source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0 [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" [[package]] name = "sp-storage" @@ -11775,28 +11923,28 @@ dependencies = [ [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "futures-timer", "log", "parity-scale-codec", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", ] @@ -11815,10 +11963,10 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "tracing", "tracing-core", "tracing-subscriber 0.2.25", @@ -11827,26 +11975,26 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "sp-api", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "log", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -11875,11 +12023,11 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ahash 0.8.3", "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -11887,8 +12035,8 @@ dependencies = [ "parking_lot 0.12.1", "scale-info", "schnellru", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "thiserror", "tracing", "trie-db", @@ -11898,7 +12046,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -11906,8 +12054,8 @@ dependencies = [ "scale-info", "serde", "sp-core-hashing-proc-macro", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-version-proc-macro", "thiserror", ] @@ -11915,12 +12063,12 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.25", ] [[package]] @@ -11940,14 +12088,14 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", "sp-allocator", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-wasm-interface-common", "wasmtime", ] @@ -11955,10 +12103,10 @@ dependencies = [ [[package]] name = "sp-wasm-interface-common" version = "7.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "wasmi 0.13.2", ] @@ -11980,16 +12128,16 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "parity-scale-codec", "scale-info", "serde", "smallvec", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] @@ -12004,6 +12152,17 @@ version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +[[package]] +name = "spinners" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08615eea740067d9899969bc2891c68a19c315cb1f66640af9a9ecb91b13bcab" +dependencies = [ + "lazy_static", + "maplit", + "strum", +] + [[package]] name = "spki" version = "0.6.0" @@ -12011,7 +12170,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d1e996ef02c474957d681f1b05213dfb0abab947b446a62d37770b23500184a" +dependencies = [ + "base64ct", + "der 0.7.7", ] [[package]] @@ -12151,7 +12320,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "platforms 2.0.0", ] @@ -12159,7 +12328,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -12171,14 +12340,14 @@ dependencies = [ "sp-api", "sp-block-builder", "sp-blockchain", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "hyper", "log", @@ -12190,20 +12359,20 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "jsonrpsee", "log", "sc-rpc-api", "serde", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "jsonrpsee", "log", @@ -12212,17 +12381,17 @@ dependencies = [ "sc-rpc-api", "scale-info", "serde", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-trie 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "trie-db", ] [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "array-bytes", "async-trait", @@ -12238,17 +12407,17 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-consensus", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", ] [[package]] name = "substrate-validator-set" version = "0.9.41" -source = "git+https://github.com/gear-tech/substrate-validator-set.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#e0ae86130250b18b7893d665171ea935f26971c8" +source = "git+https://github.com/gear-tech/substrate-validator-set.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#771332a6a260939fa162fcd6dc87fb56cefbb7dc" dependencies = [ "frame-benchmarking", "frame-support", @@ -12257,18 +12426,18 @@ dependencies = [ "pallet-session", "parity-scale-codec", "scale-info", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "syn 1.0.109", ] [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "ansi_term", "build-helper", @@ -12277,7 +12446,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.5.11", + "toml 0.7.6", "walkdir", "wasm-opt", ] @@ -13014,7 +13183,7 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox#93aa762a96970dc7d5987a8c890a6be4912f3cd3" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox#28d4f3c4f8ecba7b09e8230e383e0745d511c43b" dependencies = [ "async-trait", "clap 4.3.11", @@ -13031,21 +13200,21 @@ dependencies = [ "sp-api", "sp-consensus-aura", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-debug-derive 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-keystore 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-rpc", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", - "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", + "sp-state-machine 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-timestamp", "sp-transaction-storage-proof", "sp-version", - "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-weights 4.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "substrate-rpc-client", - "zstd", + "zstd 0.12.3+zstd.1.5.2", ] [[package]] @@ -13295,20 +13464,20 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-api", - "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-arithmetic 6.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-authority-discovery", "sp-block-builder", "sp-consensus-babe", - "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-inherents", - "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-io 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-keyring", "sp-npos-elections", "sp-offchain", - "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-runtime 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-session", "sp-staking", - "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox)", + "sp-std 5.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-transaction-pool", "sp-version", "static_assertions", @@ -14039,7 +14208,7 @@ dependencies = [ "sha2 0.10.7", "toml 0.5.11", "windows-sys 0.42.0", - "zstd", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] @@ -14295,7 +14464,7 @@ dependencies = [ "ccm", "curve25519-dalek 3.2.0", "der-parser 8.2.0", - "elliptic-curve", + "elliptic-curve 0.12.3", "hkdf 0.12.3", "hmac 0.12.1", "log", @@ -14307,11 +14476,11 @@ dependencies = [ "rcgen 0.9.3", "ring", "rustls 0.19.1", - "sec1", + "sec1 0.3.0", "serde", "sha1", "sha2 0.10.7", - "signature", + "signature 1.6.4", "subtle", "thiserror", "tokio", @@ -14935,7 +15104,16 @@ version = "0.11.2+zstd.1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" dependencies = [ - "zstd-safe", + "zstd-safe 5.0.2+zstd.1.5.2", +] + +[[package]] +name = "zstd" +version = "0.12.3+zstd.1.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76eea132fb024e0e13fd9c2f5d5d595d8a967aa72382ac2f9d39fcc95afd0806" +dependencies = [ + "zstd-safe 6.0.5+zstd.1.5.4", ] [[package]] @@ -14948,6 +15126,16 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "6.0.5+zstd.1.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b" +dependencies = [ + "libc", + "zstd-sys", +] + [[package]] name = "zstd-sys" version = "2.0.8+zstd.1.5.5" diff --git a/Cargo.toml b/Cargo.toml index f176f24afb2..822c68c468d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -242,119 +242,119 @@ vara-runtime = { path = "runtime/vara" } wasm-smith = { version = "0.11.4", git = "https://github.com/gear-tech/wasm-tools.git", branch = "gear-stable" } wasm-instrument = { version = "0.2.1", git = "https://github.com/gear-tech/wasm-instrument.git", branch = "gear-stable", default-features = false } -validator-set = { package = 'substrate-validator-set', git = 'https://github.com/gear-tech/substrate-validator-set.git', branch = 'gear-polkadot-v0.9.41-canary-no-sandbox', default-features = false } +validator-set = { package = 'substrate-validator-set', git = 'https://github.com/gear-tech/substrate-validator-set.git', branch = 'gear-polkadot-v0.9.42-canary-no-sandbox', default-features = false } # Substrate deps -frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -frame-election-provider-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-executive = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-system-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-remote-externalities = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -generate-bags = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-babe = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-bags-list = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-balances = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-conviction-voting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-election-provider-multi-phase = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-identity = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-im-online = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-multisig = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-preimage = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-proxy = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-ranked-collective = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-referenda = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-scheduler = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-staking-reward-fn = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-sudo = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-transaction-payment = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-treasury = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-utility = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-vesting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -pallet-whitelist = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-babe-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-client-db = { version = "0.10.0-dev", features = ["rocksdb"], git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-consensus-grandpa-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-rpc-spec-v2 = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-sync-state-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-arithmetic = { version = "6.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-core = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-externalities = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-consensus-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-inherents = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-io = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-keyring = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-keystore = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-npos-elections = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-rpc = { version = "6.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-runtime = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-runtime-interface = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-std = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-state-machine = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-storage = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-transaction-storage-proof = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-trie = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-version = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -sp-wasm-interface = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox", default-features = false } -substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -substrate-state-trie-migration-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } -try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox" } +frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-benchmarking-cli = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +frame-election-provider-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-executive = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-support = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-support-test = { version = "3.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-system-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-remote-externalities = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +frame-system-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +generate-bags = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-babe = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-bags-list = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-balances = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-conviction-voting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-election-provider-multi-phase = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-identity = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-im-online = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-multisig = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-preimage = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-proxy = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-ranked-collective = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-referenda = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-scheduler = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-staking-reward-fn = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-sudo = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-transaction-payment = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-transaction-payment-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-transaction-payment-rpc-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-treasury = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-utility = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-vesting = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +pallet-whitelist = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-babe-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-client-db = { version = "0.10.0-dev", features = ["rocksdb"], git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-consensus-grandpa-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-rpc-spec-v2 = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-sync-state-rpc = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-transaction-pool-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-authority-discovery = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-arithmetic = { version = "6.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-blockchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-block-builder = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-core = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-externalities = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-consensus-grandpa = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-inherents = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-io = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-keyring = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-keystore = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-npos-elections = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-offchain = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-rpc = { version = "6.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-runtime = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-runtime-interface = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-session = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-std = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-state-machine = { version = "0.13.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-staking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-storage = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-timestamp = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-transaction-storage-proof = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-trie = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-version = { version = "5.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +sp-wasm-interface = { version = "7.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox", default-features = false } +substrate-build-script-utils = { version = "3.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +substrate-frame-rpc-system = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +substrate-state-trie-migration-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } +try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.42-canary-no-sandbox" } # Examples test-syscalls = { path = "examples/sys-calls", default-features = false } @@ -416,7 +416,7 @@ demo-wat = { path = "examples/wat" } # TODO: remove these dependencies (from this file?) or add more docs. cfg-if = "1.0.0" # gear-lazy-pages # TODO: upgrade this package ( issue #2694 ) -cargo_metadata = "=0.15.3" # utils/wasm-builder +cargo_metadata = "=0.15.4" # utils/wasm-builder errno = "0.3" # gear-lazy-pages impl-trait-for-tuples = "0.2.2" # pallets/staking-rewards indexmap = "1.9.3" # utils/weight-diff From 38f23808fa97f5ae41d853bad86cde045b46382c Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 13:12:54 +0300 Subject: [PATCH 02/15] Update runtimes --- runtime/common/src/apis.rs | 8 ++++++++ runtime/gear/src/lib.rs | 17 ++++++++++++++--- runtime/gear/src/weights/mod.rs | 2 +- runtime/vara/src/lib.rs | 17 ++++++++++++++--- runtime/vara/src/weights/mod.rs | 2 +- 5 files changed, 38 insertions(+), 8 deletions(-) diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index 9a27125f8b5..ac29b762af0 100644 --- a/runtime/common/src/apis.rs +++ b/runtime/common/src/apis.rs @@ -40,6 +40,14 @@ macro_rules! impl_runtime_apis_plus_common { fn metadata() -> OpaqueMetadata { OpaqueMetadata::new(Runtime::metadata().into()) } + + fn metadata_at_version(version: u32) -> Option { + Runtime::metadata_at_version(version) + } + + fn metadata_versions() -> sp_std::vec::Vec { + Runtime::metadata_versions() + } } impl sp_block_builder::BlockBuilder for Runtime { diff --git a/runtime/gear/src/lib.rs b/runtime/gear/src/lib.rs index 14ec73cf374..6e037c46b24 100644 --- a/runtime/gear/src/lib.rs +++ b/runtime/gear/src/lib.rs @@ -258,9 +258,16 @@ impl pallet_timestamp::Config for Runtime { type WeightInfo = weights::pallet_timestamp::SubstrateWeight; } +parameter_types! { + // For weight estimation, we assume that the most locks on an individual account will be 50. + // This number may need to be adjusted in the future if this assumption no longer holds true. + pub const MaxLocks: u32 = 50; + pub const MaxReserves: u32 = 50; +} + impl pallet_balances::Config for Runtime { - type MaxLocks = ConstU32<50>; - type MaxReserves = (); + type MaxLocks = MaxLocks; + type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; /// The type for recording an account's balance. type Balance = Balance; @@ -269,7 +276,11 @@ impl pallet_balances::Config for Runtime { type DustRemoval = (); type ExistentialDeposit = ConstU128; type AccountStore = System; - type WeightInfo = weights::pallet_balances::SubstrateWeight; + type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = ConstU32<2>; } parameter_types! { diff --git a/runtime/gear/src/weights/mod.rs b/runtime/gear/src/weights/mod.rs index b4eebedfe52..94d63890210 100644 --- a/runtime/gear/src/weights/mod.rs +++ b/runtime/gear/src/weights/mod.rs @@ -19,7 +19,7 @@ //! A list of the different weight modules for our runtime. pub mod frame_system; -pub mod pallet_balances; +// pub mod pallet_balances; pub mod pallet_gear; pub mod pallet_gear_voucher; pub mod pallet_timestamp; diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 0aa07ce2256..0c53036163b 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -316,9 +316,16 @@ impl pallet_preimage::Config for Runtime { type ByteDeposit = PreimageByteDeposit; } +parameter_types! { + // For weight estimation, we assume that the most locks on an individual account will be 50. + // This number may need to be adjusted in the future if this assumption no longer holds true. + pub const MaxLocks: u32 = 50; + pub const MaxReserves: u32 = 50; +} + impl pallet_balances::Config for Runtime { - type MaxLocks = ConstU32<50>; - type MaxReserves = (); + type MaxLocks = MaxLocks; + type MaxReserves = MaxReserves; type ReserveIdentifier = [u8; 8]; /// The type for recording an account's balance. type Balance = Balance; @@ -327,7 +334,11 @@ impl pallet_balances::Config for Runtime { type DustRemoval = (); type ExistentialDeposit = ConstU128; type AccountStore = System; - type WeightInfo = weights::pallet_balances::SubstrateWeight; + type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = ConstU32<2>; } parameter_types! { diff --git a/runtime/vara/src/weights/mod.rs b/runtime/vara/src/weights/mod.rs index b4eebedfe52..94d63890210 100644 --- a/runtime/vara/src/weights/mod.rs +++ b/runtime/vara/src/weights/mod.rs @@ -19,7 +19,7 @@ //! A list of the different weight modules for our runtime. pub mod frame_system; -pub mod pallet_balances; +// pub mod pallet_balances; pub mod pallet_gear; pub mod pallet_gear_voucher; pub mod pallet_timestamp; From e7126e57344809e210fc52fc41b4584c283c2a5c Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 13:13:10 +0300 Subject: [PATCH 03/15] TypeInfo HandleKind --- pallets/gear/src/manager/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pallets/gear/src/manager/mod.rs b/pallets/gear/src/manager/mod.rs index aaefbddff2e..7eb18dc5f0d 100644 --- a/pallets/gear/src/manager/mod.rs +++ b/pallets/gear/src/manager/mod.rs @@ -74,6 +74,7 @@ use gear_core::{ reservation::GasReservationSlot, }; use primitive_types::H256; +use scale_info::TypeInfo; use sp_runtime::traits::UniqueSaturatedInto; use sp_std::{ collections::{btree_map::BTreeMap, btree_set::BTreeSet}, @@ -82,7 +83,7 @@ use sp_std::{ prelude::*, }; -#[derive(Clone, Decode, Encode)] +#[derive(Clone, Decode, Encode, TypeInfo)] pub enum HandleKind { Init(Vec), InitByHash(CodeId), From 3a63a0a9254bf3cc6574f96d184e347597a8c187 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 13:13:27 +0300 Subject: [PATCH 04/15] Update node/service --- node/service/Cargo.toml | 2 +- node/service/src/lib.rs | 54 ++++++++++++++----------------------- node/service/src/rpc/mod.rs | 27 ++++++++----------- 3 files changed, 32 insertions(+), 51 deletions(-) diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index a51975375cb..23eb6a8a129 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -16,7 +16,7 @@ codec = { workspace = true, features = ["derive"] } futures.workspace = true futures-timer.workspace = true hex-literal.workspace = true -jsonrpsee = { workspace = true, features = ["server", "macros"] } +jsonrpsee = { workspace = true, features = ["server"] } log.workspace = true serde = { workspace = true, features = ["derive"] } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index ba14f2a03bb..ee426f7ccc1 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -20,7 +20,7 @@ use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use sc_client_api::{Backend as BackendT, BlockBackend, UsageProvider}; -use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; +use sc_executor::NativeExecutionDispatch; use sc_network::NetworkService; use sc_network_common::sync::warp::WarpSyncParams; use sc_network_sync::SyncingService; @@ -179,12 +179,6 @@ where RuntimeApiCollection>, ExecutorDispatch: NativeExecutionDispatch + 'static, { - if config.keystore_remote.is_some() { - return Err(ServiceError::Other( - "Remote Keystores are not supported.".into(), - )); - } - let telemetry = config .telemetry_endpoints .clone() @@ -196,12 +190,7 @@ where }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); + let executor = sc_service::new_native_or_wasm_executor::(config); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( @@ -243,7 +232,7 @@ where )?; let slot_duration = babe_link.config().slot_duration(); - let import_queue = sc_consensus_babe::import_queue( + let (import_queue, babe_worker_handle) = sc_consensus_babe::import_queue( babe_link.clone(), block_import.clone(), Some(Box::new(justification_import)), @@ -253,10 +242,10 @@ where let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); Ok((slot, timestamp)) }, @@ -268,7 +257,7 @@ where let import_setup = (block_import, grandpa_link, babe_link); let (rpc_extensions_builder, rpc_setup) = { - let (_, grandpa_link, babe_link) = &import_setup; + let (_, grandpa_link, _) = &import_setup; let justification_stream = grandpa_link.justification_stream(); let shared_authority_set = grandpa_link.shared_authority_set().clone(); @@ -280,13 +269,10 @@ where Some(shared_authority_set.clone()), ); - let babe_config = babe_link.config().clone(); - let shared_epoch_changes = babe_link.epoch_changes().clone(); - let client = client.clone(); let pool = transaction_pool.clone(); let select_chain = select_chain.clone(); - let keystore = keystore_container.sync_keystore(); + let keystore = keystore_container.keystore(); let chain_spec = config.chain_spec.cloned_box(); let rpc_backend = backend.clone(); @@ -298,9 +284,8 @@ where chain_spec: chain_spec.cloned_box(), deny_unsafe, babe: crate::rpc::BabeDeps { - babe_config: babe_config.clone(), - shared_epoch_changes: shared_epoch_changes.clone(), keystore: keystore.clone(), + babe_worker_handle: babe_worker_handle.clone(), }, grandpa: crate::rpc::GrandpaDeps { shared_voter_state: shared_voter_state.clone(), @@ -397,6 +382,7 @@ where } = new_partial(&config)?; let shared_voter_state = rpc_setup; + let _auth_disc_publish_non_global_ips = config.network.allow_non_globals_in_dht; let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name( &client .block_hash(0) @@ -450,7 +436,7 @@ where config, backend, client: client.clone(), - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), network: network.clone(), rpc_builder: Box::new(rpc_builder), transaction_pool: transaction_pool.clone(), @@ -495,7 +481,7 @@ where let client_clone = client.clone(); let slot_duration = babe_link.config().slot_duration(); let babe_config = sc_consensus_babe::BabeParams { - keystore: keystore_container.sync_keystore(), + keystore: keystore_container.keystore(), client: client.clone(), select_chain, env: proposer, @@ -508,10 +494,10 @@ where let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); let slot = - sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( - *timestamp, - slot_duration, - ); + sp_consensus_babe::inherents::InherentDataProvider::from_timestamp_and_slot_duration( + *timestamp, + slot_duration, + ); let storage_proof = sp_transaction_storage_proof::registration::new_data_provider( @@ -541,14 +527,14 @@ where // if the node isn't actively participating in consensus then it doesn't // need a keystore, regardless of which protocol we use below. let keystore = if role.is_authority() { - Some(keystore_container.sync_keystore()) + Some(keystore_container.keystore()) } else { None }; let config = sc_consensus_grandpa::Config { - // FIXME substrate#1578 make this available through chainspec - gossip_duration: std::time::Duration::from_millis(1000), + // FIXME #1578 make this available through chainspec + gossip_duration: std::time::Duration::from_millis(333), justification_period: 512, name: Some(name), observer_enabled: false, diff --git a/node/service/src/rpc/mod.rs b/node/service/src/rpc/mod.rs index 527495e6f18..cb69e1e4840 100644 --- a/node/service/src/rpc/mod.rs +++ b/node/service/src/rpc/mod.rs @@ -24,9 +24,8 @@ use std::sync::Arc; use jsonrpsee::RpcModule; use runtime_primitives::{AccountId, Balance, Block, BlockNumber, Hash, Index}; -use sc_client_api::{AuxStore, BlockBackend, StorageProvider}; -use sc_consensus_babe::{BabeConfiguration, Epoch}; -use sc_consensus_epochs::SharedEpochChanges; +use sc_client_api::AuxStore; +use sc_consensus_babe::BabeWorkerHandle; use sc_consensus_grandpa::{ FinalityProofProvider, GrandpaJustificationStream, SharedAuthoritySet, SharedVoterState, }; @@ -38,18 +37,16 @@ use sp_block_builder::BlockBuilder; use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata}; use sp_consensus::SelectChain; use sp_consensus_babe::BabeApi; -use sp_keystore::SyncCryptoStorePtr; +use sp_keystore::KeystorePtr; mod runtime_info; /// Extra dependencies for BABE. pub struct BabeDeps { - /// BABE protocol config. - pub babe_config: BabeConfiguration, - /// BABE pending epoch changes. - pub shared_epoch_changes: SharedEpochChanges, + /// A handle to the BABE worker for issuing requests. + pub babe_worker_handle: BabeWorkerHandle, /// The keystore that manages the keys of the node. - pub keystore: SyncCryptoStorePtr, + pub keystore: KeystorePtr, } /// Extra dependencies for GRANDPA @@ -91,11 +88,11 @@ pub fn create_full( ) -> Result, Box> where C: ProvideRuntimeApi - + BlockBackend + + sc_client_api::BlockBackend + HeaderBackend + AuxStore + HeaderMetadata - + StorageProvider + + sc_client_api::StorageProvider + Sync + Send + 'static, @@ -133,8 +130,7 @@ where let BabeDeps { keystore, - babe_config, - shared_epoch_changes, + babe_worker_handle, } = babe; let GrandpaDeps { shared_voter_state, @@ -158,9 +154,8 @@ where io.merge( Babe::new( client.clone(), - shared_epoch_changes.clone(), + babe_worker_handle.clone(), keystore, - babe_config, select_chain, deny_unsafe, ) @@ -182,7 +177,7 @@ where chain_spec, client.clone(), shared_authority_set, - shared_epoch_changes, + babe_worker_handle, )? .into_rpc(), )?; From 9fe94522155f9553986ff4abb1ab32c0dc204c12 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 14:49:57 +0300 Subject: [PATCH 05/15] Use verify instead of removed verify_weak --- gcli/src/keystore/key.rs | 8 ++++++-- gcli/src/result.rs | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcli/src/keystore/key.rs b/gcli/src/keystore/key.rs index 61bd4f5fb4d..10b8bc13928 100644 --- a/gcli/src/keystore/key.rs +++ b/gcli/src/keystore/key.rs @@ -105,10 +105,14 @@ impl Key { } /// Verify messages - pub fn verify

(sig: &[u8], message: &[u8], pubkey: &[u8]) -> Result + pub fn verify<'a, P>(sig: &'a [u8], message: &[u8], pubkey: &'a [u8]) -> Result where P: Pair, +

::Signature: TryFrom<&'a [u8]>, +

::Public: TryFrom<&'a [u8]>, { - Ok(P::verify_weak(sig, message, pubkey)) + let pubkey = P::Public::try_from(pubkey).map_err(|_| Error::InvalidPublic)?; + let sig = P::Signature::try_from(sig).map_err(|_| Error::InvalidSignature)?; + Ok(P::verify(&sig, message, &pubkey)) } } diff --git a/gcli/src/result.rs b/gcli/src/result.rs index 8b6e2546509..748660527d1 100644 --- a/gcli/src/result.rs +++ b/gcli/src/result.rs @@ -37,6 +37,8 @@ pub enum Error { InvalidPassword, #[error("Invalid public key")] InvalidPublic, + #[error("Invalid signature")] + InvalidSignature, #[error("Invalid secret key")] InvalidSecret, #[error(transparent)] From 746d71f78ab6035420758aa4ec35732cf6ec3240 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 15:38:35 +0300 Subject: [PATCH 06/15] gear-replay-cli update --- Cargo.lock | 1 + utils/gear-replay-cli/Cargo.toml | 1 + utils/gear-replay-cli/src/util.rs | 31 +++++++++++++++---------------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1effd5b8828..fd0d0f60a71 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4112,6 +4112,7 @@ dependencies = [ "parity-scale-codec", "sc-cli", "sc-executor", + "sc-executor-common", "sc-tracing", "sp-core 7.0.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", "sp-externalities 0.13.0 (git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.42-canary-no-sandbox)", diff --git a/utils/gear-replay-cli/Cargo.toml b/utils/gear-replay-cli/Cargo.toml index cb62d7fea0a..5e689f4edd2 100644 --- a/utils/gear-replay-cli/Cargo.toml +++ b/utils/gear-replay-cli/Cargo.toml @@ -24,6 +24,7 @@ sp-state-machine.workspace = true # Substrate client sc-executor.workspace = true +sc-executor-common.workspace = true sc-cli.workspace = true sc-tracing.workspace = true diff --git a/utils/gear-replay-cli/src/util.rs b/utils/gear-replay-cli/src/util.rs index e9d1b10b7fd..c3bb889e4ed 100644 --- a/utils/gear-replay-cli/src/util.rs +++ b/utils/gear-replay-cli/src/util.rs @@ -34,12 +34,11 @@ use sp_core::{ OffchainDbExt, OffchainWorkerExt, TransactionPoolExt, }, storage::well_known_keys, - testing::TaskExecutor, - traits::{CallContext, CodeExecutor, TaskExecutorExt}, + traits::{CallContext, CodeExecutor}, twox_128, }; use sp_externalities::Extensions; -use sp_keystore::{testing::KeyStore, KeystoreExt}; +use sp_keystore::{testing::MemoryKeystore, KeystoreExt, KeystorePtr}; use sp_rpc::{list::ListOrValue, number::NumberOrHex}; use sp_runtime::{ generic::SignedBlock, @@ -69,19 +68,21 @@ pub(crate) fn build_executor() -> NativeElseWasmExec #[cfg(feature = "always-wasm")] pub(crate) fn build_executor() -> WasmExecutor { - let heap_pages = Some(2048); + let execution_method = sc_executor::WasmExecutionMethod::Compiled { + instantiation_strategy: WasmtimeInstantiationStrategy::RecreateInstanceCopyOnWrite, + }; + let heap_pages = + sc_executor_common::wasm_runtime::HeapAllocStrategy::Static { extra_pages: 2048 }; let max_runtime_instances = 8; let runtime_cache_size = 2; - WasmExecutor::new( - sc_executor::WasmExecutionMethod::Compiled { - instantiation_strategy: WasmtimeInstantiationStrategy::RecreateInstanceCopyOnWrite, - }, - heap_pages, - max_runtime_instances, - None, - runtime_cache_size, - ) + WasmExecutor::::builder() + .with_execution_method(execution_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(max_runtime_instances) + .with_runtime_cache_size(runtime_cache_size) + .build() } pub(crate) async fn build_externalities( @@ -200,7 +201,6 @@ pub(crate) fn state_machine_call( data, extensions, &BackendRuntimeCode::new(&ext.backend).runtime_code()?, - TaskExecutor::new(), CallContext::Offchain, ) .execute(strategy) @@ -213,12 +213,11 @@ pub(crate) fn state_machine_call( /// Build all extensions that are typically used pub(crate) fn full_extensions() -> Extensions { let mut extensions = Extensions::default(); - extensions.register(TaskExecutorExt::new(TaskExecutor::new())); let (offchain, _offchain_state) = TestOffchainExt::new(); let (pool, _pool_state) = TestTransactionPoolExt::new(); extensions.register(OffchainDbExt::new(offchain.clone())); extensions.register(OffchainWorkerExt::new(offchain)); - extensions.register(KeystoreExt(Arc::new(KeyStore::new()))); + extensions.register(KeystoreExt(Arc::new(MemoryKeystore::new()) as KeystorePtr)); extensions.register(TransactionPoolExt::new(pool)); extensions From d95168366cfdcb32130b57970ad9e78503e3c694 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Sun, 16 Jul 2023 15:38:46 +0300 Subject: [PATCH 07/15] gsdk update --- gsdk/api-gen/src/main.rs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gsdk/api-gen/src/main.rs b/gsdk/api-gen/src/main.rs index 39daf9d7465..42743cc791d 100644 --- a/gsdk/api-gen/src/main.rs +++ b/gsdk/api-gen/src/main.rs @@ -104,11 +104,20 @@ fn metadata() -> Vec { let path = env::var(RUNTIME_WASM).expect("Missing RUNTIME_WASM env var."); let code = fs::read(path).expect("Failed to read runtime wasm"); + let heap_pages = + sc_executor_common::wasm_runtime::HeapAllocStrategy::Static { extra_pages: 1024 }; + // 2. Create wasm executor. let executor = sc_executor::WasmExecutor::<( gear_ri::gear_ri::HostFunctions, sp_io::SubstrateHostFunctions, - )>::new(WasmExecutionMethod::Interpreted, Some(1024), 8, None, 2); + )>::builder() + .with_execution_method(WasmExecutionMethod::Interpreted) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(8) + .with_runtime_cache_size(2) + .build(); // 3. Extract metadata. executor From 72ba5f6aa9c62c7e1a46d242ff6bd0e553758c36 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Mon, 17 Jul 2023 18:34:49 +0300 Subject: [PATCH 08/15] Update mocks --- pallets/airdrop/src/mock.rs | 4 ++++ pallets/gas/src/mock.rs | 4 ++++ pallets/gear-debug/src/mock.rs | 4 ++++ pallets/gear-messenger/src/mock.rs | 4 ++++ pallets/gear-program/src/mock.rs | 4 ++++ pallets/gear-scheduler/src/mock.rs | 4 ++++ pallets/gear-voucher/src/mock.rs | 4 ++++ pallets/payment/src/mock.rs | 4 ++++ pallets/staking-rewards/src/mock.rs | 4 ++++ 9 files changed, 36 insertions(+) diff --git a/pallets/airdrop/src/mock.rs b/pallets/airdrop/src/mock.rs index 86eb8ab7bac..7c8c82c55de 100644 --- a/pallets/airdrop/src/mock.rs +++ b/pallets/airdrop/src/mock.rs @@ -107,6 +107,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } impl pallet_sudo::Config for Test { diff --git a/pallets/gas/src/mock.rs b/pallets/gas/src/mock.rs index af98db3f605..35264054349 100644 --- a/pallets/gas/src/mock.rs +++ b/pallets/gas/src/mock.rs @@ -60,6 +60,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/gear-debug/src/mock.rs b/pallets/gear-debug/src/mock.rs index 4f4414311f4..31ede72c73d 100644 --- a/pallets/gear-debug/src/mock.rs +++ b/pallets/gear-debug/src/mock.rs @@ -52,6 +52,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/gear-messenger/src/mock.rs b/pallets/gear-messenger/src/mock.rs index 0f714caafbe..bb977378ef9 100644 --- a/pallets/gear-messenger/src/mock.rs +++ b/pallets/gear-messenger/src/mock.rs @@ -61,6 +61,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/gear-program/src/mock.rs b/pallets/gear-program/src/mock.rs index 6937c6b4cdb..30e09ca21cb 100644 --- a/pallets/gear-program/src/mock.rs +++ b/pallets/gear-program/src/mock.rs @@ -77,6 +77,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/gear-scheduler/src/mock.rs b/pallets/gear-scheduler/src/mock.rs index 6b9e794e046..984173ddb77 100644 --- a/pallets/gear-scheduler/src/mock.rs +++ b/pallets/gear-scheduler/src/mock.rs @@ -77,6 +77,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/gear-voucher/src/mock.rs b/pallets/gear-voucher/src/mock.rs index 0b609f87d73..b1c048e1390 100644 --- a/pallets/gear-voucher/src/mock.rs +++ b/pallets/gear-voucher/src/mock.rs @@ -93,6 +93,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { diff --git a/pallets/payment/src/mock.rs b/pallets/payment/src/mock.rs index 538a9e297ad..f952580d82f 100644 --- a/pallets/payment/src/mock.rs +++ b/pallets/payment/src/mock.rs @@ -83,6 +83,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } pub struct FixedBlockAuthor; diff --git a/pallets/staking-rewards/src/mock.rs b/pallets/staking-rewards/src/mock.rs index 7b0233f42d9..627e467a75c 100644 --- a/pallets/staking-rewards/src/mock.rs +++ b/pallets/staking-rewards/src/mock.rs @@ -111,6 +111,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } parameter_types! { From 285edb86d0955a193fccb97e011511e4f9ff841e Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 18 Jul 2023 12:16:25 +0300 Subject: [PATCH 09/15] misc update fuzzer, integration tests --- runtime/vara/src/integration_tests.rs | 2 +- utils/runtime-fuzzer/src/runtime/mod.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/runtime/vara/src/integration_tests.rs b/runtime/vara/src/integration_tests.rs index bd08e33b18d..91923f67eb3 100644 --- a/runtime/vara/src/integration_tests.rs +++ b/runtime/vara/src/integration_tests.rs @@ -462,7 +462,7 @@ fn tokens_locking_works() { // Free balance of vested accounts is still 100 TOKENS assert_eq!(acc_data.free, 100 * UNITS); // Locked balance is 90 TOKENS - assert_eq!(acc_data.misc_frozen, 90 * UNITS); + assert_eq!(acc_data.frozen, 90 * UNITS); // Locked funds can't be reserved to pay for gas and/or value // Transaction should be invalidated when attempting to `reserve` currency: diff --git a/utils/runtime-fuzzer/src/runtime/mod.rs b/utils/runtime-fuzzer/src/runtime/mod.rs index 42d5a046481..bb04cc33b59 100644 --- a/utils/runtime-fuzzer/src/runtime/mod.rs +++ b/utils/runtime-fuzzer/src/runtime/mod.rs @@ -86,11 +86,9 @@ pub fn new_test_ext() -> TestExternalities { } pub fn increase_to_max_balance(who: AccountId) -> DispatchResultWithPostInfo { - let new_reserved = BalancesPallet::::reserved_balance(&who); - BalancesPallet::::set_balance( + BalancesPallet::::force_set_balance( RuntimeOrigin::root(), who.into(), ::GasPrice::gas_price(account::acc_max_balance() as u64), - new_reserved, ) } From 1af05e45c5089cb3307ff0e71d15141029a64002 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Tue, 18 Jul 2023 12:17:39 +0300 Subject: [PATCH 10/15] feat(pallet-gear): Migrate to fungible traits --- pallets/gear/src/internal.rs | 106 +++++++++++++++++++++------- pallets/gear/src/lib.rs | 89 +++++++++++++++-------- pallets/gear/src/manager/journal.rs | 23 +++--- pallets/gear/src/manager/mod.rs | 7 +- pallets/gear/src/manager/task.rs | 17 +++-- pallets/gear/src/mock.rs | 7 +- pallets/gear/src/queue.rs | 2 +- pallets/gear/src/runtime_api.rs | 14 ++-- 8 files changed, 185 insertions(+), 80 deletions(-) diff --git a/pallets/gear/src/internal.rs b/pallets/gear/src/internal.rs index 21a93f74a2f..edd66e2c267 100644 --- a/pallets/gear/src/internal.rs +++ b/pallets/gear/src/internal.rs @@ -20,8 +20,8 @@ use crate::{ Authorship, BalanceOf, Config, CostsPerBlockOf, CurrencyOf, DispatchStashOf, Event, ExtManager, - GasBalanceOf, GasHandlerOf, GasNodeIdOf, MailboxOf, Pallet, QueueOf, SchedulingCostOf, - TaskPoolOf, WaitlistOf, + GasBalanceOf, GasHandlerOf, GasNodeIdOf, HoldReason, MailboxOf, Pallet, QueueOf, + SchedulingCostOf, TaskPoolOf, WaitlistOf, }; use alloc::collections::BTreeSet; use common::{ @@ -37,7 +37,11 @@ use common::{ }; use core::cmp::{Ord, Ordering}; use core_processor::common::ActorExecutionErrorReplyReason; -use frame_support::traits::{BalanceStatus, Currency, ExistenceRequirement, ReservableCurrency}; +use frame_support::traits::{ + fungible::{Inspect, InspectHold, Mutate, MutateHold}, + tokens::{Fortitude, Precision, Preservation, Restriction}, + BalanceStatus, Currency, ExistenceRequirement, ReservableCurrency, +}; use frame_system::pallet_prelude::BlockNumberFor; use gear_core::{ ids::{MessageId, ProgramId, ReservationId}, @@ -223,35 +227,67 @@ where return; } + let ed = CurrencyOf::::minimum_balance(); + // If destination account can reserve minimum balance, it means that // account exists and can receive repatriation of reserved funds. // // Otherwise need to transfer them directly. // Checking balance existence of destination address. - if CurrencyOf::::can_reserve(to, CurrencyOf::::minimum_balance()) { + if CurrencyOf::::can_hold( + &HoldReason::StorageDepositReserve.into(), + to, + CurrencyOf::::minimum_balance(), + ) { // Repatriating reserved to existent account. - let unrevealed = - CurrencyOf::::repatriate_reserved(from, to, value, BalanceStatus::Free) - .unwrap_or_else(|e| { - unreachable!("Failed to repatriate reserved funds: {:?}", e) - }); + let unrevealed = CurrencyOf::::transfer_on_hold( + &HoldReason::StorageDepositReserve.into(), + from, + to, + value, + Precision::BestEffort, + Restriction::Free, + Fortitude::Polite, + ) + .unwrap_or_else(|e| unreachable!("Failed to transfer on hold funds: {:?}", e)); // Validating unrevealed funds after repatriation. - if !unrevealed.is_zero() { - unreachable!("Reserved funds wasn't fully repatriated: {:?}", unrevealed) + if unrevealed < value { + // CurrencyOf::::transfer( + // from, + // to, + // value.saturating_sub(unrevealed), + // Preservation::Expendable, + // ) + // .unwrap_or_else(|e| { + // unreachable!( + // "Reserved funds wasn't fully repatriated: {:?} {:?}, {:?}", + // unrevealed, value, e + // ) + // }); + unreachable!( + "Reserved funds wasn't fully repatriated: {:?} {:?}", + unrevealed, value + ) } } else { // Unreserving funds from sender to transfer them directly. - let unrevealed = CurrencyOf::::unreserve(from, value); + let unrevealed = CurrencyOf::::release( + &HoldReason::StorageDepositReserve.into(), + from, + value, + Precision::BestEffort, + ) + .unwrap_or_else(|e| unreachable!("Failed to release hold funds: {:?}", e)); // Validating unrevealed funds after unreserve. - if !unrevealed.is_zero() { + if unrevealed < value { unreachable!("Not all requested value was unreserved"); } // Transfer to inexistent account. - CurrencyOf::::transfer(from, to, value, ExistenceRequirement::AllowDeath) + CurrencyOf::::transfer(from, to, value, Preservation::Expendable) .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); } } @@ -312,10 +348,16 @@ where let value = T::GasPrice::gas_price(gas_left); // Unreserving funds. - let unrevealed = CurrencyOf::::unreserve(&external, value); + let unrevealed = CurrencyOf::::release( + &HoldReason::StorageDepositReserve.into(), + &external, + value, + Precision::BestEffort, + ) + .unwrap_or_else(|e| unreachable!("Failed to release hold funds: {:?}", e)); // Validating unrevealed funds after unreserve. - if !unrevealed.is_zero() { + if unrevealed < value { unreachable!("Not all requested value was unreserved"); } } @@ -587,7 +629,7 @@ where // Taking data for funds manipulations. let from = ::from_origin(dispatch.source().into_origin()); - let value = dispatch.value().unique_saturated_into(); + let value: BalanceOf = dispatch.value().unique_saturated_into(); // `HoldBound` builder. let hold_builder = HoldBoundBuilder::::new(StorageType::DispatchStash); @@ -709,9 +751,11 @@ where }; if !dispatch.value().is_zero() { - // Reserving value from source for future transfer or unreserve. - CurrencyOf::::reserve(&from, value) - .unwrap_or_else(|e| unreachable!("Unable to reserve requested value {:?}", e)); + let ed = CurrencyOf::::minimum_balance(); + // Hold value from source for future transfer or release. + log::info!(target: "gear::internal", "balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::balance(&from), value, &from); + CurrencyOf::::hold(&HoldReason::StorageDepositReserve.into(), &from, value) + .unwrap_or_else(|e| unreachable!("Failed to hold funds: {:?}", e)); } // Saving id to allow moving dispatch further. @@ -799,7 +843,7 @@ where // Taking data for funds manipulations. let from = ::from_origin(message.source().into_origin()); let to = ::from_origin(message.destination().into_origin()); - let value = message.value().unique_saturated_into(); + let value: BalanceOf = message.value().unique_saturated_into(); // If gas limit can cover threshold, message will be added to mailbox, // task created and funds reserved. @@ -816,9 +860,19 @@ where GasHandlerOf::::cut(msg_id, message.id(), gas_limit) .unwrap_or_else(|e| unreachable!("GasTree corrupted! {:?}", e)); - // Reserving value from source for future transfer or unreserve. - CurrencyOf::::reserve(&from, value) - .unwrap_or_else(|e| unreachable!("Unable to reserve requested value {:?}", e)); + if !value.is_zero() { + let ed = CurrencyOf::::minimum_balance(); + // log::info!(target: "gear::internal", "balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::total_balance(&from), value, &from); + log::info!(target: "gear::internal", "hold balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::balance(&from), value, &from); + // Hold value from source for future transfer or release. + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &from, + value.saturating_sub(ed), + // value, + ) + .unwrap_or_else(|e| unreachable!("Failed to hold funds: {:?}", e)); + } // Lock the entire `gas_limit` since the only purpose of it is payment for storage. GasHandlerOf::::lock(message.id(), LockId::Mailbox, gas_limit) @@ -844,7 +898,7 @@ where Some(hold.expected()) } else { // Permanently transferring funds. - CurrencyOf::::transfer(&from, &to, value, ExistenceRequirement::AllowDeath) + CurrencyOf::::transfer(&from, &to, value, Preservation::Expendable) .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); if message.details().is_none() { @@ -1041,7 +1095,7 @@ where from, &block_author, Self::rent_fee_for(blocks_to_pay), - ExistenceRequirement::AllowDeath, + Preservation::Expendable, )?; let task = ScheduledTask::PauseProgram(program_id); diff --git a/pallets/gear/src/lib.rs b/pallets/gear/src/lib.rs index 2b32daed045..dc1ec24c54a 100644 --- a/pallets/gear/src/lib.rs +++ b/pallets/gear/src/lib.rs @@ -65,6 +65,8 @@ use frame_support::{ ensure, pallet_prelude::*, traits::{ + fungible::{Inspect, InspectHold, Mutate, MutateHold}, + tokens::Preservation, ConstBool, Currency, ExistenceRequirement, Get, LockableCurrency, Randomness, ReservableCurrency, StorageVersion, }, @@ -107,7 +109,7 @@ type ExecutionEnvironment = gear_backend_sandbox::SandboxEnvi pub(crate) type CurrencyOf = ::Currency; pub(crate) type BalanceOf = - <::Currency as Currency<::AccountId>>::Balance; + <::Currency as Inspect<::AccountId>>::Balance; pub(crate) type SentOf = <::Messenger as Messenger>::Sent; pub(crate) type DbWeightOf = ::DbWeight; pub(crate) type DequeuedOf = <::Messenger as Messenger>::Dequeued; @@ -194,7 +196,12 @@ pub mod pallet { type Randomness: Randomness; /// Balances management trait for gas/value migrations. - type Currency: LockableCurrency + ReservableCurrency; + type Currency: Inspect + + Mutate + + MutateHold; + + /// Overarching hold reason. + type RuntimeHoldReason: From; /// Gas to Currency converter type GasPrice: GasPrice>; @@ -479,6 +486,13 @@ pub mod pallet { FailureRedeemingVoucher, } + /// A reason for the pallet contracts placing a hold on funds. + #[pallet::composite_enum] + pub enum HoldReason { + /// The Pallet has reserved it for storage deposit. + StorageDepositReserve, + } + #[cfg(feature = "runtime-benchmarks")] #[pallet::storage] pub(crate) type BenchmarkStorage = StorageMap<_, Identity, u32, Vec>; @@ -626,10 +640,14 @@ pub mod pallet { let reserve_fee = T::GasPrice::gas_price(gas_limit); - // First we reserve enough funds on the account to pay for `gas_limit` + // First we hold enough funds on the account to pay for `gas_limit` // and to transfer declared value. - CurrencyOf::::reserve(&who, reserve_fee + value) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &who, + reserve_fee + value, + ) + .map_err(|_| Error::::InsufficientBalance)?; let origin = who.clone().into_origin(); @@ -1215,8 +1233,12 @@ pub mod pallet { // First we reserve enough funds on the account to pay for `gas_limit` // and to transfer declared value. - ::Currency::reserve(&who, reserve_fee + value) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &who, + reserve_fee + value, + ) + .map_err(|_| Error::::InsufficientBalance)?; Ok(packet) } @@ -1508,14 +1530,22 @@ pub mod pallet { // Message is not guaranteed to be executed, that's why value is not immediately transferred. // That's because destination can fail to be initialized, while this dispatch message is next // in the queue. - CurrencyOf::::reserve(&who, value.unique_saturated_into()) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &who, + value.unique_saturated_into(), + ) + .map_err(|_| Error::::InsufficientBalance)?; let gas_limit_reserve = T::GasPrice::gas_price(gas_limit); // First we reserve enough funds on the account to pay for `gas_limit` - CurrencyOf::::reserve(&who, gas_limit_reserve) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &who, + gas_limit_reserve, + ) + .map_err(|_| Error::::InsufficientBalance)?; Self::create(who.clone(), message.id(), gas_limit, false); @@ -1541,7 +1571,7 @@ pub mod pallet { message.destination().into_origin(), ), value.unique_saturated_into(), - ExistenceRequirement::AllowDeath, + Preservation::Expendable, ) .map_err(|_| Error::::InsufficientBalance)?; @@ -1610,12 +1640,16 @@ pub mod pallet { // Converting applied gas limit into value to reserve. let gas_limit_reserve = T::GasPrice::gas_price(gas_limit); - // Reserving funds for gas limit and value sending. + // Hold funds for gas limit and value sending. // // Note, that message is not guaranteed to be successfully executed, // that's why value is not immediately transferred. - CurrencyOf::::reserve(&origin, gas_limit_reserve + value) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &origin, + gas_limit_reserve + value, + ) + .map_err(|_| Error::::InsufficientBalance)?; // Creating reply message. let message = ReplyMessage::from_packet( @@ -1864,7 +1898,7 @@ pub mod pallet { let rent_fee = Self::rent_fee_for(block_count); ensure!( - CurrencyOf::::free_balance(&who) >= rent_fee, + CurrencyOf::::balance(&who) >= rent_fee, Error::::InsufficientBalance ); @@ -1885,13 +1919,8 @@ pub mod pallet { TaskPoolOf::::add(expiration_block, task) .unwrap_or_else(|e| unreachable!("Scheduling logic invalidated! {:?}", e)); - CurrencyOf::::transfer( - &who, - &block_author, - rent_fee, - ExistenceRequirement::AllowDeath, - ) - .unwrap_or_else(|e| unreachable!("Failed to transfer rent: {:?}", e)); + CurrencyOf::::transfer(&who, &block_author, rent_fee, Preservation::Expendable) + .unwrap_or_else(|e| unreachable!("Failed to transfer rent: {:?}", e)); Self::deposit_event(Event::ProgramChanged { id: program_id, @@ -1955,10 +1984,14 @@ pub mod pallet { // transferred. That's because destination can fail to be initialized by the time // this dispatch message is next in the queue. // - // Note: reservaton is made from the user's account as voucher can only be used + // Note: hold is made from the user's account as voucher can only be used // to pay for gas or settle transaction fees, but not as source for value transfer. - CurrencyOf::::reserve(&who, value.unique_saturated_into()) - .map_err(|_| Error::::InsufficientBalance)?; + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &who, + value.unique_saturated_into(), + ) + .map_err(|_| Error::::InsufficientBalance)?; let gas_limit_reserve = T::GasPrice::gas_price(gas_limit); @@ -2035,12 +2068,12 @@ pub mod pallet { // Checking that program, origin replies to, is not terminated. ensure!(Self::is_active(destination), Error::::InactiveProgram); - // Reserving funds for sending `value`. The funds are reserved on the + // Hold funds for sending `value`. The funds are hold on the // account of the reply sender. // // Note, that message is not guaranteed to be successfully executed, // that's why value is not immediately transferred. - CurrencyOf::::reserve(&origin, value) + CurrencyOf::::hold(&HoldReason::StorageDepositReserve.into(), &origin, value) .map_err(|_| Error::::InsufficientBalance)?; let reply_id = MessageId::generate_reply(mailboxed.id()); diff --git a/pallets/gear/src/manager/journal.rs b/pallets/gear/src/manager/journal.rs index 4ddd332ba7f..08a8009cb72 100644 --- a/pallets/gear/src/manager/journal.rs +++ b/pallets/gear/src/manager/journal.rs @@ -19,8 +19,8 @@ use crate::{ internal::HoldBoundBuilder, manager::{CodeInfo, ExtManager}, - Config, CurrencyOf, Event, GasAllowanceOf, GasHandlerOf, GasTree, Pallet, ProgramStorageOf, - QueueOf, RentFreePeriodOf, TaskPoolOf, WaitlistOf, + Config, CurrencyOf, Event, GasAllowanceOf, GasHandlerOf, GasTree, HoldReason, Pallet, + ProgramStorageOf, QueueOf, RentFreePeriodOf, TaskPoolOf, WaitlistOf, }; use common::{ event::*, @@ -31,7 +31,11 @@ use common::{ use core_processor::common::{DispatchOutcome as CoreDispatchOutcome, JournalHandler}; use frame_support::{ sp_runtime::Saturating, - traits::{Currency, ExistenceRequirement, ReservableCurrency}, + traits::{ + fungible::{Inspect, Mutate, MutateHold}, + tokens::Preservation, + Currency, ExistenceRequirement, ReservableCurrency, + }, }; use frame_system::pallet_prelude::BlockNumberFor; use gear_core::{ @@ -187,7 +191,7 @@ where let program_id = ::from_origin(program_id.into_origin()); - let balance = CurrencyOf::::free_balance(&program_id); + let balance = CurrencyOf::::balance(&program_id); let destination = Pallet::::inheritor_for(origin); let destination = ::from_origin(destination.into_origin()); @@ -196,7 +200,7 @@ where &program_id, &destination, balance, - ExistenceRequirement::AllowDeath, + Preservation::Expendable, ) .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); } @@ -254,7 +258,7 @@ where ProgramStorageOf::::remove_program_pages(id_exited); let program_account = &::from_origin(id_exited.into_origin()); - let balance = CurrencyOf::::free_balance(program_account); + let balance = CurrencyOf::::balance(program_account); let destination = Pallet::::inheritor_for(value_destination); let destination = ::from_origin(destination.into_origin()); @@ -264,7 +268,7 @@ where program_account, &destination, balance, - ExistenceRequirement::AllowDeath, + Preservation::Expendable, ) .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); } @@ -301,10 +305,11 @@ where ); if dispatch.value() != 0 { - CurrencyOf::::reserve( + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), &::from_origin(dispatch.source().into_origin()), dispatch.value().unique_saturated_into(), - ).unwrap_or_else(|_| unreachable!("Value reservation can't fail due to value sending rules. For more info, see module docs.")); + ).unwrap_or_else(|_| unreachable!("Value hold can't fail due to value sending rules. For more info, see module docs.")); } match (gas_limit, reservation) { diff --git a/pallets/gear/src/manager/mod.rs b/pallets/gear/src/manager/mod.rs index 7eb18dc5f0d..906d351af0b 100644 --- a/pallets/gear/src/manager/mod.rs +++ b/pallets/gear/src/manager/mod.rs @@ -63,7 +63,10 @@ use core::fmt; use core_processor::common::{Actor, ExecutableActorData}; use frame_support::{ codec::{Decode, Encode}, - traits::Currency, + traits::{ + fungible::{Inspect, Mutate, MutateHold}, + Currency, + }, }; use frame_system::pallet_prelude::BlockNumberFor; use gear_core::{ @@ -223,7 +226,7 @@ where let code_id = CodeId::from_origin(active.code_hash); let balance = - CurrencyOf::::free_balance(&::from_origin(id.into_origin())) + CurrencyOf::::balance(&::from_origin(id.into_origin())) .unique_saturated_into(); Some(Actor { diff --git a/pallets/gear/src/manager/task.rs b/pallets/gear/src/manager/task.rs index 5f27762f3d1..404c9bdc266 100644 --- a/pallets/gear/src/manager/task.rs +++ b/pallets/gear/src/manager/task.rs @@ -31,7 +31,11 @@ use common::{ storage::*, Origin, PausedProgramStorage, Program, ProgramStorage, }; -use frame_support::traits::{Currency, ExistenceRequirement}; +use frame_support::traits::{ + fungible::{Inspect, Mutate, MutateHold}, + tokens::Preservation, + Currency, ExistenceRequirement, +}; use gear_core::{ ids::{CodeId, MessageId, ProgramId, ReservationId}, message::{DispatchKind, ReplyMessage}, @@ -126,18 +130,13 @@ where // transfer program's balance to the origin let program_id = ::from_origin(program_id.into_origin()); - let balance = CurrencyOf::::free_balance(&program_id); + let balance = CurrencyOf::::balance(&program_id); let destination = Pallet::::inheritor_for(origin); let destination = ::from_origin(destination.into_origin()); if !balance.is_zero() { - CurrencyOf::::transfer( - &program_id, - &destination, - balance, - ExistenceRequirement::AllowDeath, - ) - .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); + CurrencyOf::::transfer(&program_id, &destination, balance, Preservation::Expendable) + .unwrap_or_else(|e| unreachable!("Failed to transfer value: {:?}", e)); } Pallet::::deposit_event(event); diff --git a/pallets/gear/src/mock.rs b/pallets/gear/src/mock.rs index f9e3c28cf1b..329c2c53489 100644 --- a/pallets/gear/src/mock.rs +++ b/pallets/gear/src/mock.rs @@ -22,7 +22,7 @@ use frame_support::{ construct_runtime, pallet_prelude::*, parameter_types, - traits::{ConstU64, FindAuthor, Get}, + traits::{ConstU32, ConstU64, FindAuthor, Get}, weights::RuntimeDbWeight, PalletId, }; @@ -100,6 +100,10 @@ impl pallet_balances::Config for Test { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type HoldIdentifier = RuntimeHoldReason; + type MaxFreezes = ConstU32<100>; + type MaxHolds = ConstU32<100>; } parameter_types! { @@ -209,6 +213,7 @@ impl pallet_gear::Config for Test { type RuntimeEvent = RuntimeEvent; type Randomness = TestRandomness; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = pallet_gear::weights::SubstrateWeight; type Schedule = DynamicSchedule; diff --git a/pallets/gear/src/queue.rs b/pallets/gear/src/queue.rs index f886bf9439e..99f6b149719 100644 --- a/pallets/gear/src/queue.rs +++ b/pallets/gear/src/queue.rs @@ -212,7 +212,7 @@ where let dispatch_id = dispatch.id(); let dispatch_reply = dispatch.reply_details().is_some(); - let balance = CurrencyOf::::free_balance(&::from_origin( + let balance = CurrencyOf::::balance(&::from_origin( program_id.into_origin(), )); diff --git a/pallets/gear/src/runtime_api.rs b/pallets/gear/src/runtime_api.rs index b3efd92ede1..343c194d4c1 100644 --- a/pallets/gear/src/runtime_api.rs +++ b/pallets/gear/src/runtime_api.rs @@ -48,10 +48,16 @@ where ) -> Result> { let account = ::from_origin(source); - let balance = CurrencyOf::::free_balance(&account); - let max_balance: BalanceOf = - T::GasPrice::gas_price(initial_gas) + value.unique_saturated_into(); - CurrencyOf::::deposit_creating(&account, max_balance.saturating_sub(balance)); + let balance = CurrencyOf::::balance(&account); + // log::info!(target: "gear::pallet", "{:?}", + // CurrencyOf::::balance(&account)); + let max_balance: BalanceOf = (T::GasPrice::gas_price(initial_gas) + + value.unique_saturated_into()) + + T::Currency::minimum_balance(); + + log::info!(target: "gear::pallet", "max balance {:?}, balance {:?}", max_balance, balance); + CurrencyOf::::set_balance(&account, max_balance); + log::info!(target: "gear::pallet", "{:?}", CurrencyOf::::balance(&account)); let who = frame_support::dispatch::RawOrigin::Signed(account); let value: BalanceOf = value.unique_saturated_into(); From 869dc49ad7d801239f45f660eecfc74c821a47a7 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 21 Jul 2023 13:53:24 +0300 Subject: [PATCH 11/15] Update pallet-airdrop --- pallets/airdrop/src/benchmarking.rs | 6 ++-- pallets/airdrop/src/lib.rs | 12 +++++--- pallets/airdrop/src/mock.rs | 9 +++--- pallets/airdrop/src/tests.rs | 47 +++++++++++++++++++++++------ 4 files changed, 53 insertions(+), 21 deletions(-) diff --git a/pallets/airdrop/src/benchmarking.rs b/pallets/airdrop/src/benchmarking.rs index d7dd33c01a4..860511fc2c3 100644 --- a/pallets/airdrop/src/benchmarking.rs +++ b/pallets/airdrop/src/benchmarking.rs @@ -21,7 +21,7 @@ use crate::Pallet as Airdrop; use crate::*; use common::{benchmarking, Origin}; use frame_benchmarking::{benchmarks, impl_benchmark_test_suite}; -use frame_support::traits::Currency; +use frame_support::traits::fungible::{Inspect, Mutate}; use frame_system::RawOrigin; use sp_runtime::traits::UniqueSaturatedInto; @@ -34,14 +34,14 @@ benchmarks! { let q in 1 .. 256; let source: T::AccountId = benchmarking::account("source", 0, 0); - ::Currency::deposit_creating(&source, (1u128 << 60).unique_saturated_into()); + ::Currency::set_balance(&source, (1u128 << 60).unique_saturated_into()); let recipient: T::AccountId = benchmarking::account("recipient", 0, 0); // Keeping in mind the existential deposit let amount = 100_000_u128.saturating_add(10_u128.saturating_mul(q.into())); }: _(RawOrigin::Root, source, recipient.clone(), amount.unique_saturated_into()) verify { - assert_eq!(pallet_balances::Pallet::::total_balance(&recipient), amount.unique_saturated_into()); + assert_eq!(::Currency::total_balance(&recipient), amount.unique_saturated_into()); } } diff --git a/pallets/airdrop/src/lib.rs b/pallets/airdrop/src/lib.rs index 48fa3fd7cd6..6157fe9dc6e 100644 --- a/pallets/airdrop/src/lib.rs +++ b/pallets/airdrop/src/lib.rs @@ -20,7 +20,11 @@ use frame_support::{ pallet_prelude::*, - traits::{Currency, ExistenceRequirement, VestingSchedule}, + traits::{ + fungible::{Inspect, Mutate}, + tokens::Preservation, + Currency, ExistenceRequirement, VestingSchedule, + }, }; pub use pallet::*; use sp_runtime::traits::{Convert, Saturating}; @@ -37,7 +41,7 @@ mod mock; #[cfg(test)] mod tests; -pub(crate) type BalanceOf = <::Currency as Currency< +pub(crate) type BalanceOf = <::Currency as Inspect< ::AccountId, >>::Balance; @@ -118,11 +122,11 @@ pub mod pallet { ) -> DispatchResultWithPostInfo { ensure_root(origin)?; - <::Currency as Currency<_>>::transfer( + <::Currency>::transfer( &source, &dest, amount, - ExistenceRequirement::KeepAlive, + Preservation::Protect, )?; Self::deposit_event(Event::TokensDeposited { account: dest, diff --git a/pallets/airdrop/src/mock.rs b/pallets/airdrop/src/mock.rs index 7c8c82c55de..7fc49a694dd 100644 --- a/pallets/airdrop/src/mock.rs +++ b/pallets/airdrop/src/mock.rs @@ -19,7 +19,7 @@ use crate as pallet_airdrop; use frame_support::{ construct_runtime, parameter_types, - traits::{ConstU64, GenesisBuild, WithdrawReasons}, + traits::{ConstU32, ConstU64, GenesisBuild, WithdrawReasons}, }; use frame_support_test::TestRandomness; use frame_system as system; @@ -108,9 +108,9 @@ impl pallet_balances::Config for Test { type AccountStore = System; type WeightInfo = (); type FreezeIdentifier = (); - type MaxFreezes = (); - type HoldIdentifier = (); - type MaxHolds = (); + type HoldIdentifier = RuntimeHoldReason; + type MaxFreezes = ConstU32<100>; + type MaxHolds = ConstU32<100>; } impl pallet_sudo::Config for Test { @@ -162,6 +162,7 @@ impl pallet_gear::Config for Test { type RuntimeEvent = RuntimeEvent; type Randomness = TestRandomness; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = (); type Schedule = GearSchedule; diff --git a/pallets/airdrop/src/tests.rs b/pallets/airdrop/src/tests.rs index b02874f9d81..c462eb27094 100644 --- a/pallets/airdrop/src/tests.rs +++ b/pallets/airdrop/src/tests.rs @@ -21,7 +21,7 @@ use crate::mock::{ new_test_ext, Airdrop, AirdropCall, AirdropError, Balances, RuntimeCall, RuntimeOrigin, Sudo, Test, Vesting, ALICE, BOB, ROOT, }; -use frame_support::{assert_err, assert_noop, assert_ok}; +use frame_support::{assert_err, assert_noop, assert_ok, traits::fungible::Inspect}; use frame_system::Config; use pallet_vesting::VestingInfo; @@ -42,8 +42,14 @@ fn sudo_call_works() { amount: 10_000_000, })); assert_ok!(Sudo::sudo(RuntimeOrigin::signed(ROOT), call)); - assert_eq!(Balances::total_balance(&ALICE), 10_000_000); - assert_eq!(Balances::total_balance(&ROOT), 90_000_000); + assert_eq!( + <::Currency as Inspect<_>>::total_balance(&ALICE), + 10_000_000 + ); + assert_eq!( + <::Currency as Inspect<_>>::total_balance(&ROOT), + 90_000_000 + ); assert_eq!(Balances::total_issuance(), 200_000_000); assert_eq!(Balances::locks(BOB).len(), 1); @@ -54,9 +60,15 @@ fn sudo_call_works() { amount: None, })); assert_ok!(Sudo::sudo(RuntimeOrigin::signed(ROOT), call)); - assert_eq!(Balances::total_balance(&BOB), 0); + assert_eq!( + <::Currency as Inspect<_>>::total_balance(&BOB), + 0 + ); assert_eq!(Balances::locks(BOB), vec![]); - assert_eq!(Balances::total_balance(&ALICE), 110_000_000); + assert_eq!( + <::Currency as Inspect<_>>::total_balance(&ALICE), + 110_000_000 + ); assert_eq!(Balances::total_issuance(), 200_000_000); }); } @@ -72,9 +84,18 @@ fn vesting_transfer_works() { 100, ) ); - assert_eq!(Balances::total_balance(&ALICE), 0); - assert_eq!(Balances::total_balance(&BOB), 100_000_000); - assert_eq!(Balances::total_balance(&ROOT), 100_000_000); + assert_eq!( + <::Currency as Currency<_>>::total_balance(&ALICE), + 0 + ); + assert_eq!( + <::Currency as Currency<_>>::total_balance(&BOB), + 100_000_000 + ); + assert_eq!( + <::Currency as Currency<_>>::total_balance(&ROOT), + 100_000_000 + ); assert_eq!(Balances::total_issuance(), 200_000_000); // Amount can't be bigger than locked funds @@ -99,7 +120,10 @@ fn vesting_transfer_works() { 90_000_000, 90_000, 100, ) ); - assert_eq!(Balances::total_balance(&BOB), 90_000_000); + assert_eq!( + <::Currency as Currency<_>>::total_balance(&BOB), + 90_000_000 + ); assert_eq!(Balances::free_balance(ALICE), 10_000_000); assert_eq!(Balances::total_issuance(), 200_000_000); @@ -114,7 +138,10 @@ fn vesting_transfer_works() { // Check that BOB have no vesting and ALICE have all the unlocked funds. assert_eq!(Vesting::vesting(BOB), None); - assert_eq!(Balances::total_balance(&BOB), 0); + assert_eq!( + <::Currency as Currency<_>>::total_balance(&BOB), + 0 + ); assert_eq!(Balances::free_balance(ALICE), 100_000_000); assert_eq!(Balances::total_issuance(), 200_000_000); }); From 73b4a38a5e8a79549255a4f92767be1f715ff280 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 21 Jul 2023 13:53:57 +0300 Subject: [PATCH 12/15] Update gear-debug, gear-scheduler, gear-payment --- pallets/gear-debug/src/mock.rs | 9 +++++---- pallets/gear-scheduler/src/mock.rs | 27 ++++++++++++++------------- pallets/payment/src/mock.rs | 10 ++++++---- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/pallets/gear-debug/src/mock.rs b/pallets/gear-debug/src/mock.rs index 31ede72c73d..41b8cbfb435 100644 --- a/pallets/gear-debug/src/mock.rs +++ b/pallets/gear-debug/src/mock.rs @@ -30,7 +30,7 @@ use primitive_types::H256; use sp_core::ConstU128; use sp_runtime::{ testing::Header, - traits::{BlakeTwo256, ConstU64, IdentityLookup}, + traits::{BlakeTwo256, ConstU32, ConstU64, IdentityLookup}, }; use sp_std::convert::{TryFrom, TryInto}; @@ -53,9 +53,9 @@ impl pallet_balances::Config for Test { type AccountStore = System; type WeightInfo = (); type FreezeIdentifier = (); - type MaxFreezes = (); - type HoldIdentifier = (); - type MaxHolds = (); + type HoldIdentifier = RuntimeHoldReason; + type MaxFreezes = ConstU32<100>; + type MaxHolds = ConstU32<100>; } parameter_types! { @@ -151,6 +151,7 @@ impl pallet_gear::Config for Test { type RuntimeEvent = RuntimeEvent; type Randomness = TestRandomness; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = (); type OutgoingLimit = OutgoingLimit; diff --git a/pallets/gear-scheduler/src/mock.rs b/pallets/gear-scheduler/src/mock.rs index 984173ddb77..990ac26cc2c 100644 --- a/pallets/gear-scheduler/src/mock.rs +++ b/pallets/gear-scheduler/src/mock.rs @@ -28,7 +28,7 @@ use frame_support::{ use frame_support_test::TestRandomness; use frame_system::{self as system, limits::BlockWeights}; use pallet_gear::GasAllowanceOf; -use sp_core::{ConstU128, H256}; +use sp_core::{ConstU128, ConstU32, H256}; use sp_runtime::{ testing::Header, traits::{BlakeTwo256, IdentityLookup}, @@ -55,15 +55,15 @@ construct_runtime!( NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: system::{Pallet, Call, Config, Storage, Event}, - GearProgram: pallet_gear_program::{Pallet, Storage}, - GearMessenger: pallet_gear_messenger::{Pallet}, - GearScheduler: pallet_gear_scheduler::{Pallet}, - Gear: pallet_gear::{Pallet, Call, Storage, Event}, - GearGas: pallet_gear_gas::{Pallet}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, - Authorship: pallet_authorship::{Pallet, Storage}, - Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, + System: system, + Balances: pallet_balances, + Authorship: pallet_authorship, + Timestamp: pallet_timestamp, + GearProgram: pallet_gear_program, + GearMessenger: pallet_gear_messenger, + GearScheduler: pallet_gear_scheduler, + Gear: pallet_gear, + GearGas: pallet_gear_gas, } ); @@ -78,9 +78,9 @@ impl pallet_balances::Config for Test { type AccountStore = System; type WeightInfo = (); type FreezeIdentifier = (); - type MaxFreezes = (); - type HoldIdentifier = (); - type MaxHolds = (); + type HoldIdentifier = RuntimeHoldReason; + type MaxFreezes = ConstU32<100>; + type MaxHolds = ConstU32<100>; } parameter_types! { @@ -141,6 +141,7 @@ impl pallet_gear::Config for Test { type RuntimeEvent = RuntimeEvent; type Randomness = TestRandomness; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = (); type Schedule = GearSchedule; diff --git a/pallets/payment/src/mock.rs b/pallets/payment/src/mock.rs index f952580d82f..eb41d8bf510 100644 --- a/pallets/payment/src/mock.rs +++ b/pallets/payment/src/mock.rs @@ -21,7 +21,8 @@ use common::storage::Messenger; use frame_support::{ construct_runtime, parameter_types, traits::{ - ConstU128, ConstU8, Contains, Currency, FindAuthor, OnFinalize, OnInitialize, OnUnbalanced, + ConstU128, ConstU32, ConstU8, Contains, Currency, FindAuthor, OnFinalize, OnInitialize, + OnUnbalanced, }, weights::{constants::WEIGHT_REF_TIME_PER_SECOND, ConstantMultiplier, Weight}, PalletId, @@ -84,9 +85,9 @@ impl pallet_balances::Config for Test { type AccountStore = System; type WeightInfo = (); type FreezeIdentifier = (); - type MaxFreezes = (); - type HoldIdentifier = (); - type MaxHolds = (); + type HoldIdentifier = RuntimeHoldReason; + type MaxFreezes = ConstU32<100>; + type MaxHolds = ConstU32<100>; } pub struct FixedBlockAuthor; @@ -187,6 +188,7 @@ impl pallet_gear::Config for Test { type RuntimeEvent = RuntimeEvent; type Randomness = TestRandomness; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = (); type Schedule = GearSchedule; From f647dc4a242767536c7eaf44a309ea3e09a3177e Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 21 Jul 2023 13:54:13 +0300 Subject: [PATCH 13/15] add RuntimeHoldReason to runtimes --- runtime/gear/src/lib.rs | 3 ++- runtime/vara/src/lib.rs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/gear/src/lib.rs b/runtime/gear/src/lib.rs index 6e037c46b24..425aa41b86b 100644 --- a/runtime/gear/src/lib.rs +++ b/runtime/gear/src/lib.rs @@ -279,7 +279,7 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type FreezeIdentifier = (); type MaxFreezes = (); - type HoldIdentifier = (); + type HoldIdentifier = RuntimeHoldReason; type MaxHolds = ConstU32<2>; } @@ -468,6 +468,7 @@ impl pallet_gear::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = weights::pallet_gear::SubstrateWeight; type Schedule = Schedule; diff --git a/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 0c53036163b..bacb5a4a418 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -337,7 +337,7 @@ impl pallet_balances::Config for Runtime { type WeightInfo = (); type FreezeIdentifier = (); type MaxFreezes = (); - type HoldIdentifier = (); + type HoldIdentifier = RuntimeHoldReason; type MaxHolds = ConstU32<2>; } @@ -777,6 +777,7 @@ impl pallet_gear::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; type Currency = Balances; + type RuntimeHoldReason = RuntimeHoldReason; type GasPrice = GasConverter; type WeightInfo = weights::pallet_gear::SubstrateWeight; type Schedule = Schedule; From e1b8d625f9eed15775349d4f8bc0e4b89a1b5280 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 21 Jul 2023 13:54:43 +0300 Subject: [PATCH 14/15] Update pallet-gear benchmarking --- pallets/gear/src/benchmarking/mod.rs | 98 ++++++++++++------- pallets/gear/src/benchmarking/syscalls.rs | 2 +- .../gear/src/benchmarking/tests/lazy_pages.rs | 6 +- .../benchmarking/tests/syscalls_integrity.rs | 16 +-- pallets/gear/src/benchmarking/utils.rs | 2 +- 5 files changed, 76 insertions(+), 48 deletions(-) diff --git a/pallets/gear/src/benchmarking/mod.rs b/pallets/gear/src/benchmarking/mod.rs index 65ac317ec71..1470a16b3f6 100644 --- a/pallets/gear/src/benchmarking/mod.rs +++ b/pallets/gear/src/benchmarking/mod.rs @@ -57,9 +57,9 @@ use crate::{ manager::ExtManager, pallet, schedule::{API_BENCHMARK_BATCH_SIZE, INSTR_BENCHMARK_BATCH_SIZE}, - BalanceOf, BenchmarkStorage, Call, Config, Event, ExecutionEnvironment, Ext as Externalities, - GasHandlerOf, MailboxOf, Pallet as Gear, Pallet, ProgramStorageOf, QueueOf, RentFreePeriodOf, - ResumeMinimalPeriodOf, Schedule, + BalanceOf, BenchmarkStorage, Call, Config, CurrencyOf, Event, ExecutionEnvironment, + Ext as Externalities, GasHandlerOf, HoldReason, MailboxOf, Pallet as Gear, Pallet, + ProgramStorageOf, QueueOf, RentFreePeriodOf, ResumeMinimalPeriodOf, Schedule, }; use ::alloc::{ collections::{BTreeMap, BTreeSet}, @@ -79,8 +79,12 @@ use core_processor::{ }; use frame_benchmarking::{benchmarks, whitelisted_caller}; use frame_support::{ + self, codec::Encode, - traits::{Currency, Get, Hooks, ReservableCurrency}, + traits::{ + fungible::{Inspect, Mutate, MutateHold}, + Get, Hooks, + }, }; use frame_system::{Pallet as SystemPallet, RawOrigin}; use gear_backend_common::Environment; @@ -108,9 +112,9 @@ use sp_consensus_babe::{ use sp_core::H256; use sp_runtime::{ traits::{Bounded, CheckedAdd, One, UniqueSaturatedInto, Zero}, - Digest, DigestItem, Perbill, + Digest, DigestItem, FixedPointOperand, Perbill, }; -use sp_std::prelude::*; +use sp_std::{prelude::*, vec::Vec}; const MAX_PAYLOAD_LEN: u32 = 32 * 64 * 1024; const MAX_PAYLOAD_LEN_KB: u32 = MAX_PAYLOAD_LEN / 1024; @@ -288,13 +292,17 @@ struct Program { caller: T::AccountId, } -impl Program +impl Program where - T: Config, - T::AccountId: Origin, + T: Config + pallet_balances::Config, + // as HasCompact>::Type: Clone + Eq + PartialEq + TypeInfo + Encode, + // BalanceOf: FixedPointOperand, { /// Create new program and use a default account id as instantiator. - fn new(module: WasmModule, data: Vec) -> Result, &'static str> { + fn new(module: WasmModule, data: Vec) -> Result, &'static str> + where + ::AccountId: common::Origin, + { Self::with_index(0, module, data) } @@ -303,7 +311,10 @@ where index: u32, module: WasmModule, data: Vec, - ) -> Result, &'static str> { + ) -> Result, &'static str> + where + ::AccountId: common::Origin, + { Self::with_caller( benchmarking::account("instantiator", index, 0), module, @@ -316,9 +327,12 @@ where caller: T::AccountId, module: WasmModule, data: Vec, - ) -> Result, &'static str> { + ) -> Result, &'static str> + where + ::AccountId: common::Origin, + { let value = ::Currency::minimum_balance(); - ::Currency::make_free_balance_be(&caller, caller_funding::()); + T::Currency::set_balance(&caller, caller_funding::() + value); let salt = vec![0xff]; let addr = ProgramId::generate(module.hash, &salt).into_origin(); @@ -356,8 +370,10 @@ pub struct Exec { benchmarks! { where_clause { where + T: Config + pallet_balances::Config, T::AccountId: Origin, T: pallet_gear_voucher::Config, + BalanceOf: FixedPointOperand, } #[extra] @@ -445,16 +461,20 @@ benchmarks! { claim_value { let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 100_000_000_000_000_u128.unique_saturated_into()); let program_id = benchmarking::account::("program", 0, 100); - ::Currency::deposit_creating(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); benchmarking::set_program::, _>(ProgramId::from_origin(program_id.clone().into_origin()), code, 1.into()); let original_message_id = MessageId::from_origin(benchmarking::account::("message", 0, 100).into_origin()); let gas_limit = 50000; let value = 10000u32.into(); GasHandlerOf::::create(program_id.clone(), original_message_id, gas_limit).expect("Failed to create gas handler"); - ::Currency::reserve(&program_id, ::GasPrice::gas_price(gas_limit) + value).expect("Failed to reserve"); + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &program_id, + ::GasPrice::gas_price(gas_limit) + value, + ).unwrap_or_else(|_| unreachable!("Failed to hold.")); MailboxOf::::insert(gear_core::message::StoredMessage::new( original_message_id, ProgramId::from_origin(program_id.into_origin()), @@ -475,7 +495,7 @@ benchmarks! { pay_program_rent { let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 200_000_000_000_000u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 200_000_000_000_000u128.unique_saturated_into()); let minimum_balance = ::Currency::minimum_balance(); let code = benchmarking::generate_wasm2(16.into()).unwrap(); let salt = vec![]; @@ -496,7 +516,7 @@ benchmarks! { resume_session_init { let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 200_000_000_000_000u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 200_000_000_000_000u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); let salt = vec![]; let program_id = ProgramId::generate(CodeId::generate(&code), &salt); @@ -521,7 +541,7 @@ benchmarks! { resume_session_push { let c in 0 .. 16 * (WASM_PAGE_SIZE / GEAR_PAGE_SIZE) as u32; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 200_000_000_000_000u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 200_000_000_000_000u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); let salt = vec![]; let program_id = ProgramId::generate(CodeId::generate(&code), &salt); @@ -557,7 +577,7 @@ benchmarks! { resume_session_commit { let c in 0 .. (MAX_PAGES - 1) * (WASM_PAGE_SIZE / GEAR_PAGE_SIZE) as u32; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 400_000_000_000_000u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 400_000_000_000_000u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(0.into()).unwrap(); let salt = vec![]; let program_id = ProgramId::generate(CodeId::generate(&code), &salt); @@ -605,7 +625,7 @@ benchmarks! { let c in 0 .. Perbill::from_percent(49).mul_ceil(T::Schedule::get().limits.code_len) / 1024; let value = ::Currency::minimum_balance(); let caller = whitelisted_caller(); - ::Currency::make_free_balance_be(&caller, caller_funding::()); + ::Currency::set_balance(&caller, caller_funding::()); let WasmModule { code, hash: code_id, .. } = WasmModule::::sized(c * 1024, Location::Handle); let origin = RawOrigin::Signed(caller); @@ -631,7 +651,7 @@ benchmarks! { let salt = vec![42u8; s as usize]; let value = ::Currency::minimum_balance(); let caller = whitelisted_caller(); - ::Currency::make_free_balance_be(&caller, caller_funding::()); + ::Currency::set_balance(&caller, caller_funding::()); let origin = RawOrigin::Signed(caller); init_block::(None); @@ -658,7 +678,7 @@ benchmarks! { let salt = vec![42u8; s as usize]; let value = ::Currency::minimum_balance(); let caller = whitelisted_caller(); - ::Currency::make_free_balance_be(&caller, caller_funding::()); + ::Currency::set_balance(&caller, caller_funding::()); let WasmModule { code, hash, .. } = WasmModule::::sized(c * 1024, Location::Handle); let origin = RawOrigin::Signed(caller); @@ -671,7 +691,7 @@ benchmarks! { send_message { let p in 0 .. MAX_PAYLOAD_LEN; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 100_000_000_000_000_u128.unique_saturated_into()); let minimum_balance = ::Currency::minimum_balance(); let program_id = ProgramId::from_origin(benchmarking::account::("program", 0, 100).into_origin()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); @@ -688,7 +708,7 @@ benchmarks! { let p in 0 .. MAX_PAYLOAD_LEN; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 100_000_000_000_000_u128.unique_saturated_into()); let minimum_balance = ::Currency::minimum_balance(); let program_id = ProgramId::from_origin(benchmarking::account::("program", 0, 100).into_origin()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); @@ -697,7 +717,7 @@ benchmarks! { // Add voucher for the (caller, program_id) pair let voucher_id = pallet_gear_voucher::Pallet::::voucher_account_id(&caller, &program_id); - ::Currency::deposit_creating(&voucher_id, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&voucher_id, 100_000_000_000_000_u128.unique_saturated_into()); init_block::(None); }: _(RawOrigin::Signed(caller), program_id, payload, 100_000_000_u64, minimum_balance) @@ -708,17 +728,21 @@ benchmarks! { send_reply { let p in 0 .. MAX_PAYLOAD_LEN; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 100_000_000_000_000_u128.unique_saturated_into()); let minimum_balance = ::Currency::minimum_balance(); let program_id = benchmarking::account::("program", 0, 100); - ::Currency::deposit_creating(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); benchmarking::set_program::, _>(ProgramId::from_origin(program_id.clone().into_origin()), code, 1.into()); let original_message_id = MessageId::from_origin(benchmarking::account::("message", 0, 100).into_origin()); let gas_limit = 50000; let value = (p % 2).into(); GasHandlerOf::::create(program_id.clone(), original_message_id, gas_limit).expect("Failed to create gas handler"); - ::Currency::reserve(&program_id, ::GasPrice::gas_price(gas_limit) + value).expect("Failed to reserve"); + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &program_id, + ::GasPrice::gas_price(gas_limit) + value, + ).unwrap_or_else(|_| unreachable!("Failed to hold.")); MailboxOf::::insert(gear_core::message::StoredMessage::new( original_message_id, ProgramId::from_origin(program_id.into_origin()), @@ -739,17 +763,21 @@ benchmarks! { send_reply_with_voucher { let p in 0 .. MAX_PAYLOAD_LEN; let caller = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&caller, 100_000_000_000_000_u128.unique_saturated_into()); let minimum_balance = ::Currency::minimum_balance(); let program_id = benchmarking::account::("program", 0, 100); - ::Currency::deposit_creating(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&program_id, 100_000_000_000_000_u128.unique_saturated_into()); let code = benchmarking::generate_wasm2(16.into()).unwrap(); benchmarking::set_program::, _>(ProgramId::from_origin(program_id.clone().into_origin()), code, 1.into()); let original_message_id = MessageId::from_origin(benchmarking::account::("message", 0, 100).into_origin()); let gas_limit = 50000; let value = (p % 2).into(); GasHandlerOf::::create(program_id.clone(), original_message_id, gas_limit).expect("Failed to create gas handler"); - ::Currency::reserve(&program_id, ::GasPrice::gas_price(gas_limit) + value).expect("Failed to reserve"); + CurrencyOf::::hold( + &HoldReason::StorageDepositReserve.into(), + &program_id, + ::GasPrice::gas_price(gas_limit) + value, + ).unwrap_or_else(|_| unreachable!("Failed to hold.")); let program_id = ProgramId::from_origin(program_id.into_origin()); MailboxOf::::insert(gear_core::message::StoredMessage::new( original_message_id, @@ -763,7 +791,7 @@ benchmarks! { // Add voucher for the (caller, program_id) pair let voucher_id = pallet_gear_voucher::Pallet::::voucher_account_id(&caller, &program_id); - ::Currency::deposit_creating(&voucher_id, 100_000_000_000_000_u128.unique_saturated_into()); + ::Currency::set_balance(&voucher_id, 100_000_000_000_000_u128.unique_saturated_into()); init_block::(None); }: _(RawOrigin::Signed(caller.clone()), original_message_id, payload, 100_000_000_u64, minimum_balance) @@ -776,7 +804,7 @@ benchmarks! { let q in 1 .. MAX_PAGES; let q = q as u16; let caller: T::AccountId = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, (1u128 << 60).unique_saturated_into()); + ::Currency::set_balance(&caller, (1u128 << 60).unique_saturated_into()); let code = benchmarking::generate_wasm(q.into()).unwrap(); let salt = vec![255u8; 32]; }: { @@ -791,7 +819,7 @@ benchmarks! { let q in 0 .. MAX_PAGES; let q = q as u16; let caller: T::AccountId = benchmarking::account("caller", 0, 0); - ::Currency::deposit_creating(&caller, (1_u128 << 60).unique_saturated_into()); + ::Currency::set_balance(&caller, (1_u128 << 60).unique_saturated_into()); let code = benchmarking::generate_wasm2(q.into()).unwrap(); let salt = vec![255u8; 32]; }: { diff --git a/pallets/gear/src/benchmarking/syscalls.rs b/pallets/gear/src/benchmarking/syscalls.rs index 14afa62f339..a1328908393 100644 --- a/pallets/gear/src/benchmarking/syscalls.rs +++ b/pallets/gear/src/benchmarking/syscalls.rs @@ -100,7 +100,7 @@ where impl Benches where - T: Config, + T: Config + pallet_balances::Config, T::AccountId: Origin, { fn prepare_handle(module: ModuleDefinition, value: u32) -> Result, &'static str> { diff --git a/pallets/gear/src/benchmarking/tests/lazy_pages.rs b/pallets/gear/src/benchmarking/tests/lazy_pages.rs index e40975f4034..461cc83a901 100644 --- a/pallets/gear/src/benchmarking/tests/lazy_pages.rs +++ b/pallets/gear/src/benchmarking/tests/lazy_pages.rs @@ -189,7 +189,7 @@ impl PageSets

{ pub fn lazy_pages_charging() where - T: Config, + T: Config + pallet_balances::Config, T::AccountId: Origin, { const MAX_ACCESSES_NUMBER: u32 = 1000; @@ -347,7 +347,7 @@ where pub fn lazy_pages_charging_special() where - T: Config, + T: Config + pallet_balances::Config, T::AccountId: Origin, { let size = GearPage::size() as i32; @@ -510,7 +510,7 @@ where pub fn lazy_pages_gas_exceed() where - T: Config, + T: Config + pallet_balances::Config, T::AccountId: Origin, { let instrs = vec![ diff --git a/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs b/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs index 46d7bd4f122..ed7ee3a681f 100644 --- a/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs +++ b/pallets/gear/src/benchmarking/tests/syscalls_integrity.rs @@ -30,7 +30,7 @@ use super::*; use crate::{Event, RentCostPerBlockOf, WaitlistOf}; -use frame_support::traits::Randomness; +use frame_support::traits::{fungible::Mutate, Randomness}; use gear_core::ids::{CodeId, ReservationId}; use gear_core_errors::{ReplyCode, SuccessReplyReason}; use gear_wasm_instrument::syscalls::SysCallName; @@ -112,7 +112,7 @@ where { run_tester::(|tester_pid, _| { let default_account = utils::default_account(); - ::Currency::deposit_creating( + ::Currency::set_balance( &default_account, 100_000_000_000_000_u128.unique_saturated_into(), ); @@ -302,7 +302,7 @@ where let wasm_module = alloc_free_test_wasm::(); let default_account = utils::default_account(); - ::Currency::deposit_creating( + ::Currency::set_balance( &default_account, 100_000_000_000_000_u128.unique_saturated_into(), ); @@ -390,7 +390,7 @@ where { run_tester::(|_, _| { let message_sender = benchmarking::account::("some_user", 0, 0); - ::Currency::deposit_creating( + ::Currency::set_balance( &message_sender, 50_000_000_000_000_u128.unique_saturated_into(), ); @@ -883,7 +883,7 @@ where // Deploy program with valid code hash let child_deployer = benchmarking::account::("child_deployer", 0, 0); - ::Currency::deposit_creating( + ::Currency::set_balance( &child_deployer, 100_000_000_000_000_u128.unique_saturated_into(), ); @@ -899,7 +899,7 @@ where // Set default code-hash for create program calls let default_account = utils::default_account(); - ::Currency::deposit_creating( + ::Currency::set_balance( &default_account, 100_000_000_000_000_u128.unique_saturated_into(), ); @@ -957,9 +957,9 @@ where // Manually reset the storage Gear::::reset(); - ::Currency::slash( + ::Currency::set_balance( &Id::from_origin(tester_pid.into_origin()), - ::Currency::free_balance(&Id::from_origin(tester_pid.into_origin())), + Zero::zero(), ); } diff --git a/pallets/gear/src/benchmarking/utils.rs b/pallets/gear/src/benchmarking/utils.rs index 60992c73675..e067127c254 100644 --- a/pallets/gear/src/benchmarking/utils.rs +++ b/pallets/gear/src/benchmarking/utils.rs @@ -29,7 +29,7 @@ use core_processor::{ configs::{BlockConfig, BlockInfo}, ContextChargedForCode, ContextChargedForInstrumentation, }; -use frame_support::traits::{Currency, Get}; +use frame_support::traits::{fungible::Inspect, Get}; use gear_core::{ code::{Code, CodeAndId}, ids::{CodeId, MessageId, ProgramId}, From a333336697c84dc0dd8812ab946942bc22e74bb9 Mon Sep 17 00:00:00 2001 From: Vadim Smirnov Date: Fri, 21 Jul 2023 13:55:43 +0300 Subject: [PATCH 15/15] clippy --- pallets/gear/src/internal.rs | 21 +++------------------ pallets/gear/src/lib.rs | 5 ++--- pallets/gear/src/manager/journal.rs | 1 - pallets/gear/src/manager/mod.rs | 5 +---- pallets/gear/src/manager/task.rs | 3 +-- pallets/gear/src/tests.rs | 8 ++++---- 6 files changed, 11 insertions(+), 32 deletions(-) diff --git a/pallets/gear/src/internal.rs b/pallets/gear/src/internal.rs index edd66e2c267..2f6c5385299 100644 --- a/pallets/gear/src/internal.rs +++ b/pallets/gear/src/internal.rs @@ -40,7 +40,6 @@ use core_processor::common::ActorExecutionErrorReplyReason; use frame_support::traits::{ fungible::{Inspect, InspectHold, Mutate, MutateHold}, tokens::{Fortitude, Precision, Preservation, Restriction}, - BalanceStatus, Currency, ExistenceRequirement, ReservableCurrency, }; use frame_system::pallet_prelude::BlockNumberFor; use gear_core::{ @@ -235,11 +234,7 @@ where // Otherwise need to transfer them directly. // Checking balance existence of destination address. - if CurrencyOf::::can_hold( - &HoldReason::StorageDepositReserve.into(), - to, - CurrencyOf::::minimum_balance(), - ) { + if CurrencyOf::::can_hold(&HoldReason::StorageDepositReserve.into(), to, ed) { // Repatriating reserved to existent account. let unrevealed = CurrencyOf::::transfer_on_hold( &HoldReason::StorageDepositReserve.into(), @@ -751,9 +746,7 @@ where }; if !dispatch.value().is_zero() { - let ed = CurrencyOf::::minimum_balance(); // Hold value from source for future transfer or release. - log::info!(target: "gear::internal", "balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::balance(&from), value, &from); CurrencyOf::::hold(&HoldReason::StorageDepositReserve.into(), &from, value) .unwrap_or_else(|e| unreachable!("Failed to hold funds: {:?}", e)); } @@ -861,17 +854,9 @@ where .unwrap_or_else(|e| unreachable!("GasTree corrupted! {:?}", e)); if !value.is_zero() { - let ed = CurrencyOf::::minimum_balance(); - // log::info!(target: "gear::internal", "balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::total_balance(&from), value, &from); - log::info!(target: "gear::internal", "hold balance: {:?}, value: {:?}, from: {:?}", CurrencyOf::::balance(&from), value, &from); // Hold value from source for future transfer or release. - CurrencyOf::::hold( - &HoldReason::StorageDepositReserve.into(), - &from, - value.saturating_sub(ed), - // value, - ) - .unwrap_or_else(|e| unreachable!("Failed to hold funds: {:?}", e)); + CurrencyOf::::hold(&HoldReason::StorageDepositReserve.into(), &from, value) + .unwrap_or_else(|e| unreachable!("Failed to hold funds: {:?}", e)); } // Lock the entire `gas_limit` since the only purpose of it is payment for storage. diff --git a/pallets/gear/src/lib.rs b/pallets/gear/src/lib.rs index dc1ec24c54a..33e25f1cf6a 100644 --- a/pallets/gear/src/lib.rs +++ b/pallets/gear/src/lib.rs @@ -65,10 +65,9 @@ use frame_support::{ ensure, pallet_prelude::*, traits::{ - fungible::{Inspect, InspectHold, Mutate, MutateHold}, + fungible::{Inspect, Mutate, MutateHold}, tokens::Preservation, - ConstBool, Currency, ExistenceRequirement, Get, LockableCurrency, Randomness, - ReservableCurrency, StorageVersion, + ConstBool, Get, Randomness, StorageVersion, }, weights::Weight, }; diff --git a/pallets/gear/src/manager/journal.rs b/pallets/gear/src/manager/journal.rs index 08a8009cb72..2f27c34d15a 100644 --- a/pallets/gear/src/manager/journal.rs +++ b/pallets/gear/src/manager/journal.rs @@ -34,7 +34,6 @@ use frame_support::{ traits::{ fungible::{Inspect, Mutate, MutateHold}, tokens::Preservation, - Currency, ExistenceRequirement, ReservableCurrency, }, }; use frame_system::pallet_prelude::BlockNumberFor; diff --git a/pallets/gear/src/manager/mod.rs b/pallets/gear/src/manager/mod.rs index 906d351af0b..2e4748c5e8a 100644 --- a/pallets/gear/src/manager/mod.rs +++ b/pallets/gear/src/manager/mod.rs @@ -63,10 +63,7 @@ use core::fmt; use core_processor::common::{Actor, ExecutableActorData}; use frame_support::{ codec::{Decode, Encode}, - traits::{ - fungible::{Inspect, Mutate, MutateHold}, - Currency, - }, + traits::fungible::Inspect, }; use frame_system::pallet_prelude::BlockNumberFor; use gear_core::{ diff --git a/pallets/gear/src/manager/task.rs b/pallets/gear/src/manager/task.rs index 404c9bdc266..1c3ed10f86e 100644 --- a/pallets/gear/src/manager/task.rs +++ b/pallets/gear/src/manager/task.rs @@ -32,9 +32,8 @@ use common::{ Origin, PausedProgramStorage, Program, ProgramStorage, }; use frame_support::traits::{ - fungible::{Inspect, Mutate, MutateHold}, + fungible::{Inspect, Mutate}, tokens::Preservation, - Currency, ExistenceRequirement, }; use gear_core::{ ids::{CodeId, MessageId, ProgramId, ReservationId}, diff --git a/pallets/gear/src/tests.rs b/pallets/gear/src/tests.rs index 0aa83f43bac..3f3b2003b17 100644 --- a/pallets/gear/src/tests.rs +++ b/pallets/gear/src/tests.rs @@ -45,9 +45,9 @@ use crate::{ USER_3, }, pallet, BlockGasLimitOf, Config, CostsPerBlockOf, CurrencyOf, DbWeightOf, Error, Event, - GasAllowanceOf, GasBalanceOf, GasHandlerOf, GasInfo, MailboxOf, ProgramStorageOf, QueueOf, - RentCostPerBlockOf, RentFreePeriodOf, ReservableCurrency, ResumeMinimalPeriodOf, - ResumeSessionDurationOf, Schedule, TaskPoolOf, WaitlistOf, + GasAllowanceOf, GasBalanceOf, GasHandlerOf, GasInfo, HoldReason, MailboxOf, ProgramStorageOf, + QueueOf, RentCostPerBlockOf, RentFreePeriodOf, ResumeMinimalPeriodOf, ResumeSessionDurationOf, + Schedule, TaskPoolOf, WaitlistOf, }; use common::{ event::*, scheduler::*, storage::*, ActiveProgram, CodeStorage, GasPrice as _, GasTree, LockId, @@ -59,7 +59,7 @@ use frame_support::{ codec::{Decode, Encode}, dispatch::Dispatchable, sp_runtime::traits::{TypedGet, Zero}, - traits::{Currency, Randomness}, + traits::{fungible::MutateHold, tokens::Precision, Currency, Randomness}, }; use frame_system::pallet_prelude::BlockNumberFor; use gear_backend_common::{