mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-18 21:38:31 +00:00
Update Rust Edition to 2024 (#7766)
* #7749 Thanks @dknopik and @michaelsproul for your help!
This commit is contained in:
@@ -7,23 +7,23 @@ use std::sync::LazyLock;
|
||||
pub static PARTICIPATION_PREV_EPOCH_HEAD_ATTESTING_GWEI_TOTAL: LazyLock<Result<IntGauge>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_int_gauge(
|
||||
"beacon_participation_prev_epoch_head_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the head in the previous epoch"
|
||||
)
|
||||
"beacon_participation_prev_epoch_head_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the head in the previous epoch",
|
||||
)
|
||||
});
|
||||
pub static PARTICIPATION_PREV_EPOCH_TARGET_ATTESTING_GWEI_TOTAL: LazyLock<Result<IntGauge>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_int_gauge(
|
||||
"beacon_participation_prev_epoch_target_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the target in the previous epoch"
|
||||
)
|
||||
"beacon_participation_prev_epoch_target_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the target in the previous epoch",
|
||||
)
|
||||
});
|
||||
pub static PARTICIPATION_PREV_EPOCH_SOURCE_ATTESTING_GWEI_TOTAL: LazyLock<Result<IntGauge>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_int_gauge(
|
||||
"beacon_participation_prev_epoch_source_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the source in the previous epoch"
|
||||
)
|
||||
"beacon_participation_prev_epoch_source_attesting_gwei_total",
|
||||
"Total effective balance (gwei) of validators who attested to the source in the previous epoch",
|
||||
)
|
||||
});
|
||||
pub static PARTICIPATION_CURRENT_EPOCH_TOTAL_ACTIVE_GWEI_TOTAL: LazyLock<Result<IntGauge>> =
|
||||
LazyLock::new(|| {
|
||||
@@ -63,7 +63,7 @@ pub static PARTICIPATION_PREV_EPOCH_TARGET_ATTESTING_GWEI_PROGRESSIVE_TOTAL: Laz
|
||||
> = LazyLock::new(|| {
|
||||
try_create_int_gauge(
|
||||
"beacon_participation_prev_epoch_target_attesting_gwei_progressive_total",
|
||||
"Progressive total effective balance (gwei) of validators who attested to the target in the previous epoch"
|
||||
"Progressive total effective balance (gwei) of validators who attested to the target in the previous epoch",
|
||||
)
|
||||
});
|
||||
pub static PARTICIPATION_CURR_EPOCH_TARGET_ATTESTING_GWEI_PROGRESSIVE_TOTAL: LazyLock<
|
||||
@@ -71,6 +71,6 @@ pub static PARTICIPATION_CURR_EPOCH_TARGET_ATTESTING_GWEI_PROGRESSIVE_TOTAL: Laz
|
||||
> = LazyLock::new(|| {
|
||||
try_create_int_gauge(
|
||||
"beacon_participation_curr_epoch_target_attesting_gwei_progressive_total",
|
||||
"Progressive total effective balance (gwei) of validators who attested to the target in the current epoch"
|
||||
"Progressive total effective balance (gwei) of validators who attested to the target in the current epoch",
|
||||
)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user