Skip to content

Commit

Permalink
fix ci test
Browse files Browse the repository at this point in the history
Signed-off-by: smtmfft <[email protected]>
  • Loading branch information
smtmfft committed Jan 10, 2025
1 parent 2424c94 commit 2907242
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/src/primitives/eip4844.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,16 @@ mod test {
#[test]
fn test_kzg_settings_equivalence() {
let kzg_settings: KZGSettings = kzg_traits::eip_4844::load_trusted_setup_rust(
G1Points::as_ref(G1_POINTS).flatten(),
G2Points::as_ref(G2_POINTS).flatten(),
&G1Points::as_ref(G1_POINTS)
.into_iter()
.flatten()
.cloned()
.collect::<Vec<_>>(),
&G2Points::as_ref(G2_POINTS)
.into_iter()
.flatten()
.cloned()
.collect::<Vec<_>>(),
)
.expect("failed to load trusted setup");
assert_eq!(KZG_SETTINGS.clone().secret_g1, kzg_settings.secret_g1);
Expand Down

0 comments on commit 2907242

Please sign in to comment.