mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-16 05:35:10 +00:00
Deprecate PROPOSER_REWARD_QUOTIENT from tests
This commit is contained in:
parent
0481e920f0
commit
582965fd0b
@ -137,7 +137,7 @@ def compute_sync_committee_proposer_reward(spec, state, committee, committee_bit
|
||||
inclusion_reward = compute_sync_committee_inclusion_reward(
|
||||
spec, state, index, committee, committee_bits,
|
||||
)
|
||||
proposer_denominator = (spec.WEIGHT_DENOMINATOR - spec.PROPOSER_WEIGHT) * spec.PROPOSER_REWARD_QUOTIENT
|
||||
proposer_reward_denominator = (spec.WEIGHT_DENOMINATOR - spec.PROPOSER_WEIGHT) * spec.WEIGHT_DENOMINATOR // spec.PROPOSER_WEIGHT
|
||||
proposer_reward += spec.Gwei((inclusion_reward * spec.WEIGHT_DENOMINATOR) // proposer_denominator)
|
||||
return proposer_reward
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user