Commit Graph

2511 Commits

Author SHA1 Message Date
protolambda
3781614f20 SSZ format update, to facilitate more efficient parsing 2019-05-28 18:28:37 +02:00
protolambda
d036b5a87a Remove some old comments about BLS setting. Description is shared in main readme now. 2019-05-28 18:02:09 +02:00
protolambda
6ffd41650b suggestion from hww, reduce into one bls_setting key 2019-05-28 15:35:00 +02:00
Danny Ryan
d54b6848de Merge pull request #1114 from ethereum/finish-state-tests-intro
Finish state tests intro
2019-05-27 08:46:02 -06:00
Danny Ryan
8d420c0780 fix prestate for process registry updates 2019-05-27 08:38:37 -06:00
Danny Ryan
c3de576c8f Merge pull request #1121 from ralexstokes/v06x
update version used in test generators to get SHA-256 hash
2019-05-24 13:07:38 -06:00
Alex Stokes
cff9c7fe67 update version used in test generators to get SHA-256 hash 2019-05-24 11:05:07 -07:00
protolambda
e9a01a276d epoch processing formatting 2019-05-24 18:39:12 +02:00
protolambda
b12031b48d not signed by default 2019-05-24 18:38:51 +02:00
Diederik Loerakker
b6b5787931 Update specs/test_formats/epoch_processing/README.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-05-24 12:24:42 -04:00
protolambda
321baf79f4 fix missing imports from earlier code suggestion 2019-05-24 15:03:03 +02:00
protolambda
73f0f74fb0 run process yield-from test pattern 2019-05-24 14:58:06 +02:00
Diederik Loerakker
f2e3cd01aa Update test_libs/pyspec/eth2spec/test/epoch_processing/test_process_crosslinks.py
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:34:14 -04:00
Diederik Loerakker
4690bcf682 Update specs/test_formats/operations/README.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:33:06 -04:00
Diederik Loerakker
f52b2282b3 Update specs/test_formats/operations/README.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-05-24 08:32:54 -04:00
protolambda
57dd9fc4ff fix syntax 2019-05-24 01:15:49 +02:00
protolambda
4ccd304603 docs for sanity tests 2019-05-24 01:03:21 +02:00
protolambda
902059d6d8 fix operations readme 2019-05-24 00:13:49 +02:00
protolambda
f98a8d534e update epoch processing tests to conform to processing pattern, add docs for epoch sub-transition testing 2019-05-23 23:50:58 +02:00
protolambda
21c48b574f move sanity tests, separate slot tests 2019-05-23 23:32:21 +02:00
protolambda
1bbab9aa00 more direct in what is happening in test utils 2019-05-23 22:28:11 +02:00
protolambda
f0c9e7a395 ignore just the one crosslinks case that is incompatible with mainnet 2019-05-23 22:26:36 +02:00
Danny Ryan
3500bde594 only sign in test_double_late_crosslink when necessary 2019-05-23 11:01:07 -06: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
6cd681e952 update docs on operation testing 2019-05-23 11:22:10 +02:00
Danny Ryan
43bb64ea1e Merge pull request #1102 from ethereum/tests-with-sigs
Tests with signatures, fixes #1074
2019-05-22 16:41:37 -04:00
protolambda
958f71bb68 minor underflow fix for proposer slashing test 2019-05-22 21:03:46 +02:00
protolambda
58fd712607 fix style issue with deposit processing helper 2019-05-22 20:50:18 +02:00
Danny Ryan
dad89ae926 minor lint 2019-05-21 23:20:12 -06:00
protolambda
7d3147d418 add inconsistent bitfields test 2019-05-22 04:19:54 +02:00
protolambda
a4363ba096 tests for invalid signatures 2019-05-22 00:52:57 +02:00
protolambda
b919d08ab2 comment on the deposit signature being soft-rejected 2019-05-22 00:07:52 +02:00
protolambda
12af078a6c make decorators return wrapped fn results properly 2019-05-21 23:03:59 +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
protolambda
8303c58aa4 bugfix, make BLS wrapper propagate test output properly 2019-05-21 22:53:46 +02:00
protolambda
cfc037fe75 tags applied after generation of vector (and only if), make BLS decorator 2019-05-21 22:28:47 +02:00
protolambda
ee9c1d911f test tagging pattern 2019-05-21 21:51:28 +02:00
protolambda
4d08e9d7d6 signed block header 2019-05-21 21:22:32 +02:00
protolambda
ab251d4797 make tests work fast + bls signed optionally 2019-05-20 20:44:54 +02:00
protolambda
b0aea2a111 bugfix block proc transfer test 2019-05-20 19:38:18 +02:00
protolambda
90bcbd6ff4 fix attester slashing test 2019-05-17 21:56:41 +02:00
protolambda
a10aba4bb9 make valid attest creation fill aggregate bitfield 2019-05-17 21:36:17 +02:00
protolambda
0f00b43698 reduce validator key count again, fix valid attestation creation - snippet from Danny 2019-05-17 21:26:18 +02:00
protolambda
08d0ff9336 fix attestation aggregate bitfields 2019-05-17 21:20:09 +02:00
protolambda
183e3a5153 minor refactor import fix 2019-05-17 21:02:00 +02:00