update cargo lock, fix merge
This commit is contained in:
parent
1b5decdf67
commit
978c3c183b
772
phase2/Cargo.lock
generated
772
phase2/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -27,7 +27,7 @@ fn main() {
|
|||||||
let response_filename = &args[2];
|
let response_filename = &args[2];
|
||||||
let circuit_power = args[3].parse().expect("could not parse circuit power");
|
let circuit_power = args[3].parse().expect("could not parse circuit power");
|
||||||
let batch_size = args[4].parse().expect("could not parse batch size");
|
let batch_size = args[4].parse().expect("could not parse batch size");
|
||||||
let beacon_hash = args[5];
|
let beacon_hash = &args[5];
|
||||||
|
|
||||||
let parameters = CeremonyParams::<Bn256>::new(circuit_power, batch_size);
|
let parameters = CeremonyParams::<Bn256>::new(circuit_power, batch_size);
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ fn main() {
|
|||||||
use rand::chacha::ChaChaRng;
|
use rand::chacha::ChaChaRng;
|
||||||
use rand::SeedableRng;
|
use rand::SeedableRng;
|
||||||
|
|
||||||
let mut cur_hash: [u8; 32] = hex!(beacon_hash);
|
let mut cur_hash = hex::decode(beacon_hash).unwrap();
|
||||||
|
|
||||||
// Performs 2^n hash iterations over it
|
// Performs 2^n hash iterations over it
|
||||||
const N: u64 = 10;
|
const N: u64 = 10;
|
||||||
|
Loading…
Reference in New Issue
Block a user