Skip to content

Commit d9ea2fa

Browse files
test: enable live sync
1 parent e46dc52 commit d9ea2fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/bsc/engine/src/task.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ impl<
139139
merkle_clean_threshold,
140140
};
141141

142-
this.start_block_event_listening();
143-
this.start_fork_choice_update_notifier();
144-
this.start_chain_tracker_notifier();
142+
// this.start_block_event_listening();
143+
// this.start_fork_choice_update_notifier();
144+
// this.start_chain_tracker_notifier();
145145
}
146146

147147
/// 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)