Commit Graph

32 Commits

Author SHA1 Message Date
Wenceslas Sanchez 522ab42064
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2023-08-03 21:14:45 +02:00
WenceslasSANCHEZ 5612e7a9ee ♻️ refactor 2023-08-03 18:19:33 +02:00
WenceslasSANCHEZ da2121060e ♻️ refactor + linter comments 2023-08-01 22:19:48 +02:00
WenceslasSANCHEZ 6231dc2e4e 🐛 split variation with and without chaos 2023-08-01 22:09:35 +02:00
WenceslasSANCHEZ 01dfc77202 🐛 remove non-random mode from variation 2023-08-01 21:47:08 +02:00
WenceslasSANCHEZ 872e404bce ️ reset ``chaos`` to False 2023-08-01 21:46:16 +02:00
WenceslasSANCHEZ bd34c6560c 🐛 remove redundant modes for container without offsets 2023-08-01 21:45:30 +02:00
WenceslasSANCHEZ b412bdb34e allow `container_case_fn` to change chaos mode 2023-08-01 21:44:35 +02:00
WenceslasSANCHEZ 6e4d4896ed 🐛 set chaos to `True` to enable uint variation for non random tests 2023-07-27 21:17:45 +02:00
Antonio Sanso 7255faf41b
Update ssz_container.py 2022-01-13 13:40:48 +01:00
Alex Stokes c4a60225cb
Merge branch 'dev' into patch-5 2022-01-11 16:09:40 -06:00
Alex Stokes d74cb5c9ec
remove unnecessary conditional 2022-01-06 15:34:59 -08:00
Antonio Sanso e56dddd6ec
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2022-01-06 19:07:48 +01:00
Antonio Sanso 69a2fb4af0
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2022-01-06 19:07:31 +01:00
Antonio Sanso 7df0d4d70e
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2022-01-06 19:07:23 +01:00
Antonio Sanso 22719f2748
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2022-01-06 19:06:50 +01:00
Antonio Sanso 6f64d46bc4
Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
2022-01-06 19:06:42 +01:00
Antonio Sanso db16f590cb fixing lint 2022-01-06 13:29:57 +01:00
Antonio Sanso b5908cf294 fixing lint 2022-01-06 13:28:19 +01:00
Antonio Sanso 7ccd528cd1 fixing lint 2022-01-06 13:26:00 +01:00
Antonio Sanso b220655d24
Add 3 new invalid test cases 2022-01-06 13:08:47 +01:00
Antonio Sanso dfb3ef8f2c
Update ssz_container.py 2021-11-24 08:42:27 +01:00
protolambda fb82472b46
update test generators 2021-05-18 18:48:58 +02:00
Hsiao-Wei Wang cd43d64809
Move constants to `eth2spec.test.helpers.constants` 2021-04-12 22:34: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 20bd00cef0
Add `make lint_generators` linter check for test generators 2020-09-15 11:19: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
protolambda 22620bfe5d
Fix generic SSZ tests, update remerkleable with small bugfix 2020-03-11 23:18:06 +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 2a0f680769
fix ssz_generic test generator 2020-01-16 11:15:44 -07: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