@@ -277,40 +277,6 @@ mod tests {
277277 }
278278 }
279279
280- #[ test]
281- fn build_for_test_hits_the_cache_on_a_warm_second_run ( ) {
282- // Distinct from every other test's (parameters, depth) so this test owns its shared
283- // cache slot and is never muddied by another test's cached artifacts.
284- let parameters = Parameters {
285- k : 4 ,
286- m : 11 ,
287- phi_f : 0.33 ,
288- } ;
289- let merkle_tree_depth = 5 ;
290-
291- let t0 = std:: time:: Instant :: now ( ) ;
292- let setup1 = IvcSnarkProverSetup :: build_for_test ( & parameters, merkle_tree_depth)
293- . expect ( "first build_for_test call should succeed" ) ;
294- let first_call_elapsed = t0. elapsed ( ) ;
295-
296- let t1 = std:: time:: Instant :: now ( ) ;
297- let setup2 = IvcSnarkProverSetup :: build_for_test ( & parameters, merkle_tree_depth)
298- . expect ( "second build_for_test call should succeed" ) ;
299- let second_call_elapsed = t1. elapsed ( ) ;
300-
301- assert_eq ! (
302- setup1. ivc_verifying_key. verifying_key( ) . transcript_repr( ) ,
303- setup2. ivc_verifying_key. verifying_key( ) . transcript_repr( ) ,
304- "a warm second call must return the same IVC verifying key as the first"
305- ) ;
306-
307- assert ! (
308- second_call_elapsed < std:: time:: Duration :: from_secs( 10 ) ,
309- "a warm second call must reuse the cached SRS and keys instead of regenerating \
310- them; first call took {first_call_elapsed:?}, second call took {second_call_elapsed:?}"
311- ) ;
312- }
313-
314280 // Requests an oversized unsafe SRS that shares the production SRS's tau, so the keys and stored
315281 // SRS must both downsize to `RECURSIVE_CIRCUIT_DEGREE` to reproduce the embedded production
316282 // assets exactly.
0 commit comments