Update zcash_proofs crate to use ff crate

This commit is contained in:
Jack Grigg
2019-01-06 09:32:50 +00:00
parent 538de482f3
commit 00983c48cd
5 changed files with 7 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
extern crate bellman;
extern crate byteorder;
extern crate ff;
extern crate pairing;
extern crate rand;
extern crate sapling_crypto;

View File

@@ -2,10 +2,8 @@ use bellman::groth16::{
create_random_proof, verify_proof, Parameters, PreparedVerifyingKey, Proof,
};
use byteorder::{LittleEndian, ReadBytesExt};
use pairing::{
bls12_381::{Bls12, Fr, FrRepr},
Field, PrimeField, PrimeFieldRepr,
};
use ff::{Field, PrimeField, PrimeFieldRepr};
use pairing::bls12_381::{Bls12, Fr, FrRepr};
use rand::{OsRng, Rand};
use sapling_crypto::{
circuit::{

View File

@@ -1,8 +1,6 @@
use bellman::groth16::{verify_proof, PreparedVerifyingKey, Proof};
use pairing::{
bls12_381::{Bls12, Fr},
Field,
};
use ff::Field;
use pairing::bls12_381::{Bls12, Fr};
use sapling_crypto::{
circuit::multipack,
jubjub::{edwards, FixedGenerators, JubjubBls12, Unknown},