mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 04:31:51 +00:00
Merge unstable 20230925 into deneb-free-blobs.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#![cfg(feature = "metrics")]
|
||||
|
||||
use lazy_static::lazy_static;
|
||||
pub use lighthouse_metrics::*;
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ pub enum EpochProcessingSummary<T: EthSpec> {
|
||||
|
||||
impl<T: EthSpec> EpochProcessingSummary<T> {
|
||||
/// Updates some Prometheus metrics with some values in `self`.
|
||||
#[cfg(feature = "metrics")]
|
||||
pub fn observe_metrics(&self) -> Result<(), ParticipationCacheError> {
|
||||
metrics::set_gauge(
|
||||
&metrics::PARTICIPATION_PREV_EPOCH_HEAD_ATTESTING_GWEI_TOTAL,
|
||||
|
||||
Reference in New Issue
Block a user