Skip to content

Commit

Permalink
make with_head private again
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 17, 2024
1 parent 4139d00 commit f2a5705
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/exex/exex/src/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,13 @@ where
P: BlockReader + HeaderProvider + StateProviderFactory + Clone + Unpin + 'static,
E: BlockExecutorProvider + Clone + Unpin + 'static,
{
// TODO(alexey): make it public when backfill is implemented in [`ExExNotificationsWithHead`]
/// Subscribe to notifications with the given head.
///
/// Notifications will be sent starting from the head, not inclusive. For example, if
/// `head.number == 10`, then the first notification will be with `block.number == 11`.
pub fn with_head(self, head: ExExHead) -> ExExNotificationsWithHead<P, E> {
#[allow(dead_code)]
fn with_head(self, head: ExExHead) -> ExExNotificationsWithHead<P, E> {
ExExNotificationsWithHead::new(
self.node_head,
self.provider,
Expand Down

0 comments on commit f2a5705

Please sign in to comment.