From b498aa790e04080df0a07578dafd1c9a976249a2 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 5 Apr 2022 21:20:09 +0200 Subject: [PATCH 1/2] Properly fix the regression again --- bin/light-base/src/runtime_service.rs | 4 ++++ bin/wasm-node/CHANGELOG.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bin/light-base/src/runtime_service.rs b/bin/light-base/src/runtime_service.rs index 20b9b800c4..ee55891d35 100644 --- a/bin/light-base/src/runtime_service.rs +++ b/bin/light-base/src/runtime_service.rs @@ -1159,6 +1159,10 @@ async fn run_background( }, }; } else { + if let GuardedInner::FinalizedBlockRuntimeUnknown { when_known, .. } = &lock.tree { + when_known.notify(usize::max_value()); + } + lock.tree = GuardedInner::FinalizedBlockRuntimeUnknown { when_known: event_listener::Event::new(), tree: { diff --git a/bin/wasm-node/CHANGELOG.md b/bin/wasm-node/CHANGELOG.md index cb709b62cf..cf8fb28664 100644 --- a/bin/wasm-node/CHANGELOG.md +++ b/bin/wasm-node/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixed + +- Properly fix the regression mentioned in v0.6.12. ([#2201](https://github.com/paritytech/smoldot/pull/2201)) + ## 0.6.12 - 2022-04-04 ### Fixed From 8a8ab646ee512bf3a05786fc23d3245ce1df6157 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 5 Apr 2022 21:21:35 +0200 Subject: [PATCH 2/2] CHANGELOG update --- bin/wasm-node/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/wasm-node/CHANGELOG.md b/bin/wasm-node/CHANGELOG.md index cf8fb28664..810d1ab499 100644 --- a/bin/wasm-node/CHANGELOG.md +++ b/bin/wasm-node/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixed -- Properly fix the regression mentioned in v0.6.12. ([#2201](https://github.com/paritytech/smoldot/pull/2201)) +- Properly fix the regression that version 0.6.12 was supposed to fix. ([#2210](https://github.com/paritytech/smoldot/pull/2210)) ## 0.6.12 - 2022-04-04