circom-compat/test-vectors/complex-circuit/prepare.sh
test-vectors/complex-circuit/prepare.shRaw
1for i in `seq 3 5`
2do
3 for j in `seq $i 5`
4 do
5 NUM_VARIABLES=$(echo 10^$i | bc)
6 NUM_CONSTRAINTS=$(echo 10^$j | bc)
7 sed "s/NUM_VARIABLES_TEMPLATE/$NUM_VARIABLES/g;s/NUM_CONSTRAINTS_TEMPLATE/$NUM_CONSTRAINTS/g" complex-circuit.circom.template > complex-circuit-$NUM_VARIABLES-$NUM_CONSTRAINTS.circom
8 ./build.sh $NUM_VARIABLES $NUM_CONSTRAINTS
9 done
10done