lighthouse/beacon_node/beacon_chain
Michael Sproul 3dc1eb5eb6 Ignore inactive validators in validator monitor (#2396)
## Proposed Changes

A user on Discord (`@ChewsMacRibs`) reported that the validator monitor was logging `WARN Attested to an incorrect head` for their validator while it was awaiting activation.

This PR modifies the monitor so that it ignores inactive validators, by the logic that they are either awaiting activation, or have already exited. Either way, there's no way for an inactive validator to have their attestations included on chain, so no need for the monitor to report on them.

## Additional Info

To reproduce the bug requires registering validator keys manually with `--validator-monitor-pubkeys`. I don't think the bug will present itself with `--validator-monitor-auto`.
2021-06-17 02:10:48 +00:00
..
src Ignore inactive validators in validator monitor (#2396) 2021-06-17 02:10:48 +00:00
tests Reorg events (#2090) 2021-06-17 02:10:46 +00:00
Cargo.toml Upgrade rand_core (#2201) 2021-02-15 20:34:49 +00:00