bug
This commit is contained in:
parent
c37789dc5d
commit
b361fdb385
|
@ -1603,6 +1603,7 @@ def get_attestation_deltas(state: BeaconState) -> Tuple[List[Gwei], List[Gwei]]:
|
||||||
penalties[index] += get_base_reward(state, index)
|
penalties[index] += get_base_reward(state, index)
|
||||||
|
|
||||||
# Proposer and inclusion delay micro-rewards
|
# Proposer and inclusion delay micro-rewards
|
||||||
|
for index in eligible_validator_indices:
|
||||||
if index in get_unslashed_attesting_indices(state, matching_source_attestations):
|
if index in get_unslashed_attesting_indices(state, matching_source_attestations):
|
||||||
earliest_attestation = get_earliest_attestation(state, matching_source_attestations, index)
|
earliest_attestation = get_earliest_attestation(state, matching_source_attestations, index)
|
||||||
rewards[earliest_attestation.proposer_index] += get_base_reward(state, index) // PROPOSER_REWARD_QUOTIENT
|
rewards[earliest_attestation.proposer_index] += get_base_reward(state, index) // PROPOSER_REWARD_QUOTIENT
|
||||||
|
|
Loading…
Reference in New Issue