-
Notifications
You must be signed in to change notification settings - Fork 1
Description
-
Have explicit
structmembers of thea,b,cpolynomials currently stored as a single vectorW_polys_blinded_at_secret_g1[a,b,c]in theplonk_proofclass. Similarly, have explicitstructmembers for theq_L, q_R, q_O, q_M, a_Cselector polynomials currently stored as a single vectorQ_polysin thecircuitstruct. -
In all header files: leave only functions that are externally visible to calling code. If a function is only used "internally" in the implementation then just leave it in the
.tcc(and not in the.hpp), potentially in theinternal namespace(to hide it from other code). See also discussion: [BASE] Plonk #49 (comment) -
Make sure that all functions do not rely on the caller for allocating the correct sizes of the return parameters. Make the latter to be allocated inside the functions that compute them. See also [BASE] Plonk #49 (comment)