-
Notifications
You must be signed in to change notification settings - Fork 4
Fix gadget inheritances inconsistencies #98
Copy link
Copy link
Open
Labels
arithmetic-circuit/R1CSTask related to the R1CS programsTask related to the R1CS programsc++Task related to the c++ part of the code baseTask related to the c++ part of the code basecode-qualityTask related to the code quality (refactor, enhancements etc.)Task related to the code quality (refactor, enhancements etc.)
Metadata
Metadata
Assignees
Labels
arithmetic-circuit/R1CSTask related to the R1CS programsTask related to the R1CS programsc++Task related to the c++ part of the code baseTask related to the c++ part of the code basecode-qualityTask related to the code quality (refactor, enhancements etc.)Task related to the code quality (refactor, enhancements etc.)
So far, we have followed a "public inheritance" approach when inheriting from the
libsnark::gadgetclass and set the right scopes on the class' attributes and methods. However, theaggregator_gadgetinherits privately fromgadgetwhich contrasts with the approach just mentioned (following public inheritance), see: https://clearmatics.github.io/zecale/inherits.html for illustration.This inconsistency needs to either: