Merge tag 'v4.5.0' into tree-states

v4.5.0
This commit is contained in:
Michael Sproul
2023-09-26 11:21:44 +10:00
100 changed files with 1584 additions and 1662 deletions

View File

@@ -1,5 +1,3 @@
#![cfg(feature = "metrics")]
use lazy_static::lazy_static;
pub use lighthouse_metrics::*;

View File

@@ -87,7 +87,6 @@ impl<T: EthSpec> ParticipationEpochSummary<T> {
impl<T: EthSpec> EpochProcessingSummary<T> {
/// Updates some Prometheus metrics with some values in `self`.
#[cfg(feature = "metrics")]
pub fn observe_metrics(&self) -> Result<(), BeaconStateError> {
metrics::set_gauge(
&metrics::PARTICIPATION_PREV_EPOCH_HEAD_ATTESTING_GWEI_TOTAL,