From 569c5b042c960a856fd594edbd3f77c36dd46ac7 Mon Sep 17 00:00:00 2001 From: Tiago Tavares Date: Wed, 9 Sep 2026 19:54:31 +0100 Subject: [PATCH 1/2] chore: patch smoldot at the lifecycle_unstable_follow branch head Claude-Session: https://claude.ai/code/session_016mKaYZCKByoDHvciQ6sqGM --- Cargo.lock | 6 ++---- Cargo.toml | 6 ++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 23e5c0928..de2ae3693 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4606,8 +4606,7 @@ dependencies = [ [[package]] name = "smoldot" version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5f01fb8767c90d0c3caf49087b31cd73405929a2df43f8ab6897106769d999a" +source = "git+https://github.com/paritytech/smoldot?rev=d26e32d378b3cbd6d01745a3f8313988420df497#d26e32d378b3cbd6d01745a3f8313988420df497" dependencies = [ "ark-bls12-381 0.6.0", "ark-ec 0.6.0", @@ -4703,8 +4702,7 @@ dependencies = [ [[package]] name = "smoldot-light" version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de50f44bdc83371304c89ba60e286f97bb16ae43b9e8bf621160ebdfe52d833f" +source = "git+https://github.com/paritytech/smoldot?rev=d26e32d378b3cbd6d01745a3f8313988420df497#d26e32d378b3cbd6d01745a3f8313988420df497" dependencies = [ "async-channel", "async-lock", diff --git a/Cargo.toml b/Cargo.toml index 4a28e8a4d..ac302b77e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,3 +38,9 @@ codegen-units = 16 # Most core edits touch one crate, so reusing the previous compilation is the # largest remaining win on this path. incremental = true + +# smoldot's `lifecycle_unstable_follow` subscription only exists on the branch of +# paritytech/smoldot#3353; the rev is that pull request's head. +[patch.crates-io] +smoldot = { git = "https://github.com/paritytech/smoldot", rev = "d26e32d378b3cbd6d01745a3f8313988420df497" } +smoldot-light = { git = "https://github.com/paritytech/smoldot", rev = "d26e32d378b3cbd6d01745a3f8313988420df497" } From 21c6fb432d2b1397994c820c411dddaabc410c75 Mon Sep 17 00:00:00 2001 From: Tiago Tavares Date: Fri, 11 Sep 2026 10:35:11 +0100 Subject: [PATCH 2/2] chore: track smoldot main now that the lifecycle branch is merged Claude-Session: https://claude.ai/code/session_016mKaYZCKByoDHvciQ6sqGM --- Cargo.lock | 4 ++-- Cargo.toml | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de2ae3693..3ff0b62b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4606,7 +4606,7 @@ dependencies = [ [[package]] name = "smoldot" version = "3.0.0" -source = "git+https://github.com/paritytech/smoldot?rev=d26e32d378b3cbd6d01745a3f8313988420df497#d26e32d378b3cbd6d01745a3f8313988420df497" +source = "git+https://github.com/paritytech/smoldot?branch=main#48b8a9b2fcb31dcdd2a1fa9fae6b1960a6bfd04d" dependencies = [ "ark-bls12-381 0.6.0", "ark-ec 0.6.0", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "smoldot-light" version = "2.0.2" -source = "git+https://github.com/paritytech/smoldot?rev=d26e32d378b3cbd6d01745a3f8313988420df497#d26e32d378b3cbd6d01745a3f8313988420df497" +source = "git+https://github.com/paritytech/smoldot?branch=main#48b8a9b2fcb31dcdd2a1fa9fae6b1960a6bfd04d" dependencies = [ "async-channel", "async-lock", diff --git a/Cargo.toml b/Cargo.toml index ac302b77e..f03eac62b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,8 +39,8 @@ codegen-units = 16 # largest remaining win on this path. incremental = true -# smoldot's `lifecycle_unstable_follow` subscription only exists on the branch of -# paritytech/smoldot#3353; the rev is that pull request's head. +# `lifecycle_unstable_follow` is on smoldot's main branch and in no published +# release yet, so the light client comes from git until one ships it. [patch.crates-io] -smoldot = { git = "https://github.com/paritytech/smoldot", rev = "d26e32d378b3cbd6d01745a3f8313988420df497" } -smoldot-light = { git = "https://github.com/paritytech/smoldot", rev = "d26e32d378b3cbd6d01745a3f8313988420df497" } +smoldot = { git = "https://github.com/paritytech/smoldot", branch = "main" } +smoldot-light = { git = "https://github.com/paritytech/smoldot", branch = "main" }