-
Notifications
You must be signed in to change notification settings - Fork 283
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
feat: Use unconstrained for public, view and note getter functions #1198
Conversation
✅ Deploy Preview for preeminent-bienenstitch-606ad0 canceled.
|
…kages into arv/brillig_funs
fn arr_copy_slice<T, M>( | ||
src: [T], | ||
fn arr_copy_slice<T, N, M>( | ||
src: [T; N], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We aren't able to freely move slices around until this noir-lang/noir#1963 is finished
@@ -295,7 +295,7 @@ describe('Private Execution test suite', () => { | |||
expect(newNullifiers).toEqual(consumedNotes.map(n => n.nullifier)); | |||
|
|||
expect(result.preimages.newNotes).toHaveLength(2); | |||
const [recipientNote, changeNote] = result.preimages.newNotes; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of the sideffects has changed. There is probably some non-determinism in the compiler if we change the point at which the functions stop being acir 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
All functions marked as "should be unconstrained" and all open functions are compiled as brillig.
Checklist: