Merge pull request #3119 from ethereum/eip4844-sync-testgen

Add EIP4844 sync tests
This commit is contained in:
Hsiao-Wei Wang
2022-11-19 02:08:38 +08:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
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__":
@@ -7,10 +7,12 @@ if __name__ == "__main__":
'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)