Skip to content

Commit 477fa0e

Browse files
authored
Merge pull request #3691 from ethereum/fix-tests
Fix tests
2 parents 815485b + 313ed1a commit 477fa0e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/core/pyspec/eth2spec/test/electra/epoch_processing/__init__.py

Whitespace-only changes.

tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_effective_balance_updates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@with_all_phases
1010
@spec_state_test
1111
def test_effective_balance_hysteresis(spec, state):
12-
run_test_effective_balance_hysteresis(spec, state)
12+
yield from run_test_effective_balance_hysteresis(spec, state)
1313

1414

1515
def run_test_effective_balance_hysteresis(spec, state, with_compounding_credentials=False):
@@ -18,7 +18,7 @@ def run_test_effective_balance_hysteresis(spec, state, with_compounding_credenti
1818
# Then overwrite the balances, we only want to focus to be on the hysteresis based changes.
1919
run_epoch_processing_to(spec, state, 'process_effective_balance_updates')
2020
# Set some edge cases for balances
21-
max = spec.MAX_EFFECTIVE_BALANCE_ELECTRA if with_compounding_credentials else spec.MIN_ACTIVATION_BALANCE
21+
max = spec.MAX_EFFECTIVE_BALANCE_ELECTRA if with_compounding_credentials else spec.MAX_EFFECTIVE_BALANCE
2222
min = spec.config.EJECTION_BALANCE
2323
inc = spec.EFFECTIVE_BALANCE_INCREMENT
2424
div = spec.HYSTERESIS_QUOTIENT

tests/generators/operations/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
_new_electra_mods = {key: 'eth2spec.test.electra.block_processing.test_process_' + key for key in [
4747
'attestation',
48-
'consolidation'
48+
'consolidation',
4949
'deposit_receipt',
5050
'execution_layer_withdrawal_request',
5151
'voluntary_exit'

0 commit comments

Comments
 (0)