Merge remote-tracking branch 'origin/unstable' into electra_attestation_changes

This commit is contained in:
Michael Sproul
2024-06-14 12:32:47 +10:00
34 changed files with 92 additions and 95 deletions

View File

@@ -615,7 +615,7 @@ impl<E: EthSpec> OperationPool<E> {
})
},
|address_change| address_change.as_inner().clone(),
usize::max_value(),
usize::MAX,
);
changes.shuffle(&mut thread_rng());
changes
@@ -1404,7 +1404,7 @@ mod release_tests {
// Set of indices covered by previous attestations in `best_attestations`.
let mut seen_indices = BTreeSet::<u64>::new();
// Used for asserting that rewards are in decreasing order.
let mut prev_reward = u64::max_value();
let mut prev_reward = u64::MAX;
let mut reward_cache = RewardCache::default();
reward_cache.update(&state).unwrap();