arnaucube
arnaucube/fold-babyjubjubsPublic Self-hosted repository
upgrade to latest Sonobe version
arnaucube git@arnaucube.com
Fri, 27 Dec 2024 19:18:58 +0100
commit

fb70f92ed70e01e0a393752e5b081f134b5ba9ce

parent

4dfb2781421f3e98fc0556a13f0f4bac5d9c3eaa

2 files changed, 5 insertions(+), 12 deletions(-)

jump to
M Cargo.toml → 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"}
M src/fold_babyjubjubs.rs → 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 @@ let f_circuit = FC::<SIGS_PER_STEP>::new(poseidon_config.clone()).unwrap();

// define type aliases for the FoldingScheme (FS) and Decider (D), to avoid writting the // whole type each time - pub type FS<const S: usize> = - Nova<G1, GVar, G2, GVar2, FC<S>, Pedersen<G1>, Pedersen<G2>, false>; + pub type FS<const S: usize> = Nova<G1, G2, FC<S>, Pedersen<G1>, Pedersen<G2>, false>; // prepare the Nova prover & verifier params let nova_preprocess_params =