diff --git a/Cargo.lock b/Cargo.lock index 65be8f601d5..08b89f6821c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -21,11 +21,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli 0.26.2", + "gimli 0.27.3", ] [[package]] @@ -122,9 +122,9 @@ dependencies = [ [[package]] name = "aes-gcm" -version = "0.10.2" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "209b47e8954a928e1d72e86eca7000ebb6655fe1436d33eefc2201cad027e237" +checksum = "831010a0f742e1209b3bcea8fab6a8e149051ba6099432c8cb2cc117dec3ead1" dependencies = [ "aead 0.5.2", "aes 0.8.3", @@ -156,9 +156,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.7.6" +version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ "getrandom 0.2.10", "once_cell", @@ -167,21 +167,22 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ "cfg-if", "getrandom 0.2.10", "once_cell", "version_check", + "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.0.4" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -232,15 +233,15 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.2" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" +checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" [[package]] name = "anstyle-parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333" +checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" dependencies = [ "utf8parse", ] @@ -413,20 +414,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", - "event-listener", + "event-listener 2.5.3", "futures-core", ] [[package]] name = "async-executor" -version = "1.5.4" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499" +checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" dependencies = [ "async-lock", "async-task", "concurrent-queue", - "fastrand 2.0.0", + "fastrand 2.0.1", "futures-lite", "slab", ] @@ -456,11 +457,31 @@ dependencies = [ "futures-lite", "log", "parking", - "polling", - "rustix 0.37.23", + "polling 2.8.0", + "rustix 0.37.27", + "slab", + "socket2 0.4.10", + "waker-fn", +] + +[[package]] +name = "async-io" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10da8f3146014722c89e7859e1d7bb97873125d7346d10ca642ffab794355828" +dependencies = [ + "async-lock", + "cfg-if", + "concurrent-queue", + "futures-io", + "futures-lite", + "parking", + "polling 3.3.0", + "rustix 0.38.25", "slab", - "socket2 0.4.9", + "tracing", "waker-fn", + "windows-sys 0.48.0", ] [[package]] @@ -469,7 +490,7 @@ version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" dependencies = [ - "event-listener", + "event-listener 2.5.3", ] [[package]] @@ -478,26 +499,25 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" dependencies = [ - "async-io", + "async-io 1.13.0", "blocking", "futures-lite", ] [[package]] name = "async-process" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9d28b1d97e08915212e2e45310d47854eafa69600756fc735fb788f75199c9" +checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" dependencies = [ - "async-io", + "async-io 1.13.0", "async-lock", - "autocfg", + "async-signal", "blocking", "cfg-if", - "event-listener", + "event-listener 3.0.1", "futures-lite", - "rustix 0.37.23", - "signal-hook", + "rustix 0.38.25", "windows-sys 0.48.0", ] @@ -512,11 +532,29 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "async-signal" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +dependencies = [ + "async-io 2.1.0", + "async-lock", + "atomic-waker", + "cfg-if", + "futures-core", + "futures-io", + "rustix 0.38.25", + "signal-hook-registry", + "slab", + "windows-sys 0.48.0", +] + [[package]] name = "async-task" -version = "4.4.1" +version = "4.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9441c6b2fe128a7c2bf680a44c34d0df31ce09e5b7e401fcca3faa483dbc921" +checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" [[package]] name = "async-trait" @@ -550,9 +588,9 @@ checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba" [[package]] name = "atomic-waker" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1181e1e0d1fce796a03db1ae795d67167da795f9cf4a39c37589e85ef57f26d3" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "atty" @@ -582,7 +620,7 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.32.0", + "object 0.32.1", "rustc-demangle", ] @@ -598,6 +636,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" @@ -624,9 +668,9 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "basic-toml" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bfc506e7a2370ec239e1d072507b2a80c833083699d3c6fa176fbb4de8448c6" +checksum = "2f2139706359229bfa8f19142ac1155b4b80beafb7a60471ac5dd109d4a19778" dependencies = [ "serde", ] @@ -651,9 +695,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.64.0" +version = "0.65.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4243e6031260db77ede97ad86c27e501d646a27ab57b59a574f725d98ab1fb4" +checksum = "cfdf7b466f9a4903edc73f95d6d2bcd5baf8ae620638762244d3f60143643cc5" dependencies = [ "bitflags 1.3.2", "cexpr", @@ -661,12 +705,13 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", + "prettyplease 0.2.15", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 1.0.109", + "syn 2.0.39", ] [[package]] @@ -707,9 +752,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bitvec" @@ -744,24 +789,24 @@ dependencies = [ [[package]] name = "blake2b_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c2f0dc9a68c6317d884f97cc36cf5a3d20ba14ce404227df55e1af708ab04bc" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "constant_time_eq 0.3.0", ] [[package]] name = "blake2s_simd" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6637f448b9e61dfadbdcbae9a885fadee1f3eaffb1f8d3c1965d3ade8bdfd44f" +checksum = "94230421e395b9920d23df13ea5d77a20e1725331f90fbbf6df6040b33f756ae" dependencies = [ "arrayref", "arrayvec 0.7.4", - "constant_time_eq 0.2.6", + "constant_time_eq 0.3.0", ] [[package]] @@ -844,14 +889,14 @@ checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" [[package]] name = "blocking" -version = "1.4.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94c4ef1f913d78636d78d538eec1f18de81e481f44b1be0a81060090530846e1" +checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" dependencies = [ "async-channel", "async-lock", "async-task", - "fastrand 2.0.0", + "fastrand 2.0.1", "futures-io", "futures-lite", "piper", @@ -860,9 +905,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.8" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b05133427c07c4776906f673ccf36c21b102c9829c641a5b56bd151d44fd6" +checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" dependencies = [ "log", "parity-scale-codec", @@ -887,9 +932,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" +checksum = "c79ad7fb2dd38f3dabd76b09c6a5a20c038fc0213ef1e9afd30eb777f120f019" dependencies = [ "memchr", "serde", @@ -906,9 +951,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "byte-slice-cast" @@ -946,15 +991,15 @@ dependencies = [ [[package]] name = "bytecount" -version = "0.6.3" +version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c" +checksum = "e1e5f035d16fc623ae5f74981db80a439803888314e3a555fd6f04acd51a3205" [[package]] name = "bytemuck" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" [[package]] name = "byteorder" @@ -964,9 +1009,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "bzip2-sys" @@ -1004,22 +1049,22 @@ dependencies = [ [[package]] name = "cargo-platform" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cfa25e60aea747ec7e1124f238816749faa93759c6ff5b31f1ccdda137f4479" +checksum = "12024c4645c97566567129c204f65d5815a8c9aecf30fcbe682b2fe034996d36" dependencies = [ "serde", ] [[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", - "semver 1.0.18", + "semver 1.0.20", "serde", "serde_json", "thiserror", @@ -1067,9 +1112,9 @@ dependencies = [ [[package]] name = "cfg-expr" -version = "0.10.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aacacf4d96c24b2ad6eb8ee6df040e4f27b0d0b39a5710c30091baa830485db" +checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3" dependencies = [ "smallvec", ] @@ -1332,9 +1377,9 @@ dependencies = [ [[package]] name = "concurrent-queue" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62ec6771ecfa0762d24683ee5a32ad78487a3d3afdc0fb8cae19d2c5deb50b7c" +checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" dependencies = [ "crossbeam-utils", ] @@ -1372,9 +1417,9 @@ checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" [[package]] name = "constant_time_eq" -version = "0.2.6" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21a53c0a4d288377e7415b53dcfc3c04da5cdc2cc95c8d5ac178b58f0b861ad6" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" [[package]] name = "convert_case" @@ -1431,9 +1476,9 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" dependencies = [ "libc", ] @@ -1449,11 +1494,11 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bc42ba2e232e5b20ff7dc299a812d53337dadce9a7e39a238e6a5cb82d2e57b" +checksum = "1277fbfa94bc82c8ec4af2ded3e639d49ca5f7f3c7eeab2c66accd135ece4e70" dependencies = [ - "cranelift-entity 0.93.2", + "cranelift-entity 0.95.1", ] [[package]] @@ -1475,19 +1520,18 @@ dependencies = [ [[package]] name = "cranelift-codegen" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "253531aca9b6f56103c9420369db3263e784df39aa1c90685a1f69cfbba0623e" +checksum = "c6e8c31ad3b2270e9aeec38723888fe1b0ace3bea2b06b3f749ccf46661d3220" dependencies = [ - "arrayvec 0.7.4", "bumpalo", - "cranelift-bforest 0.93.2", - "cranelift-codegen-meta 0.93.2", - "cranelift-codegen-shared 0.93.2", - "cranelift-entity 0.93.2", + "cranelift-bforest 0.95.1", + "cranelift-codegen-meta 0.95.1", + "cranelift-codegen-shared 0.95.1", + "cranelift-entity 0.95.1", "cranelift-isle", - "gimli 0.26.2", - "hashbrown 0.12.3", + "gimli 0.27.3", + "hashbrown 0.13.2", "log", "regalloc2", "smallvec", @@ -1505,11 +1549,11 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72f2154365e2bff1b1b8537a7181591fdff50d8e27fa6e40d5c69c3bad0ca7c8" +checksum = "c8ac5ac30d62b2d66f12651f6b606dbdfd9c2cfd0908de6b387560a277c5c9da" dependencies = [ - "cranelift-codegen-shared 0.93.2", + "cranelift-codegen-shared 0.95.1", ] [[package]] @@ -1520,9 +1564,9 @@ checksum = "01fd0d9f288cc1b42d9333b7a776b17e278fc888c28e6a0f09b5573d45a150bc" [[package]] name = "cranelift-codegen-shared" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "687e14e3f5775248930e0d5a84195abef8b829958e9794bf8d525104993612b4" +checksum = "dd82b8b376247834b59ed9bdc0ddeb50f517452827d4a11bccf5937b213748b8" [[package]] name = "cranelift-entity" @@ -1532,9 +1576,9 @@ checksum = "9e3bfe172b83167604601faf9dc60453e0d0a93415b57a9c4d1a7ae6849185cf" [[package]] name = "cranelift-entity" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f42ea692c7b450ad18b8c9889661505d51c09ec4380cf1c2d278dbb2da22cae1" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" dependencies = [ "serde", ] @@ -1553,11 +1597,11 @@ dependencies = [ [[package]] name = "cranelift-frontend" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8483c2db6f45fe9ace984e5adc5d058102227e4c62e5aa2054e16b0275fd3a6e" +checksum = "64a25d9d0a0ae3079c463c34115ec59507b4707175454f0eee0891e83e30e82d" dependencies = [ - "cranelift-codegen 0.93.2", + "cranelift-codegen 0.95.1", "log", "smallvec", "target-lexicon", @@ -1565,34 +1609,34 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9793158837678902446c411741d87b43f57dadfb944f2440db4287cda8cbd59" +checksum = "80de6a7d0486e4acbd5f9f87ec49912bf4c8fb6aea00087b989685460d4469ba" [[package]] name = "cranelift-native" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72668c7755f2b880665cb422c8ad2d56db58a88b9bebfef0b73edc2277c13c49" +checksum = "bb6b03e0e03801c4b3fd8ce0758a94750c07a44e7944cc0ffbf0d3f2e7c79b00" dependencies = [ - "cranelift-codegen 0.93.2", + "cranelift-codegen 0.95.1", "libc", "target-lexicon", ] [[package]] name = "cranelift-wasm" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3852ce4b088b44ac4e29459573943009a70d1b192c8d77ef949b4e814f656fc1" +checksum = "ff3220489a3d928ad91e59dd7aeaa8b3de18afb554a6211213673a71c90737ac" dependencies = [ - "cranelift-codegen 0.93.2", - "cranelift-entity 0.93.2", - "cranelift-frontend 0.93.2", + "cranelift-codegen 0.95.1", + "cranelift-entity 0.95.1", + "cranelift-frontend 0.95.1", "itertools", "log", "smallvec", - "wasmparser 0.100.0", + "wasmparser 0.102.0", "wasmtime-types", ] @@ -1717,6 +1761,18 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-bigint" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "740fe28e594155f10cfc383984cbefd529d7396050557148f79cb0f621204124" +dependencies = [ + "generic-array 0.14.7", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -1777,7 +1833,7 @@ dependencies = [ "openssl-probe", "openssl-sys", "schannel", - "socket2 0.4.9", + "socket2 0.4.10", "winapi", ] @@ -1824,16 +1880,16 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "digest 0.10.7", "fiat-crypto", - "platforms 3.0.2", + "platforms 3.1.2", "rustc_version", "subtle", "zeroize", @@ -1865,9 +1921,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28403c86fc49e3401fdf45499ba37fad6493d9329449d6449d7f0e10f4654d28" +checksum = "7129e341034ecb940c9072817cd9007974ea696844fc4dd582dc1653a7fbe2e8" dependencies = [ "cc", "cxxbridge-flags", @@ -1877,9 +1933,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78da94fef01786dc3e0c76eafcd187abcaa9972c78e05ff4041e24fdf059c285" +checksum = "a2a24f3f5f8eed71936f21e570436f024f5c2e25628f7496aa7ccd03b90109d5" dependencies = [ "cc", "codespan-reporting", @@ -1892,15 +1948,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2a6f5e1dfb4b34292ad4ea1facbfdaa1824705b231610087b00b17008641809" +checksum = "06fdd177fc61050d63f67f5bd6351fac6ab5526694ea8e359cd9cd3b75857f44" [[package]] name = "cxxbridge-macro" -version = "1.0.106" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50c49547d73ba8dcfd4ad7325d64c6d5391ff4224d498fc39a6f3f49825a530d" +checksum = "587663dd5fb3d10932c8aecfe7c844db1bcf0aee93eeab08fac13dc1212c2e7f" dependencies = [ "proc-macro2", "quote", @@ -2616,9 +2672,12 @@ dependencies = [ [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +dependencies = [ + "powerfmt", +] [[package]] name = "derivative" @@ -2734,6 +2793,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -2888,9 +2948,9 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfc4744c1b8f2a09adc0e55242f60b1af195d88596bd8700be74418c056c555" +checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" [[package]] name = "dynasm" @@ -2925,11 +2985,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ "der 0.6.1", - "elliptic-curve", - "rfc6979", + "elliptic-curve 0.12.3", + "rfc6979 0.3.1", "signature 1.6.4", ] +[[package]] +name = "ecdsa" +version = "0.16.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4b1e0c257a9e9f25f90ff76d7a68360ed497ee519c8e428d1825ef0000799d4" +dependencies = [ + "der 0.7.8", + "digest 0.10.7", + "elliptic-curve 0.13.6", + "rfc6979 0.4.0", + "signature 2.1.0", + "spki 0.7.2", +] + [[package]] name = "ed25519" version = "1.5.3" @@ -2941,9 +3015,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ "pkcs8 0.10.2", "signature 2.1.0", @@ -2969,8 +3043,8 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7277392b266383ef8396db7fdeb1e77b6c52fed775f5df15bb24f35b72156980" dependencies = [ - "curve25519-dalek 4.0.0", - "ed25519 2.2.2", + "curve25519-dalek 4.1.1", + "ed25519 2.2.3", "rand_core 0.6.4", "serde", "sha2 0.10.8", @@ -3003,18 +3077,37 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ - "base16ct", - "crypto-bigint", + "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 0.9.0", "rand_core 0.6.4", - "sec1", + "sec1 0.3.0", + "subtle", + "zeroize", +] + +[[package]] +name = "elliptic-curve" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d97ca172ae9dc9f9b779a6e3a65d308f2af74e5b8c921299075bdb4a0370e914" +dependencies = [ + "base16ct 0.2.0", + "crypto-bigint 0.5.3", + "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 0.7.3", "subtle", "zeroize", ] @@ -3098,11 +3191,11 @@ dependencies = [ [[package]] name = "enumflags2" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c041f5090df68b32bcd905365fd51769c8b9d553fe87fde0b683534f10c01bd2" +checksum = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" dependencies = [ - "enumflags2_derive 0.7.7", + "enumflags2_derive 0.7.8", ] [[package]] @@ -3118,9 +3211,9 @@ dependencies = [ [[package]] name = "enumflags2_derive" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e9a1f9f7d83e59740248a6e14ecf93929ade55027844dfcea78beafccc15745" +checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" dependencies = [ "proc-macro2", "quote", @@ -3129,9 +3222,9 @@ dependencies = [ [[package]] name = "enumset" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e875f1719c16de097dee81ed675e2d9bb63096823ed3f0ca827b7dea3028bbbb" +checksum = "226c0da7462c13fb57e5cc9e0dc8f0635e7d27f276a3a7fd30054647f669007d" dependencies = [ "enumset_derive", ] @@ -3195,6 +3288,17 @@ version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +[[package]] +name = "event-listener" +version = "3.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01cec0252c2afff729ee6f00e903d479fba81784c8e2bd77447673471fdfaea1" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite 0.2.13", +] + [[package]] name = "exit-future" version = "0.2.0" @@ -3261,9 +3365,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "fdlimit" @@ -3284,11 +3388,21 @@ 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" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" +checksum = "a481586acf778f1b1455424c343f71124b048ffa5f4fc3f8f6ae9dc432dcb3c7" [[package]] name = "file-per-thread-logger" @@ -3348,15 +3462,15 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flagset" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cda653ca797810c02f7ca4b804b40b8b95ae046eb989d356bce17919a8c25499" +checksum = "d52a7e408202050813e6f1d9addadcaafef3dca7530c7ddfb005d4081cce6779" [[package]] name = "flate2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "libz-sys", @@ -3381,7 +3495,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", ] @@ -3404,7 +3518,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-support-procedural", @@ -3429,7 +3543,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "Inflector", "array-bytes", @@ -3476,18 +3590,18 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -3504,7 +3618,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -3545,23 +3659,28 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ + "async-recursion", "futures", + "indicatif", + "jsonrpsee 0.16.3", "log", "parity-scale-codec", "serde", "sp-core", "sp-io", "sp-runtime", + "spinners", "substrate-rpc-client", "tokio", + "tokio-retry", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "bitflags 1.3.2", "environmental", @@ -3580,6 +3699,7 @@ dependencies = [ "sp-arithmetic", "sp-core", "sp-core-hashing-proc-macro", + "sp-debug-derive", "sp-inherents", "sp-io", "sp-runtime", @@ -3594,46 +3714,48 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" 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.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", + "frame-executive", "frame-support", "frame-support-test-pallet", "frame-system", @@ -3642,6 +3764,7 @@ dependencies = [ "rustversion", "scale-info", "serde", + "sp-api", "sp-arithmetic", "sp-core", "sp-io", @@ -3655,7 +3778,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -3666,8 +3789,9 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ + "cfg-if", "frame-support", "log", "parity-scale-codec", @@ -3684,7 +3808,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -3699,7 +3823,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sp-api", @@ -3708,7 +3832,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "parity-scale-codec", @@ -3839,8 +3963,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d2411eed028cdf8c8034eaf21f9915f956b6c3abec4d4c7949ee67f0721127bd" dependencies = [ "futures-io", - "rustls 0.20.8", - "webpki 0.22.0", + "rustls 0.20.9", + "webpki 0.22.4", ] [[package]] @@ -3917,7 +4041,7 @@ dependencies = [ "jsonrpsee 0.16.3", "keyring", "lazy_static", - "libp2p", + "libp2p 0.50.1", "log", "nacl", "rand 0.8.5", @@ -4328,6 +4452,7 @@ dependencies = [ "parity-scale-codec", "sc-cli", "sc-executor", + "sc-executor-common", "sc-tracing", "sp-core", "sp-externalities", @@ -4471,6 +4596,7 @@ dependencies = [ "sc-executor-common", "sc-network", "sc-network-common", + "sc-network-statement", "sc-network-sync", "sc-rpc", "sc-rpc-api", @@ -4627,7 +4753,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "chrono", "frame-election-provider-support", @@ -4655,6 +4781,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -4720,6 +4847,17 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.27.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +dependencies = [ + "fallible-iterator", + "indexmap 1.9.3", + "stable_deref_trait", +] + [[package]] name = "gimli" version = "0.28.0" @@ -4797,7 +4935,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", ] @@ -4955,9 +5104,9 @@ dependencies = [ [[package]] name = "handlebars" -version = "4.3.7" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83c3372087601b532857d332f5957cbae686da52bb7810bf038c3e3c3cc2fa0d" +checksum = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683" dependencies = [ "log", "pest", @@ -4988,7 +5137,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", ] [[package]] @@ -4997,7 +5146,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.6", + "ahash 0.7.7", ] [[package]] @@ -5006,7 +5155,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", ] [[package]] @@ -5015,7 +5164,7 @@ version = "0.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "allocator-api2", "serde", ] @@ -5037,9 +5186,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "hex" @@ -5195,7 +5344,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite 0.2.13", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "tower-service", "tracing", @@ -5211,7 +5360,7 @@ dependencies = [ "http", "hyper", "log", - "rustls 0.20.8", + "rustls 0.20.9", "rustls-native-certs", "tokio", "tokio-rustls 0.23.4", @@ -5219,33 +5368,33 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.24.1" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d78e1e73ec14cf7375674f74d7dde185c8206fd9dea6fb6295e8a98098aaa97" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", "http", "hyper", "log", - "rustls 0.21.6", + "rustls 0.21.8", "rustls-native-certs", "tokio", "tokio-rustls 0.24.1", - "webpki-roots 0.23.1", + "webpki-roots 0.25.2", ] [[package]] name = "iana-time-zone" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613" +checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "windows 0.48.0", + "windows-core", ] [[package]] @@ -5296,11 +5445,11 @@ dependencies = [ [[package]] name = "if-watch" -version = "3.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9465340214b296cd17a0009acdb890d6160010b8adf8f78a00d0d7ab270f79f" +checksum = "bbb892e5777fe09e16f3d44de7802f4daa7267ecbe8c466f19d94e25bb0c303e" dependencies = [ - "async-io", + "async-io 1.13.0", "core-foundation", "fnv", "futures", @@ -5310,7 +5459,7 @@ dependencies = [ "rtnetlink", "system-configuration", "tokio", - "windows 0.34.0", + "windows", ] [[package]] @@ -5447,7 +5596,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.3", "libc", "windows-sys 0.48.0", ] @@ -5472,9 +5621,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" @@ -5482,7 +5631,7 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.3", "rustix 0.38.25", "windows-sys 0.48.0", ] @@ -5504,9 +5653,9 @@ checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" dependencies = [ "libc", ] @@ -5537,14 +5686,14 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ad9b31183a8bcbe843e32ca8554ad2936633548d95a7bb6a8e14c767dea6b05" +checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" dependencies = [ - "jsonrpsee-client-transport 0.20.1", - "jsonrpsee-core 0.20.1", - "jsonrpsee-http-client 0.20.1", - "jsonrpsee-types 0.20.1", + "jsonrpsee-client-transport 0.20.3", + "jsonrpsee-core 0.20.3", + "jsonrpsee-http-client 0.20.3", + "jsonrpsee-types 0.20.3", ] [[package]] @@ -5570,13 +5719,13 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97f2743cad51cc86b0dbfe316309eeb87a9d96a3d7f4dd7a99767c4b5f065335" +checksum = "b5b005c793122d03217da09af68ba9383363caa950b90d3436106df8cabce935" dependencies = [ "futures-util", "http", - "jsonrpsee-core 0.20.1", + "jsonrpsee-core 0.20.3", "pin-project", "rustls-native-certs", "soketto", @@ -5618,9 +5767,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35dc957af59ce98373bcdde0c1698060ca6c2d2e9ae357b459c7158b6df33330" +checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" dependencies = [ "anyhow", "async-lock", @@ -5629,7 +5778,7 @@ dependencies = [ "futures-timer", "futures-util", "hyper", - "jsonrpsee-types 0.20.1", + "jsonrpsee-types 0.20.3", "rustc-hash", "serde", "serde_json", @@ -5646,7 +5795,7 @@ checksum = "7e5f9fabdd5d79344728521bb65e3106b49ec405a78b66fbff073b72b389fa43" dependencies = [ "async-trait", "hyper", - "hyper-rustls 0.24.1", + "hyper-rustls 0.24.2", "jsonrpsee-core 0.16.3", "jsonrpsee-types 0.16.3", "rustc-hash", @@ -5659,15 +5808,15 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd865d0072764cb937b0110a92b5f53e995f7101cb346beca03d93a2dea79de" +checksum = "5f80c17f62c7653ce767e3d7288b793dfec920f97067ceb189ebdd3570f2bc20" dependencies = [ "async-trait", "hyper", - "hyper-rustls 0.24.1", - "jsonrpsee-core 0.20.1", - "jsonrpsee-types 0.20.1", + "hyper-rustls 0.24.2", + "jsonrpsee-core 0.20.3", + "jsonrpsee-types 0.20.3", "serde", "serde_json", "thiserror", @@ -5728,9 +5877,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa9e25aec855b2a7d3ed90fded6c41e8c3fb72b63f071e1be3f0004eba19b625" +checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" dependencies = [ "anyhow", "beef", @@ -5761,13 +5910,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.8", + "elliptic-curve 0.13.6", + "once_cell", "sha2 0.10.8", ] @@ -5813,9 +5963,9 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" +checksum = "b644c70b92285f66bfc2032922a79000ea30af7bc2ab31902992a5dcb9b434f6" dependencies = [ "kvdb", "num_cpus", @@ -5851,9 +6001,9 @@ checksum = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" [[package]] name = "libc-print" -version = "0.1.21" +version = "0.1.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06cea5d58bd9ba4717bbf5c6c5bb11bb6e9e76685b7fff34039b80f50ce86c11" +checksum = "c17f111e2175c779daaf5e89fe3a3b0776b0adec218bc1159c56e4d3f58032f5" dependencies = [ "libc", ] @@ -5893,9 +6043,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libmimalloc-sys" @@ -5919,26 +6069,71 @@ dependencies = [ "getrandom 0.2.10", "instant", "libp2p-core 0.38.0", + "libp2p-identify 0.41.1", + "libp2p-metrics 0.11.0", + "libp2p-swarm 0.41.1", + "multiaddr 0.16.0", + "parking_lot 0.12.1", + "pin-project", + "smallvec", +] + +[[package]] +name = "libp2p" +version = "0.51.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f210d259724eae82005b5c48078619b7745edb7b76de370b03f8ba59ea103097" +dependencies = [ + "bytes", + "futures", + "futures-timer", + "getrandom 0.2.10", + "instant", + "libp2p-allow-block-list", + "libp2p-connection-limits", + "libp2p-core 0.39.2", "libp2p-dns", - "libp2p-identify", + "libp2p-identify 0.42.2", + "libp2p-identity", "libp2p-kad", "libp2p-mdns", - "libp2p-metrics", - "libp2p-mplex", + "libp2p-metrics 0.12.0", "libp2p-noise", "libp2p-ping", "libp2p-quic", "libp2p-request-response", - "libp2p-swarm", + "libp2p-swarm 0.42.2", "libp2p-tcp", "libp2p-wasm-ext", "libp2p-webrtc", "libp2p-websocket", "libp2p-yamux", - "multiaddr 0.16.0", - "parking_lot 0.12.1", + "multiaddr 0.17.1", "pin-project", - "smallvec", +] + +[[package]] +name = "libp2p-allow-block-list" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "510daa05efbc25184458db837f6f9a5143888f1caa742426d92e1833ddd38a50" +dependencies = [ + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", + "void", +] + +[[package]] +name = "libp2p-connection-limits" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4caa33f1d26ed664c4fe2cca81a08c8e07d4c1c04f2f4ac7655c2dd85467fda0" +dependencies = [ + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", + "void", ] [[package]] @@ -5966,7 +6161,7 @@ dependencies = [ "prost-build", "rand 0.8.5", "rw-stream-sink", - "sec1", + "sec1 0.3.0", "sha2 0.10.8", "smallvec", "thiserror", @@ -6005,12 +6200,12 @@ dependencies = [ [[package]] name = "libp2p-dns" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e42a271c1b49f789b92f7fc87749fa79ce5c7bdc88cbdfacb818a4bca47fec5" +checksum = "146ff7034daae62077c415c2376b8057368042df6ab95f5432ad5e88568b1554" dependencies = [ "futures", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", "log", "parking_lot 0.12.1", "smallvec", @@ -6027,7 +6222,7 @@ dependencies = [ "futures", "futures-timer", "libp2p-core 0.38.0", - "libp2p-swarm", + "libp2p-swarm 0.41.1", "log", "lru 0.8.1", "prost", @@ -6038,6 +6233,28 @@ dependencies = [ "void", ] +[[package]] +name = "libp2p-identify" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5455f472243e63b9c497ff320ded0314254a9eb751799a39c283c6f20b793f3c" +dependencies = [ + "asynchronous-codec", + "either", + "futures", + "futures-timer", + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", + "log", + "lru 0.10.1", + "quick-protobuf", + "quick-protobuf-codec", + "smallvec", + "thiserror", + "void", +] + [[package]] name = "libp2p-identity" version = "0.1.3" @@ -6058,9 +6275,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.42.1" +version = "0.43.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2766dcd2be8c87d5e1f35487deb22d765f49c6ae1251b3633efe3b25698bd3d2" +checksum = "39d5ef876a2b2323d63c258e63c2f8e36f205fe5a11f0b3095d59635650790ff" dependencies = [ "arrayvec 0.7.4", "asynchronous-codec", @@ -6070,11 +6287,11 @@ dependencies = [ "futures", "futures-timer", "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", "log", - "prost", - "prost-build", + "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", "smallvec", @@ -6086,19 +6303,20 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04f378264aade9872d6ccd315c0accc18be3a35d15fc1b9c36e5b6f983b62b5b" +checksum = "19983e1f949f979a928f2c603de1cf180cc0dc23e4ac93a62651ccb18341460b" dependencies = [ "data-encoding", "futures", "if-watch", - "libp2p-core 0.38.0", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", "log", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", "trust-dns-proto", "void", @@ -6111,45 +6329,39 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ad8a64f29da86005c86a4d2728b8a0719e9b192f4092b609fd8790acb9dec55" dependencies = [ "libp2p-core 0.38.0", - "libp2p-identify", - "libp2p-kad", - "libp2p-ping", - "libp2p-swarm", - "prometheus-client", + "libp2p-identify 0.41.1", + "libp2p-swarm 0.41.1", + "prometheus-client 0.18.1", ] [[package]] -name = "libp2p-mplex" -version = "0.38.0" +name = "libp2p-metrics" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03805b44107aa013e7cbbfa5627b31c36cbedfdfb00603c0311998882bc4bace" +checksum = "a42ec91e227d7d0dafa4ce88b333cdf5f277253873ab087555c92798db2ddd46" dependencies = [ - "asynchronous-codec", - "bytes", - "futures", - "libp2p-core 0.38.0", - "log", - "nohash-hasher", - "parking_lot 0.12.1", - "rand 0.8.5", - "smallvec", - "unsigned-varint", + "libp2p-core 0.39.2", + "libp2p-identify 0.42.2", + "libp2p-kad", + "libp2p-ping", + "libp2p-swarm 0.42.2", + "prometheus-client 0.19.0", ] [[package]] name = "libp2p-noise" -version = "0.41.0" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a978cb57efe82e892ec6f348a536bfbd9fee677adbe5689d7a93ad3a9bffbf2e" +checksum = "9c3673da89d29936bc6435bafc638e2f184180d554ce844db65915113f86ec5e" dependencies = [ "bytes", "curve25519-dalek 3.2.0", "futures", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", + "libp2p-identity", "log", "once_cell", - "prost", - "prost-build", + "quick-protobuf", "rand 0.8.5", "sha2 0.10.8", "snow", @@ -6161,15 +6373,16 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.41.0" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "929fcace45a112536e22b3dcfd4db538723ef9c3cb79f672b98be2cc8e25f37f" +checksum = "3e57759c19c28a73ef1eb3585ca410cefb72c1a709fcf6de1612a378e4219202" dependencies = [ + "either", "futures", "futures-timer", "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", + "libp2p-core 0.39.2", + "libp2p-swarm 0.42.2", "log", "rand 0.8.5", "void", @@ -6177,41 +6390,40 @@ dependencies = [ [[package]] name = "libp2p-quic" -version = "0.7.0-alpha" +version = "0.7.0-alpha.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e7c867e95c8130667b24409d236d37598270e6da69b3baf54213ba31ffca59" +checksum = "c6b26abd81cd2398382a1edfe739b539775be8a90fa6914f39b2ab49571ec735" dependencies = [ "bytes", "futures", "futures-timer", "if-watch", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", + "libp2p-identity", "libp2p-tls", "log", "parking_lot 0.12.1", "quinn-proto", "rand 0.8.5", - "rustls 0.20.8", + "rustls 0.20.9", "thiserror", "tokio", ] [[package]] name = "libp2p-request-response" -version = "0.23.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3236168796727bfcf4927f766393415361e2c644b08bedb6a6b13d957c9a4884" +checksum = "7ffdb374267d42dc5ed5bc53f6e601d4a64ac5964779c6e40bb9e4f14c1e30d5" dependencies = [ "async-trait", - "bytes", "futures", "instant", - "libp2p-core 0.38.0", - "libp2p-swarm", - "log", + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm 0.42.2", "rand 0.8.5", "smallvec", - "unsigned-varint", ] [[package]] @@ -6226,21 +6438,40 @@ dependencies = [ "futures-timer", "instant", "libp2p-core 0.38.0", - "libp2p-swarm-derive", "log", "pin-project", "rand 0.8.5", "smallvec", "thiserror", + "void", +] + +[[package]] +name = "libp2p-swarm" +version = "0.42.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "903b3d592d7694e56204d211f29d31bc004be99386644ba8731fc3e3ef27b296" +dependencies = [ + "either", + "fnv", + "futures", + "futures-timer", + "instant", + "libp2p-core 0.39.2", + "libp2p-identity", + "libp2p-swarm-derive", + "log", + "rand 0.8.5", + "smallvec", "tokio", "void", ] [[package]] name = "libp2p-swarm-derive" -version = "0.31.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d527d5827582abd44a6d80c07ff8b50b4ee238a8979e05998474179e79dc400" +checksum = "0fba456131824ab6acd4c7bf61e9c0f0a3014b5fc9868ccb8e10d344594cdc4f" dependencies = [ "heck", "quote", @@ -6249,17 +6480,17 @@ dependencies = [ [[package]] name = "libp2p-tcp" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b257baf6df8f2df39678b86c578961d48cc8b68642a12f0f763f56c8e5858d" +checksum = "33d33698596d7722d85d3ab0c86c2c322254fce1241e91208e3679b4eb3026cf" dependencies = [ "futures", "futures-timer", "if-watch", "libc", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", "log", - "socket2 0.4.9", + "socket2 0.4.10", "tokio", ] @@ -6274,23 +6505,23 @@ dependencies = [ "libp2p-core 0.39.2", "libp2p-identity", "rcgen 0.10.0", - "ring", - "rustls 0.20.8", + "ring 0.16.20", + "rustls 0.20.9", "thiserror", - "webpki 0.22.0", + "webpki 0.22.4", "x509-parser 0.14.0", "yasna", ] [[package]] name = "libp2p-wasm-ext" -version = "0.38.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bb1a35299860e0d4b3c02a3e74e3b293ad35ae0cee8a056363b0c862d082069" +checksum = "77dff9d32353a5887adb86c8afc1de1a94d9e8c3bc6df8b2201d7cdf5c848f43" dependencies = [ "futures", "js-sys", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", "parity-send-wrapper", "wasm-bindgen", "wasm-bindgen-futures", @@ -6298,9 +6529,9 @@ dependencies = [ [[package]] name = "libp2p-webrtc" -version = "0.4.0-alpha" +version = "0.4.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb6cd86dd68cba72308ea05de1cebf3ba0ae6e187c40548167955d4e3970f6a" +checksum = "dba48592edbc2f60b4bc7c10d65445b0c3964c07df26fdf493b6880d33be36f8" dependencies = [ "async-trait", "asynchronous-codec", @@ -6309,13 +6540,13 @@ dependencies = [ "futures-timer", "hex", "if-watch", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", + "libp2p-identity", "libp2p-noise", "log", - "multihash 0.16.3", - "prost", - "prost-build", - "prost-codec", + "multihash 0.17.0", + "quick-protobuf", + "quick-protobuf-codec", "rand 0.8.5", "rcgen 0.9.3", "serde", @@ -6329,14 +6560,14 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.40.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d705506030d5c0aaf2882437c70dab437605f21c5f9811978f694e6917a3b54" +checksum = "111273f7b3d3510524c752e8b7a5314b7f7a1fee7e68161c01a7d72cbb06db9f" dependencies = [ "either", "futures", "futures-rustls", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", "log", "parking_lot 0.12.1", "quicksink", @@ -6348,23 +6579,22 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.42.0" +version = "0.43.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f63594a0aa818642d9d4915c791945053877253f08a3626f13416b5cd928a29" +checksum = "4dcd21d950662700a385d4c6d68e2f5f54d778e97068cdd718522222ef513bda" dependencies = [ "futures", - "libp2p-core 0.38.0", + "libp2p-core 0.39.2", "log", - "parking_lot 0.12.1", "thiserror", "yamux", ] [[package]] name = "librocksdb-sys" -version = "0.8.3+7.4.4" +version = "0.11.0+8.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "557b255ff04123fcc176162f56ed0c9cd42d8f357cf55b3fabeb60f7413741b3" +checksum = "d3386f101bcb4bd252d8e9d2fb41ec3b0862a15a62b478c355b2982efa469e3e" dependencies = [ "bindgen", "bzip2-sys", @@ -6461,9 +6691,9 @@ dependencies = [ [[package]] name = "linregress" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4de0b5f52a9f84544d268f5fabb71b38962d6aa3c6600b8bcd27d44ccf9c9c45" +checksum = "4de04dcecc58d366391f9920245b85ffa684558a5ef6e7736e754347c3aea9c2" dependencies = [ "nalgebra 0.32.3", ] @@ -6494,9 +6724,9 @@ checksum = "f9275e0933cf8bb20f008924c0cb07a0692fe54d8064996520bf998de9eb79aa" [[package]] name = "lock_api" -version = "0.4.10" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" dependencies = [ "autocfg", "scopeguard", @@ -6543,6 +6773,9 @@ name = "lru" version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +dependencies = [ + "hashbrown 0.13.2", +] [[package]] name = "lru-cache" @@ -6582,6 +6815,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" @@ -6614,9 +6853,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" [[package]] name = "matrixmultiply" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77" +checksum = "7574c1cf36da4798ab73da5b215bbf444f50718207754cb522201d78d1cd0ff2" dependencies = [ "autocfg", "rawpointer", @@ -6624,26 +6863,27 @@ dependencies = [ [[package]] name = "md-5" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6365506850d44bff6e2fbcb5176cf63650e48bd45ef2fe2665ae1570e0f4b9ca" +checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" dependencies = [ + "cfg-if", "digest 0.10.7", ] [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" [[package]] name = "memfd" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e" +checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.37.23", + "rustix 0.38.25", ] [[package]] @@ -6673,6 +6913,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" +dependencies = [ + "autocfg", +] + [[package]] name = "memoffset" version = "0.9.0" @@ -6867,7 +7116,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835d6ff01d610179fbce3de1694d007e500bf33a7f29689838941d6bf783ae40" dependencies = [ "core2", + "digest 0.10.7", "multihash-derive", + "sha2 0.10.8", "unsigned-varint", ] @@ -6993,7 +7244,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1bb540dc6ef51cfe1916ec038ce7a620daf3a111e2502d745197cd53d6bca15" dependencies = [ "libc", - "socket2 0.4.9", + "socket2 0.4.10", ] [[package]] @@ -7243,7 +7494,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.2", + "hermit-abi 0.3.3", "libc", ] @@ -7300,21 +7551,21 @@ dependencies = [ [[package]] name = "object" -version = "0.29.0" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "crc32fast", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "indexmap 1.9.3", "memchr", ] [[package]] name = "object" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77ac5bbd07aea88c60a577a1ce218075ffd59208b2d7ca97adf9bfc5aeb21ebe" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ "memchr", ] @@ -7381,9 +7632,9 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" [[package]] name = "os_str_bytes" -version = "6.5.1" +version = "6.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d5d9eb14b174ee9aa2ef96dc2b94637a2d4b6e7cb873c7e171f0c20c6cf3eac" +checksum = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1" [[package]] name = "overload" @@ -7403,8 +7654,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.8", ] @@ -7414,8 +7665,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.8", ] @@ -7432,7 +7683,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -7448,7 +7699,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -7462,7 +7713,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7475,7 +7726,7 @@ dependencies = [ "scale-info", "sp-application-crypto", "sp-consensus-babe", - "sp-consensus-vrf", + "sp-core", "sp-io", "sp-runtime", "sp-session", @@ -7486,7 +7737,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7506,7 +7757,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7521,7 +7772,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7539,7 +7790,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7558,7 +7809,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -7575,7 +7826,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -7598,7 +7849,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8022,7 +8273,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8045,9 +8296,9 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ - "enumflags2 0.7.7", + "enumflags2 0.7.8", "frame-benchmarking", "frame-support", "frame-system", @@ -8061,7 +8312,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8081,7 +8332,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8097,7 +8348,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -8114,7 +8365,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "pallet-nomination-pools", "parity-scale-codec", @@ -8125,7 +8376,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -8142,7 +8393,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8159,7 +8410,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8174,7 +8425,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8192,7 +8443,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -8211,7 +8462,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8228,7 +8479,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -8249,7 +8500,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -8272,7 +8523,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "log", "sp-arithmetic", @@ -8281,7 +8532,7 @@ dependencies = [ [[package]] name = "pallet-staking-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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sp-api", @@ -8290,8 +8541,9 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ + "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", @@ -8304,7 +8556,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8322,7 +8574,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-support", "frame-system", @@ -8338,7 +8590,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "jsonrpsee 0.16.3", "pallet-transaction-payment-rpc-runtime-api", @@ -8354,7 +8606,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -8366,7 +8618,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8383,7 +8635,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8399,7 +8651,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8414,7 +8666,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8439,9 +8691,9 @@ dependencies = [ [[package]] name = "parity-db" -version = "0.4.9" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dab3ac198341b2f0fec6e7f8a6eeed07a41201d98a124260611598c142e76df" +checksum = "59e9ab494af9e6e813c72170f0d3c1de1500990d62c97cc05cc7576f91aa402f" dependencies = [ "blake2", "crc32fast", @@ -8459,9 +8711,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.4" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8e946cc0cc711189c0b0249fb8b599cbeeab9784d83c415719368bb8d4ac64" +checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -8474,9 +8726,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.4" +version = "3.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a296c3079b5fefbc499e1de58dc26c09b1b9a5952d26694ee89f04a43ebbb3e" +checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -8503,9 +8755,9 @@ source = "git+https://github.com/gear-tech/parity-wasm?branch=v0.45.0-sign-ext#b [[package]] name = "parking" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14f2252c834a40ed9bb5422029649578e63aa341ac401f74e719dd1afda8394e" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" [[package]] name = "parking_lot" @@ -8525,7 +8777,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" dependencies = [ "lock_api", - "parking_lot_core 0.9.8", + "parking_lot_core 0.9.9", ] [[package]] @@ -8544,17 +8796,23 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.3.5", + "redox_syscall 0.4.1", "smallvec", "windows-targets 0.48.5", ] +[[package]] +name = "partial_sort" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7924d1d0ad836f665c9065e26d016c673ece3993f30d340068b16f282afc1156" + [[package]] name = "paste" version = "1.0.14" @@ -8632,19 +8890,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.2" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" +checksum = "ae9cee2a55a544be8b89dc6848072af97a20f2422603c10865be2a42b580fff5" dependencies = [ + "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.7.2" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "666d00490d4ac815001da55838c500eafb0320019bbaa44444137c48b443a853" +checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" dependencies = [ "pest", "pest_generator", @@ -8652,9 +8911,9 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.7.2" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68ca01446f50dbda87c1786af8770d535423fa8a53aec03b8f4e3d7eb10e0929" +checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" dependencies = [ "pest", "pest_meta", @@ -8665,9 +8924,9 @@ dependencies = [ [[package]] name = "pest_meta" -version = "2.7.2" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56af0a30af74d0445c0bf6d9d051c979b516a1a5af790d251daee76005420a48" +checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" dependencies = [ "once_cell", "pest", @@ -8729,7 +8988,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ "atomic-waker", - "fastrand 2.0.0", + "fastrand 2.0.1", "futures-io", ] @@ -8767,9 +9026,9 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "platforms" -version = "3.0.2" +version = "3.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d7ddaed09e0eb771a79ab0fd64609ba0afb0a8366421957936ad14cbd13630" +checksum = "4503fa043bf02cee09a9582e9554b4c6403b2ef55e4612e96561d294419429f8" [[package]] name = "polling" @@ -8787,6 +9046,20 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "polling" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" +dependencies = [ + "cfg-if", + "concurrent-queue", + "pin-project-lite 0.2.13", + "rustix 0.38.25", + "tracing", + "windows-sys 0.48.0", +] + [[package]] name = "poly1305" version = "0.7.2" @@ -8824,9 +9097,15 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.3" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b559898e0b4931ed2d3b959ab0c2da4d99cc644c4b0b1a35b4d344027f474023" + +[[package]] +name = "powerfmt" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" @@ -8884,6 +9163,16 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "prettyplease" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +dependencies = [ + "proc-macro2", + "syn 2.0.39", +] + [[package]] name = "primitive-types" version = "0.12.2" @@ -8940,6 +9229,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.39", +] + [[package]] name = "proc-macro2" version = "1.0.70" @@ -8975,6 +9275,29 @@ dependencies = [ "prometheus-client-derive-text-encode", ] +[[package]] +name = "prometheus-client" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d6fa99d535dd930d1249e6c79cb3c2915f9172a540fe2b02a4c8f9ca954721e" +dependencies = [ + "dtoa", + "itoa", + "parking_lot 0.12.1", + "prometheus-client-derive-encode", +] + +[[package]] +name = "prometheus-client-derive-encode" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "440f724eba9f6996b75d63681b0a92b06947f1457076d503a4d2e2c8f56442b8" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + [[package]] name = "prometheus-client-derive-text-encode" version = "0.3.0" @@ -8994,7 +9317,7 @@ checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.4.0", + "bitflags 2.4.1", "lazy_static", "num-traits", "rand 0.8.5", @@ -9029,7 +9352,7 @@ dependencies = [ "log", "multimap", "petgraph", - "prettyplease", + "prettyplease 0.1.25", "prost", "prost-types", "regex", @@ -9128,6 +9451,19 @@ dependencies = [ "byteorder", ] +[[package]] +name = "quick-protobuf-codec" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1693116345026436eb2f10b677806169c1a1260c1c60eaaffe3fb5a29ae23d8b" +dependencies = [ + "asynchronous-codec", + "bytes", + "quick-protobuf", + "thiserror", + "unsigned-varint", +] + [[package]] name = "quick-xml" version = "0.28.2" @@ -9151,20 +9487,20 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f31999cfc7927c4e212e60fd50934ab40e8e8bfd2d493d6095d2d306bc0764d9" +checksum = "94b0b33c13a79f669c85defaf4c275dc86a0c0372807d0ca3d78e0bb87274863" dependencies = [ "bytes", "rand 0.8.5", - "ring", + "ring 0.16.20", "rustc-hash", - "rustls 0.20.8", + "rustls 0.20.9", "slab", "thiserror", "tinyvec", "tracing", - "webpki 0.22.0", + "webpki 0.22.4", ] [[package]] @@ -9314,7 +9650,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6413f3de1edee53342e6138e75b56d32e7bc6e332b3bd62d497b1929d4cfbcdd" dependencies = [ "pem", - "ring", + "ring 0.16.20", "time", "x509-parser 0.13.2", "yasna", @@ -9327,7 +9663,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ffbe84efe2f38dea12e9bfc1f65377fdf03e53a18cb3b995faedf7934c7e785b" dependencies = [ "pem", - "ring", + "ring 0.16.20", "time", "yasna", ] @@ -9403,9 +9739,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.5.1" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "300d4fbfb40c1c66a78ba3ddd41c1110247cf52f97b87d0f2fc9209bd49b030c" +checksum = "80535183cae11b149d618fbd3c37e38d7cda589d82d7769e196ca9a9042d7621" dependencies = [ "fxhash", "log", @@ -9415,14 +9751,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.4" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12de2eff854e5fa4b1295edd650e227e9d8fb0c9e90b12e7f36d6a6811791a29" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.7", - "regex-syntax 0.7.5", + "regex-automata 0.4.3", + "regex-syntax 0.8.2", ] [[package]] @@ -9436,13 +9772,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.7" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49530408a136e16e5b486e883fbb6ba058e8e4e8ae6621a77b048b314336e629" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.5", + "regex-syntax 0.8.2", ] [[package]] @@ -9451,12 +9787,6 @@ version = "0.6.29" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" -[[package]] -name = "regex-syntax" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" - [[package]] name = "regex-syntax" version = "0.8.2" @@ -9493,9 +9823,9 @@ dependencies = [ [[package]] name = "rend" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581008d2099240d37fb08d77ad713bcaec2c4d89d50b5b21a8bb1996bbab68ab" +checksum = "a2571463863a6bd50c32f94402933f03457a3fbaf697a707c5be741e459f08fd" dependencies = [ "bytecheck", ] @@ -9515,7 +9845,7 @@ dependencies = [ "http", "http-body", "hyper", - "hyper-rustls 0.24.1", + "hyper-rustls 0.24.2", "ipnet", "js-sys", "log", @@ -9523,7 +9853,7 @@ dependencies = [ "once_cell", "percent-encoding", "pin-project-lite 0.2.13", - "rustls 0.21.6", + "rustls 0.21.8", "rustls-pemfile", "serde", "serde_json", @@ -9556,11 +9886,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" @@ -9571,11 +9911,25 @@ dependencies = [ "libc", "once_cell", "spin 0.5.2", - "untrusted", + "untrusted 0.7.1", "web-sys", "winapi", ] +[[package]] +name = "ring" +version = "0.17.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" +dependencies = [ + "cc", + "getrandom 0.2.10", + "libc", + "spin 0.9.8", + "untrusted 0.9.0", + "windows-sys 0.48.0", +] + [[package]] name = "rkyv" version = "0.7.42" @@ -9606,9 +9960,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.19.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" +checksum = "bb6f170a4041d50a0ce04b0d2e14916d6ca863ea2e422689a5b694395d299ffe" dependencies = [ "libc", "librocksdb-sys", @@ -9747,7 +10101,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.18", + "semver 1.0.20", ] [[package]] @@ -9761,9 +10115,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.36.15" +version = "0.36.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" +checksum = "305efbd14fde4139eb501df5f136994bb520b033fa9fbdce287507dc23b8c7ed" dependencies = [ "bitflags 1.3.2", "errno", @@ -9775,9 +10129,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.23" +version = "0.37.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06" +checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" dependencies = [ "bitflags 1.3.2", "errno", @@ -9793,7 +10147,7 @@ version = "0.38.25" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc99bc2d4f1fed22595588a013687477aedf3cdcfb26558c559edb67b4d9b22e" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys 0.4.11", @@ -9808,33 +10162,33 @@ checksum = "35edb675feee39aec9c99fa5ff985081995a06d594114ae14cbe797ad7b7a6d7" dependencies = [ "base64 0.13.1", "log", - "ring", + "ring 0.16.20", "sct 0.6.1", "webpki 0.21.4", ] [[package]] name = "rustls" -version = "0.20.8" +version = "0.20.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fff78fc74d175294f4e83b28343315ffcfb114b156f0185e9741cb5570f50e2f" +checksum = "1b80e3dec595989ea8510028f30c408a4630db12c9cbb8de34203b89d6577e99" dependencies = [ "log", - "ring", - "sct 0.7.0", - "webpki 0.22.0", + "ring 0.16.20", + "sct 0.7.1", + "webpki 0.22.4", ] [[package]] name = "rustls" -version = "0.21.6" +version = "0.21.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d1feddffcfcc0b33f5c6ce9a29e341e4cd59c3f78e7ee45f4a40c038b1d6cbb" +checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" dependencies = [ "log", - "ring", - "rustls-webpki 0.101.4", - "sct 0.7.0", + "ring 0.17.5", + "rustls-webpki", + "sct 0.7.1", ] [[package]] @@ -9860,22 +10214,12 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.100.2" +version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98ff011474fa39949b7e5c0428f9b4937eda7da7848bbb947786b7be0b27dab" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring", - "untrusted", -] - -[[package]] -name = "rustls-webpki" -version = "0.101.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d93931baf2d282fff8d3a532bbfd7653f734643161b87e3e01e59a04439bf0d" -dependencies = [ - "ring", - "untrusted", + "ring 0.17.5", + "untrusted 0.9.0", ] [[package]] @@ -9945,7 +10289,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -9960,7 +10304,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -9979,25 +10323,25 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "chrono", "clap 4.4.10", "fdlimit", "futures", - "libp2p", + "libp2p-identity", "log", "names 0.13.0", "parity-scale-codec", @@ -10030,7 +10374,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "fnv", "futures", @@ -10049,6 +10393,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", + "sp-statement-store", "sp-storage", "substrate-prometheus-endpoint", ] @@ -10056,7 +10401,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "hash-db", "kvdb", @@ -10082,12 +10427,12 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures", "futures-timer", - "libp2p", + "libp2p-identity", "log", "mockall", "parking_lot 0.12.1", @@ -10107,13 +10452,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "fork-tree", "futures", "log", - "merlin 2.0.1", "num-bigint", "num-rational", "num-traits", @@ -10126,7 +10470,6 @@ dependencies = [ "sc-keystore", "sc-telemetry", "scale-info", - "schnorrkel 0.9.1", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -10134,7 +10477,6 @@ dependencies = [ "sp-consensus", "sp-consensus-babe", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", "sp-keystore", @@ -10146,7 +10488,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10168,7 +10510,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -10181,9 +10523,9 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "array-bytes", "async-trait", "dyn-clone", @@ -10221,7 +10563,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "finality-grandpa", "futures", @@ -10241,7 +10583,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures", @@ -10264,13 +10606,12 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "lru 0.8.1", "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", - "sc-executor-wasmi", "sc-executor-wasmtime", "sp-api", "sp-core", @@ -10282,46 +10623,31 @@ dependencies = [ "sp-version", "sp-wasm-interface", "tracing", - "wasmi 0.13.2", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "sp-allocator", "sp-maybe-compressed-blob", "sp-wasm-interface", "thiserror", "wasm-instrument", - "wasmi 0.13.2", -] - -[[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" -dependencies = [ - "log", - "sc-executor-common", - "sp-allocator", - "sp-runtime-interface", - "sp-wasm-interface", - "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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "anyhow", "cfg-if", "libc", "log", "once_cell", - "rustix 0.36.15", + "rustix 0.36.17", "sc-executor-common", "sp-allocator", "sp-runtime-interface", @@ -10332,7 +10658,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "ansi_term", "futures", @@ -10348,10 +10674,9 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", - "async-trait", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -10363,7 +10688,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "async-channel", @@ -10375,7 +10700,7 @@ dependencies = [ "futures", "futures-timer", "ip_network", - "libp2p", + "libp2p 0.51.3", "linked_hash_set", "log", "lru 0.8.1", @@ -10393,6 +10718,7 @@ dependencies = [ "serde", "serde_json", "smallvec", + "snow", "sp-arithmetic", "sp-blockchain", "sp-consensus", @@ -10407,11 +10733,12 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ + "async-channel", "cid", "futures", - "libp2p", + "libp2p-identity", "log", "prost", "prost-build", @@ -10427,7 +10754,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "async-trait", @@ -10435,7 +10762,7 @@ dependencies = [ "bytes", "futures", "futures-timer", - "libp2p", + "libp2p-identity", "parity-scale-codec", "prost-build", "sc-consensus", @@ -10455,12 +10782,12 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "futures", "futures-timer", - "libp2p", + "libp2p 0.51.3", "log", "lru 0.8.1", "sc-network", @@ -10474,11 +10801,12 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", + "async-channel", "futures", - "libp2p", + "libp2p-identity", "log", "parity-scale-codec", "prost", @@ -10490,20 +10818,42 @@ dependencies = [ "sp-blockchain", "sp-core", "sp-runtime", - "thiserror", + "thiserror", +] + +[[package]] +name = "sc-network-statement" +version = "0.10.0-dev" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" +dependencies = [ + "array-bytes", + "async-channel", + "futures", + "libp2p 0.51.3", + "log", + "parity-scale-codec", + "pin-project", + "sc-network", + "sc-network-common", + "sc-peerset", + "sp-consensus", + "sp-runtime", + "sp-statement-store", + "substrate-prometheus-endpoint", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", + "async-channel", "async-trait", "fork-tree", "futures", "futures-timer", - "libp2p", + "libp2p 0.51.3", "log", "lru 0.8.1", "mockall", @@ -10530,11 +10880,11 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "futures", - "libp2p", + "libp2p 0.51.3", "log", "parity-scale-codec", "pin-project", @@ -10550,7 +10900,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "bytes", @@ -10559,7 +10909,7 @@ dependencies = [ "futures-timer", "hyper", "hyper-rustls 0.23.2", - "libp2p", + "libp2p 0.51.3", "num_cpus", "once_cell", "parity-scale-codec", @@ -10581,20 +10931,23 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "futures", - "libp2p", + "libp2p-identity", "log", + "parking_lot 0.12.1", + "partial_sort", "sc-utils", "serde_json", + "sp-arithmetic", "wasm-timer", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -10603,7 +10956,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "futures", "jsonrpsee 0.16.3", @@ -10626,6 +10979,7 @@ dependencies = [ "sp-rpc", "sp-runtime", "sp-session", + "sp-statement-store", "sp-version", "tokio", ] @@ -10633,7 +10987,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -10652,7 +11006,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "http", "jsonrpsee 0.16.3", @@ -10667,7 +11021,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "futures", @@ -10693,7 +11047,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "directories 4.0.1", @@ -10759,7 +11113,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "log", "parity-scale-codec", @@ -10770,7 +11124,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "clap 4.4.10", "fs4", @@ -10786,7 +11140,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "jsonrpsee 0.16.3", "parity-scale-codec", @@ -10805,7 +11159,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "futures", "libc", @@ -10824,11 +11178,11 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "chrono", "futures", - "libp2p", + "libp2p 0.51.3", "log", "parking_lot 0.12.1", "pin-project", @@ -10843,7 +11197,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "ansi_term", "atty", @@ -10867,25 +11221,25 @@ dependencies = [ "sp-tracing", "thiserror", "tracing", - "tracing-log 0.1.3", + "tracing-log 0.1.4", "tracing-subscriber 0.2.25", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures", @@ -10912,7 +11266,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures", @@ -10926,7 +11280,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-channel", "futures", @@ -11007,9 +11361,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0a159d0c45c12b20c5a844feb1fe4bea86e28f17b92a5f0c42193634d3782" +checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" dependencies = [ "bitvec", "cfg-if", @@ -11021,9 +11375,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "912e55f6d20e0e80d63733872b40e1227c0bce1e1ab81ba67d696339bfd7fd29" +checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", @@ -11066,7 +11420,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "cfg-if", "hashbrown 0.13.2", ] @@ -11129,18 +11483,18 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b362b83898e0e69f38515b82ee15aa80636befe47c3b6d3d89a911e78fc228ce" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "sct" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d53dcdb7c9f8158937a7981b48accfd39a43af418591a5d008c7b22b5e1b7ca4" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring", - "untrusted", + "ring 0.17.5", + "untrusted 0.9.0", ] [[package]] @@ -11167,7 +11521,7 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ - "base16ct", + "base16ct 0.1.1", "der 0.6.1", "generic-array 0.14.7", "pkcs8 0.9.0", @@ -11175,6 +11529,20 @@ dependencies = [ "zeroize", ] +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.8", + "generic-array 0.14.7", + "pkcs8 0.10.2", + "subtle", + "zeroize", +] + [[package]] name = "secp256k1" version = "0.24.3" @@ -11256,9 +11624,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" dependencies = [ "serde", ] @@ -11322,9 +11690,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96426c9936fd7a0124915f9185ea1d20aa9445cc9821142f0a73bc9207a2e186" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" dependencies = [ "serde", ] @@ -11367,9 +11735,9 @@ dependencies = [ [[package]] name = "sha1" -version = "0.10.5" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" +checksum = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" dependencies = [ "cfg-if", "cpufeatures", @@ -11424,28 +11792,18 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] [[package]] name = "shlex" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" - -[[package]] -name = "signal-hook" -version = "0.3.17" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" -dependencies = [ - "libc", - "signal-hook-registry", -] +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" [[package]] name = "signal-hook-registry" @@ -11471,6 +11829,10 @@ 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" @@ -11527,9 +11889,9 @@ checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7" [[package]] name = "smallvec" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" +checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" [[package]] name = "smol" @@ -11540,7 +11902,7 @@ dependencies = [ "async-channel", "async-executor", "async-fs", - "async-io", + "async-io 1.13.0", "async-lock", "async-net", "async-process", @@ -11565,7 +11927,7 @@ dependencies = [ "derive_more", "ed25519-zebra", "either", - "event-listener", + "event-listener 2.5.3", "fnv", "futures-channel", "futures-util", @@ -11610,7 +11972,7 @@ dependencies = [ "blake2-rfc", "derive_more", "either", - "event-listener", + "event-listener 2.5.3", "fnv", "futures-channel", "futures-util", @@ -11644,9 +12006,9 @@ dependencies = [ "aes-gcm 0.9.4", "blake2", "chacha20poly1305", - "curve25519-dalek 4.0.0", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", - "ring", + "ring 0.16.20", "rustc_version", "sha2 0.10.8", "subtle", @@ -11654,9 +12016,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" +checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" dependencies = [ "libc", "winapi", @@ -11692,7 +12054,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "log", "parity-scale-codec", @@ -11703,13 +12065,15 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "hash-db", "log", "parity-scale-codec", + "scale-info", "sp-api-proc-macro", "sp-core", + "sp-metadata-ir", "sp-runtime", "sp-state-machine", "sp-std 5.0.0", @@ -11721,7 +12085,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "Inflector", "blake2", @@ -11729,13 +12093,13 @@ dependencies = [ "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -11748,7 +12112,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "integer-sqrt", "num-traits", @@ -11762,7 +12126,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -11775,7 +12139,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sp-api", @@ -11787,7 +12151,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "futures", "log", @@ -11805,7 +12169,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures", @@ -11820,7 +12184,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "parity-scale-codec", @@ -11838,10 +12202,9 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", - "merlin 2.0.1", "parity-scale-codec", "scale-info", "serde", @@ -11849,7 +12212,6 @@ dependencies = [ "sp-application-crypto", "sp-consensus", "sp-consensus-slots", - "sp-consensus-vrf", "sp-core", "sp-inherents", "sp-keystore", @@ -11861,7 +12223,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "finality-grandpa", "log", @@ -11879,7 +12241,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -11888,29 +12250,16 @@ dependencies = [ "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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" -dependencies = [ - "parity-scale-codec", - "scale-info", - "schnorrkel 0.9.1", - "sp-core", - "sp-runtime", - "sp-std 5.0.0", -] - [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", - "base58", "bitflags 1.3.2", "blake2", "bounded-collections", + "bs58 0.4.0", "dyn-clonable", "ed25519-zebra", "futures", @@ -11923,6 +12272,7 @@ dependencies = [ "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.1", + "paste", "primitive-types", "rand 0.8.5", "regex", @@ -11948,7 +12298,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "blake2b_simd", "byteorder", @@ -11977,18 +12327,18 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro2", "quote", "sp-core-hashing 5.0.0", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -11997,17 +12347,17 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "environmental", "parity-scale-codec", @@ -12018,7 +12368,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -12033,7 +12383,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "bytes", "ed25519 1.5.3", @@ -12042,6 +12392,7 @@ dependencies = [ "libsecp256k1", "log", "parity-scale-codec", + "rustversion", "secp256k1", "sp-core", "sp-externalities", @@ -12058,7 +12409,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "lazy_static", "sp-core", @@ -12069,14 +12420,11 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ - "async-trait", "futures", - "merlin 2.0.1", "parity-scale-codec", "parking_lot 0.12.1", - "schnorrkel 0.9.1", "serde", "sp-core", "sp-externalities", @@ -12086,16 +12434,27 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "thiserror", - "zstd", + "zstd 0.12.4", +] + +[[package]] +name = "sp-metadata-ir" +version = "0.1.0" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" +dependencies = [ + "frame-metadata 15.1.0", + "parity-scale-codec", + "scale-info", + "sp-std 5.0.0", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -12109,7 +12468,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "sp-api", "sp-core", @@ -12119,7 +12478,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "backtrace", "lazy_static", @@ -12129,7 +12488,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "rustc-hash", "serde", @@ -12139,7 +12498,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "either", "hash256-std-hasher", @@ -12161,7 +12520,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -12179,19 +12538,19 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "Inflector", "proc-macro-crate 1.1.3", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -12205,10 +12564,11 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", + "serde", "sp-core", "sp-runtime", "sp-std 5.0.0", @@ -12217,7 +12577,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "hash-db", "log", @@ -12234,10 +12594,28 @@ dependencies = [ "tracing", ] +[[package]] +name = "sp-statement-store" +version = "4.0.0-dev" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" +dependencies = [ + "log", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-externalities", + "sp-runtime", + "sp-runtime-interface", + "sp-std 5.0.0", + "thiserror", +] + [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" [[package]] name = "sp-std" @@ -12248,7 +12626,7 @@ checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12261,7 +12639,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "futures-timer", @@ -12276,7 +12654,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sp-std 5.0.0", @@ -12288,7 +12666,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "sp-api", "sp-runtime", @@ -12297,7 +12675,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "log", @@ -12313,11 +12691,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ - "ahash 0.8.3", + "ahash 0.8.6", "hash-db", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", @@ -12336,7 +12714,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -12353,18 +12731,18 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.39", ] [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "anyhow", "impl-trait-for-tuples", @@ -12379,7 +12757,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "sp-std 5.0.0", @@ -12389,7 +12767,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "parity-scale-codec", "scale-info", @@ -12413,6 +12791,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" @@ -12546,7 +12935,7 @@ dependencies = [ "lazy_static", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "subtle", "thiserror", "tokio", @@ -12570,7 +12959,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "platforms 2.0.0", ] @@ -12578,7 +12967,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -12597,7 +12986,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "hyper", "log", @@ -12609,7 +12998,7 @@ 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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "jsonrpsee 0.16.3", @@ -12622,7 +13011,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "jsonrpsee 0.16.3", "log", @@ -12641,7 +13030,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "array-bytes", "async-trait", @@ -12667,7 +13056,7 @@ dependencies = [ [[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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "ansi_term", "build-helper", @@ -12676,7 +13065,7 @@ dependencies = [ "sp-maybe-compressed-blob", "strum", "tempfile", - "toml 0.5.11", + "toml 0.7.8", "walkdir", "wasm-opt", ] @@ -12717,7 +13106,7 @@ dependencies = [ "futures", "hex", "impl-serde", - "jsonrpsee 0.20.1", + "jsonrpsee 0.20.3", "parity-scale-codec", "primitive-types", "scale-bits", @@ -12744,7 +13133,7 @@ dependencies = [ "frame-metadata 16.0.0", "heck", "hex", - "jsonrpsee 0.20.1", + "jsonrpsee 0.20.3", "parity-scale-codec", "proc-macro2", "quote", @@ -12884,9 +13273,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.11" +version = "0.12.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" +checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" [[package]] name = "tempfile" @@ -12895,7 +13284,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", - "fastrand 2.0.0", + "fastrand 2.0.1", "redox_syscall 0.4.1", "rustix 0.38.25", "windows-sys 0.48.0", @@ -12903,9 +13292,9 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" dependencies = [ "winapi-util", ] @@ -13008,12 +13397,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.27" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bb39ee79a6d8de55f48f2293a830e040392f1c5f16e336bdd1788cd0aadce07" +checksum = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" dependencies = [ "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -13021,15 +13411,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.13" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733d258752e9303d392b94b75230d07b0b9c489350c69b851fc6c065fde3e8f9" +checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" dependencies = [ "time-core", ] @@ -13117,15 +13507,26 @@ dependencies = [ "syn 2.0.39", ] +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand 0.8.5", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls 0.20.8", + "rustls 0.20.9", "tokio", - "webpki 0.22.0", + "webpki 0.22.4", ] [[package]] @@ -13134,7 +13535,7 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls 0.21.6", + "rustls 0.21.8", "tokio", ] @@ -13152,9 +13553,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" +checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" dependencies = [ "bytes", "futures-core", @@ -13188,9 +13589,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.3" +version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" dependencies = [ "serde", ] @@ -13225,11 +13626,11 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.3.5" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" +checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "bytes", "futures-core", "futures-util", @@ -13320,12 +13721,12 @@ dependencies = [ [[package]] name = "tracing-log" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" +checksum = "f751112709b4e791d8ce53e32c4ed2d353565a795ce84da2285393f41557bdf2" dependencies = [ - "lazy_static", "log", + "once_cell", "tracing-core", ] @@ -13369,7 +13770,7 @@ dependencies = [ "thread_local", "tracing", "tracing-core", - "tracing-log 0.1.3", + "tracing-log 0.1.4", "tracing-serde", ] @@ -13434,7 +13835,7 @@ dependencies = [ "lazy_static", "rand 0.8.5", "smallvec", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tinyvec", "tokio", @@ -13471,7 +13872,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-revert-oom-changes#27779e0eaaa2161ba165ff8f0b0ff103bb63e5a1" +source = "git+https://github.com/gear-tech/substrate.git?branch=gear-polkadot-v0.9.43-canary-no-sandbox#26cb1995d90479894e0631a5ba37e05ce878bd8f" dependencies = [ "async-trait", "clap 4.4.10", @@ -13502,7 +13903,7 @@ dependencies = [ "sp-version", "sp-weights", "substrate-rpc-client", - "zstd", + "zstd 0.12.4", ] [[package]] @@ -13539,7 +13940,7 @@ dependencies = [ "log", "md-5", "rand 0.8.5", - "ring", + "ring 0.16.20", "stun", "thiserror", "tokio", @@ -13560,9 +13961,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" @@ -13596,9 +13997,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -13611,9 +14012,9 @@ dependencies = [ [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "unicode-xid" @@ -13643,9 +14044,9 @@ dependencies = [ [[package]] name = "unsigned-varint" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d86a8dc7f45e4c1b0d30e43038c38f274e77af056aa5f74b93c2cf9eb3c1c836" +checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ "asynchronous-codec", "bytes", @@ -13659,6 +14060,12 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a156c684c91ea7d62626509bce3cb4e1d9ed5c4d978f7b4352658f96a4c26b4a" +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + [[package]] name = "url" version = "2.5.0" @@ -13678,9 +14085,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" dependencies = [ "getrandom 0.2.10", ] @@ -13840,15 +14247,15 @@ dependencies = [ [[package]] name = "waker-fn" -version = "1.1.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d5b2c62b4012a3e1eca5a7e077d13b3bf498c4073e33ccd58626607748ceeca" +checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "winapi-util", @@ -13977,9 +14384,9 @@ dependencies = [ [[package]] name = "wasm-opt" -version = "0.111.0" +version = "0.112.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a303793cbc01fb96551badfc7367db6007396bba6bac97936b3c8b6f7fdb41" +checksum = "87fef6d0d508f08334e0ab0e6877feb4c0ecb3956bcf2cb950699b22fedf3e9c" dependencies = [ "anyhow", "libc", @@ -13993,9 +14400,9 @@ dependencies = [ [[package]] name = "wasm-opt-cxx-sys" -version = "0.111.0" +version = "0.112.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9c9deb56f8a9f2ec177b3bd642a8205621835944ed5da55f2388ef216aca5a4" +checksum = "bc816bbc1596c8f2e8127e137a760c798023ef3d378f2ae51f0f1840e2dfa445" dependencies = [ "anyhow", "cxx", @@ -14005,15 +14412,14 @@ dependencies = [ [[package]] name = "wasm-opt-sys" -version = "0.111.0" +version = "0.112.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4432e28b542738a9776cedf92e8a99d8991c7b4667ee2c7ccddfb479dd2856a7" +checksum = "40199e4f68ef1071b3c6d0bd8026a12b481865d4b9e49c156932ea9a6234dd14" dependencies = [ "anyhow", "cc", "cxx", "cxx-build", - "regex", ] [[package]] @@ -14443,9 +14849,9 @@ checksum = "718ed7c55c2add6548cca3ddd6383d738cd73b892df400e96b9aa876f0141d7a" [[package]] name = "wasmparser" -version = "0.100.0" +version = "0.102.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" dependencies = [ "indexmap 1.9.3", "url", @@ -14457,7 +14863,7 @@ version = "0.115.0" source = "git+https://github.com/gear-tech/wasm-tools.git?branch=gear-stable#b5ee21ec07edc43b7e03edc3b9138bf78b3fd332" dependencies = [ "indexmap 2.1.0", - "semver 1.0.18", + "semver 1.0.20", ] [[package]] @@ -14467,7 +14873,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebbb91574de0011ded32b14db12777e7dd5e9ea2f9d7317a1ab51a9495c75924" dependencies = [ "indexmap 2.1.0", - "semver 1.0.18", + "semver 1.0.20", ] [[package]] @@ -14497,9 +14903,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a222f5fa1e14b2cefc286f1b68494d7a965f4bf57ec04c59bb62673d639af6" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" dependencies = [ "anyhow", "bincode", @@ -14507,105 +14913,121 @@ dependencies = [ "indexmap 1.9.3", "libc", "log", - "object 0.29.0", + "object 0.30.4", "once_cell", "paste", "psm", "rayon", "serde", "target-lexicon", - "wasmparser 0.100.0", + "wasmparser 0.102.0", "wasmtime-cache", "wasmtime-cranelift", "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-asm-macros" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4407a7246e7d2f3d8fb1cf0c72fda8dbafdb6dd34d555ae8bea0e5ae031089cc" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cache" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ceb3adf61d654be0be67fffdce42447b0880481348785be5fe40b5dd7663a4c" +checksum = "c86437fa68626fe896e5afc69234bb2b5894949083586535f200385adfd71213" dependencies = [ "anyhow", - "base64 0.13.1", + "base64 0.21.5", "bincode", "directories-next", "file-per-thread-logger", "log", - "rustix 0.36.15", + "rustix 0.36.17", "serde", "sha2 0.10.8", "toml 0.5.11", - "windows-sys 0.42.0", - "zstd", + "windows-sys 0.45.0", + "zstd 0.11.2+zstd.1.5.2", ] [[package]] name = "wasmtime-cranelift" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c366bb8647e01fd08cb5589976284b00abfded5529b33d7e7f3f086c68304a4" +checksum = "b1cefde0cce8cb700b1b21b6298a3837dba46521affd7b8c38a9ee2c869eee04" dependencies = [ "anyhow", - "cranelift-codegen 0.93.2", - "cranelift-entity 0.93.2", - "cranelift-frontend 0.93.2", + "cranelift-codegen 0.95.1", + "cranelift-entity 0.95.1", + "cranelift-frontend 0.95.1", "cranelift-native", "cranelift-wasm", - "gimli 0.26.2", + "gimli 0.27.3", "log", - "object 0.29.0", + "object 0.30.4", "target-lexicon", "thiserror", - "wasmparser 0.100.0", + "wasmparser 0.102.0", + "wasmtime-cranelift-shared", + "wasmtime-environ", +] + +[[package]] +name = "wasmtime-cranelift-shared" +version = "8.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd041e382ef5aea1b9fc78442394f1a4f6d676ce457e7076ca4cb3f397882f8b" +dependencies = [ + "anyhow", + "cranelift-codegen 0.95.1", + "cranelift-native", + "gimli 0.27.3", + "object 0.30.4", + "target-lexicon", "wasmtime-environ", ] [[package]] name = "wasmtime-environ" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b8b50962eae38ee319f7b24900b7cf371f03eebdc17400c1dc8575fc10c9a7" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", - "cranelift-entity 0.93.2", - "gimli 0.26.2", + "cranelift-entity 0.95.1", + "gimli 0.27.3", "indexmap 1.9.3", "log", - "object 0.29.0", + "object 0.30.4", "serde", "target-lexicon", "thiserror", - "wasmparser 0.100.0", + "wasmparser 0.102.0", "wasmtime-types", ] [[package]] name = "wasmtime-jit" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffaed4f9a234ba5225d8e64eac7b4a5d13b994aeb37353cde2cbeb3febda9eaa" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" dependencies = [ - "addr2line 0.17.0", + "addr2line 0.19.0", "anyhow", "bincode", "cfg-if", "cpp_demangle", - "gimli 0.26.2", + "gimli 0.27.3", "log", - "object 0.29.0", + "object 0.30.4", "rustc-demangle", "serde", "target-lexicon", @@ -14613,36 +15035,36 @@ dependencies = [ "wasmtime-jit-debug", "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-jit-debug" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ - "object 0.29.0", + "object 0.30.4", "once_cell", - "rustix 0.36.15", + "rustix 0.36.17", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a28ae1e648461bfdbb79db3efdaee1bca5b940872e4175390f465593a2e54c" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" dependencies = [ "cfg-if", "libc", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-runtime" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e704b126e4252788ccfc3526d4d4511d4b23c521bf123e447ac726c14545217b" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" dependencies = [ "anyhow", "cc", @@ -14652,26 +15074,26 @@ dependencies = [ "log", "mach", "memfd", - "memoffset 0.6.5", + "memoffset 0.8.0", "paste", "rand 0.8.5", - "rustix 0.36.15", + "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-types" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ - "cranelift-entity 0.93.2", + "cranelift-entity 0.95.1", "serde", "thiserror", - "wasmparser 0.100.0", + "wasmparser 0.102.0", ] [[package]] @@ -14711,18 +15133,18 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b8e38c0608262c46d4a56202ebabdeb094cef7e560ca7a226c6bf055188aa4ea" dependencies = [ - "ring", - "untrusted", + "ring 0.16.20", + "untrusted 0.7.1", ] [[package]] name = "webpki" -version = "0.22.0" +version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f095d78192e208183081cc07bc5515ef55216397af48b873e5edcd72637fa1bd" +checksum = "ed63aea5ce73d0ff405984102c42de94fc55a6b75765d621c65262469b3c9b53" dependencies = [ - "ring", - "untrusted", + "ring 0.17.5", + "untrusted 0.9.0", ] [[package]] @@ -14731,16 +15153,7 @@ version = "0.22.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" dependencies = [ - "webpki 0.22.0", -] - -[[package]] -name = "webpki-roots" -version = "0.23.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b03058f88386e5ff5310d9111d53f48b17d732b401aeb83a8d5190f2ac459338" -dependencies = [ - "rustls-webpki 0.100.2", + "webpki 0.22.4", ] [[package]] @@ -14765,7 +15178,7 @@ dependencies = [ "rand 0.8.5", "rcgen 0.9.3", "regex", - "ring", + "ring 0.16.20", "rtcp", "rtp", "rustls 0.19.1", @@ -14812,7 +15225,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a00f4242f2db33307347bd5be53263c52a0331c96c14292118c9a6bb48d267" dependencies = [ "aes 0.6.0", - "aes-gcm 0.10.2", + "aes-gcm 0.10.3", "async-trait", "bincode", "block-modes 0.7.0", @@ -14820,7 +15233,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", @@ -14829,9 +15242,9 @@ dependencies = [ "rand 0.8.5", "rand_core 0.6.4", "rcgen 0.10.0", - "ring", + "ring 0.16.20", "rustls 0.19.1", - "sec1", + "sec1 0.3.0", "serde", "sha1", "sha2 0.10.8", @@ -14876,7 +15289,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f08dfd7a6e3987e255c4dbe710dde5d94d0f0574f8a21afa95d171376c143106" dependencies = [ "log", - "socket2 0.4.9", + "socket2 0.4.10", "thiserror", "tokio", "webrtc-util", @@ -14981,9 +15394,9 @@ dependencies = [ [[package]] name = "wide" -version = "0.7.11" +version = "0.7.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" +checksum = "c68938b57b33da363195412cfc5fc37c9ed49aa9cfe2156fde64b8d2c9498242" dependencies = [ "bytemuck", "safe_arch", @@ -15013,9 +15426,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ "winapi", ] @@ -15028,22 +15441,19 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.34.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" dependencies = [ - "windows_aarch64_msvc 0.34.0", - "windows_i686_gnu 0.34.0", - "windows_i686_msvc 0.34.0", - "windows_x86_64_gnu 0.34.0", - "windows_x86_64_msvc 0.34.0", + "windows-core", + "windows-targets 0.48.5", ] [[package]] -name = "windows" -version = "0.48.0" +name = "windows-core" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" dependencies = [ "windows-targets 0.48.5", ] @@ -15061,21 +15471,6 @@ dependencies = [ "windows_x86_64_msvc 0.33.0", ] -[[package]] -name = "windows-sys" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" -dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", -] - [[package]] name = "windows-sys" version = "0.45.0" @@ -15172,12 +15567,6 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd761fd3eb9ab8cc1ed81e56e567f02dd82c4c837e48ac3b2181b9ffc5060807" -[[package]] -name = "windows_aarch64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" - [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -15202,12 +15591,6 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cab0cf703a96bab2dc0c02c0fa748491294bf9b7feb27e1f4f96340f208ada0e" -[[package]] -name = "windows_i686_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" - [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -15232,12 +15615,6 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cfdbe89cc9ad7ce618ba34abc34bbb6c36d99e96cae2245b7943cd75ee773d0" -[[package]] -name = "windows_i686_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" - [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -15262,12 +15639,6 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4dd9b0c0e9ece7bb22e84d70d01b71c6d6248b81a3c60d11869451b4cb24784" -[[package]] -name = "windows_x86_64_gnu" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" - [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -15310,12 +15681,6 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff1e4aa646495048ec7f3ffddc411e1d829c026a2ec62b39da15c1055e406eaa" -[[package]] -name = "windows_x86_64_msvc" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" - [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -15336,9 +15701,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.15" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" +checksum = "a3b801d0e0a6726477cc207f60162da452f3a95adb368399bef20a946e06f65c" dependencies = [ "memchr", ] @@ -15379,7 +15744,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" dependencies = [ - "curve25519-dalek 4.0.0", + "curve25519-dalek 4.1.1", "rand_core 0.6.4", "serde", "zeroize", @@ -15398,7 +15763,7 @@ dependencies = [ "lazy_static", "nom", "oid-registry 0.4.0", - "ring", + "ring 0.16.20", "rusticata-macros", "thiserror", "time", @@ -15463,7 +15828,7 @@ version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9cbeb2291cd7267a94489b71376eda33496c1b9881adf6b36f26cc2779f3fc49" dependencies = [ - "async-io", + "async-io 1.13.0", "byteorder", "derivative", "enumflags2 0.6.4", @@ -15472,7 +15837,7 @@ dependencies = [ "nb-connect", "nix 0.22.3", "once_cell", - "polling", + "polling 2.8.0", "scoped-tls", "serde", "serde_repr", @@ -15492,6 +15857,26 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "zerocopy" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ede7d7c7970ca2215b8c1ccf4d4f354c4733201dfaaba72d44ae5b37472e4901" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b27b1bb92570f989aac0ab7e9cbfbacdd65973f7ee920d9f0e71ebac878fd0b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.39", +] + [[package]] name = "zeroize" version = "1.6.0" @@ -15518,7 +15903,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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +dependencies = [ + "zstd-safe 6.0.6", ] [[package]] @@ -15531,14 +15925,23 @@ dependencies = [ "zstd-sys", ] +[[package]] +name = "zstd-safe" +version = "6.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +dependencies = [ + "libc", + "zstd-sys", +] + [[package]] name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +version = "2.0.9+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" dependencies = [ "cc", - "libc", "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index f6eced17bb9..f331c45e783 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -103,7 +103,7 @@ byteorder = { version = "1.5.0", default-features = false } blake2-rfc = { version = "0.2.18", default-features = false } bs58 = { version = "0.5.0", default-features = false } # TODO: upgrade this package ( issue #2694 ) -cargo_metadata = "=0.15.3" +cargo_metadata = "=0.15.4" clap = { version = "4.4.10" } codec = { package = "parity-scale-codec", version = "3.6.4", default-features = false } color-eyre = "0.6.2" @@ -259,122 +259,123 @@ sandbox-wasmer = { package = "wasmer", version = "2.2", features = ["singlepass" sandbox-wasmer-types = { package = "wasmer-types", version = "2.2" } # 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-revert-oom-changes", 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-revert-oom-changes" } -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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes" } -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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes" } -pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", default-features = false } -pallet-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", default-features = false } -pallet-child-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", default-features = false } -pallet-nomination-pools = { version = "1.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", default-features = false } -pallet-nomination-pools-runtime-api = { version = "1.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", default-features = false } -pallet-offences = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", default-features = false } -pallet-staking-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes", 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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } -substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.41-canary-no-sandbox-revert-oom-changes" } -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-revert-oom-changes" } -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-revert-oom-changes" } +frame-benchmarking = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-canary-no-sandbox" } +frame-try-runtime = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-canary-no-sandbox" } +pallet-authorship = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-canary-no-sandbox", default-features = false } +pallet-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox", default-features = false } +pallet-child-bounties = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-canary-no-sandbox", default-features = false } +pallet-nomination-pools = { version = "1.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox", default-features = false } +pallet-nomination-pools-runtime-api = { version = "1.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox", default-features = false } +pallet-offences = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-canary-no-sandbox", default-features = false } +pallet-staking-runtime-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-canary-no-sandbox" } +sc-authority-discovery = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-block-builder = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-consensus = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-consensus-babe = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-canary-no-sandbox" } +sc-consensus-epochs = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-consensus-slots = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-chain-spec = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-client-api = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-canary-no-sandbox" } +sc-executor = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-executor-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-consensus-grandpa = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-canary-no-sandbox" } +sc-keystore = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-network = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-network-common = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-network-sync = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-network-statement = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-proposer-metrics = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-service = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-telemetry = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-rpc = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-rpc-api = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-canary-no-sandbox" } +sc-sysinfo = { version = "6.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sc-transaction-pool = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-canary-no-sandbox" } +sc-tracing = { version = "4.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +sp-allocator = { version = "4.1.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-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.43-canary-no-sandbox" } +substrate-rpc-client = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-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.43-canary-no-sandbox" } +substrate-test-client = { version = "2.0.0", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } +try-runtime-cli = { version = "0.10.0-dev", git = "https://github.com/gear-tech/substrate.git", branch = "gear-polkadot-v0.9.43-canary-no-sandbox" } # Examples test-syscalls = { path = "examples/syscalls", default-features = false } @@ -459,7 +460,7 @@ tracing = "0.1.40" # util tracing-appender = "0.2" # utils/node-loder tracing-subscriber = "0.3.18" # utils/node-loder trybuild = "1" # gstd/codegen -wasm-opt = "0.111.0" # utils/wasm-builder +wasm-opt = "0.112" # utils/wasm-builder wasmprinter = "0.2" # utils/wasm-gen whoami = "1.4.0" # gcli fail = "0.5" # gear-common diff --git a/common/src/pallet_tests.rs b/common/src/pallet_tests.rs index f58e8844998..854b6fd18cc 100644 --- a/common/src/pallet_tests.rs +++ b/common/src/pallet_tests.rs @@ -37,6 +37,10 @@ macro_rules! impl_pallet_balances { type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; type WeightInfo = (); + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = (); } }; } 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 621cd7e41ef..2202ba8c872 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)] diff --git a/gcli/tests/cmd/info.rs b/gcli/tests/cmd/info.rs index 90360519a59..6e4b39d8090 100644 --- a/gcli/tests/cmd/info.rs +++ b/gcli/tests/cmd/info.rs @@ -23,6 +23,8 @@ use crate::common::{ Args, Result, }; +// ExtraFlags is hardcoded +// const IS_NEW_LOGIC: u128 = 0x80000000_00000000_00000000_00000000u128; const EXPECTED_BALANCE: &str = r#" AccountInfo { nonce: 0, @@ -32,8 +34,10 @@ AccountInfo { data: AccountData { free: 1000000000000000000, reserved: 0, - misc_frozen: 0, - fee_frozen: 0, + frozen: 0, + flags: ExtraFlags( + 170141183460469231731687303715884105728, + ), }, } "#; diff --git a/gclient/src/api/calls.rs b/gclient/src/api/calls.rs index ca4bb1d4fc1..4c70f5f46d1 100644 --- a/gclient/src/api/calls.rs +++ b/gclient/src/api/calls.rs @@ -40,7 +40,7 @@ use gsdk::{ event::{CodeChangeKind, MessageEntry}, ActiveProgram, }, - pallet_balances::{pallet::Call as BalancesCall, AccountData}, + pallet_balances::{pallet::Call as BalancesCall, types::AccountData}, pallet_gear::pallet::Call as GearCall, pallet_gear_bank::pallet::BankAccount, sp_weights::weight_v2::Weight, @@ -289,8 +289,10 @@ impl GearApi { Ok(AccountData { free: 0u128, reserved: 0, - misc_frozen: 0, - fee_frozen: 0, + frozen: 0, + flags: gsdk::metadata::runtime_types::pallet_balances::types::ExtraFlags( + 170141183460469231731687303715884105728, + ), }) } else { Err(e) @@ -316,8 +318,10 @@ impl GearApi { Ok(AccountData { free: 0u128, reserved: 0, - misc_frozen: 0, - fee_frozen: 0, + frozen: 0, + flags: gsdk::metadata::runtime_types::pallet_balances::types::ExtraFlags( + 170141183460469231731687303715884105728, + ), }) } else { Err(e) @@ -378,19 +382,14 @@ impl GearApi { // Apply data to the target program dest_node_api - .set_balance( + .force_set_balance( dest_program_id.into_account_id(), src_program_account_data.free, - src_program_account_data.reserved, ) .await?; dest_node_api - .set_balance( - crate::bank_address(), - src_bank_account_data.free, - src_bank_account_data.reserved, - ) + .force_set_balance(crate::bank_address(), src_bank_account_data.free) .await?; dest_node_api @@ -421,9 +420,6 @@ impl GearApi { .await?; for account_with_reserved_funds in accounts_with_reserved_funds { - let src_account_data = self - .account_data_at(account_with_reserved_funds, src_block_hash) - .await?; let src_account_bank_data = self .bank_data_at(account_with_reserved_funds, src_block_hash) .await @@ -443,8 +439,11 @@ impl GearApi { Ok(AccountData { free: 0u128, reserved: 0, - misc_frozen: 0, - fee_frozen: 0, + frozen: 0, + flags: + gsdk::metadata::runtime_types::pallet_balances::types::ExtraFlags( + 170141183460469231731687303715884105728, + ), }) } else { Err(e) @@ -462,12 +461,9 @@ impl GearApi { })?; dest_node_api - .set_balance( + .force_set_balance( account_with_reserved_funds.into_account_id(), dest_account_data.free, - dest_account_data - .reserved - .saturating_add(src_account_data.reserved), ) .await?; @@ -569,8 +565,11 @@ impl GearApi { Ok(AccountData { free: 0u128, reserved: 0, - misc_frozen: 0, - fee_frozen: 0, + frozen: 0, + flags: + gsdk::metadata::runtime_types::pallet_balances::types::ExtraFlags( + 170141183460469231731687303715884105728, + ), }) } else { Err(e) @@ -601,10 +600,9 @@ impl GearApi { .map(|(page_number, page_data)| (page_number.raw(), page_data.encode())) .collect::>(); - self.set_balance( + self.force_set_balance( MultiAddress::Id(program_id.into_account_id()), memory_dump.balance, - memory_dump.reserved_balance, ) .await?; @@ -1311,24 +1309,21 @@ impl GearApi { self.set_code_without_checks(code).await } - /// Set the free and reserved balance of the `to` account to `new_free` and - /// `new_reserved` respectively. + /// Set the free balance of the `to` account to `new_free`. /// /// Sends the [`pallet_balances::set_balance`](https://crates.parity.io/pallet_balances/pallet/struct.Pallet.html#method.set_balance) extrinsic. - pub async fn set_balance( + pub async fn force_set_balance( &self, to: impl Into>, new_free: u128, - new_reserved: u128, ) -> Result { let events = self .0 .calls .sudo_unchecked_weight( - RuntimeCall::Balances(BalancesCall::set_balance { + RuntimeCall::Balances(BalancesCall::force_set_balance { who: to.into().convert(), new_free, - new_reserved, }), Weight { ref_time: 0, diff --git a/gclient/src/api/storage/mod.rs b/gclient/src/api/storage/mod.rs index 52efb1e3ea2..8430b8d2986 100644 --- a/gclient/src/api/storage/mod.rs +++ b/gclient/src/api/storage/mod.rs @@ -29,7 +29,7 @@ use gsdk::{ ext::sp_core::{crypto::Ss58Codec, H256}, metadata::runtime_types::{ gear_common::storage::primitives::Interval, gear_core::message::user, - pallet_balances::AccountData, pallet_gear_bank::pallet::BankAccount, + pallet_balances::types::AccountData, pallet_gear_bank::pallet::BankAccount, }, }; diff --git a/gsdk/api-gen/src/main.rs b/gsdk/api-gen/src/main.rs index 8ecb62701cb..50d485c4ce0 100644 --- a/gsdk/api-gen/src/main.rs +++ b/gsdk/api-gen/src/main.rs @@ -94,18 +94,29 @@ fn main() -> Result<()> { /// Get the metadata of vara runtime. fn metadata() -> Vec { use gear_runtime_interface as gear_ri; - use sc_executor::WasmExecutionMethod; + use sc_executor::{WasmExecutionMethod, WasmtimeInstantiationStrategy}; use sc_executor_common::runtime_blob::RuntimeBlob; // 1. Get the wasm binary of `RUNTIME_WASM`. 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::Compiled { + instantiation_strategy: WasmtimeInstantiationStrategy::PoolingCopyOnWrite, + }) + .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 diff --git a/gsdk/src/metadata/generated.rs b/gsdk/src/metadata/generated.rs index 2024928555f..a1f3c8fe518 100644 --- a/gsdk/src/metadata/generated.rs +++ b/gsdk/src/metadata/generated.rs @@ -268,7 +268,6 @@ pub mod runtime_types { #[codec(index = 0)] #[doc = "Make some on-chain remark."] #[doc = ""] - #[doc = "## Complexity"] #[doc = "- `O(1)`"] remark { remark: ::std::vec::Vec<::core::primitive::u8>, @@ -278,17 +277,11 @@ pub mod runtime_types { set_heap_pages { pages: ::core::primitive::u64 }, #[codec(index = 2)] #[doc = "Set the new runtime code."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`"] set_code { code: ::std::vec::Vec<::core::primitive::u8>, }, #[codec(index = 3)] #[doc = "Set the new runtime code without doing any checks of the given `code`."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- `O(C)` where `C` length of `code`"] set_code_without_checks { code: ::std::vec::Vec<::core::primitive::u8>, }, @@ -1193,53 +1186,33 @@ pub mod runtime_types { #[codec(index = 0)] #[doc = "Transfer some liquid free balance to another account."] #[doc = ""] - #[doc = "`transfer` will set the `FreeBalance` of the sender and receiver."] + #[doc = "`transfer_allow_death` will set the `FreeBalance` of the sender and receiver."] #[doc = "If the sender's account is below the existential deposit as a result"] #[doc = "of the transfer, the account will be reaped."] #[doc = ""] #[doc = "The dispatch origin for this call must be `Signed` by the transactor."] - #[doc = ""] - #[doc = "## Complexity"] - #[doc = "- Dependent on arguments but not critical, given proper implementations for input config"] - #[doc = " types. See related functions below."] - #[doc = "- It contains a limited number of reads and writes internally and no complex"] - #[doc = " computation."] - #[doc = ""] - #[doc = "Related functions:"] - #[doc = ""] - #[doc = " - `ensure_can_withdraw` is always called internally but has a bounded complexity."] - #[doc = " - Transferring balances to accounts that did not exist before will cause"] - #[doc = " `T::OnNewAccount::on_new_account` to be called."] - #[doc = " - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`."] - #[doc = " - `transfer_keep_alive` works the same way as `transfer`, but has an additional check"] - #[doc = " that the transfer will not kill the origin account."] - transfer { + transfer_allow_death { dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 1)] - #[doc = "Set the balances of a given account."] - #[doc = ""] - #[doc = "This will alter `FreeBalance` and `ReservedBalance` in storage. it will"] - #[doc = "also alter the total issuance of the system (`TotalIssuance`) appropriately."] - #[doc = "If the new free or reserved balance is below the existential deposit,"] - #[doc = "it will reset the account nonce (`frame_system::AccountNonce`)."] + #[doc = "Set the regular balance of a given account; it also takes a reserved balance but this"] + #[doc = "must be the same as the account's current reserved balance."] #[doc = ""] #[doc = "The dispatch origin for this call is `root`."] - set_balance { + #[doc = ""] + #[doc = "WARNING: This call is DEPRECATED! Use `force_set_balance` instead."] + set_balance_deprecated { who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] new_free: ::core::primitive::u128, #[codec(compact)] - new_reserved: ::core::primitive::u128, + old_reserved: ::core::primitive::u128, }, #[codec(index = 2)] - #[doc = "Exactly as `transfer`, except the origin must be root and the source account may be"] - #[doc = "specified."] - #[doc = "## Complexity"] - #[doc = "- Same as transfer, but additional read and write because the source account is not"] - #[doc = " assumed to be in the overlay."] + #[doc = "Exactly as `transfer_allow_death`, except the origin must be root and the source account"] + #[doc = "may be specified."] force_transfer { source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, @@ -1247,12 +1220,12 @@ pub mod runtime_types { value: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "Same as the [`transfer`] call, but with a check that the transfer will not kill the"] - #[doc = "origin account."] + #[doc = "Same as the [`transfer_allow_death`] call, but with a check that the transfer will not"] + #[doc = "kill the origin account."] #[doc = ""] - #[doc = "99% of the time you want [`transfer`] instead."] + #[doc = "99% of the time you want [`transfer_allow_death`] instead."] #[doc = ""] - #[doc = "[`transfer`]: struct.Pallet.html#method.transfer"] + #[doc = "[`transfer_allow_death`]: struct.Pallet.html#method.transfer"] transfer_keep_alive { dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] @@ -1273,8 +1246,7 @@ pub mod runtime_types { #[doc = "- `keep_alive`: A boolean to determine if the `transfer_all` operation should send all"] #[doc = " of the funds the account has, causing the sender account to be killed (false), or"] #[doc = " transfer everything except at least the existential deposit, which will guarantee to"] - #[doc = " keep the sender account alive (true). ## Complexity"] - #[doc = "- O(1). Just like transfer, but reading the user's transferable balance first."] + #[doc = " keep the sender account alive (true)."] transfer_all { dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, keep_alive: ::core::primitive::bool, @@ -1287,34 +1259,70 @@ pub mod runtime_types { who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, amount: ::core::primitive::u128, }, + #[codec(index = 6)] + #[doc = "Upgrade a specified account."] + #[doc = ""] + #[doc = "- `origin`: Must be `Signed`."] + #[doc = "- `who`: The account to be upgraded."] + #[doc = ""] + #[doc = "This will waive the transaction fee if at least all but 10% of the accounts needed to"] + #[doc = "be upgraded. (We let some not have to be upgraded just in order to allow for the"] + #[doc = "possibililty of churn)."] + upgrade_accounts { + who: ::std::vec::Vec<::subxt::utils::AccountId32>, + }, + #[codec(index = 7)] + #[doc = "Alias for `transfer_allow_death`, provided only for name-wise compatibility."] + #[doc = ""] + #[doc = "WARNING: DEPRECATED! Will be released in approximately 3 months."] + transfer { + dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + #[codec(compact)] + value: ::core::primitive::u128, + }, + #[codec(index = 8)] + #[doc = "Set the regular balance of a given account."] + #[doc = ""] + #[doc = "The dispatch origin for this call is `root`."] + force_set_balance { + who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + #[codec(compact)] + new_free: ::core::primitive::u128, + }, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "\n\t\t\tCustom [dispatch errors](https://docs.substrate.io/main-docs/build/events-errors/)\n\t\t\tof this pallet.\n\t\t\t"] pub enum Error { #[codec(index = 0)] - #[doc = "Vesting balance too high to send value"] + #[doc = "Vesting balance too high to send value."] VestingBalance, #[codec(index = 1)] - #[doc = "Account liquidity restrictions prevent withdrawal"] + #[doc = "Account liquidity restrictions prevent withdrawal."] LiquidityRestrictions, #[codec(index = 2)] #[doc = "Balance too low to send value."] InsufficientBalance, #[codec(index = 3)] - #[doc = "Value too low to create account due to existential deposit"] + #[doc = "Value too low to create account due to existential deposit."] ExistentialDeposit, #[codec(index = 4)] - #[doc = "Transfer/payment would kill account"] - KeepAlive, + #[doc = "Transfer/payment would kill account."] + Expendability, #[codec(index = 5)] - #[doc = "A vesting schedule already exists for this account"] + #[doc = "A vesting schedule already exists for this account."] ExistingVestingSchedule, #[codec(index = 6)] - #[doc = "Beneficiary account must pre-exist"] + #[doc = "Beneficiary account must pre-exist."] DeadAccount, #[codec(index = 7)] - #[doc = "Number of named reserves exceed MaxReserves"] + #[doc = "Number of named reserves exceed `MaxReserves`."] TooManyReserves, + #[codec(index = 8)] + #[doc = "Number of holds exceed `MaxHolds`."] + TooManyHolds, + #[codec(index = 9)] + #[doc = "Number of freezes exceed `MaxFreezes`."] + TooManyFreezes, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] #[doc = "\n\t\t\tThe [event](https://docs.substrate.io/main-docs/build/events-errors/) emitted\n\t\t\tby this pallet.\n\t\t\t"] @@ -1344,7 +1352,6 @@ pub mod runtime_types { BalanceSet { who: ::subxt::utils::AccountId32, free: ::core::primitive::u128, - reserved: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "Some balance was reserved (moved from free to reserved)."] @@ -1386,34 +1393,107 @@ pub mod runtime_types { who: ::subxt::utils::AccountId32, amount: ::core::primitive::u128, }, + #[codec(index = 10)] + #[doc = "Some amount was minted into an account."] + Minted { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 11)] + #[doc = "Some amount was burned from an account."] + Burned { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 12)] + #[doc = "Some amount was suspended from an account (it can be restored later)."] + Suspended { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 13)] + #[doc = "Some amount was restored into an account."] + Restored { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 14)] + #[doc = "An account was upgraded."] + Upgraded { who: ::subxt::utils::AccountId32 }, + #[codec(index = 15)] + #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] + Issued { amount: ::core::primitive::u128 }, + #[codec(index = 16)] + #[doc = "Total issuance was decreased by `amount`, creating a debt to be balanced."] + Rescinded { amount: ::core::primitive::u128 }, + #[codec(index = 17)] + #[doc = "Some balance was locked."] + Locked { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 18)] + #[doc = "Some balance was unlocked."] + Unlocked { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 19)] + #[doc = "Some balance was frozen."] + Frozen { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, + #[codec(index = 20)] + #[doc = "Some balance was thawed."] + Thawed { + who: ::subxt::utils::AccountId32, + amount: ::core::primitive::u128, + }, } } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct AccountData<_0> { - pub free: _0, - pub reserved: _0, - pub misc_frozen: _0, - pub fee_frozen: _0, - } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct BalanceLock<_0> { - pub id: [::core::primitive::u8; 8usize], - pub amount: _0, - pub reasons: runtime_types::pallet_balances::Reasons, - } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub enum Reasons { - #[codec(index = 0)] - Fee, - #[codec(index = 1)] - Misc, - #[codec(index = 2)] - All, - } - #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] - pub struct ReserveData<_0, _1> { - pub id: _0, - pub amount: _1, + pub mod types { + use super::runtime_types; + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct AccountData<_0> { + pub free: _0, + pub reserved: _0, + pub frozen: _0, + pub flags: runtime_types::pallet_balances::types::ExtraFlags, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct BalanceLock<_0> { + pub id: [::core::primitive::u8; 8usize], + pub amount: _0, + pub reasons: runtime_types::pallet_balances::types::Reasons, + } + #[derive( + ::subxt::ext::codec::CompactAs, + Debug, + crate::gp::Decode, + crate::gp::DecodeAsType, + crate::gp::Encode, + )] + pub struct ExtraFlags(pub ::core::primitive::u128); + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct IdAmount<_0, _1> { + pub id: _0, + pub amount: _1, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub enum Reasons { + #[codec(index = 0)] + Fee, + #[codec(index = 1)] + Misc, + #[codec(index = 2)] + All, + } + #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] + pub struct ReserveData<_0, _1> { + pub id: _0, + pub amount: _1, + } } } pub mod pallet_bounties { @@ -6459,8 +6539,6 @@ pub mod runtime_types { #[doc = "NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned"] #[doc = "unless the `origin` falls below _existential deposit_ and gets removed as dust."] bond { - controller: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, #[codec(compact)] value: ::core::primitive::u128, payee: runtime_types::pallet_staking::RewardDestination< @@ -6584,7 +6662,10 @@ pub mod runtime_types { >, }, #[codec(index = 8)] - #[doc = "(Re-)set the controller of a stash."] + #[doc = "(Re-)sets the controller of a stash to the stash itself. This function previously"] + #[doc = "accepted a `controller` argument to set the controller to an account other than the"] + #[doc = "stash itself. This functionality has now been removed, now only setting the controller"] + #[doc = "to the stash, if it is not already."] #[doc = ""] #[doc = "Effects will be felt instantly (as soon as this function is completed successfully)."] #[doc = ""] @@ -6595,10 +6676,7 @@ pub mod runtime_types { #[doc = "- Independent of the arguments. Insignificant complexity."] #[doc = "- Contains a limited number of reads."] #[doc = "- Writes are limited to the `origin` account key."] - set_controller { - controller: - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - }, + set_controller, #[codec(index = 9)] #[doc = "Sets the ideal number of validators."] #[doc = ""] @@ -7920,8 +7998,7 @@ pub mod runtime_types { pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, - pub vrf_output: [::core::primitive::u8; 32usize], - pub vrf_proof: [::core::primitive::u8; 64usize], + pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct SecondaryPlainPreDigest { @@ -7932,8 +8009,7 @@ pub mod runtime_types { pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, - pub vrf_output: [::core::primitive::u8; 32usize], - pub vrf_proof: [::core::primitive::u8; 64usize], + pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -8035,6 +8111,16 @@ pub mod runtime_types { } pub mod sr25519 { use super::runtime_types; + pub mod vrf { + use super::runtime_types; + #[derive( + Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode, + )] + pub struct VrfSignature { + pub output: [::core::primitive::u8; 32usize], + pub proof: [::core::primitive::u8; 64usize], + } + } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] @@ -8667,6 +8753,8 @@ pub mod runtime_types { Corruption, #[codec(index = 12)] Unavailable, + #[codec(index = 13)] + RootNotAllowed, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub struct DispatchErrorWithPostInfo<_0> { @@ -8690,9 +8778,9 @@ pub mod runtime_types { #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum TokenError { #[codec(index = 0)] - NoFunds, + FundsUnavailable, #[codec(index = 1)] - WouldDie, + OnlyProvider, #[codec(index = 2)] BelowMinimum, #[codec(index = 3)] @@ -8703,6 +8791,12 @@ pub mod runtime_types { Frozen, #[codec(index = 6)] Unsupported, + #[codec(index = 7)] + CannotCreateHold, + #[codec(index = 8)] + NotExpendable, + #[codec(index = 9)] + Blocked, } #[derive(Debug, crate::gp::Decode, crate::gp::DecodeAsType, crate::gp::Encode)] pub enum TransactionalError { @@ -9276,23 +9370,29 @@ pub mod calls { } #[doc = "Calls of pallet `Balances`."] pub enum BalancesCall { - Transfer, - SetBalance, + TransferAllowDeath, + SetBalanceDeprecated, ForceTransfer, TransferKeepAlive, TransferAll, ForceUnreserve, + UpgradeAccounts, + Transfer, + ForceSetBalance, } impl CallInfo for BalancesCall { const PALLET: &'static str = "Balances"; fn call_name(&self) -> &'static str { match self { - Self::Transfer => "transfer", - Self::SetBalance => "set_balance", + Self::TransferAllowDeath => "transfer_allow_death", + Self::SetBalanceDeprecated => "set_balance_deprecated", Self::ForceTransfer => "force_transfer", Self::TransferKeepAlive => "transfer_keep_alive", Self::TransferAll => "transfer_all", Self::ForceUnreserve => "force_unreserve", + Self::UpgradeAccounts => "upgrade_accounts", + Self::Transfer => "transfer", + Self::ForceSetBalance => "force_set_balance", } } } @@ -10069,6 +10169,8 @@ pub mod storage { Account, Locks, Reserves, + Holds, + Freezes, } impl StorageInfo for BalancesStorage { const PALLET: &'static str = "Balances"; @@ -10079,6 +10181,8 @@ pub mod storage { Self::Account => "Account", Self::Locks => "Locks", Self::Reserves => "Reserves", + Self::Holds => "Holds", + Self::Freezes => "Freezes", } } } @@ -10480,7 +10584,6 @@ pub mod storage { pub enum OffencesStorage { Reports, ConcurrentReportsIndex, - ReportsByKindIndex, } impl StorageInfo for OffencesStorage { const PALLET: &'static str = "Offences"; @@ -10488,7 +10591,6 @@ pub mod storage { match self { Self::Reports => "Reports", Self::ConcurrentReportsIndex => "ConcurrentReportsIndex", - Self::ReportsByKindIndex => "ReportsByKindIndex", } } } diff --git a/gsdk/src/metadata/impls.rs b/gsdk/src/metadata/impls.rs index 34a3a4d637f..630217a4f84 100644 --- a/gsdk/src/metadata/impls.rs +++ b/gsdk/src/metadata/impls.rs @@ -285,21 +285,16 @@ fn sudo_call_to_scale_value(call: SudoCall) -> Value { fn balances_call_to_scale_value(call: BalancesCall) -> Value { let variant = match call { - BalancesCall::set_balance { - who, - new_free, - new_reserved, - } => { + BalancesCall::force_set_balance { who, new_free } => { let id = match who { MultiAddress::Id(id) => id, _ => unreachable!("internal error: unused multi-address variant occurred"), }; Value::named_variant( - "set_balance", + "force_set_balance", [ ("who", Value::unnamed_variant("Id", [Value::from_bytes(id)])), ("new_free", Value::u128(new_free)), - ("new_reserved", Value::u128(new_reserved)), ], ) } diff --git a/gsdk/src/storage.rs b/gsdk/src/storage.rs index 5642a050db0..80150942e73 100644 --- a/gsdk/src/storage.rs +++ b/gsdk/src/storage.rs @@ -23,7 +23,7 @@ use crate::{ frame_system::{AccountInfo, EventRecord}, gear_common::{storage::primitives::Interval, ActiveProgram, Program}, gear_core::{code::InstrumentedCode, message::user::UserStoredMessage}, - pallet_balances::AccountData, + pallet_balances::types::AccountData, pallet_gear_bank::pallet::BankAccount, }, storage::{ diff --git a/gsdk/src/testing/node.rs b/gsdk/src/testing/node.rs index 6dcade77aaf..afb7ceb09a5 100644 --- a/gsdk/src/testing/node.rs +++ b/gsdk/src/testing/node.rs @@ -43,8 +43,9 @@ impl Node { let port_string = port.to_string(); let mut args = args; - args.push("--ws-port"); + args.push("--rpc-port"); args.push(&port_string); + args.push("--no-hardware-benchmarks"); let process = Command::new(path) .args(args) diff --git a/node/authorship/src/tests.rs b/node/authorship/src/tests.rs index d058f329bfa..f0757186702 100644 --- a/node/authorship/src/tests.rs +++ b/node/authorship/src/tests.rs @@ -110,11 +110,12 @@ fn checked_extrinsics(n: u32, signer: AccountId, nonce: &mut u32) -> Vec RuntimeCall { RuntimeCall::Sudo(pallet_sudo::Call::sudo { - call: Box::new(RuntimeCall::Balances(pallet_balances::Call::set_balance { - who: sp_runtime::MultiAddress::Id(AccountId::from(BANK_ADDRESS)), - new_free: 1_000_000_000_000_000, - new_reserved: 0, - })), + call: Box::new(RuntimeCall::Balances( + pallet_balances::Call::force_set_balance { + who: sp_runtime::MultiAddress::Id(AccountId::from(BANK_ADDRESS)), + new_free: 1_000_000_000_000_000, + }, + )), }) } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 4129013d255..614387809a0 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -12,7 +12,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] hex-literal.workspace = true -jsonrpsee = { workspace = true, features = ["server", "macros"] } +jsonrpsee = { workspace = true, features = ["server"] } log.workspace = true serde = { workspace = true, features = ["derive"] } @@ -38,6 +38,7 @@ sc-telemetry.workspace = true sc-network.workspace = true sc-network-common.workspace = true sc-network-sync.workspace = true +sc-network-statement.workspace = true sc-consensus-slots.workspace = true sc-transaction-pool.workspace = true sc-transaction-pool-api.workspace = true diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 53908609161..8c841f229f5 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -20,7 +20,10 @@ use frame_benchmarking_cli::SUBSTRATE_REFERENCE_HARDWARE; use sc_client_api::{Backend as BackendT, BlockBackend, UsageProvider}; -use sc_executor::{NativeElseWasmExecutor, NativeExecutionDispatch}; +use sc_executor::{ + HeapAllocStrategy, NativeElseWasmExecutor, NativeExecutionDispatch, WasmExecutor, + DEFAULT_HEAP_ALLOC_STRATEGY, +}; use sc_network::NetworkService; use sc_network_common::sync::warp::WarpSyncParams; use sc_network_sync::SyncingService; @@ -176,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() @@ -193,12 +190,21 @@ where }) .transpose()?; - let executor = NativeElseWasmExecutor::::new( - config.wasm_method, - config.default_heap_pages, - config.max_runtime_instances, - config.runtime_cache_size, - ); + let heap_pages = config + .default_heap_pages + .map_or(DEFAULT_HEAP_ALLOC_STRATEGY, |h| HeapAllocStrategy::Static { + extra_pages: h as _, + }); + + let wasm = WasmExecutor::builder() + .with_execution_method(config.wasm_method) + .with_onchain_heap_alloc_strategy(heap_pages) + .with_offchain_heap_alloc_strategy(heap_pages) + .with_max_runtime_instances(config.max_runtime_instances) + .with_runtime_cache_size(config.runtime_cache_size) + .build(); + + let executor = NativeElseWasmExecutor::::new_with_wasm_executor(wasm); let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( @@ -240,7 +246,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)), @@ -265,7 +271,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(); @@ -277,13 +283,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(); @@ -295,9 +298,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(), @@ -359,7 +361,7 @@ where /// Creates a full service from the configuration. pub fn new_full_base( - mut config: Configuration, + config: Configuration, disable_hardware_benchmarks: bool, with_startup_data: impl FnOnce( &sc_consensus_babe::BabeBlockImport< @@ -401,6 +403,8 @@ where } = new_partial(&config, rpc_calculations_multiplier, rpc_max_batch_size)?; let shared_voter_state = rpc_setup; + let mut net_config = sc_network::config::FullNetworkConfiguration::new(&config.network); + let grandpa_protocol_name = sc_consensus_grandpa::protocol_standard_name( &client .block_hash(0) @@ -409,13 +413,20 @@ where .expect("Genesis block exists; qed"), &config.chain_spec, ); + net_config.add_notification_protocol(sc_consensus_grandpa::grandpa_peers_set_config( + grandpa_protocol_name.clone(), + )); + + let statement_handler_proto = sc_network_statement::StatementHandlerPrototype::new( + client + .block_hash(0u32) + .ok() + .flatten() + .expect("Genesis block exists; qed"), + config.chain_spec.fork_id(), + ); + net_config.add_notification_protocol(statement_handler_proto.set_config()); - config - .network - .extra_sets - .push(sc_consensus_grandpa::grandpa_peers_set_config( - grandpa_protocol_name.clone(), - )); let warp_sync = Arc::new(sc_consensus_grandpa::warp_proof::NetworkProvider::new( backend.clone(), import_setup.1.shared_authority_set().clone(), @@ -425,6 +436,7 @@ where let (network, system_rpc_tx, tx_handler_controller, network_starter, sync_service) = sc_service::build_network(sc_service::BuildNetworkParams { config: &config, + net_config, client: client.clone(), transaction_pool: transaction_pool.clone(), spawn_handle: task_manager.spawn_handle(), @@ -454,7 +466,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(), @@ -500,7 +512,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, @@ -546,13 +558,13 @@ 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 + // FIXME #1578 make this available through chainspec gossip_duration: std::time::Duration::from_millis(1000), justification_period: 512, name: Some(name), diff --git a/node/service/src/rpc/mod.rs b/node/service/src/rpc/mod.rs index fa8d07172d0..f873c0c5a7e 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::{backend::StateBackend, AuxStore, Backend, BlockBackend, StorageProvider}; +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 @@ -117,8 +114,8 @@ where C::Api: BlockBuilder, P: TransactionPool + 'static, SC: SelectChain + 'static, - B: sc_client_api::Backend + Send + Sync + 'static, - B::State: sc_client_api::backend::StateBackend>, + B: Backend + Send + Sync + 'static, + B::State: StateBackend>, { use pallet_gear_rpc::{Gear, GearApiServer}; use pallet_gear_staking_rewards_rpc::{GearStakingRewards, GearStakingRewardsApiServer}; @@ -146,8 +143,7 @@ where let BabeDeps { keystore, - babe_config, - shared_epoch_changes, + babe_worker_handle, } = babe; let GrandpaDeps { shared_voter_state, @@ -176,9 +172,8 @@ where io.merge( Babe::new( client.clone(), - shared_epoch_changes.clone(), + babe_worker_handle.clone(), keystore, - babe_config, select_chain, deny_unsafe, ) @@ -200,7 +195,7 @@ where chain_spec, client.clone(), shared_authority_set, - shared_epoch_changes, + babe_worker_handle, )? .into_rpc(), )?; diff --git a/pallets/gear-program/src/migrations.rs b/pallets/gear-program/src/migrations.rs index f24db6df7fd..dc5dfec2ab4 100644 --- a/pallets/gear-program/src/migrations.rs +++ b/pallets/gear-program/src/migrations.rs @@ -29,6 +29,7 @@ use sp_std::marker::PhantomData; #[cfg(feature = "try-runtime")] use { frame_support::codec::{Decode, Encode}, + sp_runtime::TryRuntimeError, sp_std::vec::Vec, }; @@ -38,7 +39,7 @@ pub struct MigrateToV3(PhantomData); impl OnRuntimeUpgrade for MigrateToV3 { #[cfg(feature = "try-runtime")] - fn pre_upgrade() -> Result, &'static str> { + fn pre_upgrade() -> Result, TryRuntimeError> { assert!(v2::SessionMemoryPages::::iter().next().is_none()); assert!(ResumeSessions::::iter().next().is_none()); assert!(PausedProgramStorage::::iter().next().is_none()); @@ -127,7 +128,7 @@ impl OnRuntimeUpgrade for MigrateToV3 { } #[cfg(feature = "try-runtime")] - fn post_upgrade(state: Vec) -> Result<(), &'static str> { + fn post_upgrade(state: Vec) -> Result<(), TryRuntimeError> { // Check that everything decoded fine. let count = ProgramStorage::::iter_keys().fold(0u64, |i, k| { let Ok(program) = ProgramStorage::::try_get(k) else { diff --git a/pallets/gear/src/manager/mod.rs b/pallets/gear/src/manager/mod.rs index 4973d70a7f6..477960fd595 100644 --- a/pallets/gear/src/manager/mod.rs +++ b/pallets/gear/src/manager/mod.rs @@ -78,6 +78,7 @@ use gear_core::{ reservation::GasReservationSlot, }; use primitive_types::H256; +use scale_info::TypeInfo; use sp_runtime::traits::{UniqueSaturatedInto, Zero}; use sp_std::{ collections::{btree_map::BTreeMap, btree_set::BTreeSet}, @@ -86,7 +87,7 @@ use sp_std::{ prelude::*, }; -#[derive(Clone, Decode, Encode)] +#[derive(Clone, Decode, Encode, TypeInfo)] pub enum HandleKind { Init(Vec), InitByHash(CodeId), diff --git a/pallets/gear/src/tests.rs b/pallets/gear/src/tests.rs index 5d0e7578a87..d16d7e827c6 100644 --- a/pallets/gear/src/tests.rs +++ b/pallets/gear/src/tests.rs @@ -7035,7 +7035,7 @@ fn resume_program_works() { )); // if user doesn't have enough funds the extrinsic should fail - let to_reserve = Balances::free_balance(USER_3); + let to_reserve = Balances::free_balance(USER_3) - Balances::minimum_balance(); CurrencyOf::::reserve(&USER_3, to_reserve).unwrap(); assert_err!( diff --git a/pallets/staking-rewards/src/lib.rs b/pallets/staking-rewards/src/lib.rs index 0a20fbd2611..a3c5d6fa88b 100644 --- a/pallets/staking-rewards/src/lib.rs +++ b/pallets/staking-rewards/src/lib.rs @@ -53,7 +53,8 @@ mod tests; use frame_support::{ traits::{ - Contains, Currency, ExistenceRequirement, Get, Imbalance, OnUnbalanced, WithdrawReasons, + fungible, Contains, Currency, ExistenceRequirement, Get, Imbalance, OnUnbalanced, + WithdrawReasons, }, weights::Weight, PalletId, @@ -65,7 +66,7 @@ use sp_runtime::{ traits::{AccountIdConversion, Saturating, StaticLookup}, PerThing, Perquintill, }; -use sp_std::collections::btree_set::BTreeSet; +use sp_std::{collections::btree_set::BTreeSet, vec::Vec}; pub use extension::StakingBlackList; pub use inflation::compute_total_payout; @@ -73,6 +74,7 @@ pub use pallet::*; pub use weights::WeightInfo; pub type BalanceOf = ::CurrencyBalance; +pub type StakingCurrency = ::Currency; pub type PositiveImbalanceOf = <::Currency as Currency< ::AccountId, >>::PositiveImbalance; @@ -467,6 +469,36 @@ impl OnUnbalanced> for OffsetPool { } } +// DustRemoval handler +pub struct OffsetPoolDust(sp_std::marker::PhantomData); +impl OnUnbalanced>> + for OffsetPoolDust +where + StakingCurrency: fungible::Balanced<::AccountId>, + ::CurrencyBalance: From< + as fungible::Inspect<::AccountId>>::Balance, + >, +{ + fn on_nonzero_unbalanced(amount: fungible::Credit>) + where + StakingCurrency: fungible::Balanced<::AccountId> + + fungible::Inspect<::AccountId>, + { + let numeric_amount = amount.peek(); + + let result = as fungible::Balanced<_>>::resolve( + &Pallet::::account_id(), + amount, + ); + match result { + Ok(()) => Pallet::deposit_event(Event::::Minted { + amount: numeric_amount.into(), + }), + Err(amount) => log::error!("Balanced::resolve() err: {:?}", amount.peek()), + } + } +} + /// A type to be plugged into the Staking pallet as the `RewardRemainder` associated type. /// /// A wrapper around the final `RewardRemainder` destination that burns from the inflation offset diff --git a/pallets/staking-rewards/src/mock.rs b/pallets/staking-rewards/src/mock.rs index 7568b19e9ff..1728ed873be 100644 --- a/pallets/staking-rewards/src/mock.rs +++ b/pallets/staking-rewards/src/mock.rs @@ -22,10 +22,7 @@ use frame_election_provider_support::{ }; use frame_support::{ construct_runtime, parameter_types, - traits::{ - ConstU32, Contains, Currency, FindAuthor, GenesisBuild, NeverEnsureOrigin, OnFinalize, - OnInitialize, U128CurrencyToVote, - }, + traits::{ConstU32, Contains, Currency, FindAuthor, GenesisBuild, Hooks, NeverEnsureOrigin}, weights::{constants::RocksDbWeight, Weight}, PalletId, }; @@ -60,16 +57,12 @@ pub(crate) type Executive = frame_executive::Executive< pub(crate) const SIGNER: AccountId = 1; pub(crate) const VAL_1_STASH: AccountId = 10; pub(crate) const BLOCK_AUTHOR: AccountId = VAL_1_STASH; -pub(crate) const VAL_1_CONTROLLER: AccountId = 11; pub(crate) const VAL_1_AUTH_ID: UintAuthorityId = UintAuthorityId(12); pub(crate) const VAL_2_STASH: AccountId = 20; -pub(crate) const VAL_2_CONTROLLER: AccountId = 21; pub(crate) const VAL_2_AUTH_ID: UintAuthorityId = UintAuthorityId(22); pub(crate) const VAL_3_STASH: AccountId = 30; -pub(crate) const VAL_3_CONTROLLER: AccountId = 31; pub(crate) const VAL_3_AUTH_ID: UintAuthorityId = UintAuthorityId(32); pub(crate) const NOM_1_STASH: AccountId = 40; -pub(crate) const NOM_1_CONTROLLER: AccountId = 41; pub(crate) const ROOT: AccountId = 101; pub(crate) const INITIAL_TOTAL_TOKEN_SUPPLY: u128 = 1_000_000 * UNITS; @@ -89,19 +82,19 @@ construct_runtime!( NodeBlock = Block, UncheckedExtrinsic = UncheckedExtrinsic, { - System: system::{Pallet, Call, Config, Storage, Event}, - Balances: pallet_balances::{Pallet, Call, Storage, Config, Event}, - Authorship: pallet_authorship::{Pallet, Storage}, - Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent}, - StakingRewards: pallet_gear_staking_rewards::{Pallet, Call, Storage, Config, Event}, - Staking: pallet_staking::{Pallet, Call, Storage, Config, Event}, - Session: pallet_session::{Pallet, Call, Storage, Config, Event}, - Historical: pallet_session_historical::{Pallet, Storage}, - Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event}, - BagsList: pallet_bags_list::::{Pallet, Event}, - Sudo: pallet_sudo::{Pallet, Call, Storage, Config, Event}, - Utility: pallet_utility::{Pallet, Call, Event}, - ElectionProviderMultiPhase: multi_phase::{Pallet, Call, Event}, + System: system, + Timestamp: pallet_timestamp, + Authorship: pallet_authorship, + Balances: pallet_balances, + Staking: pallet_staking, + Session: pallet_session, + Historical: pallet_session_historical, + Treasury: pallet_treasury, + BagsList: pallet_bags_list::, + Sudo: pallet_sudo, + Utility: pallet_utility, + ElectionProviderMultiPhase: multi_phase, + StakingRewards: pallet_gear_staking_rewards, } ); @@ -118,6 +111,7 @@ parameter_types! { impl pallet_sudo::Config for Test { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; + type WeightInfo = (); } impl pallet_utility::Config for Test { @@ -270,8 +264,8 @@ impl pallet_staking::Config for Test { type MaxNominations = MaxNominations; type Currency = Balances; type UnixTime = Timestamp; - type CurrencyBalance = u128; - type CurrencyToVote = U128CurrencyToVote; + type CurrencyBalance = ::Balance; + type CurrencyToVote = frame_support::traits::SaturatingCurrencyToVote; type ElectionProvider = onchain::OnChainExecution; type GenesisElectionProvider = onchain::OnChainExecution; type RewardRemainder = (); @@ -667,6 +661,7 @@ pub fn run_to_signed() { pub(crate) fn on_initialize(new_block_number: BlockNumberFor) { Timestamp::set_timestamp(new_block_number.saturating_mul(MILLISECS_PER_BLOCK)); Authorship::on_initialize(new_block_number); + Staking::on_initialize(new_block_number); Session::on_initialize(new_block_number); ElectionProviderMultiPhase::on_initialize(new_block_number); } @@ -680,9 +675,9 @@ pub(crate) fn on_finalize(current_blk: BlockNumberFor) { pub fn default_test_ext() -> sp_io::TestExternalities { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) diff --git a/pallets/staking-rewards/src/tests.rs b/pallets/staking-rewards/src/tests.rs index 38e7ed939b1..200d025432c 100644 --- a/pallets/staking-rewards/src/tests.rs +++ b/pallets/staking-rewards/src/tests.rs @@ -49,9 +49,9 @@ fn supply_alignment_works() { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -97,11 +97,10 @@ fn supply_alignment_works() { // Burning N tokens. let n = Balances::minimum_balance() * 5; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), SIGNER, Balances::free_balance(SIGNER) - n, - Balances::reserved_balance(SIGNER), )); assert_issuance(INITIAL_TOTAL_TOKEN_SUPPLY - n); @@ -120,11 +119,10 @@ fn supply_alignment_works() { // Minting M tokens. let m = Balances::minimum_balance() * 12; - assert_ok!(Balances::set_balance( + assert_ok!(Balances::force_set_balance( RuntimeOrigin::root(), SIGNER, Balances::free_balance(SIGNER) + m, - Balances::reserved_balance(SIGNER), )); assert_issuance(INITIAL_TOTAL_TOKEN_SUPPLY + m); @@ -147,9 +145,9 @@ fn genesis_config_works() { init_logger(); ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -179,9 +177,9 @@ fn pool_refill_works() { fn burning_works() { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -204,9 +202,9 @@ fn burning_works() { fn rewards_account_doesnt_get_deleted() { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -227,9 +225,9 @@ fn validators_rewards_disbursement_works() { let mut ext = ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -419,7 +417,7 @@ fn nominators_rewards_disbursement_works() { + initial_treasury_balance + signer_balance + initial_rewards_pool_balance - + 2 * ENDOWMENT // NOM_1_STASH and NOM_1_CONTROLLER + + ENDOWMENT // NOM_1_STASH + EXISTENTIAL_DEPOSIT // added to the rewards pool to ensure pool existence ); assert_eq!(initial_rewards_pool_balance, pool_balance); @@ -447,7 +445,6 @@ fn nominators_rewards_disbursement_works() { // Sending bonding transaction assert_ok!(Staking::bond( RuntimeOrigin::signed(NOM_1_STASH), - NOM_1_CONTROLLER, VALIDATOR_STAKE * 5, pallet_staking::RewardDestination::Stash )); @@ -455,7 +452,7 @@ fn nominators_rewards_disbursement_works() { run_to_block(30); assert_ok!(Staking::nominate( - RuntimeOrigin::signed(NOM_1_CONTROLLER), + RuntimeOrigin::signed(NOM_1_STASH), vec![VAL_1_STASH], // nominating "the best" validator )); let initial_nominators_balance = nominators_total_balance(); @@ -610,7 +607,6 @@ fn staking_blacklist_works() { let invalid_call = TestXt::::new( RuntimeCall::Staking(pallet_staking::Call::bond { - controller: NOM_1_CONTROLLER, value: 10_000_u128, payee: pallet_staking::RewardDestination::Stash, }), @@ -621,7 +617,6 @@ fn staking_blacklist_works() { let invalid_batch = TestXt::::new( RuntimeCall::Utility(pallet_utility::Call::batch { calls: vec![RuntimeCall::Staking(pallet_staking::Call::bond { - controller: NOM_1_CONTROLLER, value: 10_000_u128, payee: pallet_staking::RewardDestination::Stash, })], @@ -632,7 +627,6 @@ fn staking_blacklist_works() { let invalid_batch_all = TestXt::::new( RuntimeCall::Utility(pallet_utility::Call::batch_all { calls: vec![RuntimeCall::Staking(pallet_staking::Call::bond { - controller: NOM_1_CONTROLLER, value: 10_000_u128, payee: pallet_staking::RewardDestination::Stash, })], @@ -647,7 +641,6 @@ fn staking_blacklist_works() { calls: vec![RuntimeCall::Utility(pallet_utility::Call::as_derivative { index: 0, call: Box::new(RuntimeCall::Staking(pallet_staking::Call::bond { - controller: NOM_1_CONTROLLER, value: 10_000_u128, payee: pallet_staking::RewardDestination::Stash, })), @@ -659,7 +652,7 @@ fn staking_blacklist_works() { let valid_call = TestXt::::new( RuntimeCall::Balances(pallet_balances::Call::transfer { - dest: NOM_1_CONTROLLER, + dest: NOM_1_STASH, value: 10_000_u128, }), Some((NOM_1_STASH, extra.clone())), @@ -667,7 +660,6 @@ fn staking_blacklist_works() { let valid_signer = TestXt::::new( RuntimeCall::Staking(pallet_staking::Call::bond { - controller: NOM_1_CONTROLLER, value: 10_000_u128, payee: pallet_staking::RewardDestination::Stash, }), @@ -676,13 +668,13 @@ fn staking_blacklist_works() { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) - .endowed_accounts(vec![SIGNER, NOM_1_STASH, NOM_1_CONTROLLER]) + .endowed_accounts(vec![SIGNER, NOM_1_STASH]) .filtered_accounts(vec![NOM_1_STASH]) .build() .execute_with(|| { @@ -764,7 +756,7 @@ fn inflation_at_ideal_staked_adds_up() { + initial_treasury_balance + signer_balance + initial_rewards_pool_balance - + 2 * ENDOWMENT // NOM_1_STASH and NOM_1_CONTROLLER + + ENDOWMENT // NOM_1_STASH + EXISTENTIAL_DEPOSIT // added to the rewards pool to ensure pool existence ); assert_eq!(initial_rewards_pool_balance, pool_balance); @@ -793,7 +785,6 @@ fn inflation_at_ideal_staked_adds_up() { // Sending bonding transaction assert_ok!(Staking::bond( RuntimeOrigin::signed(NOM_1_STASH), - NOM_1_CONTROLLER, nominator_stake, pallet_staking::RewardDestination::Stash )); @@ -801,7 +792,7 @@ fn inflation_at_ideal_staked_adds_up() { run_to_block(30); assert_ok!(Staking::nominate( - RuntimeOrigin::signed(NOM_1_CONTROLLER), + RuntimeOrigin::signed(NOM_1_STASH), vec![VAL_1_STASH], // nominating "the best" validator )); let initial_nominators_balance = nominators_total_balance(); @@ -899,7 +890,7 @@ fn inflation_when_nobody_stakes_adds_up() { + initial_treasury_balance + signer_balance + initial_rewards_pool_balance - + 2 * ENDOWMENT // NOM_1_STASH and NOM_1_CONTROLLER + + ENDOWMENT // NOM_1_STASH + EXISTENTIAL_DEPOSIT // added to the rewards pool to ensure pool existence ); assert_eq!(initial_rewards_pool_balance, pool_balance); @@ -931,7 +922,6 @@ fn inflation_when_nobody_stakes_adds_up() { // Sending bonding transaction assert_ok!(Staking::bond( RuntimeOrigin::signed(NOM_1_STASH), - NOM_1_CONTROLLER, nominator_stake, pallet_staking::RewardDestination::Stash )); @@ -939,7 +929,7 @@ fn inflation_when_nobody_stakes_adds_up() { run_to_block(30); assert_ok!(Staking::nominate( - RuntimeOrigin::signed(NOM_1_CONTROLLER), + RuntimeOrigin::signed(NOM_1_STASH), vec![VAL_1_STASH], // nominating "the best" validator )); let initial_nominators_balance = nominators_total_balance(); @@ -1044,7 +1034,7 @@ fn inflation_with_too_many_stakers_adds_up() { + initial_treasury_balance + signer_balance + initial_rewards_pool_balance - + 2 * ENDOWMENT // NOM_1_STASH and NOM_1_CONTROLLER + + ENDOWMENT // NOM_1_STASH + EXISTENTIAL_DEPOSIT // added to the rewards pool to ensure pool existence ); assert_eq!(initial_rewards_pool_balance, pool_balance); @@ -1076,7 +1066,6 @@ fn inflation_with_too_many_stakers_adds_up() { // Sending bonding transaction assert_ok!(Staking::bond( RuntimeOrigin::signed(NOM_1_STASH), - NOM_1_CONTROLLER, nominator_stake, pallet_staking::RewardDestination::Stash )); @@ -1084,7 +1073,7 @@ fn inflation_with_too_many_stakers_adds_up() { run_to_block(30); assert_ok!(Staking::nominate( - RuntimeOrigin::signed(NOM_1_CONTROLLER), + RuntimeOrigin::signed(NOM_1_STASH), vec![VAL_1_STASH], // nominating "the best" validator )); let initial_nominators_balance = nominators_total_balance(); @@ -1191,10 +1180,9 @@ fn unclaimed_rewards_burn() { run_to_block(20); - // Sending bonding transaction + // Sending bonding transaction from SIGNER to make 4 npos voters assert_ok!(Staking::bond( - RuntimeOrigin::signed(NOM_1_STASH), - NOM_1_CONTROLLER, + RuntimeOrigin::signed(SIGNER), nominator_stake, pallet_staking::RewardDestination::Stash )); @@ -1202,7 +1190,7 @@ fn unclaimed_rewards_burn() { run_to_block(30); assert_ok!(Staking::nominate( - RuntimeOrigin::signed(NOM_1_CONTROLLER), + RuntimeOrigin::signed(SIGNER), vec![VAL_1_STASH], // nominating "the best" validator )); @@ -1343,9 +1331,9 @@ fn election_solution_rewards_add_up() { let accounts = (0_u64..5).map(|i| 100 + i).collect::>(); let mut ext = ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) @@ -1465,13 +1453,13 @@ fn with_parameters( ) -> sp_io::TestExternalities { ExtBuilder::default() .initial_authorities(vec![ - (VAL_1_STASH, VAL_1_CONTROLLER, VAL_1_AUTH_ID), - (VAL_2_STASH, VAL_2_CONTROLLER, VAL_2_AUTH_ID), - (VAL_3_STASH, VAL_3_CONTROLLER, VAL_3_AUTH_ID), + (VAL_1_STASH, VAL_1_STASH, VAL_1_AUTH_ID), + (VAL_2_STASH, VAL_2_STASH, VAL_2_AUTH_ID), + (VAL_3_STASH, VAL_3_STASH, VAL_3_AUTH_ID), ]) .stash(VALIDATOR_STAKE) .endowment(ENDOWMENT) - .endowed_accounts(vec![SIGNER, NOM_1_STASH, NOM_1_CONTROLLER]) + .endowed_accounts(vec![SIGNER, NOM_1_STASH]) .total_supply(INITIAL_TOTAL_TOKEN_SUPPLY) .non_stakeable(non_stakeable) .pool_balance(pool_balance) diff --git a/runtime/common/src/apis.rs b/runtime/common/src/apis.rs index 32292bbea35..e9c536b467b 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/vara/src/integration_tests.rs b/runtime/vara/src/integration_tests.rs index d99c8755c49..e6ce452b1de 100644 --- a/runtime/vara/src/integration_tests.rs +++ b/runtime/vara/src/integration_tests.rs @@ -319,8 +319,8 @@ fn tokens_locking_works() { let acc_data = System::account(dave.to_account_id()).data; // Free balance of vested accounts is still 100_000 TOKENS assert_eq!(acc_data.free, 100_000 * UNITS); - // Locked balance is 90 TOKENS - assert_eq!(acc_data.misc_frozen, 90_000 * UNITS); + // Locked balance is 90_000 TOKENS + assert_eq!(acc_data.frozen, 90_000 * 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/runtime/vara/src/lib.rs b/runtime/vara/src/lib.rs index 784f3a7b435..5b06a82defd 100644 --- a/runtime/vara/src/lib.rs +++ b/runtime/vara/src/lib.rs @@ -335,16 +335,27 @@ 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]; type Balance = Balance; type RuntimeEvent = RuntimeEvent; - type DustRemoval = pallet_gear_staking_rewards::OffsetPool; + type DustRemoval = pallet_gear_staking_rewards::OffsetPoolDust; type ExistentialDeposit = ConstU128; type AccountStore = System; type WeightInfo = weights::pallet_balances::SubstrateWeight; + type FreezeIdentifier = (); + type MaxFreezes = (); + type HoldIdentifier = (); + type MaxHolds = ConstU32<2>; } parameter_types! { @@ -809,6 +820,7 @@ impl pallet_identity::Config for Runtime { impl pallet_sudo::Config for Runtime { type RuntimeEvent = RuntimeEvent; type RuntimeCall = RuntimeCall; + type WeightInfo = (); } impl pallet_utility::Config for Runtime { diff --git a/runtime/vara/src/migrations.rs b/runtime/vara/src/migrations.rs index 73efbb2158b..7e6680af352 100644 --- a/runtime/vara/src/migrations.rs +++ b/runtime/vara/src/migrations.rs @@ -16,7 +16,81 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . -#[allow(unused)] +use core::marker::PhantomData; + use crate::*; +use frame_support::{ + pallet_prelude::StorageVersion, + traits::{GetStorageVersion, OnRuntimeUpgrade}, +}; +use sp_runtime::traits::Get; + +pub struct NominationPoolsMigrationV4OldPallet; +impl Get for NominationPoolsMigrationV4OldPallet { + fn get() -> Perbill { + Perbill::from_percent(10) + } +} + +pub struct UpdatePalletsVersions(PhantomData); + +impl< + T: pallet_multisig::Config + + pallet_nomination_pools::Config + + pallet_bounties::Config + + pallet_election_provider_multi_phase::Config, + > OnRuntimeUpgrade for UpdatePalletsVersions +{ + fn on_runtime_upgrade() -> Weight { + // pallet_multisig + let onchain = pallet_multisig::Pallet::::on_chain_storage_version(); + if onchain == 0 { + log::info!("pallet_multisig onchain: {:?}", onchain); + StorageVersion::new(1).put::>(); + } + + let onchain = pallet_multisig::Pallet::::on_chain_storage_version(); + log::info!("pallet_multisig onchain: {:?}", onchain); + + // pallet_nomination_pools + let onchain = pallet_nomination_pools::Pallet::::on_chain_storage_version(); + if onchain == 0 { + log::info!("pallet_nomination_pools onchain: {:?}", onchain); + StorageVersion::new(5).put::>(); + } + + let onchain = pallet_nomination_pools::Pallet::::on_chain_storage_version(); + log::info!("pallet_nomination_pools onchain: {:?}", onchain); + + // pallet_election_provider_multi_phase + let onchain = pallet_election_provider_multi_phase::Pallet::::on_chain_storage_version(); + if onchain == 0 { + log::info!( + "pallet_election_provider_multi_phase onchain: {:?}", + onchain + ); + StorageVersion::new(1).put::>(); + } + + let onchain = pallet_election_provider_multi_phase::Pallet::::on_chain_storage_version(); + log::info!( + "pallet_election_provider_multi_phase onchain: {:?}", + onchain + ); + + // pallet_bounties + StorageVersion::new(4).put::>(); + + Weight::zero() + } +} -pub type Migrations = (pallet_gear_program::migrations::MigrateToV3,); +/// All migrations that will run on the next runtime upgrade. +/// +/// Should be cleared after every release. +pub type Migrations = ( + // unreleased + UpdatePalletsVersions, + pallet_offences::migration::v1::MigrateToV1, + pallet_gear_program::migrations::MigrateToV3, +); diff --git a/runtime/vara/src/weights/frame_system.rs b/runtime/vara/src/weights/frame_system.rs index 93bd1258679..40cc203e3de 100644 --- a/runtime/vara/src/weights/frame_system.rs +++ b/runtime/vara/src/weights/frame_system.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for frame_system //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("vara-dev"), DB CACHE: 1024 @@ -40,6 +40,7 @@ pub trait WeightInfo { fn remark(b: u32, ) -> Weight; fn remark_with_event(b: u32, ) -> Weight; fn set_heap_pages() -> Weight; + fn set_code() -> Weight; fn set_storage(i: u32, ) -> Weight; fn kill_storage(i: u32, ) -> Weight; fn kill_prefix(p: u32, ) -> Weight; @@ -53,27 +54,36 @@ impl frame_system::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_710_000 picoseconds. - Weight::from_parts(1_289_458, 0) + // Minimum execution time: 1_618_000 picoseconds. + Weight::from_parts(1_470_346, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(460, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(375, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 1310720]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_172_000 picoseconds. - Weight::from_parts(6_411_000, 0) + // Minimum execution time: 5_960_000 picoseconds. + Weight::from_parts(6_239_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_344, 0).saturating_mul(b.into())) } fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_106_000 picoseconds. - Weight::from_parts(3_311_000, 1485) + // Minimum execution time: 3_267_000 picoseconds. + Weight::from_parts(3_438_000, 1485) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 74_574_803_000 picoseconds. + Weight::from_parts(75_585_056_000, 1485) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -82,10 +92,10 @@ impl frame_system::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_644_000 picoseconds. - Weight::from_parts(1_692_000, 0) - // Standard Error: 911 - .saturating_add(Weight::from_parts(709_529, 0).saturating_mul(i.into())) + // Minimum execution time: 1_523_000 picoseconds. + Weight::from_parts(1_610_000, 0) + // Standard Error: 888 + .saturating_add(Weight::from_parts(680_918, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// The range of component `i` is `[0, 1000]`. @@ -93,10 +103,10 @@ impl frame_system::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_682_000 picoseconds. - Weight::from_parts(1_767_000, 0) - // Standard Error: 672 - .saturating_add(Weight::from_parts(533_196, 0).saturating_mul(i.into())) + // Minimum execution time: 1_507_000 picoseconds. + Weight::from_parts(1_578_000, 0) + // Standard Error: 740 + .saturating_add(Weight::from_parts(516_345, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// The range of component `p` is `[0, 1000]`. @@ -104,10 +114,10 @@ impl frame_system::WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `82 + p * (69 ±0)` // Estimated: `89 + p * (70 ±0)` - // Minimum execution time: 3_377_000 picoseconds. - Weight::from_parts(3_492_000, 89) - // Standard Error: 1_153 - .saturating_add(Weight::from_parts(1_093_297, 0).saturating_mul(p.into())) + // Minimum execution time: 3_376_000 picoseconds. + Weight::from_parts(3_502_000, 89) + // Standard Error: 1_419 + .saturating_add(Weight::from_parts(1_095_443, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) @@ -121,27 +131,36 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_710_000 picoseconds. - Weight::from_parts(1_289_458, 0) + // Minimum execution time: 1_618_000 picoseconds. + Weight::from_parts(1_470_346, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(460, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(375, 0).saturating_mul(b.into())) } /// The range of component `b` is `[0, 1310720]`. fn remark_with_event(b: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_172_000 picoseconds. - Weight::from_parts(6_411_000, 0) + // Minimum execution time: 5_960_000 picoseconds. + Weight::from_parts(6_239_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(b.into())) + .saturating_add(Weight::from_parts(1_344, 0).saturating_mul(b.into())) } fn set_heap_pages() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `1485` - // Minimum execution time: 3_106_000 picoseconds. - Weight::from_parts(3_311_000, 1485) + // Minimum execution time: 3_267_000 picoseconds. + Weight::from_parts(3_438_000, 1485) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + } + fn set_code() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `1485` + // Minimum execution time: 74_574_803_000 picoseconds. + Weight::from_parts(75_585_056_000, 1485) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -150,10 +169,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_644_000 picoseconds. - Weight::from_parts(1_692_000, 0) - // Standard Error: 911 - .saturating_add(Weight::from_parts(709_529, 0).saturating_mul(i.into())) + // Minimum execution time: 1_523_000 picoseconds. + Weight::from_parts(1_610_000, 0) + // Standard Error: 888 + .saturating_add(Weight::from_parts(680_918, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// The range of component `i` is `[0, 1000]`. @@ -161,10 +180,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_682_000 picoseconds. - Weight::from_parts(1_767_000, 0) - // Standard Error: 672 - .saturating_add(Weight::from_parts(533_196, 0).saturating_mul(i.into())) + // Minimum execution time: 1_507_000 picoseconds. + Weight::from_parts(1_578_000, 0) + // Standard Error: 740 + .saturating_add(Weight::from_parts(516_345, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(i.into()))) } /// The range of component `p` is `[0, 1000]`. @@ -172,10 +191,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `82 + p * (69 ±0)` // Estimated: `89 + p * (70 ±0)` - // Minimum execution time: 3_377_000 picoseconds. - Weight::from_parts(3_492_000, 89) - // Standard Error: 1_153 - .saturating_add(Weight::from_parts(1_093_297, 0).saturating_mul(p.into())) + // Minimum execution time: 3_376_000 picoseconds. + Weight::from_parts(3_502_000, 89) + // Standard Error: 1_419 + .saturating_add(Weight::from_parts(1_095_443, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(p.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(p.into()))) .saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into())) diff --git a/runtime/vara/src/weights/pallet_balances.rs b/runtime/vara/src/weights/pallet_balances.rs index 5fdb0394795..e82a674daf1 100644 --- a/runtime/vara/src/weights/pallet_balances.rs +++ b/runtime/vara/src/weights/pallet_balances.rs @@ -19,7 +19,7 @@ //! Autogenerated weights for pallet_balances //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-10-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-10-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("vara-dev"), DB CACHE: 1024 @@ -37,24 +37,25 @@ use sp_std::marker::PhantomData; /// Weight functions needed for pallet_balances. pub trait WeightInfo { - fn transfer() -> Weight; + fn transfer_allow_death() -> Weight; fn transfer_keep_alive() -> Weight; - fn set_balance_creating() -> Weight; - fn set_balance_killing() -> Weight; + fn force_set_balance_creating() -> Weight; + fn force_set_balance_killing() -> Weight; fn force_transfer() -> Weight; fn transfer_all() -> Weight; fn force_unreserve() -> Weight; + fn upgrade_accounts(u: u32, ) -> Weight; } /// Weights for pallet_balances using the Gear node and recommended hardware. pub struct SubstrateWeight(PhantomData); impl pallet_balances::WeightInfo for SubstrateWeight { - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 41_686_000 picoseconds. - Weight::from_parts(42_906_000, 6196) + // Minimum execution time: 66_461_000 picoseconds. + Weight::from_parts(67_792_000, 6196) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -62,26 +63,26 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 22_118_000 picoseconds. - Weight::from_parts(23_031_000, 3593) + // Minimum execution time: 37_887_000 picoseconds. + Weight::from_parts(38_258_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 12_641_000 picoseconds. - Weight::from_parts(13_030_000, 3593) + // Minimum execution time: 13_306_000 picoseconds. + Weight::from_parts(13_587_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 15_587_000 picoseconds. - Weight::from_parts(16_204_000, 3593) + // Minimum execution time: 19_912_000 picoseconds. + Weight::from_parts(20_430_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -89,8 +90,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `206` // Estimated: `8799` - // Minimum execution time: 43_554_000 picoseconds. - Weight::from_parts(44_259_000, 8799) + // Minimum execution time: 67_919_000 picoseconds. + Weight::from_parts(68_358_000, 8799) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -98,8 +99,8 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 29_622_000 picoseconds. - Weight::from_parts(30_249_000, 3593) + // Minimum execution time: 48_202_000 picoseconds. + Weight::from_parts(48_914_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -107,21 +108,34 @@ impl pallet_balances::WeightInfo for SubstrateWeight // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 12_304_000 picoseconds. - Weight::from_parts(12_677_000, 3593) + // Minimum execution time: 15_941_000 picoseconds. + Weight::from_parts(16_301_000, 3593) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (136 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 15_727_000 picoseconds. + Weight::from_parts(15_960_000, 990) + // Standard Error: 10_731 + .saturating_add(Weight::from_parts(14_067_370, 0).saturating_mul(u.into())) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) + } } // For backwards compatibility and tests impl WeightInfo for () { - fn transfer() -> Weight { + fn transfer_allow_death() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `6196` - // Minimum execution time: 41_686_000 picoseconds. - Weight::from_parts(42_906_000, 6196) + // Minimum execution time: 66_461_000 picoseconds. + Weight::from_parts(67_792_000, 6196) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -129,26 +143,26 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 22_118_000 picoseconds. - Weight::from_parts(23_031_000, 3593) + // Minimum execution time: 37_887_000 picoseconds. + Weight::from_parts(38_258_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - fn set_balance_creating() -> Weight { + fn force_set_balance_creating() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 12_641_000 picoseconds. - Weight::from_parts(13_030_000, 3593) + // Minimum execution time: 13_306_000 picoseconds. + Weight::from_parts(13_587_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - fn set_balance_killing() -> Weight { + fn force_set_balance_killing() -> Weight { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 15_587_000 picoseconds. - Weight::from_parts(16_204_000, 3593) + // Minimum execution time: 19_912_000 picoseconds. + Weight::from_parts(20_430_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -156,8 +170,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `206` // Estimated: `8799` - // Minimum execution time: 43_554_000 picoseconds. - Weight::from_parts(44_259_000, 8799) + // Minimum execution time: 67_919_000 picoseconds. + Weight::from_parts(68_358_000, 8799) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -165,8 +179,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `3593` - // Minimum execution time: 29_622_000 picoseconds. - Weight::from_parts(30_249_000, 3593) + // Minimum execution time: 48_202_000 picoseconds. + Weight::from_parts(48_914_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -174,9 +188,22 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `103` // Estimated: `3593` - // Minimum execution time: 12_304_000 picoseconds. - Weight::from_parts(12_677_000, 3593) + // Minimum execution time: 15_941_000 picoseconds. + Weight::from_parts(16_301_000, 3593) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } + /// The range of component `u` is `[1, 1000]`. + fn upgrade_accounts(u: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `0 + u * (136 ±0)` + // Estimated: `990 + u * (2603 ±0)` + // Minimum execution time: 15_727_000 picoseconds. + Weight::from_parts(15_960_000, 990) + // Standard Error: 10_731 + .saturating_add(Weight::from_parts(14_067_370, 0).saturating_mul(u.into())) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(u.into()))) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(u.into()))) + .saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into())) + } } diff --git a/sandbox/host/src/sandbox/wasmer_backend.rs b/sandbox/host/src/sandbox/wasmer_backend.rs index a0bd58cff3d..35806cf9378 100644 --- a/sandbox/host/src/sandbox/wasmer_backend.rs +++ b/sandbox/host/src/sandbox/wasmer_backend.rs @@ -330,7 +330,7 @@ fn dispatch_common( deallocate( sandbox_context, invoke_args_ptr, - "Failed dealloction after failed write of invoke arguments", + "Failed deallocation after failed write of invoke arguments", )?; return Err(RuntimeError::new("Can't write invoke args into memory")); @@ -344,7 +344,7 @@ fn dispatch_common( deallocate( sandbox_context, invoke_args_ptr, - "Failed dealloction after invoke", + "Failed deallocation after invoke", )?; let serialized_result = serialized_result?; diff --git a/sandbox/host/src/sandbox/wasmi_backend.rs b/sandbox/host/src/sandbox/wasmi_backend.rs index 828991fcb65..9b337ff81f4 100644 --- a/sandbox/host/src/sandbox/wasmi_backend.rs +++ b/sandbox/host/src/sandbox/wasmi_backend.rs @@ -246,7 +246,7 @@ impl<'a> wasmi::Externals for GuestExternals<'a> { deallocate( sandbox_context, invoke_args_ptr, - "Failed dealloction after failed write of invoke arguments", + "Failed deallocation after failed write of invoke arguments", )?; return Err(trap("Can't write invoke args into memory")) } diff --git a/utils/gear-replay-cli/Cargo.toml b/utils/gear-replay-cli/Cargo.toml index 43d706388e7..dd4ecbc8b40 100644 --- a/utils/gear-replay-cli/Cargo.toml +++ b/utils/gear-replay-cli/Cargo.toml @@ -23,6 +23,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 f6724c7d257..3f8712b09cb 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, @@ -71,19 +70,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( @@ -202,7 +203,6 @@ pub(crate) fn state_machine_call( data, extensions, &BackendRuntimeCode::new(&ext.backend).runtime_code()?, - TaskExecutor::new(), CallContext::Offchain, ) .execute(strategy) @@ -215,12 +215,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 diff --git a/utils/node-loader/src/batch_pool.rs b/utils/node-loader/src/batch_pool.rs index 178b2595f1a..d38aa50c8ab 100644 --- a/utils/node-loader/src/batch_pool.rs +++ b/utils/node-loader/src/batch_pool.rs @@ -405,10 +405,9 @@ async fn create_renew_balance_task( // Reserved balance mustn't be changed as it can cause runtime panics within reserving // or unreserving funds logic. root_api - .set_balance( + .force_set_balance( root_address.clone(), root_target_balance + user_balance_demand, - 0, ) .await .map_err(|e| { diff --git a/utils/runtime-fuzzer/src/runtime/mod.rs b/utils/runtime-fuzzer/src/runtime/mod.rs index cebf312c3a7..80a9e36c9db 100644 --- a/utils/runtime-fuzzer/src/runtime/mod.rs +++ b/utils/runtime-fuzzer/src/runtime/mod.rs @@ -94,12 +94,10 @@ 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(), ::GasMultiplier::get() .gas_to_value(account::acc_max_balance() as u64), - new_reserved, ) }