fn extract_op_data(
        batch_info: &api::L1BatchDetails,
        stage: AggregatedActionType,
    ) -> (Option<H256>, Option<DateTime<Utc>>, Option<SLChainId>) {
        match stage {
            AggregatedActionType::Commit => (
                batch_info.base.commit_tx_hash,
                batch_info.base.committed_at,
                batch_info.base.commit_chain_id,
            ),
            AggregatedActionType::PublishProofOnchain => (
                batch_info.base.prove_tx_hash,
                batch_info.base.proven_at,
                batch_info.base.prove_chain_id,
            ),
            AggregatedActionType::Execute => (
                batch_info.base.execute_tx_hash,
                batch_info.base.executed_at,
                batch_info.base.execute_chain_id,
            ),
        }
    }
Extracts tx hash, timestamp and chain id of the operation.
core/node/node_sync/src/batch_status_updater/mod.rs