Skip to content

Commit

Permalink
Merge pull request #2125 from input-output-hk/curiecrypt/flaky-proptests
Browse files Browse the repository at this point in the history
Fix for Failing STM Proptests
  • Loading branch information
jpraynaud authored Nov 19, 2024
2 parents 9e85530 + 414527f commit 43b267a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-stm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }
Expand Down
4 changes: 2 additions & 2 deletions mithril-stm/src/stm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
) {
Expand All @@ -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]);

Expand Down

0 comments on commit 43b267a

Please sign in to comment.