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

Commit

Permalink
fix: add opcode label to unsatisfied constrain str
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Aug 11, 2023
1 parent e8e9597 commit e4c5904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acvm/src/pwg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub enum OpcodeResolutionError {
OpcodeNotSolvable(#[from] OpcodeNotSolvable),
#[error("backend does not currently support the {0} opcode. ACVM does not currently have a fallback for this opcode.")]
UnsupportedBlackBoxFunc(BlackBoxFunc),
#[error("could not satisfy all constraints")]
#[error("Cannot satisfy constraint {opcode_label:?}")]
UnsatisfiedConstrain { opcode_label: OpcodeLabel },
#[error("Index out of bounds, array has size {array_size:?}, but index was {index:?}")]
IndexOutOfBounds { opcode_label: OpcodeLabel, index: u32, array_size: u32 },
Expand Down

0 comments on commit e4c5904

Please sign in to comment.