@@ -96,6 +96,7 @@ fn gen_base_expr(
9696 ( expr, local_opcode_idx)
9797}
9898
99+ #[ allow( clippy:: too_many_arguments) ]
99100pub fn get_te_add_air < const BLOCKS : usize , const BLOCK_SIZE : usize > (
100101 exec_bridge : ExecutionBridge ,
101102 mem_bridge : MemoryBridge ,
@@ -287,7 +288,6 @@ impl<F: PrimeField32, const BLOCKS: usize, const BLOCK_SIZE: usize> Executor<F>
287288 { TeCurveType :: ED25519 as u8 } ,
288289 false ,
289290 > ) ,
290- _ => panic ! ( "Unsupported curve type" ) ,
291291 }
292292 } else if is_setup {
293293 Ok ( execute_e12_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , { u8:: MAX } , true > )
@@ -337,7 +337,6 @@ impl<F: PrimeField32, const BLOCKS: usize, const BLOCK_SIZE: usize> MeteredExecu
337337 ( false , TeCurveType :: ED25519 ) => {
338338 Ok ( execute_e2_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , { TeCurveType :: ED25519 as u8 } > )
339339 }
340- _ => panic ! ( "Unsupported curve type" ) ,
341340 }
342341 } else if is_setup {
343342 Ok ( execute_e2_setup_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , { u8:: MAX } > )
@@ -390,7 +389,7 @@ unsafe fn execute_e2_setup_impl<
390389 std:: mem:: size_of :: < TeAddPreCompute > ( ) ,
391390 )
392391 } ;
393- execute_e12_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , CURVE_TYPE , true > ( & pre_compute, vm_state) ;
392+ execute_e12_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , CURVE_TYPE , true > ( pre_compute, vm_state) ;
394393}
395394
396395unsafe fn execute_e12_impl <
0 commit comments