Fix back the EFFECTIVE_BALANCE_MAX_DOWNWARD_DEVIATION constant calculation

This commit is contained in:
Anton Nashatyrev 2021-05-05 20:17:09 +03:00
parent f770d50496
commit 2aef63be01
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ def get_shard_proposer_index(beacon_state: BeaconState, slot: Slot, shard: Shard
# Proposer must have sufficient balance to pay for worst case fee burn
EFFECTIVE_BALANCE_MAX_DOWNWARD_DEVIATION = (
(EFFECTIVE_BALANCE_INCREMENT - EFFECTIVE_BALANCE_INCREMENT)
EFFECTIVE_BALANCE_INCREMENT - EFFECTIVE_BALANCE_INCREMENT
* HYSTERESIS_DOWNWARD_MULTIPLIER // HYSTERESIS_QUOTIENT
)
min_effective_balance = (