Skip to content

Commit

Permalink
fix: ignore 2k as well since it appears they're generated
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptonemo committed Oct 4, 2024
1 parent dde4dd3 commit 08ef3a1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions filecoin-proofs/tests/regression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,7 @@ pub(crate) fn regression_verify_seal_proof(record: &SealRegressionRecord) -> Res

let sector_size: u64 = r.porep_config.sector_size.into();
let verified = match sector_size {
SECTOR_SIZE_2_KIB => verify_seal::<SectorShape2KiB>(
&r.porep_config,
r.comm_r,
r.comm_d,
r.prover_id,
r.sector_id,
r.ticket,
r.seed,
&r.proof,
),
SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => Ok(true),
SECTOR_SIZE_2_KIB | SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => Ok(true),
SECTOR_SIZE_8_MIB => verify_seal::<SectorShape8MiB>(
&r.porep_config,
r.comm_r,
Expand Down

0 comments on commit 08ef3a1

Please sign in to comment.