From 76e9c545d9c602159e945e3d4ff0e5c6cc64e90e Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Thu, 20 Feb 2025 15:51:42 +0200 Subject: [PATCH] net/litep2p: Bring the latest compatibility fixes via v0.9.1 (#7640) This PR updates litep2p to version 0.9.1. The yamux config is entirely removed to mirror the libp2p yamux upstream version. While at it, I had to bump indexmap and URL as well. ## [0.9.1] - 2025-01-19 This release enhances compatibility between litep2p and libp2p by using the latest Yamux upstream version. Additionally, it includes various improvements and fixes to boost the stability and performance of the WebSocket stream and the multistream-select protocol. ### Changed - yamux: Switch to upstream implementation while keeping the controller API ([#320](https://github.com/paritytech/litep2p/pull/320)) - req-resp: Replace SubstreamSet with FuturesStream ([#321](https://github.com/paritytech/litep2p/pull/321)) - cargo: Bring up to date multiple dependencies ([#324](https://github.com/paritytech/litep2p/pull/324)) - build(deps): bump hickory-proto from 0.24.1 to 0.24.3 ([#323](https://github.com/paritytech/litep2p/pull/323)) - build(deps): bump openssl from 0.10.66 to 0.10.70 ([#322](https://github.com/paritytech/litep2p/pull/322)) ### Fixed - websocket/stream: Fix unexpected EOF on `Poll::Pending` state poisoning ([#327](https://github.com/paritytech/litep2p/pull/327)) - websocket/stream: Avoid memory allocations on flushing ([#325](https://github.com/paritytech/litep2p/pull/325)) - multistream-select: Enforce `io::error` instead of empty protocols ([#318](https://github.com/paritytech/litep2p/pull/318)) - multistream: Do not wait for negotiation in poll_close ([#319](https://github.com/paritytech/litep2p/pull/319)) cc @paritytech/networking --------- Signed-off-by: Alexandru Vasile (cherry picked from commit 42e9de7f4fdb191cd531b443c68cfe19886ec311) --- Cargo.lock | 1308 ++++++++++++------- Cargo.toml | 6 +- prdoc/pr_7640.prdoc | 25 + substrate/client/network/src/litep2p/mod.rs | 52 +- substrate/client/network/src/protocol.rs | 5 - 5 files changed, 902 insertions(+), 494 deletions(-) create mode 100644 prdoc/pr_7640.prdoc diff --git a/Cargo.lock b/Cargo.lock index ace24c0bf6c38..cea3856a42242 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -92,7 +92,7 @@ version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ - "getrandom", + "getrandom 0.2.10", "once_cell", "version_check", ] @@ -104,10 +104,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", - "getrandom", + "getrandom 0.2.10", "once_cell", "version_check", - "zerocopy", + "zerocopy 0.7.32", ] [[package]] @@ -181,7 +181,7 @@ dependencies = [ "hex-literal", "itoa", "proptest", - "rand", + "rand 0.8.5", "ruint", "serde", "tiny-keccak", @@ -201,13 +201,13 @@ dependencies = [ "foldhash", "hashbrown 0.15.2", "hex-literal", - "indexmap 2.7.0", + "indexmap 2.7.1", "itoa", "k256", "keccak-asm", "paste", "proptest", - "rand", + "rand 0.8.5", "ruint", "rustc-hash 2.0.0", "serde", @@ -266,7 +266,7 @@ dependencies = [ "alloy-sol-macro-input", "const-hex", "heck 0.5.0", - "indexmap 2.7.0", + "indexmap 2.7.1", "proc-macro-error2", "proc-macro2 1.0.93", "quote 1.0.38", @@ -781,7 +781,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1df2c09229cbc5a028b1d70e00fdb2acee28b1055dfb5ca73eea49c5a25c4e7c" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -791,7 +791,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", "rayon", ] @@ -847,13 +847,29 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22ad1373757efa0f70ec53939aabc7152e1591cb485208052993070ac8d2429d" dependencies = [ - "asn1-rs-derive", + "asn1-rs-derive 0.5.0", "asn1-rs-impl", "displaydoc", "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.65", + "time", +] + +[[package]] +name = "asn1-rs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "607495ec7113b178fbba7a6166a27f99e774359ef4823adbefd756b5b81d7970" +dependencies = [ + "asn1-rs-derive 0.6.0", + "asn1-rs-impl", + "displaydoc", + "nom", + "num-traits", + "rusticata-macros", + "thiserror 2.0.11", "time", ] @@ -869,6 +885,18 @@ dependencies = [ "synstructure 0.13.1", ] +[[package]] +name = "asn1-rs-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", + "synstructure 0.13.1", +] + [[package]] name = "asn1-rs-impl" version = "0.2.0" @@ -1664,9 +1692,9 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1" dependencies = [ - "getrandom", + "getrandom 0.2.10", "instant", - "rand", + "rand 0.8.5", ] [[package]] @@ -1696,7 +1724,7 @@ dependencies = [ "ark-serialize 0.4.2", "ark-std 0.4.0", "dleq_vrf", - "rand_chacha", + "rand_chacha 0.3.1", "rand_core 0.6.4", "ring 0.1.0", "sha2 0.10.8", @@ -2058,7 +2086,7 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68534a48cbf63a4b1323c433cf21238c9ec23711e0df13b08c33e5c2082663ce" dependencies = [ - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -3127,9 +3155,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.7.2" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" +checksum = "f61dac84819c6588b558454b194026eb1f09c293b9036ae9b159e74e73ab6cf9" dependencies = [ "serde", ] @@ -3203,7 +3231,7 @@ dependencies = [ "semver 1.0.18", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -3598,7 +3626,7 @@ checksum = "a90d114103adbc625300f346d4d09dfb4ab1c4a8df6868435dd903392ecf4354" dependencies = [ "libc", "once_cell", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] @@ -3819,7 +3847,7 @@ dependencies = [ "fflonk", "getrandom_or_panic", "merlin", - "rand_chacha", + "rand_chacha 0.3.1", ] [[package]] @@ -3921,7 +3949,7 @@ version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d7d6ab3c3a2282db210df5f02c4dab6e0a7057af0fb7ebd4070f30fe05c0ddb" dependencies = [ - "getrandom", + "getrandom 0.2.10", "once_cell", "proc-macro-hack", "tiny-keccak", @@ -4730,7 +4758,7 @@ dependencies = [ "sp-inherents 26.0.0", "sp-runtime 31.0.1", "sp-state-machine 0.35.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -4828,7 +4856,7 @@ dependencies = [ "polkadot-node-subsystem", "polkadot-overseer", "polkadot-primitives 7.0.0", - "rand", + "rand 0.8.5", "rstest", "sc-cli", "sc-client-api", @@ -4982,7 +5010,7 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives 6.0.0", "polkadot-runtime-parachains 7.0.0", - "rand", + "rand 0.8.5", "sc-client-api", "scale-info", "sp-consensus-slots 0.32.0", @@ -5505,7 +5533,7 @@ dependencies = [ "sp-blockchain", "sp-state-machine 0.35.0", "sp-version 29.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -5558,7 +5586,7 @@ dependencies = [ "polkadot-overseer", "portpicker", "prometheus", - "rand", + "rand 0.8.5", "sc-client-api", "sc-rpc-api", "sc-service", @@ -5576,7 +5604,7 @@ dependencies = [ "sp-storage 19.0.0", "sp-version 29.0.0", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-util", "tracing", @@ -5726,7 +5754,7 @@ dependencies = [ "polkadot-service", "polkadot-test-service", "prometheus", - "rand", + "rand 0.8.5", "sc-basic-authorship", "sc-block-builder", "sc-chain-spec", @@ -5777,7 +5805,7 @@ dependencies = [ "openssl-probe", "openssl-sys", "schannel", - "socket2 0.5.7", + "socket2 0.5.8", "windows-sys 0.52.0", ] @@ -5994,7 +6022,21 @@ version = "9.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.1", + "displaydoc", + "nom", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "der-parser" +version = "10.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6" +dependencies = [ + "asn1-rs 0.7.0", "displaydoc", "nom", "num-bigint", @@ -6639,7 +6681,7 @@ dependencies = [ "serde", "serde_json", "sha3 0.10.8", - "thiserror", + "thiserror 1.0.65", "uint 0.9.5", ] @@ -6842,7 +6884,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec6f82451ff7f0568c6181287189126d492b5654e30a788add08027b6363d019" dependencies = [ "fatality-proc-macro", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -6852,7 +6894,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb42427514b063d97ce21d5199f36c0c307d981434a6be32582bc79fe5bd2303" dependencies = [ "expander", - "indexmap 2.7.0", + "indexmap 2.7.1", "proc-macro-crate 3.1.0", "proc-macro2 1.0.93", "quote 1.0.38", @@ -6866,7 +6908,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e182f7dbc2ef73d9ef67351c5fbbea084729c48362d3ce9dd44c28e32e277fe5" dependencies = [ "libc", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -6959,7 +7001,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", ] @@ -7007,7 +7049,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand", + "rand 0.8.5", "rustc-hex", "static_assertions", ] @@ -7098,7 +7140,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9" dependencies = [ "nonempty", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -7195,7 +7237,7 @@ dependencies = [ "parity-scale-codec", "polkadot-parachain-primitives 6.0.0", "polkadot-primitives 7.0.0", - "rand", + "rand 0.8.5", "rand_pcg", "sc-block-builder", "sc-chain-spec", @@ -7231,7 +7273,7 @@ dependencies = [ "substrate-test-runtime", "subxt", "subxt-signer", - "thiserror", + "thiserror 1.0.65", "thousands", "westend-runtime", ] @@ -7314,7 +7356,7 @@ dependencies = [ "frame-support 28.0.0", "frame-system 28.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic 23.0.0", "sp-core 28.0.0", @@ -7351,7 +7393,7 @@ dependencies = [ "frame-support 28.0.0", "honggfuzz", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic 23.0.0", "sp-npos-elections 26.0.0", @@ -8133,7 +8175,19 @@ checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" dependencies = [ "cfg-if", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets 0.52.6", ] [[package]] @@ -8142,7 +8196,7 @@ version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "rand", + "rand 0.8.5", "rand_core 0.6.4", ] @@ -8227,7 +8281,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -8317,7 +8371,7 @@ dependencies = [ "nonzero_ext", "parking_lot 0.12.3", "quanta", - "rand", + "rand 0.8.5", "smallvec", ] @@ -8344,7 +8398,7 @@ dependencies = [ "futures-sink", "futures-util", "http 0.2.9", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -8363,7 +8417,7 @@ dependencies = [ "futures-core", "futures-sink", "http 1.1.0", - "indexmap 2.7.0", + "indexmap 2.7.1", "slab", "tokio", "tokio-util", @@ -8387,7 +8441,7 @@ dependencies = [ "pest_derive", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -8544,9 +8598,9 @@ dependencies = [ "idna 0.4.0", "ipnet", "once_cell", - "rand", - "socket2 0.5.7", - "thiserror", + "rand 0.8.5", + "socket2 0.5.8", + "thiserror 1.0.65", "tinyvec", "tokio", "tracing", @@ -8566,10 +8620,10 @@ dependencies = [ "lru-cache", "once_cell", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing", ] @@ -8742,7 +8796,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.7", + "socket2 0.4.9", "tokio", "tower-service", "tracing", @@ -8844,7 +8898,7 @@ dependencies = [ "http-body 1.0.0", "hyper 1.6.0", "pin-project-lite", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tower-service", "tracing", @@ -8873,6 +8927,124 @@ dependencies = [ "cc", ] +[[package]] +name = "icu_collections" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_locid" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +dependencies = [ + "displaydoc", + "litemap", + "tinystr", + "writeable", + "zerovec", +] + +[[package]] +name = "icu_locid_transform" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" +dependencies = [ + "displaydoc", + "icu_locid", + "icu_locid_transform_data", + "icu_provider", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_locid_transform_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" + +[[package]] +name = "icu_normalizer" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_normalizer_data", + "icu_properties", + "icu_provider", + "smallvec", + "utf16_iter", + "utf8_iter", + "write16", + "zerovec", +] + +[[package]] +name = "icu_normalizer_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" + +[[package]] +name = "icu_properties" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +dependencies = [ + "displaydoc", + "icu_collections", + "icu_locid_transform", + "icu_properties_data", + "icu_provider", + "tinystr", + "zerovec", +] + +[[package]] +name = "icu_properties_data" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" + +[[package]] +name = "icu_provider" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +dependencies = [ + "displaydoc", + "icu_locid", + "icu_provider_macros", + "stable_deref_trait", + "tinystr", + "writeable", + "yoke", + "zerofrom", + "zerovec", +] + +[[package]] +name = "icu_provider_macros" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", +] + [[package]] name = "ident_case" version = "1.0.1" @@ -8891,12 +9063,23 @@ dependencies = [ [[package]] name = "idna" -version = "0.5.0" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" dependencies = [ - "unicode-bidi", - "unicode-normalization", + "idna_adapter", + "smallvec", + "utf8_iter", +] + +[[package]] +name = "idna_adapter" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +dependencies = [ + "icu_normalizer", + "icu_properties", ] [[package]] @@ -8941,7 +9124,7 @@ dependencies = [ "http 0.2.9", "hyper 0.14.29", "log", - "rand", + "rand 0.8.5", "tokio", "url", "xmltree", @@ -9072,9 +9255,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.0" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f" +checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" dependencies = [ "equivalent", "hashbrown 0.15.2", @@ -9150,7 +9333,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2 0.5.7", + "socket2 0.5.8", "widestring", "windows-sys 0.48.0", "winreg", @@ -9162,7 +9345,7 @@ version = "0.21.3" source = "git+https://github.com/chevdor/subwasm?rev=v0.21.3#aa8acb6fdfb34144ac51ab95618a9b37fa251295" dependencies = [ "ipfs-unixfs", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9301,7 +9484,7 @@ dependencies = [ "combine", "jni-sys", "log", - "thiserror", + "thiserror 1.0.65", "walkdir", ] @@ -9343,7 +9526,7 @@ checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b" dependencies = [ "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9356,7 +9539,7 @@ dependencies = [ "pest_derive", "regex", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9405,7 +9588,7 @@ dependencies = [ "rustls-pki-types", "rustls-platform-verifier", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-rustls 0.26.0", "tokio-util", @@ -9429,11 +9612,11 @@ dependencies = [ "jsonrpsee-types", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "rustc-hash 2.0.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tracing", @@ -9458,7 +9641,7 @@ dependencies = [ "rustls-platform-verifier", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "tokio", "tower", "tracing", @@ -9497,7 +9680,7 @@ dependencies = [ "serde", "serde_json", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tokio-util", @@ -9514,7 +9697,7 @@ dependencies = [ "http 1.1.0", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9667,16 +9850,16 @@ dependencies = [ "kube-core", "pem 3.0.4", "pin-project", - "rand", + "rand 0.8.5", "rustls 0.21.7", "rustls-pemfile 1.0.3", "secrecy 0.8.0", "serde", "serde_json", "serde_yaml", - "thiserror", + "thiserror 1.0.65", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.20.1", "tokio-util", "tower", "tower-http 0.4.4", @@ -9697,7 +9880,7 @@ dependencies = [ "once_cell", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9720,7 +9903,7 @@ dependencies = [ "serde", "serde_json", "smallvec", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-util", "tracing", @@ -9785,7 +9968,7 @@ checksum = "1530c5b973eeed4ac216af7e24baf5737645a6272e361f1fb95710678b67d9cc" dependencies = [ "enumflags2", "libc", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9894,7 +10077,7 @@ dependencies = [ "either", "futures", "futures-timer", - "getrandom", + "getrandom 0.2.10", "libp2p-allow-block-list", "libp2p-connection-limits", "libp2p-core", @@ -9916,7 +10099,7 @@ dependencies = [ "multiaddr 0.18.1", "pin-project", "rw-stream-sink", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -9961,10 +10144,10 @@ dependencies = [ "parking_lot 0.12.3", "pin-project", "quick-protobuf 0.8.1", - "rand", + "rand 0.8.5", "rw-stream-sink", "smallvec", - "thiserror", + "thiserror 1.0.65", "tracing", "unsigned-varint 0.8.0", "void", @@ -10005,7 +10188,7 @@ dependencies = [ "quick-protobuf 0.8.1", "quick-protobuf-codec", "smallvec", - "thiserror", + "thiserror 1.0.65", "tracing", "void", ] @@ -10021,9 +10204,9 @@ dependencies = [ "hkdf", "multihash 0.19.1", "quick-protobuf 0.8.1", - "rand", + "rand 0.8.5", "sha2 0.10.8", - "thiserror", + "thiserror 1.0.65", "tracing", "zeroize", ] @@ -10047,10 +10230,10 @@ dependencies = [ "libp2p-swarm", "quick-protobuf 0.8.1", "quick-protobuf-codec", - "rand", + "rand 0.8.5", "sha2 0.10.8", "smallvec", - "thiserror", + "thiserror 1.0.65", "tracing", "uint 0.9.5", "void", @@ -10070,9 +10253,9 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand", + "rand 0.8.5", "smallvec", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tracing", "void", @@ -10112,11 +10295,11 @@ dependencies = [ "multihash 0.19.1", "once_cell", "quick-protobuf 0.8.1", - "rand", + "rand 0.8.5", "sha2 0.10.8", "snow", "static_assertions", - "thiserror", + "thiserror 1.0.65", "tracing", "x25519-dalek", "zeroize", @@ -10134,7 +10317,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand", + "rand 0.8.5", "tracing", "void", "web-time", @@ -10155,11 +10338,11 @@ dependencies = [ "libp2p-tls", "parking_lot 0.12.3", "quinn", - "rand", + "rand 0.8.5", "ring 0.17.8", "rustls 0.23.18", - "socket2 0.5.7", - "thiserror", + "socket2 0.5.8", + "thiserror 1.0.65", "tokio", "tracing", ] @@ -10177,7 +10360,7 @@ dependencies = [ "libp2p-core", "libp2p-identity", "libp2p-swarm", - "rand", + "rand 0.8.5", "smallvec", "tracing", "void", @@ -10200,7 +10383,7 @@ dependencies = [ "lru 0.12.3", "multistream-select", "once_cell", - "rand", + "rand 0.8.5", "smallvec", "tokio", "tracing", @@ -10232,7 +10415,7 @@ dependencies = [ "libc", "libp2p-core", "libp2p-identity", - "socket2 0.5.7", + "socket2 0.5.8", "tokio", "tracing", ] @@ -10251,8 +10434,8 @@ dependencies = [ "ring 0.17.8", "rustls 0.23.18", "rustls-webpki 0.101.4", - "thiserror", - "x509-parser", + "thiserror 1.0.65", + "x509-parser 0.16.0", "yasna", ] @@ -10287,7 +10470,7 @@ dependencies = [ "pin-project-lite", "rw-stream-sink", "soketto 0.8.0", - "thiserror", + "thiserror 1.0.65", "tracing", "url", "webpki-roots 0.25.2", @@ -10302,10 +10485,10 @@ dependencies = [ "either", "futures", "libp2p-core", - "thiserror", + "thiserror 1.0.65", "tracing", "yamux 0.12.1", - "yamux 0.13.3", + "yamux 0.13.4", ] [[package]] @@ -10336,7 +10519,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand", + "rand 0.8.5", "serde", "sha2 0.9.9", "typenum", @@ -10475,11 +10658,17 @@ dependencies = [ "paste", ] +[[package]] +name = "litemap" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" + [[package]] name = "litep2p" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ca6ee50a125dc4fc4e9a3ae3640010796d1d07bc517a0ac715fdf0b24a0b6ac" +checksum = "3e5a3d13ee6af6f01bb2093aa6d5f29b79ede7de6277e5d0394e8f5d8eaa5a86" dependencies = [ "async-trait", "bs58", @@ -10490,18 +10679,17 @@ dependencies = [ "futures-timer", "hex-literal", "hickory-resolver", - "indexmap 2.7.0", + "indexmap 2.7.1", "libc", - "mockall 0.13.0", + "mockall 0.13.1", "multiaddr 0.17.1", "multihash 0.17.0", "network-interface", - "nohash-hasher", "parking_lot 0.12.3", "pin-project", "prost 0.12.6", "prost-build", - "rand", + "rand 0.8.5", "rcgen 0.10.0", "ring 0.16.20", "rustls 0.20.9", @@ -10510,19 +10698,19 @@ dependencies = [ "simple-dns", "smallvec", "snow", - "socket2 0.5.7", - "static_assertions", - "thiserror", + "socket2 0.5.8", + "thiserror 2.0.11", "tokio", "tokio-stream", - "tokio-tungstenite", + "tokio-tungstenite 0.26.2", "tokio-util", "tracing", - "uint 0.9.5", + "uint 0.10.0", "unsigned-varint 0.8.0", "url", "x25519-dalek", - "x509-parser", + "x509-parser 0.17.0", + "yamux 0.13.4", "yasna", "zeroize", ] @@ -10893,7 +11081,7 @@ checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" dependencies = [ "hermit-abi 0.3.9", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -10914,11 +11102,11 @@ dependencies = [ "lioness", "log", "parking_lot 0.12.3", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_distr", "subtle 2.5.0", - "thiserror", + "thiserror 1.0.65", "zeroize", ] @@ -10977,14 +11165,14 @@ dependencies = [ [[package]] name = "mockall" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c28b3fb6d753d28c20e826cd46ee611fda1cf3cde03a443a974043247c065a" +checksum = "39a6bfcc6c8c7eed5ee98b9c3e33adc726054389233e201c95dab2d41a3839d2" dependencies = [ "cfg-if", "downcast", "fragile", - "mockall_derive 0.13.0", + "mockall_derive 0.13.1", "predicates 3.0.3", "predicates-tree", ] @@ -11003,9 +11191,9 @@ dependencies = [ [[package]] name = "mockall_derive" -version = "0.13.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "341014e7f530314e9a1fdbc7400b244efea7122662c96bfa248c31da5bfb2020" +checksum = "25ca3004c2efe9011bd4e461bd8256445052b9615405b4f7ea43fc8ca5c20898" dependencies = [ "cfg-if", "proc-macro2 1.0.93", @@ -11206,7 +11394,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc" dependencies = [ "clap 3.2.25", - "rand", + "rand 0.8.5", ] [[package]] @@ -11267,7 +11455,7 @@ dependencies = [ "anyhow", "byteorder", "paste", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -11281,7 +11469,7 @@ dependencies = [ "log", "netlink-packet-core", "netlink-sys", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -11306,7 +11494,7 @@ checksum = "ae72fd9dbd7f55dda80c00d66acc3b2130436fcba9ea89118fc508eaae48dfb0" dependencies = [ "cc", "libc", - "thiserror", + "thiserror 1.0.65", "winapi", ] @@ -11374,7 +11562,7 @@ dependencies = [ "node-primitives", "node-testing", "parity-db", - "rand", + "rand 0.8.5", "sc-basic-authorship", "sc-client-api", "sc-transaction-pool", @@ -11594,7 +11782,7 @@ dependencies = [ "num-integer", "num-iter", "num-traits", - "rand", + "rand 0.8.5", "smallvec", "zeroize", ] @@ -11739,7 +11927,16 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c958dd45046245b9c3c2547369bb634eb461670b2e7e0de552905801a648d1d" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.1", +] + +[[package]] +name = "oid-registry" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7" +dependencies = [ + "asn1-rs 0.7.0", ] [[package]] @@ -11829,7 +12026,7 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "thiserror", + "thiserror 1.0.65", "tracing", ] @@ -11840,7 +12037,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7b1d40dd8f367db3c65bec8d3dd47d4a604ee8874480738f93191bddab4e0e0" dependencies = [ "expander", - "indexmap 2.7.0", + "indexmap 2.7.1", "itertools 0.11.0", "petgraph", "proc-macro-crate 3.1.0", @@ -12409,7 +12606,7 @@ dependencies = [ "frame-election-provider-support 28.0.0", "honggfuzz", "pallet-bags-list 27.0.0", - "rand", + "rand 0.8.5", ] [[package]] @@ -12611,7 +12808,7 @@ dependencies = [ "pallet-beefy-mmr 28.0.0", "pallet-mmr 27.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "serde", "sp-consensus-beefy 13.0.0", @@ -12892,7 +13089,7 @@ dependencies = [ "pallet-session 28.0.0", "pallet-timestamp 27.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-consensus-aura 0.32.0", "sp-core 28.0.0", @@ -12916,7 +13113,7 @@ dependencies = [ "pallet-balances 39.0.0", "pallet-session 38.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-runtime 39.0.2", "sp-staking 36.0.0", @@ -13009,7 +13206,7 @@ dependencies = [ "parity-scale-codec", "paste", "pretty_assertions", - "rand", + "rand 0.8.5", "rand_pcg", "scale-info", "serde", @@ -13045,7 +13242,7 @@ dependencies = [ "pallet-contracts-uapi 12.0.0", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "smallvec", @@ -13412,7 +13609,7 @@ dependencies = [ "pallet-balances 28.0.0", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic 23.0.0", "sp-core 28.0.0", @@ -13436,7 +13633,7 @@ dependencies = [ "pallet-election-provider-support-benchmarking 27.0.0", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic 23.0.0", "sp-core 28.0.0", @@ -13460,7 +13657,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking 37.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-arithmetic 26.0.0", "sp-core 34.0.0", @@ -14040,7 +14237,7 @@ dependencies = [ "frame-system 28.0.0", "log", "parity-scale-codec", - "rand", + "rand 0.8.5", "rand_distr", "scale-info", "serde", @@ -14454,7 +14651,7 @@ dependencies = [ "honggfuzz", "log", "pallet-nomination-pools 25.0.0", - "rand", + "rand 0.8.5", "sp-io 30.0.0", "sp-runtime 31.0.1", "sp-tracing 16.0.0", @@ -14987,7 +15184,7 @@ dependencies = [ "substrate-prometheus-endpoint", "subxt", "subxt-signer", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -15399,7 +15596,7 @@ dependencies = [ "pallet-staking-reward-curve", "pallet-timestamp 27.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sp-core 28.0.0", "sp-io 30.0.0", @@ -15419,7 +15616,7 @@ dependencies = [ "pallet-session 38.0.0", "pallet-staking 38.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "sp-runtime 39.0.2", "sp-session 36.0.0", ] @@ -15459,7 +15656,7 @@ dependencies = [ "log", "pallet-balances 28.0.0", "parity-scale-codec", - "rand_chacha", + "rand_chacha 0.3.1", "scale-info", "sp-arithmetic 23.0.0", "sp-core 28.0.0", @@ -15479,7 +15676,7 @@ dependencies = [ "frame-system 38.0.0", "log", "parity-scale-codec", - "rand_chacha", + "rand_chacha 0.3.1", "scale-info", "sp-arithmetic 26.0.0", "sp-io 38.0.0", @@ -15502,8 +15699,8 @@ dependencies = [ "pallet-staking-reward-curve", "pallet-timestamp 27.0.0", "parity-scale-codec", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "scale-info", "serde", "sp-application-crypto 30.0.0", @@ -16519,7 +16716,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", - "rand", + "rand 0.8.5", "rand_core 0.6.4", "serde", "unicode-normalization", @@ -16546,7 +16743,7 @@ dependencies = [ "lz4", "memmap2 0.5.10", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "siphasher 0.3.11", "snap", ] @@ -17031,7 +17228,7 @@ version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1acb4a4365a13f749a93f1a094a7805e5cfa0955373a9de860d962eaa3a5fe5a" dependencies = [ - "thiserror", + "thiserror 1.0.65", "ucd-trie", ] @@ -17076,7 +17273,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 2.7.0", + "indexmap 2.7.1", ] [[package]] @@ -17205,8 +17402,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_core 0.6.4", "sc-keystore", "schnorrkel 0.11.4", @@ -17232,8 +17429,8 @@ dependencies = [ "polkadot-node-subsystem-test-helpers", "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "sp-application-crypto 30.0.0", "sp-authority-discovery 26.0.0", "sp-core 28.0.0", @@ -17262,7 +17459,7 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", - "rand", + "rand 0.8.5", "rstest", "sc-network", "schnellru", @@ -17270,7 +17467,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-keystore 0.34.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17294,7 +17491,7 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", - "rand", + "rand 0.8.5", "rstest", "sc-network", "schnellru", @@ -17302,7 +17499,7 @@ dependencies = [ "sp-core 28.0.0", "sp-keyring 31.0.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing-gum", ] @@ -17353,7 +17550,7 @@ dependencies = [ "sp-maybe-compressed-blob 11.0.0", "sp-runtime 31.0.1", "substrate-build-script-utils", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -17382,7 +17579,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-runtime 31.0.1", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tokio-util", "tracing-gum", ] @@ -17420,7 +17617,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap 2.7.0", + "indexmap 2.7.1", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -17437,7 +17634,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-keystore 0.34.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17453,7 +17650,7 @@ dependencies = [ "reed-solomon-novelpoly", "sp-core 28.0.0", "sp-trie 29.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -17471,8 +17668,8 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", "quickcheck", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "sc-network", "sc-network-common", "sp-application-crypto 30.0.0", @@ -17511,7 +17708,7 @@ dependencies = [ "sp-consensus", "sp-core 28.0.0", "sp-keyring 31.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17534,7 +17731,7 @@ dependencies = [ "sp-core 28.0.0", "sp-keyring 31.0.0", "sp-maybe-compressed-blob 11.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17563,8 +17760,8 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_core 0.6.4", "sc-keystore", "schnellru", @@ -17578,7 +17775,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-runtime 31.0.1", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17606,8 +17803,8 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_core 0.6.4", "sc-keystore", "schnorrkel 0.11.4", @@ -17620,7 +17817,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-runtime 31.0.1", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17649,7 +17846,7 @@ dependencies = [ "sp-core 28.0.0", "sp-keyring 31.0.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17678,7 +17875,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-keystore 0.34.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17693,7 +17890,7 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "sp-keystore 0.34.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", "wasm-timer", ] @@ -17763,7 +17960,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", "sp-core 28.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17791,7 +17988,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-keystore 0.34.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17807,7 +18004,7 @@ dependencies = [ "polkadot-primitives 7.0.0", "sp-blockchain", "sp-inherents 26.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17823,11 +18020,11 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", - "rand", + "rand 0.8.5", "rstest", "sp-core 28.0.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17849,7 +18046,7 @@ dependencies = [ "schnellru", "sp-application-crypto 30.0.0", "sp-keystore 0.34.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17882,7 +18079,7 @@ dependencies = [ "polkadot-parachain-primitives 6.0.0", "polkadot-primitives 7.0.0", "procfs", - "rand", + "rand 0.8.5", "rococo-runtime", "rusty-fork", "sc-sysinfo", @@ -17894,7 +18091,7 @@ dependencies = [ "tempfile", "test-parachain-adder", "test-parachain-halt", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing-gum", ] @@ -17918,7 +18115,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-keystore 0.34.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -17945,7 +18142,7 @@ dependencies = [ "sp-io 30.0.0", "sp-tracing 16.0.0", "tempfile", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -18051,14 +18248,14 @@ dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives 7.0.0", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "sc-authority-discovery", "sc-network", "sc-network-types", "sp-runtime 31.0.1", "strum 0.26.3", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -18084,7 +18281,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-maybe-compressed-blob 11.0.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", "zstd 0.12.4", ] @@ -18142,7 +18339,7 @@ dependencies = [ "sp-consensus-babe 0.32.0", "sp-runtime 31.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -18175,14 +18372,14 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "prioritized-metered-channel", - "rand", + "rand 0.8.5", "sc-client-api", "schnellru", "sp-application-crypto 30.0.0", "sp-core 28.0.0", "sp-keystore 0.34.0", "tempfile", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -18396,7 +18593,7 @@ dependencies = [ "sp-runtime 31.0.1", "sp-staking 26.0.0", "sp-std 14.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -18458,7 +18655,7 @@ name = "polkadot-primitives-test-helpers" version = "1.0.0" dependencies = [ "polkadot-primitives 7.0.0", - "rand", + "rand 0.8.5", "sp-application-crypto 30.0.0", "sp-core 28.0.0", "sp-keyring 31.0.0", @@ -18660,8 +18857,8 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-runtime-metrics 7.0.0", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rstest", "sc-keystore", "scale-info", @@ -18717,8 +18914,8 @@ dependencies = [ "polkadot-parachain-primitives 14.0.0", "polkadot-primitives 16.0.0", "polkadot-runtime-metrics 17.0.0", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "scale-info", "serde", "sp-api 34.0.0", @@ -19412,7 +19609,7 @@ dependencies = [ "polkadot-sdk-docs-first-pallet", "polkadot-sdk-docs-first-runtime", "polkadot-sdk-frame 0.1.0", - "rand", + "rand 0.8.5", "sc-chain-spec", "sc-cli", "sc-client-db", @@ -19662,7 +19859,7 @@ dependencies = [ "staging-xcm 7.0.0", "substrate-prometheus-endpoint", "tempfile", - "thiserror", + "thiserror 1.0.65", "tracing-gum", "westend-runtime", "westend-runtime-constants 7.0.0", @@ -19680,7 +19877,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "indexmap 2.7.0", + "indexmap 2.7.1", "parity-scale-codec", "polkadot-node-network-protocol", "polkadot-node-primitives", @@ -19690,7 +19887,7 @@ dependencies = [ "polkadot-primitives 7.0.0", "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", - "rand_chacha", + "rand_chacha 0.3.1", "rstest", "sc-keystore", "sc-network", @@ -19701,7 +19898,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-staking 26.0.0", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing-gum", ] @@ -19761,8 +19958,8 @@ dependencies = [ "prometheus", "pyroscope", "pyroscope_pprofrs", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_core 0.6.4", "rand_distr", "sc-keystore", @@ -19844,7 +20041,7 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives 7.0.0", - "rand", + "rand 0.8.5", "sp-core 28.0.0", "sp-keystore 0.34.0", "substrate-build-script-utils", @@ -19930,7 +20127,7 @@ dependencies = [ "polkadot-runtime-parachains 7.0.0", "polkadot-service", "polkadot-test-runtime", - "rand", + "rand 0.8.5", "sc-authority-discovery", "sc-chain-spec", "sc-cli", @@ -20394,7 +20591,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9" dependencies = [ - "rand", + "rand 0.8.5", ] [[package]] @@ -20420,7 +20617,7 @@ dependencies = [ "smallvec", "symbolic-demangle", "tempfile", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -20546,7 +20743,7 @@ dependencies = [ "futures", "futures-timer", "nanorand", - "thiserror", + "thiserror 1.0.65", "tracing", ] @@ -20687,7 +20884,7 @@ dependencies = [ "lazy_static", "memchr", "parking_lot 0.12.3", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -20736,8 +20933,8 @@ dependencies = [ "bitflags 2.6.0", "lazy_static", "num-traits", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_xorshift", "regex-syntax 0.8.5", "rusty-fork", @@ -20866,7 +21063,7 @@ dependencies = [ "names", "prost 0.11.9", "reqwest 0.11.27", - "thiserror", + "thiserror 1.0.65", "url", "winapi", ] @@ -20880,7 +21077,7 @@ dependencies = [ "log", "pprof", "pyroscope", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -20894,7 +21091,7 @@ dependencies = [ "mach2", "once_cell", "raw-cpuid", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "web-sys", "winapi", ] @@ -20932,7 +21129,7 @@ dependencies = [ "asynchronous-codec 0.7.0", "bytes", "quick-protobuf 0.8.1", - "thiserror", + "thiserror 1.0.65", "unsigned-varint 0.8.0", ] @@ -20955,7 +21152,7 @@ checksum = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" dependencies = [ "env_logger 0.8.4", "log", - "rand", + "rand 0.8.5", ] [[package]] @@ -20971,8 +21168,8 @@ dependencies = [ "quinn-udp", "rustc-hash 2.0.0", "rustls 0.23.18", - "socket2 0.5.7", - "thiserror", + "socket2 0.5.8", + "thiserror 1.0.65", "tokio", "tracing", ] @@ -20984,12 +21181,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" dependencies = [ "bytes", - "rand", + "rand 0.8.5", "ring 0.17.8", "rustc-hash 2.0.0", "rustls 0.23.18", "slab", - "thiserror", + "thiserror 1.0.65", "tinyvec", "tracing", ] @@ -21002,7 +21199,7 @@ checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" dependencies = [ "libc", "once_cell", - "socket2 0.5.7", + "socket2 0.5.8", "tracing", "windows-sys 0.52.0", ] @@ -21038,11 +21235,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha", + "rand_chacha 0.3.1", "rand_core 0.6.4", "serde", ] +[[package]] +name = "rand" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3779b94aeb87e8bd4e834cee3650289ee9e0d5677f976ecdb6d219e5f4f6cd94" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.1", + "zerocopy 0.8.20", +] + [[package]] name = "rand_chacha" version = "0.3.1" @@ -21053,6 +21261,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.1", +] + [[package]] name = "rand_core" version = "0.5.1" @@ -21065,7 +21283,17 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.10", +] + +[[package]] +name = "rand_core" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a88e0da7a2c97baa202165137c158d0a2e824ac465d13d81046727b34cb247d3" +dependencies = [ + "getrandom 0.3.1", + "zerocopy 0.8.20", ] [[package]] @@ -21075,7 +21303,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" dependencies = [ "num-traits", - "rand", + "rand 0.8.5", ] [[package]] @@ -21208,9 +21436,9 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" dependencies = [ - "getrandom", + "getrandom 0.2.10", "redox_syscall 0.2.16", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -21222,7 +21450,7 @@ dependencies = [ "derive_more 0.99.17", "fs-err", "static_init", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -21347,7 +21575,7 @@ dependencies = [ "pallet-utility 28.0.0", "parity-scale-codec", "quick_cache", - "rand", + "rand 0.8.5", "relay-utils", "sc-chain-spec", "sc-rpc-api", @@ -21362,7 +21590,7 @@ dependencies = [ "sp-trie 29.0.0", "sp-version 29.0.0", "staging-xcm 7.0.0", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -21386,7 +21614,7 @@ dependencies = [ "sp-tracing 16.0.0", "substrate-prometheus-endpoint", "sysinfo", - "thiserror", + "thiserror 1.0.65", "time", "tokio", ] @@ -21553,7 +21781,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.10", "libc", "spin 0.9.8", "untrusted 0.9.0", @@ -21912,7 +22140,7 @@ dependencies = [ "netlink-packet-route", "netlink-proto", "nix 0.24.3", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -21942,7 +22170,7 @@ dependencies = [ "parity-scale-codec", "primitive-types 0.12.2", "proptest", - "rand", + "rand 0.8.5", "rlp 0.5.2", "ruint-macro", "serde", @@ -22319,7 +22547,7 @@ dependencies = [ "log", "sp-core 28.0.0", "sp-wasm-interface 20.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22331,7 +22559,7 @@ dependencies = [ "log", "sp-core 33.0.1", "sp-wasm-interface 21.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22343,7 +22571,7 @@ dependencies = [ "log", "sp-core 34.0.0", "sp-wasm-interface 21.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22361,7 +22589,7 @@ dependencies = [ "prost 0.12.6", "prost-build", "quickcheck", - "rand", + "rand 0.8.5", "sc-client-api", "sc-network", "sc-network-types", @@ -22374,7 +22602,7 @@ dependencies = [ "sp-tracing 16.0.0", "substrate-prometheus-endpoint", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22476,7 +22704,7 @@ dependencies = [ "names", "parity-bip39", "parity-scale-codec", - "rand", + "rand 0.8.5", "regex", "rpassword", "sc-client-api", @@ -22500,7 +22728,7 @@ dependencies = [ "sp-tracing 16.0.0", "sp-version 29.0.0", "tempfile", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22529,7 +22757,7 @@ dependencies = [ "sp-trie 29.0.0", "substrate-prometheus-endpoint", "substrate-test-runtime", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22548,7 +22776,7 @@ dependencies = [ "parity-db", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-client-api", "sc-state-db", "schnellru", @@ -22585,7 +22813,7 @@ dependencies = [ "sp-state-machine 0.35.0", "sp-test-primitives", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -22622,7 +22850,7 @@ dependencies = [ "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22664,7 +22892,7 @@ dependencies = [ "sp-tracing 16.0.0", "substrate-prometheus-endpoint", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22692,7 +22920,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-runtime 31.0.1", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22735,7 +22963,7 @@ dependencies = [ "substrate-prometheus-endpoint", "substrate-test-runtime-client", "tempfile", - "thiserror", + "thiserror 1.0.65", "tokio", "wasm-timer", ] @@ -22758,7 +22986,7 @@ dependencies = [ "sp-core 28.0.0", "sp-runtime 31.0.1", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22790,7 +23018,7 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -22820,7 +23048,7 @@ dependencies = [ "sp-tracing 16.0.0", "substrate-prometheus-endpoint", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22844,7 +23072,7 @@ dependencies = [ "sp-keyring 31.0.0", "sp-runtime 31.0.1", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22882,7 +23110,7 @@ dependencies = [ "substrate-prometheus-endpoint", "substrate-test-runtime-client", "substrate-test-runtime-transaction-pool", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -22907,7 +23135,7 @@ dependencies = [ "sp-inherents 26.0.0", "sp-runtime 31.0.1", "substrate-prometheus-endpoint", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23028,7 +23256,7 @@ dependencies = [ "sc-allocator 23.0.0", "sp-maybe-compressed-blob 11.0.0", "sp-wasm-interface 20.0.0", - "thiserror", + "thiserror 1.0.65", "wasm-instrument", ] @@ -23042,7 +23270,7 @@ dependencies = [ "sc-allocator 28.0.0", "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-wasm-interface 21.0.1", - "thiserror", + "thiserror 1.0.65", "wasm-instrument", ] @@ -23056,7 +23284,7 @@ dependencies = [ "sc-allocator 29.0.0", "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-wasm-interface 21.0.1", - "thiserror", + "thiserror 1.0.65", "wasm-instrument", ] @@ -23183,7 +23411,7 @@ dependencies = [ "sp-core 28.0.0", "sp-keystore 0.34.0", "tempfile", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23211,7 +23439,7 @@ dependencies = [ "sp-keystore 0.34.0", "sp-mixnet 0.4.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23244,7 +23472,7 @@ dependencies = [ "pin-project", "prost 0.12.6", "prost-build", - "rand", + "rand 0.8.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -23269,7 +23497,7 @@ dependencies = [ "substrate-test-runtime", "substrate-test-runtime-client", "tempfile", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tokio-test", @@ -23332,7 +23560,7 @@ dependencies = [ "sp-blockchain", "sp-core 28.0.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23389,7 +23617,7 @@ dependencies = [ "sp-tracing 16.0.0", "substrate-prometheus-endpoint", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", ] @@ -23405,7 +23633,7 @@ dependencies = [ "libp2p", "log", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -23458,8 +23686,8 @@ dependencies = [ "multiaddr 0.18.1", "multihash 0.19.1", "quickcheck", - "rand", - "thiserror", + "rand 0.8.5", + "thiserror 1.0.65", "zeroize", ] @@ -23482,7 +23710,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "rustls 0.23.18", "sc-block-builder", "sc-client-api", @@ -23571,7 +23799,7 @@ dependencies = [ "sp-rpc", "sp-runtime 31.0.1", "sp-version 29.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23613,7 +23841,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pretty_assertions", - "rand", + "rand 0.8.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -23637,7 +23865,7 @@ dependencies = [ "substrate-test-runtime", "substrate-test-runtime-client", "substrate-test-runtime-transaction-pool", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", ] @@ -23669,7 +23897,7 @@ dependencies = [ "sp-version 29.0.0", "sp-wasm-interface 20.0.0", "subxt", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23686,7 +23914,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "sc-chain-spec", "sc-client-api", "sc-client-db", @@ -23731,7 +23959,7 @@ dependencies = [ "substrate-test-runtime", "substrate-test-runtime-client", "tempfile", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing", "tracing-futures", @@ -23811,7 +24039,7 @@ dependencies = [ "fs4", "log", "sp-core 28.0.0", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -23830,7 +24058,7 @@ dependencies = [ "serde_json", "sp-blockchain", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -23841,7 +24069,7 @@ dependencies = [ "futures", "libc", "log", - "rand", + "rand 0.8.5", "rand_pcg", "regex", "sc-telemetry", @@ -23863,11 +24091,11 @@ dependencies = [ "log", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "sc-utils", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "wasm-timer", ] @@ -23894,7 +24122,7 @@ dependencies = [ "sp-rpc", "sp-runtime 31.0.1", "sp-tracing 16.0.0", - "thiserror", + "thiserror 1.0.65", "tracing", "tracing-log 0.2.0", "tracing-subscriber 0.3.18", @@ -23920,7 +24148,7 @@ dependencies = [ "criterion", "futures", "futures-timer", - "indexmap 2.7.0", + "indexmap 2.7.1", "itertools 0.11.0", "linked-hash-map", "log", @@ -23943,7 +24171,7 @@ dependencies = [ "substrate-test-runtime", "substrate-test-runtime-client", "substrate-test-runtime-transaction-pool", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tracing", @@ -23955,7 +24183,7 @@ version = "28.0.0" dependencies = [ "async-trait", "futures", - "indexmap 2.7.0", + "indexmap 2.7.1", "log", "parity-scale-codec", "serde", @@ -23963,7 +24191,7 @@ dependencies = [ "sp-blockchain", "sp-core 28.0.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -24106,7 +24334,7 @@ dependencies = [ "quote 1.0.38", "scale-info", "syn 2.0.98", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -24282,7 +24510,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b50c5943d326858130af85e049f2661ba3c78b26589b8ab98e65e80ae44a1252" dependencies = [ "bitcoin_hashes 0.14.0", - "rand", + "rand 0.8.5", "secp256k1-sys 0.10.1", ] @@ -24478,7 +24706,7 @@ version = "1.0.132" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "itoa", "memchr", "ryu", @@ -24512,7 +24740,7 @@ version = "0.9.34+deprecated" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "itoa", "ryu", "serde", @@ -24668,9 +24896,9 @@ dependencies = [ [[package]] name = "simple-dns" -version = "0.7.1" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c80e565e7dcc4f1ef247e2f395550d4cf7d777746d5988e7e4e3156b71077fc" +checksum = "dee851d0e5e7af3721faea1843e8015e820a234f81fda3dea9247e15bac9a86a" dependencies = [ "bitflags 2.6.0", ] @@ -24843,8 +25071,8 @@ dependencies = [ "pbkdf2", "pin-project", "poly1305", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "ruzstd 0.4.0", "schnorrkel 0.10.2", "serde", @@ -24897,8 +25125,8 @@ dependencies = [ "pbkdf2", "pin-project", "poly1305", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "ruzstd 0.6.0", "schnorrkel 0.11.4", "serde", @@ -24940,8 +25168,8 @@ dependencies = [ "no-std-net", "parking_lot 0.12.3", "pin-project", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "serde", "serde_json", "siphasher 0.3.11", @@ -24976,8 +25204,8 @@ dependencies = [ "lru 0.12.3", "parking_lot 0.12.3", "pin-project", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "serde", "serde_json", "siphasher 1.0.1", @@ -25123,7 +25351,7 @@ dependencies = [ "hex-literal", "parity-bytes", "parity-scale-codec", - "rand", + "rand 0.8.5", "rlp 0.6.1", "scale-info", "serde", @@ -25164,7 +25392,7 @@ dependencies = [ "hex", "lazy_static", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "snowbridge-amcl", "zeroize", @@ -25234,7 +25462,7 @@ dependencies = [ "log", "pallet-timestamp 27.0.0", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "serde", "serde_json", @@ -25637,9 +25865,9 @@ dependencies = [ [[package]] name = "socket2" -version = "0.5.7" +version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" +checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" dependencies = [ "libc", "windows-sys 0.52.0", @@ -25656,7 +25884,7 @@ dependencies = [ "futures", "httparse", "log", - "rand", + "rand 0.8.5", "sha-1", ] @@ -25672,7 +25900,7 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand", + "rand 0.8.5", "sha1", ] @@ -25778,7 +26006,7 @@ dependencies = [ "sp-test-primitives", "sp-trie 29.0.0", "sp-version 29.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -25801,7 +26029,7 @@ dependencies = [ "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-trie 35.0.0", "sp-version 35.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -25824,7 +26052,7 @@ dependencies = [ "sp-state-machine 0.43.0", "sp-trie 37.0.0", "sp-version 37.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -25968,7 +26196,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "primitive-types 0.13.1", - "rand", + "rand 0.8.5", "scale-info", "serde", "sp-crypto-hashing 0.1.0", @@ -26078,7 +26306,7 @@ dependencies = [ "sp-database", "sp-runtime 31.0.1", "sp-state-machine 0.35.0", - "thiserror", + "thiserror 1.0.65", "tracing", ] @@ -26094,7 +26322,7 @@ dependencies = [ "sp-runtime 31.0.1", "sp-state-machine 0.35.0", "sp-test-primitives", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -26327,7 +26555,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types 0.13.1", - "rand", + "rand 0.8.5", "regex", "scale-info", "schnorrkel 0.11.4", @@ -26343,7 +26571,7 @@ dependencies = [ "sp-storage 19.0.0", "ss58-registry", "substrate-bip39 0.4.7", - "thiserror", + "thiserror 1.0.65", "tracing", "w3f-bls", "zeroize", @@ -26376,7 +26604,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types 0.12.2", - "rand", + "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", "secp256k1 0.28.2", @@ -26390,7 +26618,7 @@ dependencies = [ "sp-storage 21.0.0", "ss58-registry", "substrate-bip39 0.6.0", - "thiserror", + "thiserror 1.0.65", "tracing", "w3f-bls", "zeroize", @@ -26423,7 +26651,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types 0.12.2", - "rand", + "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", "secp256k1 0.28.2", @@ -26437,7 +26665,7 @@ dependencies = [ "sp-storage 21.0.0", "ss58-registry", "substrate-bip39 0.6.0", - "thiserror", + "thiserror 1.0.65", "tracing", "w3f-bls", "zeroize", @@ -26470,7 +26698,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types 0.12.2", - "rand", + "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", "secp256k1 0.28.2", @@ -26484,7 +26712,7 @@ dependencies = [ "sp-storage 21.0.0", "ss58-registry", "substrate-bip39 0.6.0", - "thiserror", + "thiserror 1.0.65", "tracing", "w3f-bls", "zeroize", @@ -26517,7 +26745,7 @@ dependencies = [ "parking_lot 0.12.3", "paste", "primitive-types 0.13.1", - "rand", + "rand 0.8.5", "scale-info", "schnorrkel 0.11.4", "secp256k1 0.28.2", @@ -26531,7 +26759,7 @@ dependencies = [ "sp-storage 22.0.0", "ss58-registry", "substrate-bip39 0.6.0", - "thiserror", + "thiserror 1.0.65", "tracing", "w3f-bls", "zeroize", @@ -26803,7 +27031,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -26817,7 +27045,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-runtime 39.0.2", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -26952,8 +27180,8 @@ version = "0.34.0" dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "sp-core 28.0.0", "sp-externalities 0.25.0", ] @@ -26998,7 +27226,7 @@ dependencies = [ name = "sp-maybe-compressed-blob" version = "11.0.0" dependencies = [ - "thiserror", + "thiserror 1.0.65", "zstd 0.12.4", ] @@ -27008,7 +27236,7 @@ version = "11.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0c768c11afbe698a090386876911da4236af199cd38a5866748df4d8628aeff" dependencies = [ - "thiserror", + "thiserror 1.0.65", "zstd 0.12.4", ] @@ -27068,7 +27296,7 @@ dependencies = [ "sp-core 28.0.0", "sp-debug-derive 14.0.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27086,7 +27314,7 @@ dependencies = [ "sp-core 34.0.0", "sp-debug-derive 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-runtime 39.0.2", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27094,7 +27322,7 @@ name = "sp-npos-elections" version = "26.0.0" dependencies = [ "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "serde", "sp-arithmetic 23.0.0", @@ -27123,7 +27351,7 @@ version = "2.0.0-alpha.5" dependencies = [ "clap 4.5.13", "honggfuzz", - "rand", + "rand 0.8.5", "sp-npos-elections 26.0.0", "sp-runtime 31.0.1", ] @@ -27190,7 +27418,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "serde_json", @@ -27224,7 +27452,7 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "simple-mermaid 0.1.1", @@ -27250,7 +27478,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "simple-mermaid 0.1.1", @@ -27276,7 +27504,7 @@ dependencies = [ "num-traits", "parity-scale-codec", "paste", - "rand", + "rand 0.8.5", "scale-info", "serde", "simple-mermaid 0.1.1", @@ -27546,14 +27774,14 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.3", "pretty_assertions", - "rand", + "rand 0.8.5", "smallvec", "sp-core 28.0.0", "sp-externalities 0.25.0", "sp-panic-handler 13.0.0", "sp-runtime 31.0.1", "sp-trie 29.0.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", ] @@ -27568,13 +27796,13 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "smallvec", "sp-core 32.0.0", "sp-externalities 0.28.0", "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-trie 34.0.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", ] @@ -27589,13 +27817,13 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "smallvec", "sp-core 33.0.1", "sp-externalities 0.28.0", "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-trie 35.0.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", ] @@ -27610,13 +27838,13 @@ dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "smallvec", "sp-core 34.0.0", "sp-externalities 0.29.0", "sp-panic-handler 13.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-trie 37.0.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", ] @@ -27630,7 +27858,7 @@ dependencies = [ "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sha2 0.10.8", "sp-api 26.0.0", @@ -27640,7 +27868,7 @@ dependencies = [ "sp-externalities 0.25.0", "sp-runtime 31.0.1", "sp-runtime-interface 24.0.0", - "thiserror", + "thiserror 1.0.65", "x25519-dalek", ] @@ -27655,7 +27883,7 @@ dependencies = [ "ed25519-dalek", "hkdf", "parity-scale-codec", - "rand", + "rand 0.8.5", "scale-info", "sha2 0.10.8", "sp-api 34.0.0", @@ -27665,7 +27893,7 @@ dependencies = [ "sp-externalities 0.29.0", "sp-runtime 39.0.2", "sp-runtime-interface 28.0.0", - "thiserror", + "thiserror 1.0.65", "x25519-dalek", ] @@ -27754,7 +27982,7 @@ dependencies = [ "parity-scale-codec", "sp-inherents 26.0.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27767,7 +27995,7 @@ dependencies = [ "parity-scale-codec", "sp-inherents 34.0.0", "sp-runtime 39.0.2", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27862,13 +28090,13 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "schnellru", "sp-core 28.0.0", "sp-externalities 0.25.0", "sp-runtime 31.0.1", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-bench", "trie-db", @@ -27889,12 +28117,12 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "schnellru", "sp-core 32.0.0", "sp-externalities 0.28.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", "trie-root", @@ -27913,12 +28141,12 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "schnellru", "sp-core 33.0.1", "sp-externalities 0.28.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", "trie-root", @@ -27937,12 +28165,12 @@ dependencies = [ "nohash-hasher", "parity-scale-codec", "parking_lot 0.12.3", - "rand", + "rand 0.8.5", "scale-info", "schnellru", "sp-core 34.0.0", "sp-externalities 0.29.0", - "thiserror", + "thiserror 1.0.65", "tracing", "trie-db", "trie-root", @@ -27961,7 +28189,7 @@ dependencies = [ "sp-runtime 31.0.1", "sp-std 14.0.0", "sp-version-proc-macro 13.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27979,7 +28207,7 @@ dependencies = [ "sp-runtime 37.0.0", "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-version-proc-macro 14.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -27997,7 +28225,7 @@ dependencies = [ "sp-runtime 39.0.2", "sp-std 14.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "sp-version-proc-macro 14.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -28170,7 +28398,7 @@ dependencies = [ "hashbrown 0.14.5", "hashlink 0.9.1", "hex", - "indexmap 2.7.0", + "indexmap 2.7.1", "log", "memchr", "once_cell", @@ -28181,7 +28409,7 @@ dependencies = [ "sha2 0.10.8", "smallvec", "sqlformat", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tracing", @@ -28256,7 +28484,7 @@ dependencies = [ "memchr", "once_cell", "percent-encoding", - "rand", + "rand 0.8.5", "rsa", "serde", "sha1", @@ -28264,7 +28492,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.65", "tracing", "whoami", ] @@ -28295,14 +28523,14 @@ dependencies = [ "md-5", "memchr", "once_cell", - "rand", + "rand 0.8.5", "serde", "serde_json", "sha2 0.10.8", "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.65", "tracing", "whoami", ] @@ -28409,7 +28637,7 @@ dependencies = [ "parity-scale-codec", "polkadot-sdk 0.1.0", "pretty_assertions", - "rand", + "rand 0.8.5", "regex", "sc-service-test", "scale-info", @@ -28441,7 +28669,7 @@ dependencies = [ "sp-io 30.0.0", "sp-runtime 31.0.1", "sp-statement-store 10.0.0", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -28850,7 +29078,7 @@ dependencies = [ "scale-info", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "wasm-testbed", ] @@ -28904,7 +29132,7 @@ dependencies = [ "hyper-util", "log", "prometheus", - "thiserror", + "thiserror 1.0.65", "tokio", ] @@ -28948,7 +29176,7 @@ dependencies = [ "sp-trie 29.0.0", "structopt", "strum 0.26.3", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -28978,7 +29206,7 @@ dependencies = [ "sp-io 35.0.0", "sp-runtime 36.0.0", "sp-wasm-interface 21.0.1", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -29105,7 +29333,7 @@ dependencies = [ "sp-blockchain", "sp-runtime 31.0.1", "substrate-test-runtime-client", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -29191,7 +29419,7 @@ dependencies = [ "ipfs-hasher", "log", "num-format", - "rand", + "rand 0.8.5", "reqwest 0.12.9", "scale-info", "semver 1.0.18", @@ -29199,7 +29427,7 @@ dependencies = [ "serde_json", "sp-version 35.0.0", "substrate-differ", - "thiserror", + "thiserror 1.0.65", "url", "uuid", "wasm-loader", @@ -29235,7 +29463,7 @@ dependencies = [ "subxt-lightclient", "subxt-macro", "subxt-metadata", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-util", "tracing", @@ -29258,7 +29486,7 @@ dependencies = [ "scale-typegen", "subxt-metadata", "syn 2.0.98", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -29301,7 +29529,7 @@ dependencies = [ "serde", "serde_json", "smoldot-light 0.16.2", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-stream", "tracing", @@ -29374,7 +29602,7 @@ checksum = "3082b17a86e3c3fe45d858d94d68f6b5247caace193dad6201688f24db8ba9bb" dependencies = [ "hex", "parity-scale-codec", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -29851,7 +30079,16 @@ version = "1.0.65" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.65", +] + +[[package]] +name = "thiserror" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +dependencies = [ + "thiserror-impl 2.0.11", ] [[package]] @@ -29885,6 +30122,17 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "thiserror-impl" +version = "2.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", +] + [[package]] name = "thousands" version = "0.2.0" @@ -29983,6 +30231,16 @@ dependencies = [ "crunchy", ] +[[package]] +name = "tinystr" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +dependencies = [ + "displaydoc", + "zerovec", +] + [[package]] name = "tinytemplate" version = "1.2.1" @@ -30021,7 +30279,7 @@ dependencies = [ "parking_lot 0.12.3", "pin-project-lite", "signal-hook-registry", - "socket2 0.5.7", + "socket2 0.5.8", "tokio-macros", "windows-sys 0.52.0", ] @@ -30064,7 +30322,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" dependencies = [ "pin-project", - "rand", + "rand 0.8.5", "tokio", ] @@ -30122,13 +30380,26 @@ checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" dependencies = [ "futures-util", "log", - "rustls 0.21.7", - "rustls-native-certs 0.6.3", "tokio", - "tokio-rustls 0.24.1", "tungstenite 0.20.1", ] +[[package]] +name = "tokio-tungstenite" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" +dependencies = [ + "futures-util", + "log", + "rustls 0.23.18", + "rustls-native-certs 0.8.0", + "rustls-pki-types", + "tokio", + "tokio-rustls 0.26.0", + "tungstenite 0.26.2", +] + [[package]] name = "tokio-util" version = "0.7.12" @@ -30180,7 +30451,7 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "toml_datetime", "winnow 0.5.15", ] @@ -30191,7 +30462,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "toml_datetime", "winnow 0.5.15", ] @@ -30202,7 +30473,7 @@ version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ - "indexmap 2.7.0", + "indexmap 2.7.1", "serde", "serde_spanned", "toml_datetime", @@ -30502,10 +30773,9 @@ dependencies = [ "http 0.2.9", "httparse", "log", - "rand", - "rustls 0.21.7", + "rand 0.8.5", "sha1", - "thiserror", + "thiserror 1.0.65", "url", "utf-8", ] @@ -30522,12 +30792,32 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "rand", + "rand 0.8.5", "rustls 0.22.4", "rustls-native-certs 0.7.0", "rustls-pki-types", "sha1", - "thiserror", + "thiserror 1.0.65", + "url", + "utf-8", +] + +[[package]] +name = "tungstenite" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4793cb5e56680ecbb1d843515b23b6de9a75eb04b66643e256a396d43be33c13" +dependencies = [ + "bytes", + "data-encoding", + "http 1.1.0", + "httparse", + "log", + "rand 0.9.0", + "rustls 0.23.18", + "rustls-pki-types", + "sha1", + "thiserror 2.0.11", "url", "utf-8", ] @@ -30546,7 +30836,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand", + "rand 0.8.5", "static_assertions", ] @@ -30731,12 +31021,12 @@ dependencies = [ [[package]] name = "url" -version = "2.5.2" +version = "2.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" +checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna 1.0.3", "percent-encoding", "serde", ] @@ -30747,6 +31037,18 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" +[[package]] +name = "utf16_iter" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" + +[[package]] +name = "utf8_iter" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" + [[package]] name = "utf8parse" version = "0.2.1" @@ -30759,7 +31061,7 @@ version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" dependencies = [ - "getrandom", + "getrandom 0.2.10", ] [[package]] @@ -30843,12 +31145,12 @@ dependencies = [ "arrayref", "constcat", "digest 0.10.7", - "rand", - "rand_chacha", + "rand 0.8.5", + "rand_chacha 0.3.1", "rand_core 0.6.4", "sha2 0.10.8", "sha3 0.10.8", - "thiserror", + "thiserror 1.0.65", "zeroize", ] @@ -30892,6 +31194,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasite" version = "0.1.0" @@ -30998,7 +31309,7 @@ dependencies = [ "serde_json", "sp-maybe-compressed-blob 11.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "subrpcer", - "thiserror", + "thiserror 1.0.65", "tungstenite 0.21.0", "ureq", "url", @@ -31015,7 +31326,7 @@ dependencies = [ "strum 0.24.1", "strum_macros 0.24.3", "tempfile", - "thiserror", + "thiserror 1.0.65", "wasm-opt-cxx-sys", "wasm-opt-sys", ] @@ -31063,7 +31374,7 @@ dependencies = [ "sp-version 35.0.0", "sp-wasm-interface 21.0.1", "substrate-runtime-proposal-hash", - "thiserror", + "thiserror 1.0.65", "wasm-loader", ] @@ -31245,7 +31556,7 @@ dependencies = [ "log", "object 0.30.4", "target-lexicon", - "thiserror", + "thiserror 1.0.65", "wasmparser", "wasmtime-cranelift-shared", "wasmtime-environ", @@ -31280,7 +31591,7 @@ dependencies = [ "object 0.30.4", "serde", "target-lexicon", - "thiserror", + "thiserror 1.0.65", "wasmparser", "wasmtime-types", ] @@ -31347,7 +31658,7 @@ dependencies = [ "memfd", "memoffset 0.8.0", "paste", - "rand", + "rand 0.8.5", "rustix 0.36.15", "wasmtime-asm-macros", "wasmtime-environ", @@ -31363,7 +31674,7 @@ checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", - "thiserror", + "thiserror 1.0.65", "wasmparser", ] @@ -31987,6 +32298,27 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.6.0", +] + +[[package]] +name = "write16" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" + +[[package]] +name = "writeable" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" + [[package]] name = "wyz" version = "0.5.1" @@ -31998,9 +32330,9 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ "curve25519-dalek 4.1.3", "rand_core 0.6.4", @@ -32014,14 +32346,31 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" dependencies = [ - "asn1-rs", + "asn1-rs 0.6.1", "data-encoding", - "der-parser", + "der-parser 9.0.0", "lazy_static", "nom", - "oid-registry", + "oid-registry 0.7.0", "rusticata-macros", - "thiserror", + "thiserror 1.0.65", + "time", +] + +[[package]] +name = "x509-parser" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4569f339c0c402346d4a75a9e39cf8dad310e287eef1ff56d4c68e5067f53460" +dependencies = [ + "asn1-rs 0.7.0", + "data-encoding", + "der-parser 10.0.0", + "lazy_static", + "nom", + "oid-registry 0.8.1", + "rusticata-macros", + "thiserror 2.0.11", "time", ] @@ -32304,22 +32653,22 @@ dependencies = [ "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "static_assertions", ] [[package]] name = "yamux" -version = "0.13.3" +version = "0.13.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31b5e376a8b012bee9c423acdbb835fc34d45001cfa3106236a624e4b738028" +checksum = "17610762a1207ee816c6fadc29220904753648aba0a9ed61c7b8336e80a559c4" dependencies = [ "futures", "log", "nohash-hasher", "parking_lot 0.12.3", "pin-project", - "rand", + "rand 0.8.5", "static_assertions", "web-time", ] @@ -32345,13 +32694,46 @@ dependencies = [ "time", ] +[[package]] +name = "yoke" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +dependencies = [ + "serde", + "stable_deref_trait", + "yoke-derive", + "zerofrom", +] + +[[package]] +name = "yoke-derive" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", + "synstructure 0.13.1", +] + [[package]] name = "zerocopy" version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ - "zerocopy-derive", + "zerocopy-derive 0.7.32", +] + +[[package]] +name = "zerocopy" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dde3bb8c68a8f3f1ed4ac9221aad6b10cece3e60a8e2ea54a6a2dec806d0084c" +dependencies = [ + "zerocopy-derive 0.8.20", ] [[package]] @@ -32365,6 +32747,38 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "zerocopy-derive" +version = "0.8.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eea57037071898bf96a6da35fd626f4f27e9cee3ead2a6c703cf09d472b2e700" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", +] + +[[package]] +name = "zerofrom" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +dependencies = [ + "zerofrom-derive", +] + +[[package]] +name = "zerofrom-derive" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", + "synstructure 0.13.1", +] + [[package]] name = "zeroize" version = "1.8.1" @@ -32385,6 +32799,28 @@ dependencies = [ "syn 2.0.98", ] +[[package]] +name = "zerovec" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +dependencies = [ + "yoke", + "zerofrom", + "zerovec-derive", +] + +[[package]] +name = "zerovec-derive" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +dependencies = [ + "proc-macro2 1.0.93", + "quote 1.0.38", + "syn 2.0.98", +] + [[package]] name = "zombienet-backchannel" version = "1.0.0" @@ -32394,9 +32830,9 @@ dependencies = [ "reqwest 0.12.9", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.20.1", "tracing-gum", "url", ] @@ -32414,7 +32850,7 @@ dependencies = [ "reqwest 0.11.27", "serde", "serde_json", - "thiserror", + "thiserror 1.0.65", "tokio", "toml 0.8.19", "tracing", @@ -32436,7 +32872,7 @@ dependencies = [ "libp2p", "libsecp256k1", "multiaddr 0.18.1", - "rand", + "rand 0.8.5", "regex", "reqwest 0.11.27", "serde", @@ -32445,7 +32881,7 @@ dependencies = [ "sp-core 35.0.0", "subxt", "subxt-signer", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing", "uuid", @@ -32463,7 +32899,7 @@ checksum = "8a52a796a1521cf6420cc6384eac9ef25a146d453b568969774af643f3ecdc97" dependencies = [ "pest", "pest_derive", - "thiserror", + "thiserror 1.0.65", ] [[package]] @@ -32487,7 +32923,7 @@ dependencies = [ "serde_yaml", "sha2 0.10.8", "tar", - "thiserror", + "thiserror 1.0.65", "tokio", "tokio-util", "tracing", @@ -32525,10 +32961,10 @@ dependencies = [ "async-trait", "futures", "nix 0.29.0", - "rand", + "rand 0.8.5", "regex", "reqwest 0.11.27", - "thiserror", + "thiserror 1.0.65", "tokio", "tracing", "uuid", diff --git a/Cargo.toml b/Cargo.toml index 80026d7d4fe15..bddd8c10db709 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -826,7 +826,7 @@ hyper-rustls = { version = "0.27.3", default-features = false, features = ["http hyper-util = { version = "0.1.5", default-features = false } impl-serde = { version = "0.5.0", default-features = false } impl-trait-for-tuples = { version = "0.2.2" } -indexmap = { version = "2.0.0" } +indexmap = { version = "2.7.1" } indicatif = { version = "0.17.7" } integer-sqrt = { version = "0.1.2" } ip_network = { version = "0.4.1" } @@ -855,7 +855,7 @@ linked-hash-map = { version = "0.5.4" } linked_hash_set = { version = "0.1.4" } linregress = { version = "0.5.1" } lite-json = { version = "0.2.0", default-features = false } -litep2p = { version = "0.9.0", features = ["websocket"] } +litep2p = { version = "0.9.1", features = ["websocket"] } log = { version = "0.4.22", default-features = false } macro_magic = { version = "0.5.1" } maplit = { version = "1.0.2" } @@ -1372,7 +1372,7 @@ tt-call = { version = "1.0.8" } tuplex = { version = "0.1", default-features = false } twox-hash = { version = "1.6.3", default-features = false } unsigned-varint = { version = "0.7.2" } -url = { version = "2.4.0" } +url = { version = "2.5.4" } void = { version = "1.0.2" } w3f-bls = { version = "0.1.3", default-features = false } wait-timeout = { version = "0.2" } diff --git a/prdoc/pr_7640.prdoc b/prdoc/pr_7640.prdoc new file mode 100644 index 0000000000000..ede525d219996 --- /dev/null +++ b/prdoc/pr_7640.prdoc @@ -0,0 +1,25 @@ +title: Bring the latest compatibility fixes via litep2p v0.9.1 + +doc: + - audience: [Node Dev, Node Operator] + description: | + This release enhances compatibility between litep2p and libp2p by using the latest Yamux upstream version. + Additionally, it includes various improvements and fixes to boost the stability and performance of the WebSocket stream and the multistream-select protocol. + +crates: + - name: sc-network + bump: minor + - name: cumulus-client-cli + bump: minor + - name: sc-network-types + bump: minor + - name: sc-transaction-pool-api + bump: minor + - name: sc-transaction-pool + bump: minor + - name: polkadot-statement-distribution + bump: minor + - name: polkadot-dispute-distribution + bump: minor + - name: cumulus-relay-chain-rpc-interface + bump: minor diff --git a/substrate/client/network/src/litep2p/mod.rs b/substrate/client/network/src/litep2p/mod.rs index 4f105936ac563..ee11e90cbc27e 100644 --- a/substrate/client/network/src/litep2p/mod.rs +++ b/substrate/client/network/src/litep2p/mod.rs @@ -39,7 +39,6 @@ use crate::{ }, }, peer_store::PeerStoreProvider, - protocol, service::{ metrics::{register_without_sources, MetricSources, Metrics, NotificationMetrics}, out_events, @@ -277,53 +276,6 @@ impl Litep2pNetworkBackend { }; let config_builder = ConfigBuilder::new(); - // The yamux buffer size limit is configured to be equal to the maximum frame size - // of all protocols. 10 bytes are added to each limit for the length prefix that - // is not included in the upper layer protocols limit but is still present in the - // yamux buffer. These 10 bytes correspond to the maximum size required to encode - // a variable-length-encoding 64bits number. In other words, we make the - // assumption that no notification larger than 2^64 will ever be sent. - let yamux_maximum_buffer_size = { - let requests_max = config - .request_response_protocols - .iter() - .map(|cfg| usize::try_from(cfg.max_request_size).unwrap_or(usize::MAX)); - let responses_max = config - .request_response_protocols - .iter() - .map(|cfg| usize::try_from(cfg.max_response_size).unwrap_or(usize::MAX)); - let notifs_max = config - .notification_protocols - .iter() - .map(|cfg| usize::try_from(cfg.max_notification_size()).unwrap_or(usize::MAX)); - - // A "default" max is added to cover all the other protocols: ping, identify, - // kademlia, block announces, and transactions. - let default_max = cmp::max( - 1024 * 1024, - usize::try_from(protocol::BLOCK_ANNOUNCES_TRANSACTIONS_SUBSTREAM_SIZE) - .unwrap_or(usize::MAX), - ); - - iter::once(default_max) - .chain(requests_max) - .chain(responses_max) - .chain(notifs_max) - .max() - .expect("iterator known to always yield at least one element; qed") - .saturating_add(10) - }; - - let yamux_config = { - let mut yamux_config = litep2p::yamux::Config::default(); - // Enable proper flow-control: window updates are only sent when - // buffered data has been consumed. - yamux_config.set_window_update_mode(litep2p::yamux::WindowUpdateMode::OnRead); - yamux_config.set_max_buffer_size(yamux_maximum_buffer_size); - - yamux_config - }; - let (tcp, websocket): (Vec>, Vec>) = config .network_config .listen_addresses @@ -372,13 +324,13 @@ impl Litep2pNetworkBackend { config_builder .with_websocket(WebSocketTransportConfig { listen_addresses: websocket.into_iter().flatten().map(Into::into).collect(), - yamux_config: yamux_config.clone(), + yamux_config: litep2p::yamux::Config::default(), nodelay: true, ..Default::default() }) .with_tcp(TcpTransportConfig { listen_addresses: tcp.into_iter().flatten().map(Into::into).collect(), - yamux_config, + yamux_config: litep2p::yamux::Config::default(), nodelay: true, ..Default::default() }) diff --git a/substrate/client/network/src/protocol.rs b/substrate/client/network/src/protocol.rs index 81e1848adefa2..260edf58ba2e9 100644 --- a/substrate/client/network/src/protocol.rs +++ b/substrate/client/network/src/protocol.rs @@ -22,7 +22,6 @@ use crate::{ protocol_controller::{self, SetId}, service::{metrics::NotificationMetrics, traits::Direction}, types::ProtocolName, - MAX_RESPONSE_SIZE, }; use codec::Encode; @@ -56,10 +55,6 @@ pub mod message; // Log target for this file. const LOG_TARGET: &str = "sub-libp2p"; -/// Maximum size used for notifications in the block announce and transaction protocols. -// Must be equal to `max(MAX_BLOCK_ANNOUNCE_SIZE, MAX_TRANSACTIONS_SIZE)`. -pub(crate) const BLOCK_ANNOUNCES_TRANSACTIONS_SUBSTREAM_SIZE: u64 = MAX_RESPONSE_SIZE; - /// Identifier of the peerset for the block announces protocol. const HARDCODED_PEERSETS_SYNC: SetId = SetId::from(0);