From daf57f5665f89b35e0746863b61ef73519594f19 Mon Sep 17 00:00:00 2001 From: Nicolas Sarlin Date: Tue, 5 Nov 2024 10:01:03 +0100 Subject: [PATCH] chore(zk): update arkworks to 0.5.0 --- tfhe-zk-pok/Cargo.toml | 10 ++++------ tfhe-zk-pok/src/curve_446/mod.rs | 2 -- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/tfhe-zk-pok/Cargo.toml b/tfhe-zk-pok/Cargo.toml index 75f8d35b44..b1d40f6e4d 100644 --- a/tfhe-zk-pok/Cargo.toml +++ b/tfhe-zk-pok/Cargo.toml @@ -12,12 +12,10 @@ description = "tfhe-zk-pok: An implementation of zero-knowledge proofs of encryp # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ark-bls12-381 = { package = "tfhe-ark-bls12-381", version = "0.4.0" } -ark-ec = { package = "tfhe-ark-ec", version = "0.4.2", features = ["parallel"] } -ark-ff = { package = "tfhe-ark-ff", version = "0.4.3", features = ["parallel"] } -ark-poly = { package = "tfhe-ark-poly", version = "0.4.2", features = [ - "parallel", -] } +ark-bls12-381 = "0.5.0" +ark-ec = { version = "0.5.0", features = ["parallel"] } +ark-ff = { version = "0.5.0", features = ["parallel"] } +ark-poly = { version = "0.5.0", features = ["parallel"] } rand = "0.8.5" rayon = "1.8.0" sha3 = "0.10.8" diff --git a/tfhe-zk-pok/src/curve_446/mod.rs b/tfhe-zk-pok/src/curve_446/mod.rs index 0cd5f9c2db..fd60ddb50f 100644 --- a/tfhe-zk-pok/src/curve_446/mod.rs +++ b/tfhe-zk-pok/src/curve_446/mod.rs @@ -1,5 +1,3 @@ -#![allow(non_local_definitions)] - use ark_ec::bls12::{Bls12, Bls12Config, TwistType}; use ark_ff::fields::*; use ark_ff::MontFp;