Skip to content

Commit

Permalink
penalize twice the proposer for including bad ptc
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz committed Apr 8, 2024
1 parent 99132a4 commit c9e1834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/_features/epbs/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def process_payload_attestation(state: BeaconState, payload_attestation: Payload
epoch_participation[index] = remove_flag(flag_index)
proposer_penalty_numerator += get_base_reward(state, index) * weight
# Penalize the proposer
proposer_penalty = Gwei(proposer_penalty_numerator // proposer_reward_denominator)
proposer_penalty = Gwei(2*proposer_penalty_numerator // proposer_reward_denominator)
decrease_balance(state, proposer_index, proposer_penalty)
return

Expand Down

0 comments on commit c9e1834

Please sign in to comment.