mirror of
https://github.com/arnaucube/go-circom-prover-verifier.git
synced 2026-02-07 03:16:46 +01:00
Leave prover_test untouched
This commit is contained in:
@@ -11,8 +11,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
N1 = 500
|
N1 = 50000
|
||||||
N2 = 500
|
N2 = 5000
|
||||||
)
|
)
|
||||||
|
|
||||||
func randomBigIntArray(n int) []*big.Int{
|
func randomBigIntArray(n int) []*big.Int{
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ import (
|
|||||||
func TestCircuitsGenerateProof(t *testing.T) {
|
func TestCircuitsGenerateProof(t *testing.T) {
|
||||||
testCircuitGenerateProof(t, "circuit1k") // 1000 constraints
|
testCircuitGenerateProof(t, "circuit1k") // 1000 constraints
|
||||||
testCircuitGenerateProof(t, "circuit5k") // 5000 constraints
|
testCircuitGenerateProof(t, "circuit5k") // 5000 constraints
|
||||||
testCircuitGenerateProof(t, "circuit10k") // 10000 constraints
|
//testCircuitGenerateProof(t, "circuit10k") // 10000 constraints
|
||||||
testCircuitGenerateProof(t, "circuit20k") // 20000 constraints
|
//testCircuitGenerateProof(t, "circuit20k") // 20000 constraints
|
||||||
}
|
}
|
||||||
|
|
||||||
func testCircuitGenerateProof(t *testing.T, circuit string) {
|
func testCircuitGenerateProof(t *testing.T, circuit string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user