You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
acvm-backend-barretenberg currently bakes in knowledge about barretenberg in so far as it reports that all opcodes are supported and that we're producing a plonkish proof with width 3.
This isn't general across all potential backends as we also support compiling down to a R1CS, etc.
Happy Case
We should make a call to the backend and construct a (Language, Box<impl Fn(&Opcode) -> bool>) which can then be passed back and down into ACVM during circuit transformation.
TomAFrench
changed the title
[Retroactive] Pull information on opcode support and the language used by the backend at runtime
Pull information on opcode support and the language used by the backend at runtime
Sep 5, 2023
Problem
acvm-backend-barretenberg
currently bakes in knowledge about barretenberg in so far as it reports that all opcodes are supported and that we're producing a plonkish proof with width 3.This isn't general across all potential backends as we also support compiling down to a R1CS, etc.
Happy Case
We should make a call to the backend and construct a
(Language, Box<impl Fn(&Opcode) -> bool>)
which can then be passed back and down into ACVM during circuit transformation.This will replace the usage of these methods:
noir/crates/acvm_backend_barretenberg/src/proof_system.rs
Lines 15 to 17 in 255febd
noir/crates/acvm_backend_barretenberg/src/proof_system.rs
Lines 33 to 56 in 255febd
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: