Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ToufeeqP committed Oct 27, 2023
1 parent fae4019 commit c26660d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions kate/src/gridgen/tests/commitments.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::*;
use crate::{gridgen::*, testnet, Seed, testnet_v2};
use crate::{gridgen::*, testnet, testnet_v2, Seed};
use avail_core::{AppExtrinsic, AppId, BlockLengthColumns, BlockLengthRows};
use hex_literal::hex;
use kate_recovery::{
Expand Down Expand Up @@ -176,12 +176,8 @@ fn test_zero_deg_poly_commit(row_values: Vec<u8>) {
},
content: content.try_into().unwrap(),
};
let verification = kate_recovery::proof::verify(
&testnet_v2::public_params(),
dims,
&commitment,
&cell,
);
let verification =
kate_recovery::proof::verify(&testnet_v2::public_params(), dims, &commitment, &cell);
assert!(verification.is_ok());
assert!(verification.unwrap())
}
Expand Down

0 comments on commit c26660d

Please sign in to comment.