Apply suggestions from code review

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
This commit is contained in:
Mikhail Kalinin 2024-10-01 15:37:53 +04:00 committed by GitHub
parent 2bc2604706
commit a7b0d6f416
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -572,7 +572,7 @@ def test_switch_to_compounding_with_pending_consolidations_at_limit(spec, state)
)
# Failing tests
# Tests that should fail
@with_electra_and_later
@with_presets([MINIMAL], "need sufficient consolidation churn limit")
@ -958,10 +958,10 @@ def test_switch_to_compounding_exited_source(spec, state):
target_pubkey=state.validators[source_index].pubkey,
)
# exit source
# Initiate exit for source
spec.initiate_validator_exit(state, source_index)
# Check the the return condition
# Check the return condition
assert state.validators[source_index].exit_epoch != spec.FAR_FUTURE_EPOCH
yield from run_switch_to_compounding_processing(
@ -985,7 +985,7 @@ def test_switch_to_compounding_inactive_source(spec, state):
target_pubkey=state.validators[source_index].pubkey,
)
# set source validator as not yet activated
# Set source validator as not yet activated
state.validators[source_index].activation_epoch = spec.FAR_FUTURE_EPOCH
# Check the the return condition