This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
Expose mul_with_witness
functionality from acvm stdlib
#450
Labels
Problem
As noted here, we have two separate implementations of
mul_with_witness
in Noir and ACVM which adds unnecessary duplication.Happy Case
We should have a single canonical implementation exposed by ACVM which can be used up in Noir. This is slightly complicated by the fact that they track the new witnesses created in different ways (c.f. noir-lang/noir#1980).
We'll then need to modify this to take a closure which will allow the caller to inject the witness to use for multiplication while handling the witness creation themselves.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: