@@ -69,7 +69,8 @@ struct Args {
6969 conflicts_with_all = [ "proof_mode" , "air_private_input" , "air_public_input" ]
7070 ) ]
7171 cairo_pie_output : Option < String > ,
72- #[ arg( long = "prover_input_info" ) ]
72+ #[ arg( long = "prover_input_info" ,
73+ requires_all = [ "proof_mode" ] ) ]
7374 prover_input_info : Option < String > ,
7475 #[ arg( long = "merge_extra_segments" ) ]
7576 merge_extra_segments : bool ,
@@ -191,7 +192,7 @@ fn run(args: impl Iterator<Item = String>) -> Result<(), Error> {
191192 secure_run : args. secure_run ,
192193 allow_missing_builtins : args. allow_missing_builtins ,
193194 dynamic_layout_params : cairo_layout_params,
194- .. Default :: default ( )
195+ disable_trace_padding : args . prover_input_info . is_some ( ) ,
195196 } ;
196197
197198 let mut cairo_runner = match if args. run_from_cairo_pie {
@@ -414,6 +415,7 @@ mod tests {
414415 if air_public_input && !proof_mode
415416 || ( air_private_input && ( !proof_mode || !trace_file || !memory_file) )
416417 || cairo_pie_output && proof_mode
418+ || prover_input_info && !proof_mode
417419 {
418420 assert_matches ! ( run( args. into_iter( ) ) , Err ( _) ) ;
419421 } else {
0 commit comments