lighthouse/validator_client/src
Michael Sproul 65eaf01942 VC: avoid sending fee recipients until just before merge (#3064)
## Issue Addressed

Presently if the VC is configured with a fee recipient it will error out when sending fee-recipient preparations to a beacon node that doesn't yet support the API:

```
Mar 08 22:23:36.236 ERRO Unable to publish proposer preparation  error: All endpoints failed https://eth2-beacon-prater.infura.io/ => RequestFailed(StatusCode(404)), service: preparation
```

This doesn't affect other VC duties, but could be a source of anxiety for users trying to do the right thing and configure their fee recipients in advance.

## Proposed Changes

Change the preparation service to only send preparations if the current slot is later than 2 epochs before the Bellatrix hard fork epoch.

## Additional Info

I've tagged this v2.1.4 as I think it's a small change that's worth having for the next release
2022-03-09 06:36:38 +00:00
..
duties_service Fix sync committee polling for 0 validators (#2999) 2022-02-18 02:36:44 +00:00
http_api Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
http_metrics Web3Signer support for VC (#2522) 2021-09-16 03:26:33 +00:00
signing_method Handle merge fork in web3signer (#2631) 2021-12-02 14:26:51 +11:00
attestation_service.rs Web3Signer support for VC (#2522) 2021-09-16 03:26:33 +00:00
beacon_node_fallback.rs Avoid hogging the fallback status lock in the VC (#3022) 2022-02-22 03:09:00 +00:00
block_service.rs Check proposer index during block production (#2740) 2021-11-01 07:44:40 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Add aliases for validator-dir flags (#3034) 2022-02-22 03:09:02 +00:00
config.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00
doppelganger_service.rs Fix log output for INFO Found no doppelganger (#2551) 2021-08-29 23:29:47 +00:00
duties_service.rs Web3Signer support for VC (#2522) 2021-09-16 03:26:33 +00:00
fee_recipient_file.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00
graffiti_file.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
initialized_validators.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00
key_cache.rs Replace OpenOptions::new with File::options to be readable (#3059) 2022-03-07 06:30:18 +00:00
lib.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00
notifier.rs Add docs for doppelganger protection (#2496) 2021-08-06 02:13:16 +00:00
preparation_service.rs VC: avoid sending fee recipients until just before merge (#3064) 2022-03-09 06:36:38 +00:00
signing_method.rs Implement standard keystore API (#2736) 2022-01-30 23:22:04 +00:00
sync_committee_service.rs Web3Signer support for VC (#2522) 2021-09-16 03:26:33 +00:00
validator_store.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00