Commit Graph

13 Commits

Author SHA1 Message Date
Michael Sproul
c1a2238f1a Implement tree hash caching (#584)
* Implement basic tree hash caching

* Use spaces to indent top-level Cargo.toml

* Optimize BLS tree hash by hashing bytes directly

* Implement tree hash caching for validator registry

* Persist BeaconState tree hash cache to disk

* Address Paul's review comments
2019-11-05 15:46:52 +11:00
pscott
7eb82125ef Clippy clean (#536)
* Change into_iter to iter

* Fix clippy 'easy' warnings

* Clippy eth2/utils

* Add struct NetworkInfo

* Clippy for types, utils, and beacon_node/store/src/iters.rs

* Cargo fmt

* Change foo to my_foo

* Remove complex signature

* suppress clippy warning for unit_value in benches

* Use enumerate instead of iterating over range

* Allow trivially_copy_pass_by_ref in serde_utils
2019-09-30 13:58:45 +10:00
Paul Hauner
9b062e0523 Fix compile error in ef_tests 2019-09-06 22:45:05 +10:00
Michael Sproul
23a4fdabe4 Enable remaining SSZ generic tests 2019-09-06 17:06:11 +10:00
Michael Sproul
289f8d13b0 Cleanups and SSZ generic container tests 2019-09-05 10:28:09 +10:00
Michael Sproul
d511c939eb SSZ generic tests for big uints 2019-09-04 14:32:04 +10:00
Michael Sproul
f47eaf5730 Parallel tests and SSZ generic 2019-09-03 16:46:10 +10:00
Paul Hauner
e550c0218f Add various fixes to clippy lints
Thou shalt appease clippy
2019-06-10 11:01:25 -04:00
Paul Hauner
14d879d75f Pass case_index through Case trait 2019-05-22 18:13:22 +10:00
Paul Hauner
6fada99905 Refactor ef_tests for less code duplication 2019-05-22 16:15:52 +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