Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Failing STM Proptests #2125

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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