eth2.0-specs/tests/generators/merkle/main.py

17 lines
472 B
Python
Raw Normal View History

2021-12-22 07:46:18 +00:00
from eth2spec.test.helpers.constants import ALTAIR, BELLATRIX
from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
if __name__ == "__main__":
altair_mods = {key: 'eth2spec.test.altair.merkle.test_' + key for key in [
'single_proof',
]}
2021-12-22 07:46:18 +00:00
bellatrix_mods = altair_mods
all_mods = {
ALTAIR: altair_mods,
2021-12-22 07:46:18 +00:00
BELLATRIX: bellatrix_mods,
}
run_state_test_generators(runner_name="merkle", all_mods=all_mods)