@@ -7,7 +7,7 @@ use ff::PrimeField;
77use nova_snark:: {
88 compute_digest,
99 supernova:: RecursiveSNARK ,
10- supernova:: { gen_commitmentkey_by_r1cs , PublicParams , RunningClaim } ,
10+ supernova:: { gen_commitment_key_by_r1cs , PublicParams , RunningClaim } ,
1111 traits:: {
1212 circuit_supernova:: { StepCircuit , TrivialTestCircuit } ,
1313 Group ,
@@ -66,12 +66,12 @@ fn bench_one_augmented_circuit_recursive_snark(c: &mut Criterion) {
6666 > :: new ( 0 , c_primary, c_secondary. clone ( ) , 1 ) ;
6767
6868 let ( r1cs_shape_primary, r1cs_shape_secondary) = running_claim1. get_r1cs_shape ( ) ;
69- let ck_primary = gen_commitmentkey_by_r1cs ( r1cs_shape_primary) ;
70- let ck_secondary = gen_commitmentkey_by_r1cs ( r1cs_shape_secondary) ;
69+ let ck_primary = gen_commitment_key_by_r1cs ( r1cs_shape_primary) ;
70+ let ck_secondary = gen_commitment_key_by_r1cs ( r1cs_shape_secondary) ;
7171
7272 // set unified ck_primary, ck_secondary and update digest
73- running_claim1. set_commitmentkey ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
74- let digest = compute_digest :: < G1 , PublicParams < G1 , G2 > > ( & [ running_claim1. get_publicparams ( ) ] ) ;
73+ running_claim1. set_commitment_key ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
74+ let digest = compute_digest :: < G1 , PublicParams < G1 , G2 > > ( & [ running_claim1. get_public_params ( ) ] ) ;
7575
7676 // Bench time to produce a recursive SNARK;
7777 // we execute a certain number of warm-up steps since executing
@@ -182,16 +182,16 @@ fn bench_two_augmented_circuit_recursive_snark(c: &mut Criterion) {
182182 > :: new ( 1 , c_primary, c_secondary. clone ( ) , 2 ) ;
183183
184184 let ( r1cs_shape_primary, r1cs_shape_secondary) = running_claim1. get_r1cs_shape ( ) ;
185- let ck_primary = gen_commitmentkey_by_r1cs ( r1cs_shape_primary) ;
186- let ck_secondary = gen_commitmentkey_by_r1cs ( r1cs_shape_secondary) ;
185+ let ck_primary = gen_commitment_key_by_r1cs ( r1cs_shape_primary) ;
186+ let ck_secondary = gen_commitment_key_by_r1cs ( r1cs_shape_secondary) ;
187187
188188 // set unified ck_primary, ck_secondary and update digest
189- running_claim1. set_commitmentkey ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
190- running_claim2. set_commitmentkey ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
189+ running_claim1. set_commitment_key ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
190+ running_claim2. set_commitment_key ( ck_primary. clone ( ) , ck_secondary. clone ( ) ) ;
191191
192192 let digest = compute_digest :: < G1 , PublicParams < G1 , G2 > > ( & [
193- running_claim1. get_publicparams ( ) ,
194- running_claim2. get_publicparams ( ) ,
193+ running_claim1. get_public_params ( ) ,
194+ running_claim2. get_public_params ( ) ,
195195 ] ) ;
196196
197197 // Bench time to produce a recursive SNARK;
0 commit comments