From fb70f92ed70e01e0a393752e5b081f134b5ba9ce Mon Sep 17 00:00:00 2001 From: arnaucube Date: Fri, 27 Dec 2024 19:18:58 +0100 Subject: [PATCH] upgrade to latest Sonobe version --- Cargo.toml | 10 ++-------- src/fold_babyjubjubs.rs | 7 +++---- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 580b368..c4e20ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,15 +19,9 @@ ark-std = "0.5.0" rand = "0.8.5" rand_core = {version = "0.6", default-features = false} -# Note: for testing purposes we use the 'light-test' feature when importing -# Sonobe's folding-schemes, but for a real-world usage it must be used without -# this feature (but then the DeciderETH circuit is bigger and takes more time -# to compute). -folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", features=["light-test"], rev="964f9b6de91283c2bf12ffdd7578125dc999104a"} -# folding-schemes = { path = "../../sonobe/sonobe_FCIRCUIT-EXTINP/folding-schemes", package = "folding-schemes", features=["light-test"]} +folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", rev="c6f1a246e0705582a75de6becf4ad21f325fa5a1"} blake2 = "0.10" -arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="67c077e0e564d5f8d193a44f67357dfd1180cb64"} -# arkeddsa = { path = "../arkeddsa_TE-to-C", features=["r1cs"]} +arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="0a9ea7ac1df07363af0fda723e313e775563b9f4"} diff --git a/src/fold_babyjubjubs.rs b/src/fold_babyjubjubs.rs index a35cdf0..f6cc381 100644 --- a/src/fold_babyjubjubs.rs +++ b/src/fold_babyjubjubs.rs @@ -1,7 +1,7 @@ #[cfg(test)] mod tests { - use ark_bn254::{constraints::GVar, Fr, G1Projective as G1}; - use ark_grumpkin::{constraints::GVar as GVar2, Projective as G2}; + use ark_bn254::{Fr, G1Projective as G1}; + use ark_grumpkin::Projective as G2; use std::time::Instant; use arkeddsa::ed_on_bn254_twist::{constraints::EdwardsVar, EdwardsProjective}; @@ -44,8 +44,7 @@ mod tests { // define type aliases for the FoldingScheme (FS) and Decider (D), to avoid writting the // whole type each time - pub type FS = - Nova, Pedersen, Pedersen, false>; + pub type FS = Nova, Pedersen, Pedersen, false>; // prepare the Nova prover & verifier params let nova_preprocess_params =