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
Paul Hauner
1f6e393ff0
Tidy up ef_tests
2019-05-14 09:27:27 +10:00
Paul Hauner
e53abe3f0b
Improve ef_tests
errors
2019-05-13 22:20:00 +10:00
Paul Hauner
068b6fafde
Merge branch 'ef-tests' of github.com:sigp/lighthouse into ef-tests
2019-05-13 22:14:47 +10:00
Paul Hauner
cf509bea9b
Improve ef_tests crate
2019-05-13 22:10:23 +10:00
Paul Hauner
d21c0b3963
Merge branch 'sos' into ef-tests
2019-05-13 19:24:41 +10:00
Paul Hauner
beb5537904
Improve ef_tests
2019-05-13 18:09:19 +10:00
Paul Hauner
31d960011f
Add basic code for new testing format
2019-05-13 17:56:46 +10:00
Paul Hauner
8222ac17cf
Merge branch 'master' into sos
2019-05-13 15:17:56 +10:00
Paul Hauner
bf23a5b7b0
Merge pull request #369 from sigp/fixed-vec
...
Implement fixed-length lists for BeaconState
2019-05-13 15:16:03 +10:00
Paul Hauner
a0148b5aae
Rename SSZ traits (Encodable -> Encode)
2019-05-13 15:12:19 +10:00
Paul Hauner
fcabef91da
Use E
for EthSpec
trait, instead of B
2019-05-13 14:44:43 +10:00
Paul Hauner
afa8fff31a
Remove old tree_hash_vector
file
2019-05-13 14:14:40 +10:00
Paul Hauner
94ab2479fe
Add docs to SSZ
2019-05-13 14:13:15 +10:00
Paul Hauner
16a8cdb714
Add tests for excess bytes in SSZ
2019-05-13 13:51:58 +10:00
Paul Hauner
9ccaec5b91
Move SSZ macros into own file
2019-05-13 12:33:59 +10:00
Paul Hauner
40c6be294b
Fix warnings in rpc
2019-05-13 12:33:46 +10:00
Paul Hauner
9f62f261c4
Run cargofmt --all
2019-05-13 12:29:26 +10:00
Paul Hauner
03fee2fb97
Fix SSZ for bls fake_crypto features
2019-05-13 12:23:06 +10:00
Paul Hauner
eb62b5842d
Update beacon node crates for new SSZ
2019-05-13 12:07:32 +10:00
Paul Hauner
d9bfbc2657
Add macros for easy SSZ impl via From trait
2019-05-13 09:25:37 +10:00
Paul Hauner
95fcd3654a
Update validator_client for new SSZ API
2019-05-12 09:42:41 +10:00
Paul Hauner
f96a6268e5
Remove old dbg! statements from tests
2019-05-12 09:34:01 +10:00
Paul Hauner
349d33052b
Fix SSZ encode impl for fixed_len_vec
2019-05-12 09:33:47 +10:00
Paul Hauner
02afc6ef24
Tidy ssz decoding code
2019-05-11 22:52:24 +10:00
Paul Hauner
fc2a406edf
Fix bug in ssz decoding
2019-05-11 22:25:28 +10:00
Paul Hauner
96aeac333a
Add tests for fixed_len_vec ssz
2019-05-11 19:09:51 +10:00
Paul Hauner
1f7b7ec498
Add tests for SSZ offset attacks
2019-05-11 19:09:27 +10:00
Paul Hauner
8d3ef273a7
Fix db
crate so it compiles under new ssz
2019-05-10 16:53:53 +10:00
Paul Hauner
2313de9b6e
Fix types ssz macro
2019-05-10 16:41:52 +10:00
Paul Hauner
1e2bf03d5e
Update ssz impl for fixed_len_vec
2019-05-10 16:37:56 +10:00
Paul Hauner
3cd112d42d
Encapsulate ssz
vec decoding in public fn
2019-05-10 16:37:00 +10:00
Paul Hauner
3ef46c03d1
Merge branch 'fixed-vec' into sos
2019-05-10 15:27:21 +10:00
Paul Hauner
ce8ebeccbc
Rename BeaconStateTypes
to EthSpec
2019-05-10 14:47:09 +10:00
Paul Hauner
c1fa20b3e1
Merge pull request #372 from sigp/improve-docs
...
Small docs improvement
2019-05-10 13:49:41 +10:00
Luke Anderson
93a4bef41c
Very small wording/typo fixes for docs.
2019-05-10 13:49:01 +10:00
Paul Hauner
3be80ba9a9
Marginally improve cached_tree_hash
docs
2019-05-10 13:29:43 +10:00
Paul Hauner
178de35500
Merge pull request #371 from sigp/paulhauner-patch-1
...
Update README badges
2019-05-10 13:27:35 +10:00
Paul Hauner
fd78004ef9
Update README badges
...
- Changes the travis badge to a gitlab badge.
- Adds a docs badge.
- Does not modify the gitter badge.
- Restructures the badge markdown for readability.
2019-05-10 11:49:28 +10:00
Paul Hauner
75b310a078
Add convenience methods to BeaconStateTypes
2019-05-10 11:23:19 +10:00
Paul Hauner
59883603ac
Remove state_processing
tests, update travis
2019-05-10 10:28:18 +10:00
Paul Hauner
42765f2614
Merge branch 'master' into fixed-vec
2019-05-10 09:47:07 +10:00
Paul Hauner
3115bf7d36
Fix operation_pool
release-only tests
2019-05-10 09:45:28 +10:00
Paul Hauner
be9f8aa0bf
Fix fork_choice
release-only tests
2019-05-10 09:45:08 +10:00
Paul Hauner
77c4b6eafe
Add progress on op pool test fixes
2019-05-09 18:56:41 +10:00