Ethereum 2.0 Scenarios for Nimbus
Go to file
Mamy André-Ratsimbazafy 0abc6e1465
download and unpack functions are now libraries callable from any scripts
2019-10-31 15:18:35 +01:00
json_tests_v0.8.1 Update v0.8.3 (#3) 2019-08-29 22:34:43 +02:00
json_tests_v0.8.3 Add Shuffling minimal 2019-08-30 18:56:49 +02:00
scripts download and unpack functions are now libraries callable from any scripts 2019-10-31 15:18:35 +01:00
.gitattributes Test vectors for spec v0.8.1 2019-07-23 22:31:53 +03:00
.gitignore Use versioned tarballs (#4) 2019-10-31 14:26:54 +01:00
README.md Use versioned tarballs (#4) 2019-10-31 14:26:54 +01:00
download_test_vectors.sh download and unpack functions are now libraries callable from any scripts 2019-10-31 15:18:35 +01:00

README.md

nim-eth2-official-tests

This repo used to reformat the official Ethereum 2 tests to a format suitable for Nimbus/nim-beacon-chain.

Currently it is used for:

  • Having multiple test vectors versions side-by-side for progressive update between spec versions
  • SSZ test vectors are still using a json format from 0.8.1.
  • SSZ test vectors in json requires LFS

Cloning the repo

Git LFS (Large File Storage)

You need git-lfs installed to clone the JSON test vectors

git lfs install

Afterwards any git clone will also do the required git lfs pull implicitly

It you do not want to download the LFS files, exporting the following variable before git clone:

export GIT_LFS_SKIP_SMUDGE=1

Cloning and downloading the official test vectors

After cloning the repo, you will need to download the official test vectors. This is done via the download_test_vectors.sh script.

git clone https://github.com/status-im/nim-eth2-official-tests
cd nim-eth2-official-tests

# Download versioned test vectors
sh download_test_vectors.sh