Commit Graph

56 Commits

Author SHA1 Message Date
Paul Hauner
e550c0218f
Add various fixes to clippy lints
Thou shalt appease clippy
2019-06-10 11:01:25 -04:00
Paul Hauner
749f2fcb5f
Unify EthSpecs in Mainnet and Minimal 2019-06-08 08:49:04 -04:00
Paul Hauner
e74d49fc8a
Remove dupe info between ChainSpec and EthSpec 2019-06-08 07:57:25 -04:00
Michael Sproul
2d943e6792
ef deposit tests: parse bls_setting and skip appropriately 2019-05-29 17:20:43 +10:00
Michael Sproul
beacf42aaf
v0.6.2: update test infrastructure 2019-05-29 15:31:34 +10:00
Michael Sproul
706f850c9e
ef_tests: runners for epoch processing tests 2019-05-28 16:03:26 +10:00
Paul Hauner
07931d1f5a
Add (failing) attester_slashing tests 2019-05-24 14:08:19 +10:00
Paul Hauner
686963bd34
Update ef_tests for new compare_fields API 2019-05-24 14:08:19 +10:00
Paul Hauner
67f890ae48
Add proposer_slashing EF tests 2019-05-24 14:08:19 +10:00
Paul Hauner
5ed3c8bec3
Add shuffling ef_tests 2019-05-23 23:27:28 +10:00
Paul Hauner
92610b4fd3
Improve error messages for ef_tests 2019-05-23 16:55:50 +10:00
Paul Hauner
13f78342c3
Add passing exit tests 2019-05-23 10:11:15 +10:00
Paul Hauner
4db6a8a058
Add transfer ef tests 2019-05-23 08:48:09 +10:00
Paul Hauner
733c202417
Remove unused functions from ef_tests 2019-05-22 18:55:11 +10:00
Paul Hauner
e760afbc1a
Tidy presentation of errors for ef_tests 2019-05-22 18:55:00 +10:00
Paul Hauner
14d879d75f
Pass case_index through Case trait 2019-05-22 18:13:22 +10:00
Paul Hauner
b2666d700c
Implemented detailed state eqs in ef_tests 2019-05-22 18:00:21 +10:00
Paul Hauner
30d582f40d
Enable operations tests, start testing 2019-05-22 16:46:50 +10:00
Paul Hauner
6fada99905
Refactor ef_tests for less code duplication 2019-05-22 16:15:52 +10:00
Paul Hauner
95b0df7087
Add parsing (not executing) of deposit tests 2019-05-22 15:34:12 +10:00
Paul Hauner
edbb435f4f
Add assert to ensure test exist 2019-05-22 14:27:21 +10:00
Paul Hauner
f9f6161a7a
Ensure ef_tests run with the right fake_crypto cfg 2019-05-22 14:18:48 +10:00
Paul Hauner
ae3e459422
Merge branch 'ef-tests' of github.com:sigp/lighthouse into ef-tests 2019-05-22 13:59:54 +10:00
Kirk Baird
73c246854a
Add functionality to check ssz_static encoding as well as existing decoding 2019-05-21 15:31:31 +10:00
Kirk Baird
d0c674871d
Remove bls uncompressed hash test 2019-05-21 14:24:10 +10:00
Kirk Baird
7a96ad130e
Finalise bls spec tests 2019-05-21 12:46:22 +10:00
Kirk Baird
4f6447a62b
Begin working on bls test 2019-05-21 10:32:14 +10:00
Paul Hauner
c6fa1602de
Improve efficiency with manual YAML operations 2019-05-15 17:14:28 +10:00
Paul Hauner
63ee179def
Add CachedTreeHash testing to ssz_static 2019-05-15 15:22:34 +10:00
Paul Hauner
4aa6d57abe
Improve ef_tests, pass all ssz_static tests 2019-05-15 15:08:48 +10:00
Paul Hauner
0af4cfa711
Update ef_test error messages 2019-05-15 13:23:52 +10:00
Paul Hauner
faac5ca10c
Tidy ef_test failure message 2019-05-15 12:30:42 +10:00
Paul Hauner
035e124a14
Remove serde de-ser constraint from Cases 2019-05-15 11:46:43 +10:00
Paul Hauner
5a361b852a
Tidy import structure in ef_tests 2019-05-15 11:41:25 +10:00
Paul Hauner
4cb23dd342
Rename Test trait to EfTest 2019-05-15 11:27:22 +10:00
Paul Hauner
57040efc2a
Rename DocCases to Cases 2019-05-15 11:17:32 +10:00
Paul Hauner
2b8e8ce59e
Replace TestDoc with Doc 2019-05-15 11:15:34 +10:00
Paul Hauner
b7a8613444
Rename TestDecode to YamlDecode 2019-05-15 11:12:49 +10:00
Paul Hauner
9f42d4d764
Extend ssz-static testing 2019-05-15 09:50:05 +10:00
Paul Hauner
d73e068686
Add additional fake_crypto objects 2019-05-14 22:09:57 +10:00
Paul Hauner
d1a6ac3a28
Make tests generic across an EthSpec 2019-05-14 17:40:17 +10:00
Paul Hauner
2755621a9b
Add IndexedAttestation ssz_static test 2019-05-14 17:27:51 +10:00
Paul Hauner
123045f0a3
Move to sigp fork of yaml-rust 2019-05-14 16:56:13 +10:00
Paul Hauner
1835ca8fd6
Add progress on ssz_static tests 2019-05-14 16:56:00 +10:00
Paul Hauner
6096abf071
Fix ssz_static deserialization 2019-05-14 15:16:02 +10:00
Paul Hauner
523caf52d6
Allow for decode ssz_static tests 2019-05-14 15:08:42 +10:00
Paul Hauner
97be6b52cc
Add remaining SSZ generic tests 2019-05-14 11:28:42 +10:00
Paul Hauner
b280c220eb
Re-organise ef_tests 2019-05-14 11:13:28 +10:00
Paul Hauner
c3b4739a11
Add untested ssz_static test impl 2019-05-14 10:01:20 +10:00
Paul Hauner
55ff1e0b40
Move ssz_generic tests into own file 2019-05-14 09:36:25 +10:00