diff --git a/Cargo.toml b/Cargo.toml index b63d90e30d..58e0bef1f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "halo2curves" -version = "0.2.0" +version = "0.2.1" authors = [ "Sean Bowe ", "Jack Grigg ", diff --git a/src/bn256/fq2.rs b/src/bn256/fq2.rs index d3770b79f3..b6d03929fa 100644 --- a/src/bn256/fq2.rs +++ b/src/bn256/fq2.rs @@ -555,7 +555,7 @@ impl ff::PrimeField for Fq2 { } fn to_repr(&self) -> Self::Repr { - unimplemented!(); + Fq2Bytes(self.to_bytes()) } fn is_odd(&self) -> Choice {