Skip to content

Commit b8da3c4

Browse files
committed
minor - upload a small enough circuit for recursion test
1 parent 37981f5 commit b8da3c4

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
cargo test --all-features --release --workspace
6767
- name: E2E Test
6868
run: |
69+
cp ./recursion/small_circuit_m31.txt ./data
70+
cp ./recursion/small_witness_m31.txt ./data
6971
cd ./recursion
7072
go test ./... -v
7173
cd ..

recursion/modules/circuit/eval_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@ func TestCircuitLayeredEvaluation(t *testing.T) {
172172
},
173173
// NOTE(HS) as of 2024/12/11, the compilation process of m31 circuit
174174
// takes more than 50GB of RAM, so run with cautious yall...
175-
{
176-
CircuitPath: "../../../data/circuit_m31.txt",
177-
WitnessPath: "../../../data/witness_m31.txt",
178-
MPISize: 1,
179-
FieldEnum: fields.ECCM31,
180-
},
175+
// {
176+
// CircuitPath: "../../../data/circuit_m31.txt",
177+
// WitnessPath: "../../../data/witness_m31.txt",
178+
// MPISize: 1,
179+
// FieldEnum: fields.ECCM31,
180+
// },
181181
{
182182
CircuitPath: "../../../data/circuit_gf2.txt",
183183
WitnessPath: "../../../data/witness_gf2.txt",

recursion/modules/verifier/verifier_test.go

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package verifier
33
import (
44
"ExpanderVerifierCircuit/modules/fields"
55
"math/big"
6-
"os"
76
"testing"
87

98
"github.com/PolyhedraZK/ExpanderCompilerCollection/ecgo"
@@ -63,7 +62,4 @@ func TestM31CircuitForRecursionTestSatisfiability(t *testing.T) {
6362
for _, check := range circuitChecks {
6463
require.True(t, check, "circuit witness check failed ggs")
6564
}
66-
67-
os.WriteFile("../../../data/small_circuit_m31.txt", layeredCircuit.Serialize(), 0o644)
68-
os.WriteFile("../../../data/small_witness_m31.txt", m31x16Witnesses.Serialize(), 0o644)
6965
}

0 commit comments

Comments
 (0)