From 57c99e80a533e6138cd027ea48feaa50cb595656 Mon Sep 17 00:00:00 2001 From: joshieDo <93316087+joshieDo@users.noreply.github.com> Date: Sat, 17 Aug 2024 09:54:50 -0700 Subject: [PATCH] fix(engine2): ensure static files are up to the tip when coming from an old engine node (#10299) --- crates/node/builder/src/launch/engine.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/node/builder/src/launch/engine.rs b/crates/node/builder/src/launch/engine.rs index 5512fd3285..5b62ef54b7 100644 --- a/crates/node/builder/src/launch/engine.rs +++ b/crates/node/builder/src/launch/engine.rs @@ -177,6 +177,9 @@ where pipeline_exex_handle, )?; + // The new engine writes directly to static files. This ensures that they're up to the tip. + pipeline.move_to_static_files()?; + let pipeline_events = pipeline.events(); let mut pruner_builder = ctx.pruner_builder();