pub fn seal_commit_phase2_circuit_proofs<Tree: 'static + MerkleTreeTrait>(
    porep_config: &PoRepConfig,
    phase1_output: SealCommitPhase1Output<Tree>,
    sector_id: SectorId,
) -> Result<SealCommitOutput>
Expand description

This new API is added and made public specifically for generating NonInteractive PoRep proofs that will later be aggregated using the existing aggregate_seal_commit_proofs method. It is also used internally outside of the NonInteractivePoRep use-case to avoid code duplication.

Note that if seal_commit_phase2 is used for NonInteractivePoRep and it’s later decided that multiple NI-PoRep proofs should be aggregated, it will fail.