@@ -65,20 +65,12 @@ def main():
6565 & bytecode_to_prove,
6666 & inner_public_input,
6767 proof_to_prove. proof . clone ( ) ,
68- & inner_whir_config,
68+ inner_whir_config. clone ( ) ,
6969 )
7070 . unwrap ( ) ;
7171
7272 let outer_whir_config = WhirConfig :: < EF > :: new ( & inner_whir_config, proof_to_prove. whir_n_vars ) ;
7373
74- // let guest_program_commitment = {
75- // let mut prover_state = build_prover_state();
76- // let polynomial = MleOwned::Base(bytecode_to_multilinear_polynomial(&bytecode_to_prove.instructions));
77- // let witness = ext_whir.commit(&mut prover_state, &polynomial);
78- // let commitment_transcript = prover_state.proof().to_vec();
79- // assert_eq!(commitment_transcript.len(), ext_whir.committment_ood_samples * DIMENSION + VECTOR_LEN);
80- // };
81-
8274 let mut replacements = whir_recursion_placeholder_replacements ( & outer_whir_config) ;
8375
8476 assert ! (
@@ -106,6 +98,14 @@ def main():
10698 max_log_n_rows_per_table. sort_by_key ( |( table, _) | table. index ( ) ) ;
10799 max_log_n_rows_per_table. dedup ( ) ;
108100 assert_eq ! ( max_log_n_rows_per_table. len( ) , N_TABLES ) ;
101+ replacements. insert (
102+ "MIN_WHIR_LOG_INV_RATE_PLACEHOLDER" . to_string ( ) ,
103+ MIN_WHIR_LOG_INV_RATE . to_string ( ) ,
104+ ) ;
105+ replacements. insert (
106+ "MAX_WHIR_LOG_INV_RATE_PLACEHOLDER" . to_string ( ) ,
107+ MAX_WHIR_LOG_INV_RATE . to_string ( ) ,
108+ ) ;
109109 replacements. insert (
110110 "MAX_LOG_N_ROWS_PER_TABLE_PLACEHOLDER" . to_string ( ) ,
111111 format ! (
@@ -335,7 +335,7 @@ def main():
335335 & recursion_bytecode,
336336 & outer_public_input,
337337 recursion_proof. proof ,
338- & default_whir_config ( log_inv_rate, prox_gaps_conjecture) ,
338+ default_whir_config ( log_inv_rate, prox_gaps_conjecture) ,
339339 )
340340 . unwrap ( ) ;
341341 println ! (
@@ -396,10 +396,6 @@ pub(crate) fn whir_recursion_placeholder_replacements(whir_config: &WhirConfig<E
396396 format ! ( "WHIR_FOLDING_FACTORS{}" , end) ,
397397 format ! ( "[{}]" , folding_factors. join( ", " ) ) ,
398398 ) ;
399- replacements. insert (
400- format ! ( "WHIR_LOG_INV_RATE{}" , end) ,
401- whir_config. starting_log_inv_rate . to_string ( ) ,
402- ) ;
403399 replacements. insert (
404400 format ! ( "WHIR_FINAL_VARS{}" , end) ,
405401 whir_config. n_vars_of_final_polynomial ( ) . to_string ( ) ,
0 commit comments