Closed RogerTaule closed 1 year ago
We require contributors @RogerTaule to read our Contributor License Agreement, please check the CLA document
We require contributors @RogerTaule to read our Contributor License Agreement, please check the CLA document
This PR adds a huge refactor to the
stark_verifier.ejs
template for both GL and BN128 circuits. Anonymous components are introduced whenever possible and many comments are added.The following bugs are fixed in this version:
stark_verifier.ejs BN128
, when performing the FRI evaluation if the current step is 1,s_X
needs to be calculated by performing aGLMul
.finalPol
degree, we need to take into account thatmaxDegBits
might be negative and therefore we need to forcemaxDegBits = 0
.cm2_3ns
and should becm3_2ns
.Regarding the refactor, some of the most important changes are the following: