@@ -225,13 +225,10 @@ impl<const N_SNARKS: usize> Circuit<Fr> for BatchCircuit<N_SNARKS> {
225
225
let loader: Rc < Halo2Loader < G1Affine , EccChip < Fr , FpConfig < Fr , Fq > > > > =
226
226
Halo2Loader :: new ( ecc_chip, ctx) ;
227
227
228
- //
229
228
// extract the assigned values for
230
229
// - instances which are the public inputs of each chunk (prefixed with 12
231
230
// instances from previous accumulators)
232
231
// - new accumulator
233
- //
234
- log:: debug!( "aggregation: chunk aggregation" ) ;
235
232
let (
236
233
assigned_aggregation_instances,
237
234
acc,
@@ -272,26 +269,19 @@ impl<const N_SNARKS: usize> Circuit<Fr> for BatchCircuit<N_SNARKS> {
272
269
log:: info!( "populating constants" ) ;
273
270
let mut preprocessed_polys_halo2 = Vec :: with_capacity ( 7 ) ;
274
271
let mut preprocessed_polys_sp1 = Vec :: with_capacity ( 7 ) ;
275
- for ( i, & preprocessed_poly) in
276
- self . halo2_protocol . preprocessed . iter ( ) . enumerate ( )
277
- {
278
- log:: debug!( "load const {i}" ) ;
272
+ for & preprocessed_poly in self . halo2_protocol . preprocessed . iter ( ) {
279
273
preprocessed_polys_halo2. push (
280
274
config
281
275
. ecc_chip ( )
282
276
. assign_constant_point ( & mut ctx, preprocessed_poly) ,
283
277
) ;
284
- log:: debug!( "load const {i} OK" ) ;
285
278
}
286
- for ( i, & preprocessed_poly) in self . sp1_protocol . preprocessed . iter ( ) . enumerate ( )
287
- {
288
- log:: debug!( "load const (sp1) {i}" ) ;
279
+ for & preprocessed_poly in self . sp1_protocol . preprocessed . iter ( ) {
289
280
preprocessed_polys_sp1. push (
290
281
config
291
282
. ecc_chip ( )
292
283
. assign_constant_point ( & mut ctx, preprocessed_poly) ,
293
284
) ;
294
- log:: debug!( "load const (sp1) {i} OK" ) ;
295
285
}
296
286
let transcript_init_state_halo2 = config
297
287
. ecc_chip ( )
@@ -300,15 +290,13 @@ impl<const N_SNARKS: usize> Circuit<Fr> for BatchCircuit<N_SNARKS> {
300
290
. gate ( )
301
291
. assign_constant ( & mut ctx, self . halo2_protocol . init_state )
302
292
. expect ( "IntegerInstructions::assign_constant infallible" ) ;
303
- log:: debug!( "load transcript OK" ) ;
304
293
let transcript_init_state_sp1 = config
305
294
. ecc_chip ( )
306
295
. field_chip ( )
307
296
. range ( )
308
297
. gate ( )
309
298
. assign_constant ( & mut ctx, self . sp1_protocol . init_state )
310
299
. expect ( "IntegerInstructions::assign_constant infallible" ) ;
311
- log:: info!( "populating constants OK" ) ;
312
300
313
301
// Commitments to the preprocessed polynomials.
314
302
for preprocessed_polys in preprocessed_poly_sets. iter ( ) {
@@ -372,7 +360,6 @@ impl<const N_SNARKS: usize> Circuit<Fr> for BatchCircuit<N_SNARKS> {
372
360
373
361
ctx. print_stats ( & [ "protocol check" ] ) ;
374
362
375
- log:: debug!( "batching: assigning barycentric" ) ;
376
363
let barycentric = config. blob_consistency_config . assign_barycentric (
377
364
& mut ctx,
378
365
& self . batch_hash . blob_bytes ,
0 commit comments