@@ -14,9 +14,9 @@ use crate::{
14
14
column_pool:: { AccessColumn , ColumnPool , ConfigPhase , PreSynthesisPhase } ,
15
15
consts:: merkle_constants:: WIDTH ,
16
16
gates:: {
17
- is_point_on_curve :: IsPointOnCurveGate , is_point_on_curve_affine :: IsPointOnCurveAffineGate ,
18
- membership :: MembershipGate , points_add:: PointsAddGate , scalar_multiply:: ScalarMultiplyGate ,
19
- sum :: SumGate , to_affine:: ToAffineGate , Gate ,
17
+ is_point_on_curve_affine :: IsPointOnCurveAffineGate , membership :: MembershipGate ,
18
+ points_add:: PointsAddGate , scalar_multiply:: ScalarMultiplyGate , sum :: SumGate ,
19
+ to_affine:: ToAffineGate , Gate ,
20
20
} ,
21
21
instance_wrapper:: InstanceWrapper ,
22
22
merkle:: { MerkleChip , MerkleInstance } ,
@@ -37,7 +37,6 @@ pub struct ConfigsBuilder<'cs> {
37
37
scalar_multiply : Option < ScalarMultiplyChip > ,
38
38
to_affine : Option < ToAffineChip > ,
39
39
to_projective : Option < ToProjectiveChip > ,
40
- is_point_on_curve : Option < IsPointOnCurveGate > ,
41
40
is_point_on_curve_affine : Option < IsPointOnCurveAffineGate > ,
42
41
el_gamal_encryption : Option < ElGamalEncryptionChip > ,
43
42
note : Option < NoteChip > ,
@@ -66,7 +65,6 @@ impl<'cs> ConfigsBuilder<'cs> {
66
65
scalar_multiply : None ,
67
66
to_affine : None ,
68
67
to_projective : None ,
69
- is_point_on_curve : None ,
70
68
is_point_on_curve_affine : None ,
71
69
el_gamal_encryption : None ,
72
70
note : None ,
@@ -198,20 +196,6 @@ impl<'cs> ConfigsBuilder<'cs> {
198
196
. expect ( "ToProjective chip is not configured" )
199
197
}
200
198
201
- pub fn with_is_point_on_curve ( mut self ) -> Self {
202
- check_if_cached ! ( self , is_point_on_curve) ;
203
- self . is_point_on_curve = Some ( IsPointOnCurveGate :: create_gate (
204
- self . system ,
205
- & mut self . advice_pool ,
206
- ) ) ;
207
- self
208
- }
209
-
210
- pub fn is_point_on_curve_gate ( & self ) -> IsPointOnCurveGate {
211
- self . is_point_on_curve
212
- . expect ( "IsPointOnCurveGate is not configured" )
213
- }
214
-
215
199
pub fn with_is_point_on_curve_affine ( mut self ) -> Self {
216
200
check_if_cached ! ( self , is_point_on_curve_affine) ;
217
201
self . is_point_on_curve_affine = Some ( IsPointOnCurveAffineGate :: create_gate (
0 commit comments