Skip to content

Commit

Permalink
Make new prover methods work with multi-instance
Browse files Browse the repository at this point in the history
  • Loading branch information
ed255 committed Dec 15, 2023
1 parent 1b35fab commit 50e7354
Show file tree
Hide file tree
Showing 2 changed files with 332 additions and 249 deletions.
5 changes: 4 additions & 1 deletion halo2_proofs/src/plonk/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ pub enum Error {
ColumnNotInPermutation(Column<Any>),
/// An error relating to a lookup table.
TableError(TableError),
/// Generic error not covered by previous cases
Other(String),
}

impl From<io::Error> for Error {
Expand Down Expand Up @@ -81,7 +83,8 @@ impl fmt::Display for Error {
"Column {:?} must be included in the permutation. Help: try applying `meta.enable_equalty` on the column",
column
),
Error::TableError(error) => write!(f, "{}", error)
Error::TableError(error) => write!(f, "{}", error),
Error::Other(error) => write!(f, "Other: {}", error),
}
}
}
Expand Down
Loading

0 comments on commit 50e7354

Please sign in to comment.