Skip to content

Commit

Permalink
dead code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
swasilyev committed Nov 30, 2023
1 parent 9503d7f commit 5f92bfa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions dleq_vrf/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ use crate::{Transcript, vrf, Batchable};
use ark_bls12_377 as curve;

type K = curve::G1Affine;
// type H = curve::G1Affine;

type H2C = ark_ec::hashing::map_to_curve_hasher::MapToCurveBasedHasher::<
<K as ark_ec::AffineRepr>::Group,
ark_ff::fields::field_hashers::DefaultFieldHasher<sha2::Sha256>,
ark_ec::hashing::curve_maps::wb::WBMap<curve::g1::Config>,
>;

// type ThinVrf = crate::ThinVrf<K>;
type PedersenVrf = crate::PedersenVrf<K>;
type SecretKey = crate::SecretKey<K>;


pub(crate) fn pedersen_vrf_test_flavor() -> PedersenVrf {
let mut t = Transcript::new_labeled(b"TestFlavor");
Expand Down
3 changes: 0 additions & 3 deletions nugget_bls/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ use dleq_vrf::Transcript;
use ark_serialize::{CanonicalSerialize,CanonicalDeserialize};
use ark_std::vec::Vec;

type P = ark_bls12_381::Bls12_381;
use crate::bls12_381::*;



#[test]
fn single() {
let sk = SecretKey::ephemeral();
Expand Down

0 comments on commit 5f92bfa

Please sign in to comment.