mirror of
https://github.com/arnaucube/fold-babyjubjubs.git
synced 2026-01-19 20:21:30 +01:00
upgrade to latest Sonobe version
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -19,15 +19,9 @@ ark-std = "0.5.0"
|
|||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rand_core = {version = "0.6", default-features = false}
|
rand_core = {version = "0.6", default-features = false}
|
||||||
|
|
||||||
# Note: for testing purposes we use the 'light-test' feature when importing
|
folding-schemes = { git = "https://github.com/privacy-scaling-explorations/sonobe", package = "folding-schemes", rev="c6f1a246e0705582a75de6becf4ad21f325fa5a1"}
|
||||||
# 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"]}
|
|
||||||
blake2 = "0.10"
|
blake2 = "0.10"
|
||||||
arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="67c077e0e564d5f8d193a44f67357dfd1180cb64"}
|
arkeddsa = { git = "https://github.com/arnaucube/arkeddsa", features=["r1cs"], rev="0a9ea7ac1df07363af0fda723e313e775563b9f4"}
|
||||||
# arkeddsa = { path = "../arkeddsa_TE-to-C", features=["r1cs"]}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use ark_bn254::{constraints::GVar, Fr, G1Projective as G1};
|
use ark_bn254::{Fr, G1Projective as G1};
|
||||||
use ark_grumpkin::{constraints::GVar as GVar2, Projective as G2};
|
use ark_grumpkin::Projective as G2;
|
||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
|
|
||||||
use arkeddsa::ed_on_bn254_twist::{constraints::EdwardsVar, EdwardsProjective};
|
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
|
// define type aliases for the FoldingScheme (FS) and Decider (D), to avoid writting the
|
||||||
// whole type each time
|
// whole type each time
|
||||||
pub type FS<const S: usize> =
|
pub type FS<const S: usize> = Nova<G1, G2, FC<S>, Pedersen<G1>, Pedersen<G2>, false>;
|
||||||
Nova<G1, GVar, G2, GVar2, FC<S>, Pedersen<G1>, Pedersen<G2>, false>;
|
|
||||||
|
|
||||||
// prepare the Nova prover & verifier params
|
// prepare the Nova prover & verifier params
|
||||||
let nova_preprocess_params =
|
let nova_preprocess_params =
|
||||||
|
|||||||
Reference in New Issue
Block a user