mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Merge readiness endpoint (#3349)
## Issue Addressed Resolves final task in https://github.com/sigp/lighthouse/issues/3260 ## Proposed Changes Adds a lighthouse http endpoint to indicate merge readiness. Blocked on #3339
This commit is contained in:
@@ -359,7 +359,7 @@ async fn merge_readiness_logging<T: BeaconChainTypes>(
|
||||
"terminal_total_difficulty" => %ttd,
|
||||
"current_difficulty" => current_difficulty
|
||||
.map(|d| d.to_string())
|
||||
.unwrap_or_else(|_| "??".into()),
|
||||
.unwrap_or_else(|| "??".into()),
|
||||
)
|
||||
}
|
||||
MergeConfig {
|
||||
@@ -382,7 +382,7 @@ async fn merge_readiness_logging<T: BeaconChainTypes>(
|
||||
"config" => ?other
|
||||
),
|
||||
},
|
||||
readiness @ MergeReadiness::ExchangeTransitionConfigurationFailed(_) => {
|
||||
readiness @ MergeReadiness::ExchangeTransitionConfigurationFailed { error: _ } => {
|
||||
error!(
|
||||
log,
|
||||
"Not ready for merge";
|
||||
|
||||
Reference in New Issue
Block a user