-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add a new crate with the implementation of BlackBoxFunctionSolver
trait from acvm-backend-barretenberg
#2422
Comments
Is there a reason that the
Is the plan to maintain these |
Zac's currently reworking pedersen opcodes so that we can have rust implementations of them or implement them inside Noir. I'm planning on this crate being a temporary measure until this is done. |
There are bindings setup for both pedersen and schnorr we would just need to expose them in
Was mainly curious if this was temporary measure |
Also looking at just using the wasm solver in all cases as described in noir-lang/acvm#494. Main trouble now is start-up time on the wasm binary which is being addressed by stripping it down to only contain the 3 functions necessary. |
This can be closed as we are handling this down in ACVM now as the wasm has been stripped down enough to be the default solver. |
Problem
noir-lang/acvm#492 describes how we want to separate the solving of black box functions from the interactions with the proving backend.
Happy Case
noir-lang/acvm-backend-barretenberg#239 implements the
ProofSystemCompiler
andSmartContract
traits using a prebuiltbb
binary while theBlackBoxFunctionSolver
trait remains using the static-lib/wasm.We should bring this implementation up to this repository so that
acvm-backend-barretenberg
is only responsible for interacting with thebb
binary.Alternatives Considered
No response
Additional Context
This is required for #2164 as we need to maintain a
BlackBoxFunctionSolver
implementation even once we have deprecatedacvm-backend-barretenberg
.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: