mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-09 10:22:00 +00:00
939e6c7e8e
Some tests are currently restricted to a single phase using @with_phases even though they could likely run unchanged in later phases. This patch changes the default for such tests to also run in later phases. If the beacon chain changes enough in later phases to break these tests, this highlights that the tests need to be adjusted or extended accordingly.
17 lines
456 B
Python
17 lines
456 B
Python
from eth2spec.test.helpers.constants import ALTAIR, MERGE
|
|
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',
|
|
]}
|
|
merge_mods = altair_mods
|
|
|
|
all_mods = {
|
|
ALTAIR: altair_mods,
|
|
MERGE: merge_mods,
|
|
}
|
|
|
|
run_state_test_generators(runner_name="merkle", all_mods=all_mods)
|