Skip to content

Commit a7b0d6f

Browse files
mkalininralexstokesjtraglia
authored
Apply suggestions from code review
Co-authored-by: Alex Stokes <[email protected]> Co-authored-by: Justin Traglia <[email protected]>
1 parent 2bc2604 commit a7b0d6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/core/pyspec/eth2spec/test/electra/block_processing/test_process_consolidation_request.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def test_switch_to_compounding_with_pending_consolidations_at_limit(spec, state)
572572
)
573573

574574

575-
# Failing tests
575+
# Tests that should fail
576576

577577
@with_electra_and_later
578578
@with_presets([MINIMAL], "need sufficient consolidation churn limit")
@@ -958,10 +958,10 @@ def test_switch_to_compounding_exited_source(spec, state):
958958
target_pubkey=state.validators[source_index].pubkey,
959959
)
960960

961-
# exit source
961+
# Initiate exit for source
962962
spec.initiate_validator_exit(state, source_index)
963963

964-
# Check the the return condition
964+
# Check the return condition
965965
assert state.validators[source_index].exit_epoch != spec.FAR_FUTURE_EPOCH
966966

967967
yield from run_switch_to_compounding_processing(
@@ -985,7 +985,7 @@ def test_switch_to_compounding_inactive_source(spec, state):
985985
target_pubkey=state.validators[source_index].pubkey,
986986
)
987987

988-
# set source validator as not yet activated
988+
# Set source validator as not yet activated
989989
state.validators[source_index].activation_epoch = spec.FAR_FUTURE_EPOCH
990990

991991
# Check the the return condition

0 commit comments

Comments
 (0)