pub fn new(client: Box<DynClient<L2>>, pool: ConnectionPool<Core>) -> Self {
        Self {
            data_provider: CombinedDataProvider::new(client.for_component("tree_data_fetcher")),
            diamond_proxy_address: None,
            pool,
            metrics: &METRICS,
            health_updater: ReactiveHealthCheck::new("tree_data_fetcher").1,
            poll_interval: Self::DEFAULT_POLL_INTERVAL,
            #[cfg(test)]
            updates_sender: mpsc::unbounded_channel().0,
        }
    }
Creates a new fetcher connected to the main node.
core/node/node_sync/src/tree_data_fetcher/mod.rs