lighthouse/consensus/types/src
Michael Sproul f9d60f5436 VC: accept unknown fields in chain spec (#2277)
## Issue Addressed

Closes #2274

## Proposed Changes

* Modify the `YamlConfig` to collect unknown fields into an `extra_fields` map, instead of failing hard.
* Log a debug message if there are extra fields returned to the VC from one of its BNs.

This restores Lighthouse's compatibility with Teku beacon nodes (and therefore Infura)
2021-03-26 04:53:57 +00:00
..
beacon_state Lint for sum and product in consensus code (#2226) 2021-03-01 00:57:13 +00:00
test_utils Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
aggregate_and_proof.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation_duty.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
attestation.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
attester_slashing.rs Update for clippy 1.50 (#2193) 2021-02-15 00:09:12 +00:00
beacon_block_body.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
beacon_block_header.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
beacon_block.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
beacon_committee.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
beacon_state.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
chain_spec.rs VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
checkpoint.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
deposit_data.rs Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
deposit_message.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
deposit.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
enr_fork_id.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth1_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
eth_spec.rs Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
fork_data.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
fork.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
free_attestation.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
graffiti.rs Set graffiti per validator (#2044) 2021-03-02 22:35:46 +00:00
historical_batch.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
indexed_attestation.rs Update for clippy 1.50 (#2193) 2021-02-15 00:09:12 +00:00
lib.rs Lint for sum and product in consensus code (#2226) 2021-03-01 00:57:13 +00:00
pending_attestation.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
proposer_slashing.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
relative_epoch.rs Remove saturating arith from state_processing (#1644) 2020-09-25 05:18:21 +00:00
selection_proof.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
shuffling_id.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
signed_aggregate_and_proof.rs Support multiple BLS implementations (#1335) 2020-07-25 02:03:18 +00:00
signed_beacon_block_header.rs Update for clippy 1.50 (#2193) 2021-02-15 00:09:12 +00:00
signed_beacon_block.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
signed_voluntary_exit.rs Bump all spec tags to v0.12.1 (#1275) 2020-06-19 11:18:27 +10:00
signing_data.rs Consensus updates for v0.12 (#1228) 2020-06-03 14:56:54 +10:00
slot_epoch_macros.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
slot_epoch.rs Fix: end_slot returns incorrect value (#2138) 2021-01-19 03:50:06 +00:00
sqlite.rs Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
subnet_id.rs Avoid string initialization in network metrics and replace by &str where possible (#1898) 2020-11-18 23:31:37 +00:00
tree_hash_impls.rs Fix clippy errors on tests (#2160) 2021-01-28 23:31:06 +00:00
validator_subscription.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
validator.rs Fix epoch, slot, and effective balance quoting (#1756) 2020-10-11 23:58:12 +00:00
voluntary_exit.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00