Skip to content

Commit cc0e696

Browse files
test: enable live sync
1 parent 252a32b commit cc0e696

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

crates/bsc/engine/src/task.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ impl<
125125
chain_tracker_rx: Arc::new(Mutex::new(chain_tracker_rx)),
126126
};
127127

128-
this.start_block_event_listening();
129-
this.start_fork_choice_update_notifier();
130-
this.start_chain_tracker_notifier();
128+
// this.start_block_event_listening();
129+
// this.start_fork_choice_update_notifier();
130+
// this.start_chain_tracker_notifier();
131131
}
132132

133133
/// Start listening to the network block event

crates/consensus/beacon/src/engine/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const MAX_INVALID_HEADERS: u32 = 512u32;
8585
///
8686
/// This is the default threshold, the distance to the head that the tree will be used for sync.
8787
/// If the distance exceeds this threshold, the pipeline will be used for sync.
88-
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = EPOCH_SLOTS;
88+
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = 9999999999;
8989

9090
/// Helper trait expressing requirements for node types to be used in engine.
9191
pub trait EngineNodeTypes: ProviderNodeTypes + NodeTypesWithEngine {}

0 commit comments

Comments
 (0)