Skip to content

Commit

Permalink
review nits
Browse files Browse the repository at this point in the history
  • Loading branch information
lonerapier committed Aug 28, 2024
1 parent 20ef2b4 commit 8c3e624
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 82 deletions.
5 changes: 4 additions & 1 deletion circuits/json/interpreter.circom
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ template NextKVPair(n) {
}

/// Returns whether next key-value pair starts.
/// Checks current byte is at depth greater than specified `depth`.
/// Applies following checks:
/// - get top of stack value and check whether parsing key: `[1, 0]`
/// - current byte = `,`
/// - current stack height is less than the key to be matched (it means that new key has started)
///
/// # Arguments
/// - `n`: maximum stack depth
Expand Down
Loading

0 comments on commit 8c3e624

Please sign in to comment.