From 4cf6d68ea5ecd82718b2b138cd7913cf92c37045 Mon Sep 17 00:00:00 2001 From: frisitano Date: Tue, 14 Oct 2025 17:14:30 +0800 Subject: [PATCH] set engine persistence threshold to 0 --- crates/node/src/main.rs | 2 +- crates/node/src/test_utils.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/node/src/main.rs b/crates/node/src/main.rs index 4497585d..3ccc199a 100644 --- a/crates/node/src/main.rs +++ b/crates/node/src/main.rs @@ -35,7 +35,7 @@ fn main() { .config() .engine .tree_config() - .with_always_process_payload_attributes_on_canonical_head(true); + .with_always_process_payload_attributes_on_canonical_head(true).with_persistence_threshold(0); let launcher = EngineNodeLauncher::new( builder.task_executor().clone(), builder.config().datadir(), diff --git a/crates/node/src/test_utils.rs b/crates/node/src/test_utils.rs index b9c7aed5..e02a60ce 100644 --- a/crates/node/src/test_utils.rs +++ b/crates/node/src/test_utils.rs @@ -90,7 +90,8 @@ where .with_add_ons(node.add_ons()) .launch_with_fn(|builder| { let tree_config = TreeConfig::default() - .with_always_process_payload_attributes_on_canonical_head(true); + .with_always_process_payload_attributes_on_canonical_head(true) + .with_persistence_threshold(0); let launcher = EngineNodeLauncher::new( builder.task_executor().clone(), builder.config().datadir(),