From 4c7064be2f0a8acfe70202e3d4a64279b019b836 Mon Sep 17 00:00:00 2001 From: curiecrypt Date: Mon, 18 Nov 2024 14:38:46 +0300 Subject: [PATCH 1/2] params tuned for flaky batch verify test --- mithril-stm/src/stm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mithril-stm/src/stm.rs b/mithril-stm/src/stm.rs index 7e9ad248968..b7f582981d5 100644 --- a/mithril-stm/src/stm.rs +++ b/mithril-stm/src/stm.rs @@ -1278,7 +1278,7 @@ mod tests { /// Test that batch verification of certificates works fn batch_verify(nparties in 2_usize..30, m in 10_u64..20, - k in 1_u64..5, + k in 1_u64..4, seed in any::<[u8;32]>(), batch_size in 2..10, ) { @@ -1290,7 +1290,7 @@ mod tests { for _ in 0..batch_size { let mut msg = [0u8; 32]; rng.fill_bytes(&mut msg); - let params = StmParameters { m, k, phi_f: 0.8 }; + let params = StmParameters { m, k, phi_f: 0.95 }; let ps = setup_equal_parties(params, nparties); let clerk = StmClerk::from_signer(&ps[0]); From 414527f41a3788be0c397b30d59bf67fb3d031c0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 19 Nov 2024 09:45:38 +0100 Subject: [PATCH 2/2] chore: bump crates versions - 'mithril-stm' from '0.3.31' to '0.3.32'. --- Cargo.lock | 2 +- mithril-stm/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f3df6ff3b0..d3ea85d3900 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3943,7 +3943,7 @@ dependencies = [ [[package]] name = "mithril-stm" -version = "0.3.31" +version = "0.3.32" dependencies = [ "bincode", "blake2 0.10.6", diff --git a/mithril-stm/Cargo.toml b/mithril-stm/Cargo.toml index b18ade01552..6b956545537 100644 --- a/mithril-stm/Cargo.toml +++ b/mithril-stm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-stm" -version = "0.3.31" +version = "0.3.32" edition = { workspace = true } authors = { workspace = true } homepage = { workspace = true }