lighthouse/beacon_node
Paul Hauner d53d43844c
Suggestions for Capella beacon_chain (#3999)
* Remove CapellaReadiness::NotSynced

Some EEs have a habit of flipping between synced/not-synced, which causes some
spurious "Not read for the merge" messages back before the merge. For the
merge, if the EE wasn't synced the CE simple wouldn't go through the transition
(due to optimistic sync stuff). However, we don't have that hard requirement
for Capella; the CE will go through the fork and just wait for the EE to catch
up. I think that removing `NotSynced` here will avoid false-positives on the
"Not ready logs..". We'll be creating other WARN/ERRO logs if the EE isn't
synced, anyway.

* Change some Capella readiness logging

There's two changes here:

1. Shorten the log messages, for readability.
2. Change the hints.

Connecting a Capella-ready LH to a non-Capella-ready EE gives this log:

```
WARN Not ready for Capella                   info: The execution endpoint does not appear to support the required engine api methods for Capella: Required Methods Unsupported: engine_getPayloadV2 engine_forkchoiceUpdatedV2 engine_newPayloadV2, service: slot_notifier
```

This variant of error doesn't get a "try updating" style hint, when it's the
one that needs it. This is because we detect the method-not-found reponse from
the EE and return default capabilities, rather than indicating that the request
fails. I think it's fair to say that an EE upgrade is required whenever it
doesn't provide the required methods.

I changed the `ExchangeCapabilitiesFailed` message since that can only happen
when the EE fails to respond with anything other than success or not-found.
2023-02-21 11:05:36 +11:00
..
beacon_chain Suggestions for Capella beacon_chain (#3999) 2023-02-21 11:05:36 +11:00
builder_client Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
client Suggestions for Capella beacon_chain (#3999) 2023-02-21 11:05:36 +11:00
eth1 exchangeCapabilities & Capella Readiness Logging (#3918) 2023-01-31 18:26:23 +01:00
execution_layer Suggestions for Capella execution_layer (#3983) 2023-02-17 11:58:33 +11:00
genesis Fix the new BLS to execution change test 2023-01-25 15:47:07 +11:00
http_api Merge remote-tracking branch 'origin/unstable' into capella-merge 2023-02-14 12:07:27 +11:00
http_metrics Support IPv6 in BN and VC HTTP APIs (#3104) 2022-03-24 00:04:49 +00:00
lighthouse_network Merge remote-tracking branch 'origin/staging' into capella-update 2023-02-17 12:05:36 +11:00
network Merge remote-tracking branch 'origin/staging' into capella-update 2023-02-17 12:05:36 +11:00
operation_pool Fix Capella schema downgrades (#4004) 2023-02-20 17:50:42 +11:00
src Self rate limiting dev flag (#3928) 2023-02-08 02:18:53 +00:00
store Fix Capella schema downgrades (#4004) 2023-02-20 17:50:42 +11: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 Remove withdrawals-processing feature (#3864) 2023-01-12 15:15:08 +11:00