diff --git a/Cargo.lock b/Cargo.lock index f08fc69..5991b8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -77,8 +77,9 @@ checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "ark-crypto-primitives" version = "0.4.0" -source = "git+https://github.com/intx4/crypto-primitives#c4cd0af2bcd0f16e880d94e783ca98cf165813c2" +source = "git+https://github.com/arkworks-rs/crypto-primitives#fc1c9491c62ce51edf4f0b4e2ab270b85d0150ab" dependencies = [ + "ark-crypto-primitives-macros", "ark-ec", "ark-ff", "ark-relations", @@ -92,6 +93,16 @@ dependencies = [ "sha2", ] +[[package]] +name = "ark-crypto-primitives-macros" +version = "0.4.0" +source = "git+https://github.com/arkworks-rs/crypto-primitives#fc1c9491c62ce51edf4f0b4e2ab270b85d0150ab" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.31", +] + [[package]] name = "ark-ec" version = "0.4.2" diff --git a/Cargo.toml b/Cargo.toml index 48a42d9..469d944 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ parallel = ["rayon", "ark-ff/parallel", "ark-crypto-primitives/parallel"] [patch.crates-io] ark-std = { git = "https://github.com/arkworks-rs/std" } -ark-crypto-primitives = { git = "https://github.com/intx4/crypto-primitives" } +ark-crypto-primitives = { git = "https://github.com/arkworks-rs/crypto-primitives" } ark-test-curves = { git = "https://github.com/arkworks-rs/algebra" } ark-ff = { git = "https://github.com/arkworks-rs/algebra" } ark-poly = { git = "https://github.com/arkworks-rs/algebra" } diff --git a/src/poly_utils/bs08.rs b/src/poly_utils/bs08.rs index 9cc1c97..4268630 100644 --- a/src/poly_utils/bs08.rs +++ b/src/poly_utils/bs08.rs @@ -77,6 +77,7 @@ mod tests { use super::*; use crate::crypto::fields::Field64 as TestField; + use ark_ff::AdditiveGroup; fn test_bivariate( poly: &DensePolynomial, diff --git a/src/poly_utils/interpolation.rs b/src/poly_utils/interpolation.rs index 4510deb..486c80b 100644 --- a/src/poly_utils/interpolation.rs +++ b/src/poly_utils/interpolation.rs @@ -164,6 +164,7 @@ mod tests { use super::*; use crate::{crypto::fields::Field64 as TestField, domain::Domain}; use ark_poly::domain::EvaluationDomain; + use ark_ff::AdditiveGroup; #[test] fn test_ans_polynomial() {