MCPcopy Create free account
hub / github.com/BitVM/BitVM / DummyCircuit

Class DummyCircuit

bitvm/src/groth16/test.rs:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(Copy, Clone)]
15struct DummyCircuit<F: PrimeField> {
16 pub a: Option<F>,
17 pub b: Option<F>,
18 pub num_variables: usize,
19 pub num_constraints: usize,
20}
21
22impl<F: PrimeField> ConstraintSynthesizer<F> for DummyCircuit<F> {
23 fn generate_constraints(self, cs: ConstraintSystemRef<F>) -> Result<(), SynthesisError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected