-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor sync committee tests #2554
Refactor sync committee tests #2554
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate_random.py
Outdated
Show resolved
Hide resolved
NOTE: there are 27 spec tests generated from the |
@@ -502,150 +406,3 @@ def test_proposer_in_committee_with_participation(spec, state): | |||
else: | |||
state_transition_and_sign_block(spec, state, block) | |||
raise AssertionError("failed to find a proposer in the sync committee set; check test setup") | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the deletions from here and below are simply moved into the ..._random.py
file added
This PR refactors the sync committee operation tests so that:
run_successful_sync_committee_test
vsrun_sync_committee_processing
SyncAggregate
test_leak_basic.py
vstest_leak_random.py
)