Move test files to light_client subdir

This commit is contained in:
Etan Kissling 2022-07-15 21:36:26 +02:00
parent c6cd35aea4
commit 30d635259b
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
12 changed files with 6 additions and 6 deletions

View File

@ -3,5 +3,5 @@
This series of tests provides reference test vectors for the light client sync protocol spec.
Handlers:
- `light_client_sync`: see [Light client sync test format](./light_client_sync.md)
- `sync`: see [Light client sync test format](./sync.md)
- `update_ranking`: see [`LightClientUpdate` ranking test format](./update_ranking.md)

View File

@ -1,5 +1,5 @@
# Light client sync protocol tests
# Light client tests
The purpose of this test-generator is to provide test-vectors for validating the correct implementation of the light client sync protocol.
Test-format documentation can be found [here](../../formats/sync_protocol/README.md).
Test-format documentation can be found [here](../../formats/light_client/README.md).

View File

@ -3,8 +3,8 @@ from eth2spec.gen_helpers.gen_from_tests.gen import run_state_test_generators
if __name__ == "__main__":
altair_mods = {key: 'eth2spec.test.altair.sync_protocol.test_' + key for key in [
'light_client_sync',
altair_mods = {key: 'eth2spec.test.altair.light_client.test_' + key for key in [
'sync',
'update_ranking',
]}
bellatrix_mods = altair_mods
@ -14,4 +14,4 @@ if __name__ == "__main__":
BELLATRIX: bellatrix_mods,
}
run_state_test_generators(runner_name="sync_protocol", all_mods=all_mods)
run_state_test_generators(runner_name="light_client", all_mods=all_mods)