Commit Graph

48 Commits

Author SHA1 Message Date
Hsiao-Wei Wang
313ed1a962 Fix tests 2024-04-18 17:15:43 +08:00
Hsiao-Wei Wang
2ecbe194f7 Delete duplicate deposit tests and enable testgen 2024-04-17 18:43:55 +08:00
Hsiao-Wei Wang
3b52edf72d Add EIP-7549 tests and Electra random tests 2024-04-12 21:41:56 +09:00
Hsiao-Wei Wang
507bab6d8a update eip7002 operation tests to testgen 2024-03-06 14:31:52 +08:00
Hsiao-Wei Wang
6ffd27bd60 Rename EIP6110 to Electra 2024-03-06 13:38:49 +08:00
Hsiao-Wei Wang
420f8baf67 Rework tests. Move all process_voluntary_exit tests to Deneb 2023-06-14 23:04:46 +08:00
Hsiao-Wei Wang
be33c4008a Merge branch 'dev' into pr3288 2023-05-30 21:08:12 +08:00
Hsiao-Wei Wang
6b5513b43a Merge branch 'dev' into engine-versioned-hashes 2023-05-24 11:19:56 +08:00
Hsiao-Wei Wang
48618fe866 Fix tests 2023-05-24 00:08:45 +08:00
Hsiao-Wei Wang
fc45220a7d Move old Deneb sanity tests to block_processing (operations) tests 2023-05-23 15:41:44 +08:00
Hsiao-Wei Wang
32036d84a3 Fix tests 2023-05-20 00:01:44 +08:00
Hsiao-Wei Wang
11842c9e2a Update test generators. Move test_deposit_transition to sanity/blocks/ 2023-04-06 20:04:33 +08:00
Mikhail Kalinin
389b79408b Add EIP6110 operations gen, and to fork upgrades list 2023-04-06 17:39:19 +06:00
Paul Harris
317facbd64 Replaced EIP4844 references with Deneb
Fixes #3207
2023-01-23 15:08:34 +01:00
Hsiao-Wei Wang
dba75eece9 Enable Capella feature in eip4844 fork
Fix lint
2023-01-04 01:40:46 +08:00
Hsiao-Wei Wang
da3f5af919 Test case naming clean up (#3143)
* Add @description decorator

* Unify test case naming style

* more clean ups

* Altair tests cleanup

* Clean up Altair and Bellatrix `process_deposit` tests

* Clean up Bellatrix tests

* Clean up Capella tests

* PR feedback from @ralexstokes

* Add comments on the deposit fork version tests

* Remove `test_incorrect_sig_other_version` since it is duplicate to `test_ineffective_deposit_with_bad_fork_version`

* Add `test_ineffective_deposit_with_current_fork_version`
2022-12-13 15:13:44 +08:00
Hsiao-Wei Wang
5c5639f8f2 fix lint 2022-11-18 03:20:25 +08:00
Hsiao-Wei Wang
2a40b513cb Add EIP4844 testgen 2022-11-18 03:20:22 +08:00
Hsiao-Wei Wang
03ced9c263 Add Capella tests 2022-10-14 23:40:45 -05:00
Hsiao-Wei Wang
5db5b87e5e Add bellatrix deposit and voluntary_exit tests 2022-08-19 01:52:34 +08:00
Hsiao-Wei Wang
8facc0a095 Merge -> Bellatrix 2021-12-23 14:25:43 +08:00
Hsiao-Wei Wang
7a7ab81306 Also update other generators so that we won't write the bad pattern again 2021-10-07 03:14:29 +08:00
Danny Ryan
cb7c81eb96 Merge pull request #2576 from ralexstokes/consolidate-like-operations-tests
Allow spec tests author to batch tests under one handler name
2021-09-01 17:54:34 -06:00
Hsiao-Wei Wang
085045a860 Since merge spec was rebased, make merge_mods base on altair_mods instead of phase_0_mods 2021-08-31 18:06:55 +08:00
Alex Stokes
2477deaf13 Allow test driver to batch test cases under one handler name with a list 2021-08-30 13:53:05 -07:00
Alex Stokes
5a17fa65b2 group test files into subdirectory 2021-08-18 10:49:44 -06:00
Danny Ryan
09b6fb0e64 ensure consistency about sync committees vs aggregates in naming throughout 2021-06-07 16:17:46 -06:00
protolambda
fb82472b46 update test generators 2021-05-18 18:48:58 +02:00
protolambda
f37f9a367d include merge in generators 2021-05-05 00:15:15 +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
b44e576e95 LIGHTCLIENT_PATCH/HF1 -> ALTAIR 2021-03-11 21:32:00 +08:00
Danny Ryan
c36106e630 put snappy in 'generator' extra dep build and use for generator builds 2021-03-10 17:18:11 -07: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
Hsiao-Wei Wang
20bd00cef0 Add make lint_generators linter check for test generators 2020-09-15 11:19:50 +08:00
Hsiao-Wei Wang
c0c2461d2f Remove redundant keys and use Dict for phase_0_mods, phase_1_mods instead of List 2020-09-15 11:13:33 +08:00
Hsiao-Wei Wang
74a2a1c0d4 Enable all tests 2020-09-04 02:40:36 +08:00
Hsiao-Wei Wang
3e5cada5de Merge branch 'dev' into testgenphase1 2020-08-11 15:24:43 +08:00
protolambda
e9d887be4d Enable BLS in finality tests, use Milagro 2020-07-24 01:19:14 +02:00
protolambda
3c374b1e16 Update test gen to output phase 1 test vectors. Mainnet disabled for now. 2020-07-07 21:26:35 +02:00
protolambda
6b1d4839d8 update block operations generator 2020-07-07 20:17:36 +02:00
Hsiao-Wei Wang
ec25f78632 Update path 2020-06-18 14:55:50 +08:00
Hsiao-Wei Wang
523315bf4f Use phase name constants for the fork names in test generators 2020-04-02 15:23:20 +08:00
Martin Lundfall
68cc4c4847 Fix test doc links 2020-03-27 14:02:56 +01:00
protolambda
675d404c38 Package eth2spec for tooling and experimentation
See tests/core/pyspec/README.md for usage description.

This commit:
- refactors config loading to be part of the pyspec package
- updates requirements and main files to use new config loading
- cleans up the build script
- converts the build script to a distutil command
- runs pyspec build as part of build package command
- provides pyspecdev command to get editable spec python files
2020-01-25 01:57:11 +01:00
Danny Ryan
676e216beb reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00