2022-08-15 17:22:19 +00:00
|
|
|
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
|
2024-02-16 04:29:00 +00:00
|
|
|
from eth2spec.test.helpers.constants import BELLATRIX, CAPELLA, DENEB, ELECTRA
|
2022-08-15 17:22:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
bellatrix_mods = {key: 'eth2spec.test.bellatrix.sync.test_' + key for key in [
|
|
|
|
'optimistic',
|
|
|
|
]}
|
2022-10-13 19:53:40 +00:00
|
|
|
capella_mods = bellatrix_mods
|
2023-01-23 14:08:34 +00:00
|
|
|
deneb_mods = capella_mods
|
2024-02-16 04:29:00 +00:00
|
|
|
electra_mods = deneb_mods
|
2022-08-15 17:22:19 +00:00
|
|
|
|
|
|
|
all_mods = {
|
|
|
|
BELLATRIX: bellatrix_mods,
|
2022-10-13 19:53:40 +00:00
|
|
|
CAPELLA: capella_mods,
|
2023-01-23 14:08:34 +00:00
|
|
|
DENEB: deneb_mods,
|
2024-02-16 04:29:00 +00:00
|
|
|
ELECTRA: electra_mods,
|
2022-08-15 17:22:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
run_state_test_generators(runner_name="sync", all_mods=all_mods)
|