mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
chore: add helper
This commit is contained in:
committed by
Pratyush Mishra
parent
951a6226c9
commit
695df979b5
@@ -17,6 +17,10 @@ impl TestConstraintCounter {
|
||||
num_constraints: 0,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn num_constraints(&self) -> usize {
|
||||
self.num_constraints
|
||||
}
|
||||
}
|
||||
|
||||
impl<ConstraintF: Field> ConstraintSystem<ConstraintF> for TestConstraintCounter {
|
||||
|
||||
Reference in New Issue
Block a user