lighthouse/testing/simulator/src
Pawan Dhananjay 420c2d28f8 Fix simulator failed runs (#2181)
## Issue Addressed

N/A

## Proposed Changes

Another attempt at fixing simulator issues for `eth1-sim`. 
The `LocalValidatorClient` here blocks till genesis has occurred. 
e4b62139d7/testing/simulator/src/local_network.rs (L145-L150)

Due to this, only the first validator(validator_0) starts before genesis. The remaining 3 vc's in the simulation start only after genesis. This was probably causing issues with missing the duties and eventually the proposal for slot 1.

This PR spawns each `LocalValidatorClient` in it's own tokio task to allow the remaining validators to start before genesis.

## Additional Info

Please provide any additional information. For example, future considerations
or information useful for reviewers.
2021-02-01 03:31:12 +00:00
..
checks.rs Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
cli.rs Improve command help (#1740) 2020-10-07 00:31:19 +00:00
eth1_sim.rs Fix simulator failed runs (#2181) 2021-02-01 03:31:12 +00:00
local_network.rs Fix simulator failed runs (#2181) 2021-02-01 03:31:12 +00:00
main.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
no_eth1_sim.rs Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00
sync_sim.rs Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00