Skip to content

Commit 30cdf0a

Browse files
LeanSerrarodrigo-o
andauthored
apply suggestions removing "Modified in " comments
Co-authored-by: Rodrigo Oliveri <[email protected]>
1 parent f09b71b commit 30cdf0a

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/lambda_ethereum_consensus/state_transition/epoch_processing.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ defmodule LambdaEthereumConsensus.StateTransition.EpochProcessing do
127127
if validator.slashed and
128128
epoch + div(epochs_per_slashings_vector, 2) == validator.withdrawable_epoch do
129129
effective_balance_increments = div(validator.effective_balance, increment)
130-
# [Modified in Electra:EIP7251]
131130
penalty = penalty_per_effective_balance_increment * effective_balance_increments
132131

133132
BeaconState.decrease_balance(acc, index, penalty)

lib/lambda_ethereum_consensus/state_transition/misc.ex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ defmodule LambdaEthereumConsensus.StateTransition.Misc do
1212
alias LambdaEthereumConsensus.Utils
1313
alias Types.BeaconState
1414

15-
# Modified in Electra
16-
1715
@max_random_byte 2 ** 16 - 1
1816

1917
@doc """

0 commit comments

Comments
 (0)