Skip to content

Commit

Permalink
test: enable live sync
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Oct 8, 2024
1 parent 22b3b0f commit 5334242
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/bsc/engine/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ impl<
chain_tracker_rx: Arc::new(Mutex::new(chain_tracker_rx)),
};

this.start_block_event_listening();
this.start_fork_choice_update_notifier();
this.start_chain_tracker_notifier();
// this.start_block_event_listening();
// this.start_fork_choice_update_notifier();
// this.start_chain_tracker_notifier();
}

/// Start listening to the network block event
Expand Down
2 changes: 1 addition & 1 deletion crates/consensus/beacon/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const MAX_INVALID_HEADERS: u32 = 512u32;
///
/// This is the default threshold, the distance to the head that the tree will be used for sync.
/// If the distance exceeds this threshold, the pipeline will be used for sync.
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = EPOCH_SLOTS;
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = 9999999999;

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

0 comments on commit 5334242

Please sign in to comment.