Merge pull request #2972 from ethereum/transition-testgen-fix

Fix transition test generator
This commit is contained in:
Danny Ryan
2022-08-16 08:39:50 -06:00
committed by GitHub
2 changed files with 1 additions and 7 deletions

View File

@@ -16,9 +16,6 @@ from eth2spec.test.altair.transition import (
test_slashing as test_altair_slashing,
test_operations as test_altair_operations,
)
from eth2spec.test.bellatrix.transition import (
test_transition as test_bellatrix_transition,
)
def create_provider(tests_src, preset_name: str, pre_fork_name: str, post_fork_name: str) -> gen_typing.TestProvider:
@@ -47,10 +44,7 @@ if __name__ == "__main__":
test_altair_slashing,
test_altair_operations,
)
bellatrix_tests = (
test_bellatrix_transition,
)
all_tests = altair_tests + bellatrix_tests
all_tests = altair_tests
for transition_test_module in all_tests:
for pre_fork, post_fork in ALL_PRE_POST_FORKS:
gen_runner.run_generator("transition", [