mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-19 21:04:41 +00:00
Merge branch 'unstable' into deneb-free-blobs
This commit is contained in:
@@ -123,7 +123,7 @@ impl<E: EthSpec> EpochTransition<E> for RewardsAndPenalties {
|
||||
BeaconState::Base(_) => {
|
||||
let mut validator_statuses = base::ValidatorStatuses::new(state, spec)?;
|
||||
validator_statuses.process_attestations(state)?;
|
||||
base::process_rewards_and_penalties(state, &mut validator_statuses, spec)
|
||||
base::process_rewards_and_penalties(state, &validator_statuses, spec)
|
||||
}
|
||||
BeaconState::Altair(_)
|
||||
| BeaconState::Merge(_)
|
||||
|
||||
@@ -118,7 +118,7 @@ impl<E: EthSpec> Case for RewardsTest<E> {
|
||||
let mut validator_statuses = ValidatorStatuses::new(&state, spec)?;
|
||||
validator_statuses.process_attestations(&state)?;
|
||||
|
||||
let deltas = base::rewards_and_penalties::get_attestation_deltas(
|
||||
let deltas = base::rewards_and_penalties::get_attestation_deltas_all(
|
||||
&state,
|
||||
&validator_statuses,
|
||||
spec,
|
||||
|
||||
Reference in New Issue
Block a user