@@ -474,7 +474,6 @@ where
474474 . map ( |( & h, w) | ( h as usize , w) )
475475 . collect :: < Vec < _ > > ( ) ;
476476 let ctx = PreflightCtx :: new_with_capacity ( & capacities, instret_end) ;
477-
478477 let system_config: & SystemConfig = self . config ( ) . as_ref ( ) ;
479478 let adapter_offset = system_config. access_adapter_air_id_offset ( ) ;
480479 // ATTENTION: this must agree with `num_memory_airs`
@@ -511,7 +510,6 @@ where
511510 . finalize :: < Val < E :: SC > > ( system_config. continuation_enabled ) ;
512511 #[ cfg( feature = "perf-metrics" ) ]
513512 crate :: metrics:: end_segment_metrics ( & mut exec_state) ;
514-
515513 let instret = exec_state. vm_state . instret ( ) ;
516514 let pc = exec_state. vm_state . pc ( ) ;
517515 let memory = exec_state. vm_state . memory ;
@@ -685,7 +683,6 @@ where
685683 PreflightExecutor < Val < E :: SC > , VB :: RecordArena > ,
686684 {
687685 self . transport_init_memory_to_device ( & state. memory ) ;
688-
689686 let PreflightExecutionOutput {
690687 system_records,
691688 record_arenas,
@@ -696,7 +693,6 @@ where
696693 ( system_records. exit_code == Some ( ExitCode :: Success as u32 ) ) . then_some ( to_state. memory ) ;
697694 let ctx = self . generate_proving_ctx ( system_records, record_arenas) ?;
698695 let proof = self . engine . prove ( & self . pk , ctx) ;
699-
700696 Ok ( ( proof, final_memory) )
701697 }
702698
0 commit comments