pub fn new(pool: ConnectionPool<Core>, state_keeper_db_path: PathBuf) -> (Self, RocksdbCell) {
        let (initial_state_sender, initial_state) = watch::channel(None);
        let (db_sender, db) = watch::channel(None);
        let this = Self {
            recovery_pool: pool.clone(),
            pool,
            state_keeper_db_path,
            state_keeper_db_options: RocksdbStorageOptions::default(),
            initial_state_sender,
            db_sender,
            to_l1_batch_number: None,
        };
        (this, RocksdbCell { initial_state, db })
    }
Create a new catch-up task with the provided Postgres and RocksDB instances. Optionally
accepts the last L1 batch number to catch up to (defaults to latest if not specified).
core/lib/state/src/catchup.rs