-
Notifications
You must be signed in to change notification settings - Fork 410
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
refactor: emulated clean up fixes #448 #449
Conversation
gbotrel
commented
Jan 26, 2023
- refactor: step 1 clean up api and builder wrapper
- refactor: PackElementLimbs PackFull -> packLimbs
- refactor: added field.NewElement
- refactor: remove deadcode from builder stuff, update stats with constraining inputs
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.
In general looks good. I think we do not need GnarkInitHook anymore though?
And now there is only a single use of Field.NewElement
. In some tests we use emulated.ValueOf
where we actually initialise constant in-circuit and then it would be better to use Field.NewElement
to set internal=true
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.
🚀