lighthouse/validator_client/src
Michael Sproul 4e05f19fb5 Serve Bellatrix preset in BN API (#3425)
## Issue Addressed

Resolves #3388
Resolves #2638

## Proposed Changes

- Return the `BellatrixPreset` on `/eth/v1/config/spec` by default.
- Allow users to opt out of this by providing `--http-spec-fork=altair` (unless there's a Bellatrix fork epoch set).
- Add the Altair constants from #2638 and make serving the constants non-optional (the `http-disable-legacy-spec` flag is deprecated).
- Modify the VC to only read the `Config` and not to log extra fields. This prevents it from having to muck around parsing the `ConfigAndPreset` fields it doesn't need.

## Additional Info

This change is backwards-compatible for the VC and the BN, but is marked as a breaking change for the removal of `--http-disable-legacy-spec`.

I tried making `Config` a `superstruct` too, but getting the automatic decoding to work was a huge pain and was going to require a lot of hacks, so I gave up in favour of keeping the default-based approach we have now.
2022-08-10 07:52:59 +00:00
..
duties_service Gracefully handle missing sync committee duties (#3086) 2022-03-14 06:16:49 +00:00
http_api Serve Bellatrix preset in BN API (#3425) 2022-08-10 07:52:59 +00:00
http_metrics Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
signing_method Add Merge support to web3signer validators (#3318) 2022-07-15 14:16:00 +00:00
attestation_service.rs Include validator indices in attestation logs (#3393) 2022-08-05 01:51:39 +00:00
beacon_node_fallback.rs Serve Bellatrix preset in BN API (#3425) 2022-08-10 07:52:59 +00:00
block_service.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
config.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +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 [refactor] Refactor Option/Result combinators (#3180) 2022-05-16 01:59:47 +00:00
graffiti_file.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
initialized_validators.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +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 Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
notifier.rs Add new VC metrics for beacon node availability (#3193) 2022-05-26 02:05:16 +00:00
preparation_service.rs Don't attempt to register validators that are pre-activation (#3441) 2022-08-08 23:57:00 +00:00
signing_method.rs Register validator api (#3194) 2022-06-30 00:49:21 +00:00
sync_committee_service.rs Refuse to sign sync committee messages when head is optimistic (#3191) 2022-07-27 00:51:05 +00:00
validator_store.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00