mirror of
https://github.com/logos-blockchain/research.git
synced 2026-08-07 03:33:33 +00:00
blend: cover the two new release fields in the key() test
Caught by the test immediately: key() enumerates every SimConfig field, so min_blend_delay and release_mode needed alternative values. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
57be929af7
commit
4915444c3e
@ -14,7 +14,8 @@ def test_key_covers_every_field():
|
||||
for name in fields:
|
||||
cur = getattr(base, name)
|
||||
alt = {"n_nodes": 2000, "degree": 4, "n_regions": 4, "region_locality": 0.5,
|
||||
"blend_hops": 2, "max_blend_delay": 5,
|
||||
"blend_hops": 2, "max_blend_delay": 5, "min_blend_delay": 1,
|
||||
"release_mode": "jitter",
|
||||
"unresponsive_frac": 0.2, "churn_mode": "regional", "redundancy": 2,
|
||||
"cover_rate_mult": 2.0, "block_interval_slots": 60, "slots_per_epoch": 1000,
|
||||
"stake_inference_ratio": 0.7, "traffic_window_slots": 100,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user