2022-11-10 15:38:08 +00:00
|
|
|
from eth2spec.test.helpers.constants import ALTAIR, BELLATRIX, CAPELLA, EIP4844
|
2022-04-29 14:22:26 +00:00
|
|
|
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2022-07-15 19:36:26 +00:00
|
|
|
altair_mods = {key: 'eth2spec.test.altair.light_client.test_' + key for key in [
|
2022-07-22 13:34:09 +00:00
|
|
|
'single_merkle_proof',
|
2022-07-15 19:36:26 +00:00
|
|
|
'sync',
|
2022-04-29 14:22:26 +00:00
|
|
|
'update_ranking',
|
|
|
|
]}
|
|
|
|
bellatrix_mods = altair_mods
|
2022-10-13 19:53:40 +00:00
|
|
|
capella_mods = bellatrix_mods
|
2022-11-10 15:38:08 +00:00
|
|
|
eip4844_mods = capella_mods
|
2022-04-29 14:22:26 +00:00
|
|
|
|
|
|
|
all_mods = {
|
|
|
|
ALTAIR: altair_mods,
|
|
|
|
BELLATRIX: bellatrix_mods,
|
2022-10-13 19:53:40 +00:00
|
|
|
CAPELLA: capella_mods,
|
2022-11-10 15:38:08 +00:00
|
|
|
EIP4844: eip4844_mods,
|
2022-04-29 14:22:26 +00:00
|
|
|
}
|
|
|
|
|
2022-07-15 19:36:26 +00:00
|
|
|
run_state_test_generators(runner_name="light_client", all_mods=all_mods)
|