Skip to content

#36: verify circuit improvement - #38

Merged
lolaaimar merged 3 commits into
mainfrom
36-verify-circuit-improvement
Jul 8, 2026
Merged

#36: verify circuit improvement#38
lolaaimar merged 3 commits into
mainfrom
36-verify-circuit-improvement

Conversation

@lolaaimar

Copy link
Copy Markdown
Collaborator

PR Summary:

  • Add assertions in verify circuit to check:
    • contract is initialized
    • caller's commitment belongs in the contract (if the caller can't commit, they shouldn't be able to verify either)
  • Adds tests for the new assertions
  • Modifies e2e example:
    • update contract with new assertions
    • updates complete flow example with an unauthorized call to mint to show it throws

@lolaaimar lolaaimar linked an issue Jul 7, 2026 that may be closed by this pull request
@lolaaimar
lolaaimar merged commit e86ac76 into main Jul 8, 2026
1 check passed
@lolaaimar
lolaaimar deleted the 36-verify-circuit-improvement branch July 21, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify circuit improvement

1 participant