From 25f941e0ef2f3d208f242cda2922daa62aa44599 Mon Sep 17 00:00:00 2001 From: ChickenLover Date: Mon, 15 Jul 2024 18:49:50 +0300 Subject: [PATCH] reduce test sizes for trees --- wrappers/rust/icicle-curves/icicle-bls12-377/src/tree/mod.rs | 2 +- wrappers/rust/icicle-curves/icicle-bls12-381/src/tree/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/rust/icicle-curves/icicle-bls12-377/src/tree/mod.rs b/wrappers/rust/icicle-curves/icicle-bls12-377/src/tree/mod.rs index 14af731e2..b575bff7c 100644 --- a/wrappers/rust/icicle-curves/icicle-bls12-377/src/tree/mod.rs +++ b/wrappers/rust/icicle-curves/icicle-bls12-377/src/tree/mod.rs @@ -24,6 +24,6 @@ pub(crate) mod tests { let ctx = device_context::DeviceContext::default(); let sponge = Poseidon::load(2, &ctx).unwrap(); - check_build_field_merkle_tree::<_, _, Bls12_377TreeBuilder>(25, 2, &sponge, &sponge, ScalarField::zero()); + check_build_field_merkle_tree::<_, _, Bls12_377TreeBuilder>(18, 2, &sponge, &sponge, ScalarField::zero()); } } diff --git a/wrappers/rust/icicle-curves/icicle-bls12-381/src/tree/mod.rs b/wrappers/rust/icicle-curves/icicle-bls12-381/src/tree/mod.rs index 1860c9fb6..8690198d1 100644 --- a/wrappers/rust/icicle-curves/icicle-bls12-381/src/tree/mod.rs +++ b/wrappers/rust/icicle-curves/icicle-bls12-381/src/tree/mod.rs @@ -24,6 +24,6 @@ pub(crate) mod tests { let ctx = device_context::DeviceContext::default(); let sponge = Poseidon::load(2, &ctx).unwrap(); - check_build_field_merkle_tree::<_, _, Bls12_381TreeBuilder>(25, 2, &sponge, &sponge, ScalarField::zero()); + check_build_field_merkle_tree::<_, _, Bls12_381TreeBuilder>(18, 2, &sponge, &sponge, ScalarField::zero()); } }