@@ -96,6 +96,7 @@ fn gen_base_expr(
96
96
( expr, local_opcode_idx)
97
97
}
98
98
99
+ #[ allow( clippy:: too_many_arguments) ]
99
100
pub fn get_te_add_air < const BLOCKS : usize , const BLOCK_SIZE : usize > (
100
101
exec_bridge : ExecutionBridge ,
101
102
mem_bridge : MemoryBridge ,
@@ -287,7 +288,6 @@ impl<F: PrimeField32, const BLOCKS: usize, const BLOCK_SIZE: usize> Executor<F>
287
288
{ TeCurveType :: ED25519 as u8 } ,
288
289
false ,
289
290
> ) ,
290
- _ => panic ! ( "Unsupported curve type" ) ,
291
291
}
292
292
} else if is_setup {
293
293
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
337
337
( false , TeCurveType :: ED25519 ) => {
338
338
Ok ( execute_e2_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , { TeCurveType :: ED25519 as u8 } > )
339
339
}
340
- _ => panic ! ( "Unsupported curve type" ) ,
341
340
}
342
341
} else if is_setup {
343
342
Ok ( execute_e2_setup_impl :: < _ , _ , BLOCKS , BLOCK_SIZE , { u8:: MAX } > )
@@ -390,7 +389,7 @@ unsafe fn execute_e2_setup_impl<
390
389
std:: mem:: size_of :: < TeAddPreCompute > ( ) ,
391
390
)
392
391
} ;
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) ;
394
393
}
395
394
396
395
unsafe fn execute_e12_impl <
0 commit comments