Open lispc opened 3 years ago
Rescue(2)
$ npx snarkjs info testdata/Rescue_2/circuit.r1cs
[INFO] snarkJS: Curve: bn-128
[INFO] snarkJS: # of Wires: 399
[INFO] snarkJS: # of Constraints: 396
[INFO] snarkJS: # of Private Inputs: 0
[INFO] snarkJS: # of Public Inputs: 2
[INFO] snarkJS: # of Labels: 1612
[INFO] snarkJS: # of Outputs: 1
[ 5:02PM ] [ zhangzhuo@MacBook-Air-3:~/repos/fluidex/circuits(master✗) ]
$ plonkit analyse -c testdata/Rescue_2/circuit.r1cs
[2021-08-12T09:02:30Z INFO plonkit] Loading circuit from testdata/Rescue_2/circuit.r1cs...
[2021-08-12T09:02:30Z INFO plonkit] analyse result: {
"num_inputs": 4,
"num_aux": 395,
"num_variables": 399,
"num_constraints": 396,
"num_nontrivial_constraints": 396,
"num_gates": 662,
"num_hints": 396
}
sha3 of data availability may cost a lot of constraints...
custom gate may help a lot
poseidon(2):