From 8c0256ac9c479b4b3beb91bfcc11dc17e58b3819 Mon Sep 17 00:00:00 2001 From: Pratyush Mishra Date: Tue, 19 Sep 2023 04:47:35 -0700 Subject: [PATCH] Fix comments for Grumpkin curve generator (#175) Co-authored-by: Weikeng Chen --- CHANGELOG.md | 2 ++ grumpkin/src/curves/mod.rs | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87fda6b9..7a254042 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ ### Features - [\#156](https://github.com/arkworks-rs/curves/pull/156) Add the bw6-767 curve. +- [\#174](https://github.com/arkworks-rs/curves/pull/174) Add the "grumpkin" curve. + ### Improvements diff --git a/grumpkin/src/curves/mod.rs b/grumpkin/src/curves/mod.rs index 11d625f5..735fe2c7 100644 --- a/grumpkin/src/curves/mod.rs +++ b/grumpkin/src/curves/mod.rs @@ -45,10 +45,8 @@ impl SWCurveConfig for GrumpkinConfig { } /// G_GENERATOR_X = 1 -/// Encoded in Montgomery form, so the value here is R mod p. pub const G_GENERATOR_X: Fq = MontFp!("1"); /// G_GENERATOR_Y = sqrt(-16) -/// Encoded in Montgomery form, so the value here is 2R mod p. pub const G_GENERATOR_Y: Fq = MontFp!("17631683881184975370165255887551781615748388533673675138860");