From 31181760c8e0e80e43207af994beb6d8a3cf703e Mon Sep 17 00:00:00 2001 From: Weikeng Chen Date: Mon, 8 Feb 2021 15:43:26 -0800 Subject: [PATCH 1/4] Update lib.rs --- ec/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ec/src/lib.rs b/ec/src/lib.rs index 756a961ac..87712cfc3 100644 --- a/ec/src/lib.rs +++ b/ec/src/lib.rs @@ -347,8 +347,8 @@ pub trait PairingFriendlyCycle: CurveCycle { >; type Engine2: PairingEngine< - G2Affine = Self::E2, - G2Projective = ::Projective, + G1Affine = Self::E2, + G1Projective = ::Projective, Fq = ::BaseField, Fr = ::ScalarField, >; From 51128b20f10d2a1170f96b8307fc485a5b153c07 Mon Sep 17 00:00:00 2001 From: Weikeng Chen Date: Mon, 8 Feb 2021 15:46:11 -0800 Subject: [PATCH 2/4] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 028dedef0..7af0671a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,5 +96,6 @@ The main features of this release are: - #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`. - #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries. - #192 Fix a bug in the assembly backend for finite field arithmetic. +- #217 (ark-ec) fix the definition of PairingFriendlyCycle introduced in #190. ## v0.1.0 (Initial release of arkworks/algebra) From 2d39d85ed62f0fc17d4fd56ce665063834174192 Mon Sep 17 00:00:00 2001 From: Weikeng Chen Date: Mon, 8 Feb 2021 15:46:42 -0800 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7af0671a2..a5d191736 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,6 @@ The main features of this release are: - #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`. - #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries. - #192 Fix a bug in the assembly backend for finite field arithmetic. -- #217 (ark-ec) fix the definition of PairingFriendlyCycle introduced in #190. +- #217 (ark-ec) Fix the definition of PairingFriendlyCycle introduced in #190. ## v0.1.0 (Initial release of arkworks/algebra) From a70f167d2928078ef57adef45321cd7cfa051dea Mon Sep 17 00:00:00 2001 From: Weikeng Chen Date: Mon, 8 Feb 2021 15:56:50 -0800 Subject: [PATCH 4/4] Update CHANGELOG.md Co-authored-by: Pratyush Mishra --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5d191736..30d976b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,6 +96,6 @@ The main features of this release are: - #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`. - #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries. - #192 Fix a bug in the assembly backend for finite field arithmetic. -- #217 (ark-ec) Fix the definition of PairingFriendlyCycle introduced in #190. +- #217 (ark-ec) Fix the definition of `PairingFriendlyCycle` introduced in #190. ## v0.1.0 (Initial release of arkworks/algebra)