Open
Description
The enable_light_client_server
config is parsed 3 separate times at startup, and shimmed into 3 different structs. It would be nice if we could just define it in one place and have a single source of truth.
lighthouse/beacon_node/src/config.rs
Lines 178 to 179 in 0344f68
lighthouse/beacon_node/src/config.rs
Lines 182 to 184 in 0344f68
lighthouse/beacon_node/src/config.rs
Lines 1421 to 1422 in 0344f68
We are flipping the flag polarity in this PR, but the same issue remains: