Shorten slot time for simulator

This commit is contained in:
Paul Hauner
2019-11-29 17:02:09 +11:00
parent 7da8003f45
commit 1ba1c671da
2 changed files with 3 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ fn simulation(num_nodes: usize, validators_per_node: usize) -> Result<(), String
.multi_threaded_tokio_runtime()?
.build()?;
env.eth2_config.spec.milliseconds_per_slot = 2_000;
let mut base_config = testing_client_config();
let now = SystemTime::now()