File tree 1 file changed +2
-5
lines changed
barretenberg/cpp/src/barretenberg/bb
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,6 @@ acir_proofs::AcirComposer init(acir_format::acir_format& constraint_system)
43
43
auto bn254_g2_data = get_bn254_g2_data (CRS_PATH);
44
44
srs::init_crs_factory (bn254_g1_data, bn254_g2_data);
45
45
46
- // Must +1!
47
- auto grumpkin_g1_data = get_grumpkin_g1_data (CRS_PATH, subgroup_size + 1 );
48
- srs::init_grumpkin_crs_factory (grumpkin_g1_data);
49
-
50
46
return acir_composer;
51
47
}
52
48
@@ -203,7 +199,8 @@ void prove(const std::string& bytecodePath,
203
199
void gateCount (const std::string& bytecodePath)
204
200
{
205
201
auto constraint_system = get_constraint_system (bytecodePath);
206
- auto acir_composer = init (constraint_system);
202
+ acir_proofs::AcirComposer acir_composer (0 , verbose);
203
+ acir_composer.create_circuit (constraint_system);
207
204
auto gate_count = acir_composer.get_total_circuit_size ();
208
205
209
206
writeUint64AsRawBytesToStdout (static_cast <uint64_t >(gate_count));
You can’t perform that action at this time.
0 commit comments