Skip to content

Commit ce82b07

Browse files
committed
bound high-cardinality stress test runtime
1 parent bac8917 commit ce82b07

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

contracts/ledgerlens-score/src/test_signer_governance.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ fn advance_to(env: &Env, ts: u64) {
4141

4242
#[test]
4343
fn test_high_cardinality_wallet_pair_stress() {
44-
let (env, client, admin, _service) = setup();
44+
let (env, client, _admin, _service) = setup();
4545
env.budget().reset_unlimited();
46-
let num_wallets = 100;
47-
let num_pairs = 50;
46+
// Exercise enough independent keys to detect collisions without making a
47+
// debug CI run perform 10,000 contract calls.
48+
let num_wallets = 20;
49+
let num_pairs = 10;
4850

4951
// Track unique combinations submitted
5052
let mut submitted_count = 0;

0 commit comments

Comments
 (0)