Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use circuit.get_assert_message instead of closure/helper function #3127

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

We currently don't use circuit.get_assert_message as previously it caused issues related to ownership over the circuit's opcodes. Now we pass the opcodes to the ACVM by reference, we can just use the circuit.get_assert_message directly.

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@kevaundray kevaundray added this pull request to the merge queue Oct 12, 2023
Merged via the queue into master with commit faaf6d2 Oct 12, 2023
27 checks passed
@kevaundray kevaundray deleted the tf/use-get-assert-message-method branch October 12, 2023 13:44
@ghost ghost mentioned this pull request Oct 12, 2023
2 tasks
TomAFrench added a commit that referenced this pull request Oct 12, 2023
* master:
  feat: Optimize euclidean division acir-gen (#3121)
  chore: simplify `AcirVarData` where possible in multiplication (#3124)
  feat: Remove unnecessary truncation of boolean multiplication (#3122)
  chore: use `circuit.get_assert_message` instead of closure/helper function (#3127)
  fix: minor problems with `aztec` publishing (#3095)
  chore: clean up JS dependencies (#3114)
  chore: add call formatter (#3102)
  chore: remove unnecessary clone when executing brillig (#3120)
  feat: return compilation errors from noir_wasm (#3091)
Sakapoi pushed a commit to Sakapoi/noir_fork that referenced this pull request Oct 19, 2023
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.

2 participants