diff --git a/src/plonk.rs b/src/plonk.rs index d6d9188..a10e168 100644 --- a/src/plonk.rs +++ b/src/plonk.rs @@ -218,8 +218,10 @@ fn test_proving() { a: Some((-Fp::from_u64(2) + Fp::ROOT_OF_UNITY).pow(&[100, 0, 0, 0])), }; + let empty_circuit: MyCircuit = MyCircuit { a: None }; + // Initialize the SRS - let srs = SRS::generate(¶ms, &circuit).expect("SRS generation should not fail"); + let srs = SRS::generate(¶ms, &empty_circuit).expect("SRS generation should not fail"); // Create a proof let proof = Proof::create::, DummyHash, _>(¶ms, &srs, &circuit)