lighthouse/beacon_node
Divma 2063c0fa0d Initial work to remove engines fallback from the execution_layer crate (#3257)
## Issue Addressed

Part of #3160 

## Proposed Changes
Use only the first url given in the execution engine, if more than one is provided log it.
This change only moves having multiple engines to one. The amount of code cleanup that can and should be done forward is not small and would interfere with ongoing PRs. I'm keeping the changes intentionally very very minimal.

## Additional Info

Future works:
- In [ `EngineError` ](9c429d0764/beacon_node/execution_layer/src/engines.rs (L173-L177)) the id is not needed since it now has no meaning.
- the [ `first_success_without_retry` ](9c429d0764/beacon_node/execution_layer/src/engines.rs (L348-L351)) function can return a single error.
- the [`first_success`](9c429d0764/beacon_node/execution_layer/src/engines.rs (L324)) function can return a single error.
- After the redundancy is removed for the builders, we can probably make the [ `EngineErrors` ](9c429d0764/beacon_node/execution_layer/src/lib.rs (L69)) carry a single error.
- Merge the [`Engines`](9c429d0764/beacon_node/execution_layer/src/engines.rs (L161-L165)) struct and [`Engine` ](9c429d0764/beacon_node/execution_layer/src/engines.rs (L62-L67))
- Fix the associated configurations and cli params. Not sure if both are done in https://github.com/sigp/lighthouse/pull/3214

In general I think those changes can be done incrementally and in individual pull requests.
2022-06-22 14:27:16 +00:00
..
beacon_chain Avoid cloning snapshots during sync (#3271) 2022-06-20 23:20:29 +00:00
client Fix per-slot timer in presence of clock changes (#3243) 2022-06-06 23:52:32 +00:00
eth1 Improve eth1 block cache sync (for Ropsten) (#3234) 2022-06-03 06:05:03 +00:00
execution_layer Initial work to remove engines fallback from the execution_layer crate (#3257) 2022-06-22 14:27:16 +00:00
genesis Update and consolidate dependencies (#3136) 2022-04-04 00:26:16 +00:00
http_api Use genesis slot for node/syncing (#3226) 2022-05-31 06:09:11 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Improve substream management (#3261) 2022-06-10 06:58:50 +00:00
network Do not penalize peers on execution layer offline errors (#3258) 2022-06-19 23:13:40 +00:00
operation_pool Optimise per_epoch_processing low-hanging-fruit (#3254) 2022-06-10 04:29:28 +00:00
src Improve eth1 block cache sync (for Ropsten) (#3234) 2022-06-03 06:05:03 +00:00
store Separate execution payloads in the DB (#3157) 2022-05-12 00:42:17 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Fix per-slot timer in presence of clock changes (#3243) 2022-06-06 23:52:32 +00:00
Cargo.toml v2.3.1 (#3262) 2022-06-14 05:25:38 +00:00