2023-01-23 15:08:34 +01:00
|
|
|
from eth2spec.test.helpers.constants import PHASE0, ALTAIR, BELLATRIX, CAPELLA, DENEB
|
2021-08-24 11:21:14 -07:00
|
|
|
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
phase_0_mods = {key: 'eth2spec.test.phase0.random.test_' + key for key in [
|
|
|
|
'random',
|
|
|
|
]}
|
|
|
|
altair_mods = {key: 'eth2spec.test.altair.random.test_' + key for key in [
|
|
|
|
'random',
|
|
|
|
]}
|
2022-01-27 19:08:59 -08:00
|
|
|
bellatrix_mods = {key: 'eth2spec.test.bellatrix.random.test_' + key for key in [
|
|
|
|
'random',
|
|
|
|
]}
|
2022-10-13 14:53:40 -05:00
|
|
|
capella_mods = {key: 'eth2spec.test.capella.random.test_' + key for key in [
|
|
|
|
'random',
|
|
|
|
]}
|
2023-01-23 15:08:34 +01:00
|
|
|
deneb_mods = {key: 'eth2spec.test.deneb.random.test_' + key for key in [
|
2022-11-18 04:55:59 +08:00
|
|
|
'random',
|
|
|
|
]}
|
2021-08-24 11:21:14 -07:00
|
|
|
|
|
|
|
all_mods = {
|
|
|
|
PHASE0: phase_0_mods,
|
|
|
|
ALTAIR: altair_mods,
|
2022-01-27 19:08:59 -08:00
|
|
|
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,
|
2021-08-24 11:21:14 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
run_state_test_generators(runner_name="random", all_mods=all_mods)
|