mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Rust 1.79 lints (#5927)
* max_value -> MAX
* remove unnecesary closures
* a couple more max_value -> MAX
* a couple more max_value -> MAX
* Revert "a couple more max_value -> MAX"
This reverts commit 807fe7cae9.
* unused spec field -> phantom data
* ignore some dead code warnings
* update kurtosis repo location
This commit is contained in:
@@ -1115,7 +1115,7 @@ mod test {
|
||||
)
|
||||
// All validators should still be disabled.
|
||||
.assert_all_disabled()
|
||||
// The states of all validators should be jammed with `u64::max_value()`.
|
||||
// The states of all validators should be jammed with `u64:MAX`.
|
||||
.assert_all_states(&DoppelgangerState {
|
||||
next_check_epoch: starting_epoch + 1,
|
||||
remaining_epochs: u64::MAX,
|
||||
@@ -1347,7 +1347,7 @@ mod test {
|
||||
)
|
||||
.assert_all_states(&DoppelgangerState {
|
||||
next_check_epoch: initial_epoch + 1,
|
||||
remaining_epochs: u64::max_value(),
|
||||
remaining_epochs: u64::MAX,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user