@@ -222,12 +222,12 @@ mod tests {
222222 parameters:: default_config,
223223 } ,
224224 } ,
225- parameters:: { FoldingFactor , MultivariateParameters , ProtocolParameters , SoundnessType } ,
226- poly_utils:: multilinear:: MultilinearPoint ,
227- whir:: {
228- domainsep:: WhirDomainSeparator ,
229- parameters:: { DeduplicationStrategy , MerkleProofStrategy } ,
225+ parameters:: {
226+ DeduplicationStrategy , FoldingFactor , MerkleProofStrategy , MultivariateParameters ,
227+ ProtocolParameters , SoundnessType ,
230228 } ,
229+ poly_utils:: multilinear:: MultilinearPoint ,
230+ whir:: domainsep:: WhirDomainSeparator ,
231231 } ;
232232
233233 #[ test]
@@ -264,16 +264,13 @@ mod tests {
264264 _pow_parameters : std:: marker:: PhantomData ,
265265 starting_log_inv_rate : starting_rate,
266266 batch_size : 1 ,
267+ deduplication_strategy : DeduplicationStrategy :: Enabled ,
268+ merkle_proof_strategy : MerkleProofStrategy :: Compressed ,
267269 } ;
268270
269271 // Define multivariate parameters for the polynomial.
270272 let mv_params = MultivariateParameters :: < F > :: new ( num_variables) ;
271- let params = WhirConfig :: < F , MerkleConfig , Blake3PoW > :: new (
272- mv_params,
273- whir_params,
274- DeduplicationStrategy :: Enabled ,
275- MerkleProofStrategy :: Compressed ,
276- ) ;
273+ let params = WhirConfig :: < F , MerkleConfig , Blake3PoW > :: new ( mv_params, whir_params) ;
277274
278275 // Generate a random polynomial with 32 coefficients.
279276 let polynomial = CoefficientList :: new ( vec ! [ F :: rand( & mut rng) ; 32 ] ) ;
@@ -358,9 +355,9 @@ mod tests {
358355 _pow_parameters : Default :: default ( ) ,
359356 starting_log_inv_rate : 1 ,
360357 batch_size : 1 ,
358+ deduplication_strategy : DeduplicationStrategy :: Enabled ,
359+ merkle_proof_strategy : MerkleProofStrategy :: Compressed ,
361360 } ,
362- DeduplicationStrategy :: Enabled ,
363- MerkleProofStrategy :: Compressed ,
364361 ) ;
365362
366363 let polynomial = CoefficientList :: new ( vec ! [ F :: rand( & mut rng) ; 1024 ] ) ; // Large polynomial
@@ -400,9 +397,9 @@ mod tests {
400397 _pow_parameters : Default :: default ( ) ,
401398 starting_log_inv_rate : 1 ,
402399 batch_size : 1 ,
400+ deduplication_strategy : DeduplicationStrategy :: Enabled ,
401+ merkle_proof_strategy : MerkleProofStrategy :: Compressed ,
403402 } ,
404- DeduplicationStrategy :: Enabled ,
405- MerkleProofStrategy :: Compressed ,
406403 ) ;
407404
408405 params. committment_ood_samples = 0 ; // No OOD samples
0 commit comments