You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
We'd like to use Avalanche Network Runner to simulate dynamic network conditions and asynchrony. Ideally, we would like to make this scriptable to cover different cases
User Journeys
Developer should be able to write a script that adds validators, removes validators, simulates latency, and simulates partitions.
Developer should be able to write script with minimal code.
Developer should be able to run script reliably; nix-shell, containers, or even simply setup scripts are all viable.
Eventually it would be nice to include this as a parameter in the CLI command movement ctl start m1 localnet.
Recommendations
Begin by re-examining the current e2e tests. It may be possible to use abstractions from those tests to manage something similar in Rust.
Calling the services as opposed to manipulating natively is totally fine.
So, yeah, that's one valid scenario we would like to simulate. In addition to just those network partitions, we also want to simulate cases where the validator set is changing (and partitions may or may not be occurring). These validator set changes tend to lead to those partitions or even just independently cause the unhealthiness.
Activity
0xmovses commentedon Feb 9, 2024
For simulating network partitions, would this be a valid scenario:
l-monninger commentedon Feb 9, 2024
So, yeah, that's one valid scenario we would like to simulate. In addition to just those network partitions, we also want to simulate cases where the validator set is changing (and partitions may or may not be occurring). These validator set changes tend to lead to those partitions or even just independently cause the unhealthiness.