diff --git a/Cargo.lock b/Cargo.lock index b7ed4711f27..8121a305f51 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -477,9 +477,9 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-channel" -version = "2.3.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a" +checksum = "924ed96dd52d1b75e9c1a3e6275715fd320f5f9439fb5a4a11fa51f4221158d2" dependencies = [ "concurrent-queue", "event-listener-strategy", @@ -646,6 +646,12 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" +[[package]] +name = "base32" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "022dfe9eb35f19ebbcb51e0b40a5ab759f46ad60cadf7297e0bd085afb50e076" + [[package]] name = "base58" version = "0.2.0" @@ -1866,6 +1872,18 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" +[[package]] +name = "fastbloom" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef975e30683b2d965054bb0a836f8973857c4ebf6acf274fe46617cd285060d8" +dependencies = [ + "foldhash 0.2.0", + "libm", + "portable-atomic", + "siphasher", +] + [[package]] name = "fastrand" version = "2.3.0" @@ -2349,7 +2367,6 @@ dependencies = [ "allocator-api2", "equivalent", "foldhash 0.1.5", - "serde", ] [[package]] @@ -3226,11 +3243,11 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" [[package]] name = "lru" -version = "0.12.5" +version = "0.16.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38" +checksum = "7f66e8d5d03f609abc3a39e6f08e4164ebf1447a732906d39eb9b99b7919ef39" dependencies = [ - "hashbrown 0.15.3", + "hashbrown 0.16.1", ] [[package]] @@ -3776,6 +3793,12 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "portable-atomic" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" + [[package]] name = "potential_utf" version = "0.1.2" @@ -4979,13 +5002,14 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.20.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "724ab10d6485cccb4bab080ce436c0b361295274aec7847d7ba84ab1a79a5132" +checksum = "9879c3b19576797ad597164a07898aab5c6a99d9aed38a7d17120cace4c0f187" dependencies = [ "arrayvec 0.7.6", "async-lock", "atomic-take", + "base32", "base64 0.22.1", "bip39", "blake2-rfc", @@ -4996,10 +5020,11 @@ dependencies = [ "ed25519-zebra", "either", "event-listener", + "fastbloom", "fnv", "futures-lite", "futures-util", - "hashbrown 0.15.3", + "hashbrown 0.16.1", "hex", "hmac 0.12.1", "itertools 0.14.0", @@ -5033,9 +5058,9 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.18.0" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8b4d4971f06f2471f4e57a662dbe8047fa0cc020957764a6211f3fad371f7bd" +checksum = "23c762d8f022452958f7473a5aa6e5427c178837c8a72a6f5da3e45ed2c7d804" dependencies = [ "async-channel", "async-lock", @@ -5049,7 +5074,7 @@ dependencies = [ "futures-channel", "futures-lite", "futures-util", - "hashbrown 0.15.3", + "hashbrown 0.16.1", "hex", "itertools 0.14.0", "log", diff --git a/Cargo.toml b/Cargo.toml index 6e89d444d58..bab1c81a9f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,8 +126,8 @@ hyper = "1" http-body = "1" # Light client support: -smoldot = { version = "0.20.0", default-features = false } -smoldot-light = { version = "0.18.0", default-features = false } +smoldot = { version = "1.1.0", default-features = false } +smoldot-light = { version = "1.1.0", default-features = false } tokio-stream = "0.1.16" futures-util = "0.3.31" rand = "0.8.5" diff --git a/lightclient/src/lib.rs b/lightclient/src/lib.rs index 696605f2744..5444dc306b0 100644 --- a/lightclient/src/lib.rs +++ b/lightclient/src/lib.rs @@ -108,6 +108,7 @@ impl LightClient { database_content: "", potential_relay_chains: std::iter::empty(), user_data: (), + statement_protocol_config: None, }; let added_chain = client @@ -160,6 +161,7 @@ impl LightClient { database_content: "", potential_relay_chains: std::iter::once(self.relay_chain_id), user_data: (), + statement_protocol_config: None, }; let added_chain = self diff --git a/macro/src/lib.rs b/macro/src/lib.rs index d8c7518c1aa..9fd97081f5a 100644 --- a/macro/src/lib.rs +++ b/macro/src/lib.rs @@ -148,7 +148,7 @@ fn subxt_inner(args: TokenStream, item_mod: syn::ItemMod) -> Result