lighthouse/consensus
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
..
cached_tree_hash Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
fork_choice Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
int_to_bytes Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
merkle_proof Implement matches! macro (#1777) 2020-10-15 21:42:43 +00:00
proto_array Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
safe_arith Remove saturating arith from state_processing (#1644) 2020-09-25 05:18:21 +00:00
serde_utils VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
ssz VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
ssz_derive Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
ssz_types VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
state_processing Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
swap_or_not_shuffle Update to the latest libp2p (#2239) 2021-03-02 05:59:49 +00:00
tree_hash Update to the latest libp2p (#2239) 2021-03-02 05:59:49 +00:00
tree_hash_derive Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
types VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00