add trusted setup, query different version of EL endpoint at each fork

This commit is contained in:
realbigsean
2022-12-07 12:01:21 -05:00
parent 2704955b2e
commit e5f26516bd
11 changed files with 4325 additions and 46 deletions

View File

@@ -342,6 +342,7 @@ pub fn get_config<E: EthSpec>(
let execution_timeout_multiplier =
clap_utils::parse_required(cli_args, "execution-timeout-multiplier")?;
el_config.execution_timeout_multiplier = Some(execution_timeout_multiplier);
el_config.spec = spec.clone();
// If `--execution-endpoint` is provided, we should ignore any `--eth1-endpoints` values and
// use `--execution-endpoint` instead. Also, log a deprecation warning.