dusk-network / plonk

Pure Rust implementation of the PLONK ZKProof System done by the Dusk team

Home Page:https://dusk-network.github.io/plonk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change Composer into a struct

moCello opened this issue · comments

Summary

Currently we have the Composer trait that encodes the functionalities for composing a circuit.
Since we only ever implement this trait onto the Builder, we an morph the trait and struct into a single Composer struct. This comes with the added benefit that we can hide some of the trait functionalities from the public API that are now exposed but marked as deprecated (e.g. uninitialized, append_witness_internal, append_custom_gate_internal).