mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 14:45:04 -05:00
Add back effective balance initialisation
This commit is contained in:
@@ -1691,6 +1691,7 @@ def process_deposit(state: BeaconState, deposit: Deposit) -> None:
|
||||
activation_epoch=FAR_FUTURE_EPOCH,
|
||||
exit_epoch=FAR_FUTURE_EPOCH,
|
||||
withdrawable_epoch=FAR_FUTURE_EPOCH,
|
||||
effective_balance=min(amount - amount % EFFECTIVE_BALANCE_INCREMENT, MAX_EFFECTIVE_BALANCE),
|
||||
))
|
||||
state.balances.append(amount)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user