Commit Graph

121 Commits

Author SHA1 Message Date
protolambda e9a01a276d
epoch processing formatting 2019-05-24 18:39:12 +02:00
Alex Stokes 32f97a1c80
update version used in test generators to get SHA-256 hash 2019-05-23 15:12:29 -07:00
protolambda 21c48b574f
move sanity tests, separate slot tests 2019-05-23 23:32:21 +02:00
protolambda f0c9e7a395
ignore just the one crosslinks case that is incompatible with mainnet 2019-05-23 22:26:36 +02:00
protolambda e1b04f4926
sanity tests generator 2019-05-23 15:53:11 +02:00
protolambda c11f963bc9
cleanup generator code, use helper pkg to load and generate test cases with 2019-05-23 15:16:59 +02:00
protolambda 754d972108
implement epoch processing test-gen, bugfix tests 2019-05-23 15:13:37 +02:00
protolambda e218c4f61c
update operations readme, fix wording 2019-05-23 11:23:03 +02:00
protolambda 6b3b5121f2
fix header format of operations tests 2019-05-21 22:59:47 +02:00
protolambda 0e136b1104
update yaml and eth-utils dependencies 2019-05-21 22:55:22 +02:00
protolambda f1ba5aadce
make test generator use BLS 2019-05-21 22:55:02 +02:00
Diederik Loerakker 8570584a95
PR 1052 apply suggestions
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-11 16:44:09 +02:00
protolambda d9baee2481
move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00
protolambda f9539ed1ab
move tests, update operations test vector generation 2019-05-08 17:33:09 +02:00
Justin Drake 22b06d581d Update instances of int_to_bytes 2019-05-07 10:57:41 +01:00
JSON d1c96c1e0d Doc standardization (#1039) 2019-05-06 16:30:32 +01:00
protolambda 6f8d011044
update shuffling func name 2019-05-05 13:49:59 +02:00
Diederik Loerakker 9d1ec584d3
Merge pull request #1022 from ethereum/revert-981-only_setup_py
Revert 981 only setup py to master
2019-05-02 01:25:14 +08:00
Danny Ryan 2348595f6d
Merge pull request #1006 from JSON/patch-1
Tidying up the test_gen readme
2019-04-29 11:58:19 -06:00
JSON c2555f7ce9
Update README.md 2019-04-28 00:48:57 -05:00
JSON 772a3800e6
Update README.md 2019-04-28 00:42:04 -05:00
protolambda 4c5a57d8ee
fix test-generators 2019-04-26 14:30:14 +08:00
Danny Ryan 451c28342a
Revert "Only use `setup.py`" 2019-04-24 11:59:13 -06:00
Hsiao-Wei Wang 97906a6339
Only use `setup.py` 2019-04-24 17:18:49 +08:00
JSON 1d59b33590
Update README.md 2019-04-23 12:59:49 -05:00
Danny Ryan 318188dfd0
Merge branch 'dev' into generators-workflow 2019-04-22 10:56:21 -06:00
protolambda 04d498695e
update test format docs 2019-04-22 14:01:04 +10:00
protolambda 69ab4140de
Add note on parallelism 2019-04-20 12:25:24 +10:00
protolambda 2b171b19c4
fix generator 2019-04-20 12:18:56 +10:00
Dmitrii Shmatko 66cf4e95c1 Added signing_root to ssz_static tests 2019-04-19 18:43:26 +03:00
Justin 39d0822602
Sane SSZ object default values (#963) 2019-04-19 18:26:54 +10:00
protolambda 627c1a347a make encoder output large uints as string, and fix ssz suite config setting 2019-04-19 12:06:00 +10:00
protolambda 40cc0420ab fix test output format 2019-04-19 12:06:00 +10:00
protolambda ad30722420 ssz-static suite 2019-04-19 12:06:00 +10:00
protolambda 23d6b468e3 Work towards testing all edge-cases of SSZ, for known (static) object types 2019-04-19 12:06:00 +10:00
protolambda d2b7a8f5de
implement assertion sanity check suggested in PR 2019-04-15 23:55:32 +10:00
Danny Ryan dba7a1890b Update test_generators/ssz/main.py
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:33:05 +10:00
Danny Ryan 13317d3dfc Update test_generators/ssz/uint_test_cases.py
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:31:42 +10:00
Danny Ryan 943989c611 Update test_generators/ssz/main.py
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:31:10 +10:00
Danny Ryan 79c8f562bd Update test_generators/ssz/renderers.py
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:09:05 +10:00
Danny Ryan 6542ae2c4d Update test_generators/operations/deposits.py
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:08:49 +10:00
Danny Ryan 0400a888a6 Update test_generators/operations/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:08:27 +10:00
Danny Ryan 8a1aa275a3 Update test_generators/operations/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:08:05 +10:00
Danny Ryan 3b9d35f8e8 Update test_generators/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 23:07:42 +10:00
Dmitry S 0b2a03e276 Update test_generators/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 22:30:02 +10:00
Dmitry S 25dd3b8d8e Update test_generators/README.md
Co-Authored-By: protolambda <proto@protolambda.com>
2019-04-15 22:29:25 +10:00
protolambda 9591bea42c
cleanup deposit tests 2019-04-15 16:01:17 +10:00
protolambda 9bb902217d
change wording deposit case format 2019-04-14 22:54:01 +10:00
protolambda 514d8f9232
Fix runner/handler references 2019-04-14 20:17:22 +10:00
protolambda b6c45b9dc1
update ssz test format and fix uint sizes 2019-04-12 23:02:36 +10:00
protolambda 88d076b615
initial work to fix outdated ssz tests 2019-04-12 22:48:59 +10:00
protolambda 0aa1cc8f60
update shuffling test docs 2019-04-12 22:30:19 +10:00
protolambda 7ca20d71ca
minor naming tweaks, document BLS and deposit test formats 2019-04-12 22:15:30 +10:00
protolambda 5824117cf9
start to implement operations testing 2019-04-12 00:53:32 +10:00
protolambda f958adbff1
generator running fixes 2019-04-11 19:25:00 +10:00
protolambda 7e2b0a946f
fix naming mistake 2019-04-11 19:18:53 +10:00
protolambda a9054fb85d
fix BLS msg hash handler naming 2019-04-11 19:17:53 +10:00
protolambda 9a0fd0afb9
port BLS tests to new suite format 2019-04-11 19:15:23 +10:00
protolambda d7b7640221
overhaul shuffling tests, focus on swap-or-not shuffle 2019-04-11 18:33:46 +10:00
protolambda 41374957bb
update shuffling 2019-04-11 01:52:51 +10:00
protolambda e5fb9626e8
make ssz test gen conform to general test format 2019-04-11 00:20:59 +10:00
protolambda fea40da6fe
update generators readme example 2019-04-07 18:28:32 +10:00
protolambda c350aaecf7
small format update, support new testing format in generator base pkg 2019-04-07 17:26:24 +10:00
protolambda 9e010da118
rename pyspec pkg to eth2spec 2019-04-03 14:18:17 +11:00
protolambda f8cdd66ffc
minor fixes 2019-04-03 13:50:56 +11:00
protolambda 00c3c1e2a6
rename eth2 pkg to pyspec, per request of hww 2019-03-30 00:24:04 +08:00
protolambda 3b132b71aa
refine makefile, update generator doc 2019-03-29 00:24:18 +08:00
protolambda f2703bc8d3
update readme with example pyspec import 2019-03-28 23:27:28 +08:00
protolambda 05970c9383
fix pyspec setup, and update usages: py_tests and in docs 2019-03-28 23:10:16 +08:00
protolambda ec4d41e15d
fix config, work on py_tests 2019-03-28 02:30:47 +08:00
protolambda 64f012b276
Move test-generators to specs repo
Co-authored-by: Chih Cheng Liang <chihchengliang@gmail.com>
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
Co-authored-by: Dmitrii Shmatko <leodex23@gmail.com>
Co-authored-by: Jannik Luhn <jannik@brainbot.com>
Co-authored-by: Paul Hauner <paul@paulhauner.com>
Co-authored-by: protolambda <proto@protolambda.com>
2019-03-28 00:49:04 +08:00