lighthouse/tests/ef_tests
Paul Hauner 9aedb12bfc
Refactor docs into mdbook (#547)
* Refactor documentation, ef_tests makefile

* Add makefile to root

* Tidy readme

* Fix readme badges

* Tidy logs

* Add terminalize gif

* Update readme image

* Update readme image

* Tidy logs

* Update readme image

* Update readme

* Update readme

* Fix book link

* Update makefiles

* Update book

* Fix link in book

* Add readme for book

* Remove old docs, move api spec YAML

* Fix eth2/ dir readme

* Add readme for lcli

* Add about this book section

* Minor formatting improvements

* Address mehdi's comments
2019-10-02 11:04:56 +10:00
..
src Clippy clean (#536) 2019-09-30 13:58:45 +10:00
tests Cleanups and SSZ generic container tests 2019-09-05 10:28:09 +10:00
.gitignore Replace EF tests submodule with a makefile 2019-09-08 04:19:54 +10:00
Cargo.toml SSZ generic tests for big uints 2019-09-04 14:32:04 +10:00
Makefile Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00
README.md Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00

Ethereum 2.0 Specification Tests

This crate parses and executes the test vectors at ethereum/eth2.0-spec-tests.

Functionality is achieved only via the $ cargo test command.

Tests

Because the test vectors are very large, we do not download the tests vectors or require that the tests pass by default. Specifically;

  • If the tests/ef_tests/eth2.0-spec-tests directory is not present, all tests indicate a pass when they did not actually run.
  • If that directory is present, the tests are executed faithfully, failing if a discrepancy is found.

Downloading Test Vectors

The eth2.0-spec-tests directory is not present by default. To obtain it, use the Makefile:

$ make

Note: this may download hundreds of MB of compressed archives from the ethereum/eth2.0-spec-tests, which may expand into several GB of files.

Remove the tests to save space or update to a new version with $ make clean.