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