pub fn new(
        client: Box<DynClient<L2>>,
        pool: ConnectionPool<Core>,
        da_client: Box<dyn DataAvailabilityClient>,
    ) -> Self {
        Self {
            client: client.for_component("data_availability_fetcher"),
            da_client,
            pool,
            health_updater: ReactiveHealthCheck::new("data_availability_fetcher").1,
            poll_interval: Self::DEFAULT_POLL_INTERVAL,
            last_scanned_batch: L1BatchNumber(0),
        }
    }
Creates a new fetcher connected to the main node.
core/node/node_sync/src/data_availability_fetcher/mod.rs