lighthouse/beacon_node
Paul Hauner 7a6e6928a3 Further remove EE redundancy (#3324)
## Issue Addressed

Resolves #3176

## Proposed Changes

Continues from PRs by @divagant-martian to gradually remove EL redundancy (see #3284, #3257).

This PR achieves:

- Removes the `broadcast` and `first_success` methods. The functional impact is that every request to the EE will always be tried immediately, regardless of the cached `EngineState` (this resolves #3176). Previously we would check the engine state before issuing requests, this doesn't make sense in a single-EE world; there's only one EE so we might as well try it for every request.
- Runs the upcheck/watchdog routine once per slot rather than thrice. When we had multiple EEs frequent polling was useful to try and detect when the primary EE had come back online and we could switch to it. That's not as relevant now.
- Always creates logs in the `Engines::upcheck` function. Previously we would mute some logs since they could get really noisy when one EE was down but others were functioning fine. Now we only have one EE and are upcheck-ing it less, it makes sense to always produce logs.

This PR purposefully does not achieve:

- Updating all occurances of "engines" to "engine". I'm trying to keep the diff small and manageable. We can come back for this.

## Additional Info

NA
2022-07-13 20:31:39 +00:00
..
beacon_chain Further remove EE redundancy (#3324) 2022-07-13 20:31:39 +00:00
builder_client Remove builder redundancy (#3294) 2022-07-01 01:15:19 +00:00
client Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
eth1 Unify execution layer endpoints (#3214) 2022-06-29 09:07:09 +00:00
execution_layer Further remove EE redundancy (#3324) 2022-07-13 20:31:39 +00:00
genesis Unify execution layer endpoints (#3214) 2022-06-29 09:07:09 +00:00
http_api Ensure caches are built for block_rewards POST API (#3305) 2022-07-04 02:56:15 +00:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
network Remove unused method in HandlerNetworkContext (#3299) 2022-07-04 02:56:14 +00:00
operation_pool Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
src Remove builder redundancy (#3294) 2022-07-01 01:15:19 +00:00
store Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml v2.3.2-rc.0 (#3289) 2022-06-28 03:03:30 +00:00