Skip to content

Commit 08ef3a1

Browse files
committed
fix: ignore 2k as well since it appears they're generated
1 parent dde4dd3 commit 08ef3a1

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

filecoin-proofs/tests/regression.rs

+1-11
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,7 @@ pub(crate) fn regression_verify_seal_proof(record: &SealRegressionRecord) -> Res
115115

116116
let sector_size: u64 = r.porep_config.sector_size.into();
117117
let verified = match sector_size {
118-
SECTOR_SIZE_2_KIB => verify_seal::<SectorShape2KiB>(
119-
&r.porep_config,
120-
r.comm_r,
121-
r.comm_d,
122-
r.prover_id,
123-
r.sector_id,
124-
r.ticket,
125-
r.seed,
126-
&r.proof,
127-
),
128-
SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => Ok(true),
118+
SECTOR_SIZE_2_KIB | SECTOR_SIZE_4_KIB | SECTOR_SIZE_16_KIB | SECTOR_SIZE_32_KIB => Ok(true),
129119
SECTOR_SIZE_8_MIB => verify_seal::<SectorShape8MiB>(
130120
&r.porep_config,
131121
r.comm_r,

0 commit comments

Comments
 (0)