mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 04:31:51 +00:00
Merge tag 'v4.5.0' into tree-states
v4.5.0
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#![cfg(feature = "metrics")]
|
||||
|
||||
use lazy_static::lazy_static;
|
||||
pub use lighthouse_metrics::*;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user