arnaucube
arnaucube/gnark-plonky2-verifierPublic Self-hosted repository
update goldilocks generators to the plonky2's updated ones at plonky2's PR#1579 (https://github.com/0xPolygonZero/plonky2/pull/1579)
arnaucube git@arnaucube.com
Fri, 15 Aug 2025 15:13:03 +0000
commit

1d96750760deaa4d8f307cd5ddcced9ac6cf1e04

parent

7025b2efd67b5ed30bd85f93c694774106d21b3d

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M goldilocks/base.go → goldilocks/base.go

@@ -30,13 +30,13 @@ "github.com/consensys/gnark/std/rangecheck"

) // The multiplicative group generator of the field. -var MULTIPLICATIVE_GROUP_GENERATOR goldilocks.Element = goldilocks.NewElement(7) +var MULTIPLICATIVE_GROUP_GENERATOR goldilocks.Element = goldilocks.NewElement(14293326489335486720) // The two adicity of the field. var TWO_ADICITY uint64 = 32 // The power of two generator of the field. -var POWER_OF_TWO_GENERATOR goldilocks.Element = goldilocks.NewElement(1753635133440165772) +var POWER_OF_TWO_GENERATOR goldilocks.Element = goldilocks.NewElement(7277203076849721926) // The modulus of the field. var MODULUS *big.Int = emulated.Goldilocks{}.Modulus()