Skip to content

Commit

Permalink
Update transtion testgen
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Jan 27, 2023
1 parent 3e78448 commit 9ab1478
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Empty file.
7 changes: 5 additions & 2 deletions tests/generators/transition/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
test_slashing as test_altair_slashing,
test_operations as test_altair_operations,
)
from eth2spec.test.eip4844.transition import (
test_operations as test_eip4844_operations,
)


def create_provider(tests_src, preset_name: str, pre_fork_name: str, post_fork_name: str) -> gen_typing.TestProvider:
Expand All @@ -37,14 +40,14 @@ def cases_fn() -> Iterable[gen_typing.TestCase]:


if __name__ == "__main__":
altair_tests = (
all_tests = (
test_altair_transition,
test_altair_activations_and_exits,
test_altair_leaking,
test_altair_slashing,
test_altair_operations,
test_eip4844_operations,
)
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", [
Expand Down

0 comments on commit 9ab1478

Please sign in to comment.