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

Commit

Permalink
docs: added doc comment to assert messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Aug 11, 2023
1 parent 001e7f7 commit e423ee9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acir/src/circuit/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ pub struct Circuit {
/// The set of public inputs calculated within the circuit.
pub return_values: PublicInputs,
/// Maps opcode locations to failed assertion messages.
/// These messages are embedded in the circuit to provide useful feedback to users
/// when a constraint in the circuit is not satisfied.
pub assert_messages: BTreeMap<OpcodeLocation, String>,
}

Expand Down

0 comments on commit e423ee9

Please sign in to comment.