Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

zkvm: fix for r1cs update #452

Merged
merged 1 commit into from
May 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions zkvm/src/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,13 @@ mod tests {

fn constrain(&mut self, _lc: r1cs::LinearCombination) {}

fn multipliers_len(&self) -> usize {
self.num_multipliers
fn metrics(&self) -> r1cs::Metrics {
r1cs::Metrics {
multipliers: self.num_multipliers,
constraints: 0,
phase_one_constraints: 0,
phase_two_constraints: 0,
}
}
}
}