Commit Graph

115 Commits

Author SHA1 Message Date
Danny Ryan
f6aa54b66f Merge pull request #2554 from ralexstokes/refactor-sync-committee-tests
Refactor sync committee tests
2021-08-18 16:38:56 -06:00
Alex Stokes
5a17fa65b2 group test files into subdirectory 2021-08-18 10:49:44 -06:00
Hsiao-Wei Wang
3a9dcbadf0 Merge pull request #2487 from ethereum/on-block-tests
Rework + add some `on_block` tests
2021-08-17 21:21:44 +08:00
Hsiao-Wei Wang
93af122b2d PR feedback from @ralexstokes and add single pubkey aggregate tests 2021-08-05 12:09:30 +08:00
Hsiao-Wei Wang
3b86bd340f Rename eth2_* to eth_* 2021-08-05 11:20:49 +08:00
Hsiao-Wei Wang
a8383be878 Apply suggestions from code review
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2021-08-05 11:12:36 +08:00
Hsiao-Wei Wang
43a1617ffa Ensure that the given PKs are valid PKs + fix typos 2021-08-04 21:25:37 +08:00
Hsiao-Wei Wang
d8d0686400 Add tests for the Altair BLS helpers 2021-08-04 02:07:57 +08:00
Hsiao-Wei Wang
fb2465db45 Rework on_block unit tests 2021-06-19 02:03:33 +08:00
Hsiao-Wei Wang
42eae81013 WIP. Rework on_block tests 2021-06-15 21:52:25 +08:00
Danny Ryan
09b6fb0e64 ensure consistency about sync committees vs aggregates in naming throughout 2021-06-07 16:17:46 -06:00
protolambda
4c02dbadd0 enable inactivity updates test generator output, implement new participation flag updates testing 2021-05-22 18:43:29 +02:00
protolambda
e50d8d4391 Merge branch 'dev' into config-rework 2021-05-20 23:31:49 +02:00
Alex Stokes
a7346ae384 Add Altair fork tests to test generators 2021-05-18 18:05:07 -07:00
protolambda
90c4a7599b fix lint 2021-05-18 20:53:04 +02:00
protolambda
925f0508ce test generator fixes 2021-05-18 20:13:19 +02:00
protolambda
fb82472b46 update test generators 2021-05-18 18:48:58 +02:00
Alex Stokes
b71aa3fb56 add transition spec test format 2021-05-11 10:14:23 -07:00
protolambda
8ac59b7317 fix old ssz-static todo comment 2021-05-05 22:38:16 +02:00
protolambda
f37f9a367d include merge in generators 2021-05-05 00:15:15 +02:00
protolambda
5e8304b4c6 Merge SSZ-static tests 2021-04-20 17:26:11 +02:00
Hsiao-Wei Wang
cd43d64809 Move constants to eth2spec.test.helpers.constants 2021-04-12 22:34:00 +08:00
protolambda
d28cac0e8f clean up test phase 1 testgen references 2021-03-29 15:38:43 +02:00
Hsiao-Wei Wang
5d9f4b072c Update genesis testgen and format 2021-03-16 00:38:30 +08:00
Hsiao-Wei Wang
9254f1bf8c Fix conflicts 2021-03-12 00:39:38 +08:00
Hsiao-Wei Wang
216bbb0a46 Merge branch 'dev' into fork-choice-test-vectors 2021-03-12 00:34:23 +08:00
Hsiao-Wei Wang
78a4897418 Add fork choice rule format doc 2021-03-12 00:33:04 +08:00
Hsiao-Wei Wang
8e303b60b9 Fix generator to ssz_snappy mode 2021-03-12 00:06:52 +08:00
Hsiao-Wei Wang
96e29841a7 Merge branch 'dev' into fork-choice-test-vectors 2021-03-11 23:45:54 +08:00
Hsiao-Wei Wang
b44e576e95 LIGHTCLIENT_PATCH/HF1 -> ALTAIR 2021-03-11 21:32:00 +08:00
Danny Ryan
4569ddea5d add missing sanity requirements.txt for generators 2021-03-10 18:49:50 -07:00
Danny Ryan
c36106e630 put snappy in 'generator' extra dep build and use for generator builds 2021-03-10 17:18:11 -07:00
Danny Ryan
e792c27c91 @hwwhww review
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-03-10 12:27:50 -07:00
Danny Ryan
338be1f636 clean up fork gens 2021-03-09 16:27:06 -07:00
Hsiao-Wei Wang
f71a3c6b22 Generate with mainnet config 2021-03-09 21:34:45 +08:00
Hsiao-Wei Wang
5e864af67a Reload Altair spec 2021-03-09 21:32:37 +08:00
Hsiao-Wei Wang
f97ea9e172 Generate basic tests. Still having problem with generating with_custom_state tests 2021-03-09 20:55:39 +08:00
Danny Ryan
6c406753f1 working through test gens 2021-03-08 19:11:31 -07:00
Hsiao-Wei Wang
63d3dae7a9 Merge pull request #2210 from mpetrunic/mpetrunic/lc-ssz-static
Disable phase1/enable lightclient ssz static types tests generators
2021-02-23 22:26:13 +08:00
Marin Petrunić
d28ec2fc75 fix lint 2021-02-23 14:46:53 +01:00
Hsiao-Wei Wang
993bcdf082 Use constants 2021-02-23 14:25:13 +01:00
Marin Petrunić
1d4f467516 disable phase1/enable lightclient ssz static types test 2021-02-23 13:30:26 +01:00
Marin Petrunić
e63754e629 change how generator targets are invoked 2021-02-23 13:23:32 +01:00
Marin Petrunić
9f634dc6f6 Update test generation docs 2021-02-23 09:56:38 +01:00
Hsiao-Wei Wang
f6b8171350 Update shuffling generator requirements.txt 2021-02-22 19:45:10 +08:00
Hsiao-Wei Wang
de4cad5d35 Update docs 2021-02-22 18:40:04 +08:00
Hsiao-Wei Wang
27507fb3e2 Add get_head test vectors 2021-02-19 13:08:35 +08:00
Hsiao-Wei Wang
9cc8567d68 Move gen_helpers into a module of eth2spec package 2021-02-18 15:17:47 +08:00
Hsiao-Wei Wang
c7d975981c Refactor state tests generators 2021-02-15 22:48:34 +08:00
Hsiao-Wei Wang
600a4daddf Turn off phase1 testgen and turn on lightclient_patch testgen 2021-02-15 22:29:27 +08:00