Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
Signed-off-by: lovesh <[email protected]>
  • Loading branch information
lovesh committed Oct 2, 2023
1 parent 00daecc commit 2ed2a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions proof_system/tests/bound_check_smc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ fn pok_of_bbs_plus_sig_and_bounded_message_using_set_membership_check_range_proo
let sig_params = SignatureParamsG1::<Bls12_381>::generate_using_rng(&mut rng, msg_count);
let sig_keypair = KeypairG2::<Bls12_381>::generate_using_rng(&mut rng, &sig_params);

let (smc_setup_params, _) = SmcParamsAndCommitmentKey::new::<_, Blake2b512>(
&mut rng, b"test",
2,
);
let (smc_setup_params, _) =
SmcParamsAndCommitmentKey::new::<_, Blake2b512>(&mut rng, b"test", 2);
smc_setup_params.verify().unwrap();

fn check(
Expand Down
6 changes: 2 additions & 4 deletions proof_system/tests/bound_check_smc_with_kv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ fn pok_of_bbs_plus_sig_and_bounded_message_using_set_membership_check_range_proo
let sig_params = SignatureParamsG1::<Bls12_381>::generate_using_rng(&mut rng, msg_count);
let sig_keypair = KeypairG2::<Bls12_381>::generate_using_rng(&mut rng, &sig_params);

let (smc_setup_params, sk) = SmcParamsAndCommitmentKey::new::<_, Blake2b512>(
&mut rng, b"test",
2,
);
let (smc_setup_params, sk) =
SmcParamsAndCommitmentKey::new::<_, Blake2b512>(&mut rng, b"test", 2);
smc_setup_params.verify().unwrap();
let smc_setup_params_with_sk = SmcParamsAndCommitmentKeyAndSecretKey {
params_and_comm_key: smc_setup_params.clone(),
Expand Down

0 comments on commit 2ed2a29

Please sign in to comment.