lighthouse/validator_client
tim gretler 5dba89e43b Sync committee sign bn fallback (#3624)
## Issue Addressed

Closes #3612

## Proposed Changes

- Iterates through BNs until it finds a non-optimistic head.

A slight change in error behavior: 
- Previously: `spawn_contribution_tasks` did not return an error for a non-optimistic block head. It returned `Ok(())` logged a warning.
- Now: `spawn_contribution_tasks` returns an error if it cannot find a non-optimistic block head. The caller of `spawn_contribution_tasks` then logs the error as a critical error.


Co-authored-by: Michael Sproul <micsproul@gmail.com>
2022-11-13 22:40:43 +00:00
..
slashing_protection Replace OpenOptions::new with File::options to be readable (#3059) 2022-03-07 06:30:18 +00:00
src Sync committee sign bn fallback (#3624) 2022-11-13 22:40:43 +00:00
Cargo.toml Enable malloc metrics for the VC (#3279) 2022-06-20 23:20:30 +00:00