Skip to content

Commit

Permalink
Add EIP4844 sync tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Nov 18, 2022
1 parent c345f30 commit b71ad2f
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 b71ad2f

Please sign in to comment.