mirror of
https://github.com/arnaucube/ark-r1cs-std.git
synced 2026-01-09 23:41:33 +01:00
Compilation fix
This commit is contained in:
@@ -215,7 +215,7 @@ mod test {
|
||||
};
|
||||
use r1cs_core::ConstraintSystem;
|
||||
use r1cs_std::{
|
||||
edwards_on_bls12_381::JubJubGadget, prelude::*,
|
||||
edwards_on_bls12_381::EdwardsGadget, prelude::*,
|
||||
test_constraint_system::TestConstraintSystem,
|
||||
};
|
||||
|
||||
@@ -236,7 +236,7 @@ mod test {
|
||||
let rng = &mut test_rng();
|
||||
|
||||
type TestCOMM = PedersenCommitment<JubJub, Window>;
|
||||
type TestCOMMGadget = PedersenCommitmentGadget<JubJub, Fq, JubJubGadget>;
|
||||
type TestCOMMGadget = PedersenCommitmentGadget<JubJub, Fq, EdwardsGadget>;
|
||||
|
||||
let randomness = PedersenRandomness(Fr::rand(rng));
|
||||
|
||||
|
||||
@@ -150,12 +150,12 @@ mod test {
|
||||
};
|
||||
use r1cs_core::ConstraintSystem;
|
||||
use r1cs_std::{
|
||||
alloc::AllocGadget, edwards_on_bls12_381::JubJubGadget,
|
||||
alloc::AllocGadget, edwards_on_bls12_381::EdwardsGadget,
|
||||
test_constraint_system::TestConstraintSystem, uint8::UInt8,
|
||||
};
|
||||
|
||||
type TestCRH = BoweHopwoodPedersenCRH<JubJub, Window>;
|
||||
type TestCRHGadget = BoweHopwoodPedersenCRHGadget<JubJub, Fr, JubJubGadget>;
|
||||
type TestCRHGadget = BoweHopwoodPedersenCRHGadget<JubJub, Fr, EdwardsGadget>;
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Hash)]
|
||||
pub(super) struct Window;
|
||||
|
||||
@@ -138,13 +138,13 @@ mod test {
|
||||
};
|
||||
use r1cs_core::ConstraintSystem;
|
||||
use r1cs_std::{
|
||||
edwards_on_bls12_381::JubJubGadget, prelude::*,
|
||||
edwards_on_bls12_381::EdwardsGadget, prelude::*,
|
||||
test_constraint_system::TestConstraintSystem,
|
||||
};
|
||||
use rand::Rng;
|
||||
|
||||
type TestCRH = PedersenCRH<JubJub, Window>;
|
||||
type TestCRHGadget = PedersenCRHGadget<JubJub, Fr, JubJubGadget>;
|
||||
type TestCRHGadget = PedersenCRHGadget<JubJub, Fr, EdwardsGadget>;
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Hash)]
|
||||
pub(super) struct Window;
|
||||
|
||||
@@ -214,7 +214,7 @@ mod test {
|
||||
|
||||
use super::*;
|
||||
use r1cs_std::{
|
||||
edwards_on_bls12_381::JubJubGadget, test_constraint_system::TestConstraintSystem,
|
||||
edwards_on_bls12_381::EdwardsGadget, test_constraint_system::TestConstraintSystem,
|
||||
};
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -225,7 +225,7 @@ mod test {
|
||||
}
|
||||
|
||||
type H = PedersenCRH<JubJub, Window4x256>;
|
||||
type HG = PedersenCRHGadget<JubJub, Fq, JubJubGadget>;
|
||||
type HG = PedersenCRHGadget<JubJub, Fq, EdwardsGadget>;
|
||||
|
||||
struct JubJubMerkleTreeParams;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user