2021-09-28 21:30:29 +00:00
|
|
|
from eth2spec.test.helpers.constants import ALTAIR, MERGE
|
2021-09-24 09:10:57 +00:00
|
|
|
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
2021-09-27 16:07:59 +00:00
|
|
|
altair_mods = {key: 'eth2spec.test.altair.merkle.test_' + key for key in [
|
|
|
|
'single_proof',
|
2021-09-24 09:10:57 +00:00
|
|
|
]}
|
2021-09-28 21:30:29 +00:00
|
|
|
merge_mods = altair_mods
|
2021-09-24 09:10:57 +00:00
|
|
|
|
|
|
|
all_mods = {
|
2021-09-28 21:30:29 +00:00
|
|
|
ALTAIR: altair_mods,
|
|
|
|
MERGE: merge_mods,
|
2021-09-24 09:10:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
run_state_test_generators(runner_name="merkle", all_mods=all_mods)
|