Skip to content

Commit 3fd125f

Browse files
mkalininhwwhww
andauthored
Applied suggestions by @hwwhww
Co-authored-by: Hsiao-Wei Wang <[email protected]>
1 parent a0a2324 commit 3fd125f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

specs/electra/beacon-chain.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,6 +1442,7 @@ def initialize_beacon_state_from_eth1(eth1_block_hash: Hash32,
14421442
# Process activations
14431443
for index, validator in enumerate(state.validators):
14441444
balance = state.balances[index]
1445+
# [Modified in Electra:EIP7251]
14451446
validator.effective_balance = min(
14461447
balance - balance % EFFECTIVE_BALANCE_INCREMENT, MAX_EFFECTIVE_BALANCE_ELECTRA)
14471448
if validator.effective_balance >= MIN_ACTIVATION_BALANCE:

0 commit comments

Comments
 (0)