Skip to content

Commit

Permalink
Merge pull request #3119 from ethereum/eip4844-sync-testgen
Browse files Browse the repository at this point in the history
Add EIP4844 sync tests
  • Loading branch information
hwwhww committed Nov 18, 2022
2 parents a456271 + b71ad2f commit 208da34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/generators/sync/main.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
from eth2spec.test.helpers.constants import BELLATRIX, CAPELLA
from eth2spec.test.helpers.constants import BELLATRIX, CAPELLA, EIP4844


if __name__ == "__main__":
bellatrix_mods = {key: 'eth2spec.test.bellatrix.sync.test_' + key for key in [
'optimistic',
]}
capella_mods = bellatrix_mods
eip4844_mods = capella_mods

all_mods = {
BELLATRIX: bellatrix_mods,
CAPELLA: capella_mods,
EIP4844: eip4844_mods,
}

run_state_test_generators(runner_name="sync", all_mods=all_mods)

0 comments on commit 208da34

Please sign in to comment.