Skip to content

Commit b0902d9

Browse files
test: enable live sync
1 parent e06a485 commit b0902d9

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
@@ -86,7 +86,7 @@ const MAX_INVALID_HEADERS: u32 = 512u32;
8686
///
8787
/// This is the default threshold, the distance to the head that the tree will be used for sync.
8888
/// If the distance exceeds this threshold, the pipeline will be used for sync.
89-
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = EPOCH_SLOTS;
89+
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = 9999999999;
9090

9191
/// Represents a pending forkchoice update.
9292
///

0 commit comments

Comments
 (0)