diff --git a/tests/core/pyspec/eth2spec/test/electra/epoch_processing/__init__.py b/tests/core/pyspec/eth2spec/test/electra/epoch_processing/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_effective_balance_updates.py b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_effective_balance_updates.py index b13bf9cd4..3fffcb036 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_effective_balance_updates.py +++ b/tests/core/pyspec/eth2spec/test/phase0/epoch_processing/test_process_effective_balance_updates.py @@ -9,7 +9,7 @@ from eth2spec.test.helpers.forks import is_post_electra @with_all_phases @spec_state_test def test_effective_balance_hysteresis(spec, state): - run_test_effective_balance_hysteresis(spec, state) + yield from run_test_effective_balance_hysteresis(spec, state) 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 # Then overwrite the balances, we only want to focus to be on the hysteresis based changes. run_epoch_processing_to(spec, state, 'process_effective_balance_updates') # Set some edge cases for balances - max = spec.MAX_EFFECTIVE_BALANCE_ELECTRA if with_compounding_credentials else spec.MIN_ACTIVATION_BALANCE + max = spec.MAX_EFFECTIVE_BALANCE_ELECTRA if with_compounding_credentials else spec.MAX_EFFECTIVE_BALANCE min = spec.config.EJECTION_BALANCE inc = spec.EFFECTIVE_BALANCE_INCREMENT div = spec.HYSTERESIS_QUOTIENT diff --git a/tests/generators/operations/main.py b/tests/generators/operations/main.py index fc4a8c2bf..0d203fca6 100644 --- a/tests/generators/operations/main.py +++ b/tests/generators/operations/main.py @@ -45,7 +45,7 @@ if __name__ == "__main__": _new_electra_mods = {key: 'eth2spec.test.electra.block_processing.test_process_' + key for key in [ 'attestation', - 'consolidation' + 'consolidation', 'deposit_receipt', 'execution_layer_withdrawal_request', 'voluntary_exit'