lighthouse/consensus/serde_utils/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
..
bytes_4_hex.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
hex.rs VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
lib.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
quoted_int.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
quoted_u64_vec.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
u8_hex.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
u32_hex.rs Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00