From 8f3a2701647c364c643f3fe1b48a8edffd031a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Tue, 30 Apr 2019 14:44:01 +0200 Subject: [PATCH] Add the new v0.6 git LFS test repo --- .gitmodules | 3 +++ README.md | 14 ++++++++++++++ eth2.0-spec-tests | 1 + 3 files changed, 18 insertions(+) create mode 160000 eth2.0-spec-tests diff --git a/.gitmodules b/.gitmodules index f907268..b570ba1 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "eth2.0-tests"] path = eth2.0-tests url = https://github.com/ethereum/eth2.0-tests +[submodule "eth2.0-spec-tests"] + path = eth2.0-spec-tests + url = https://github.com/ethereum/eth2.0-spec-tests diff --git a/README.md b/README.md index 1861fed..57e0dcb 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ This repo reformats the official Ethereum 2 tests to a format suitable for [Nimbus](https://github.com/status-im/nimbus)/[nim-beacon-chain](https://github.com/status-im/nim-beacon-chain). +## Cloning the repo + +Due to upstream usage of [Git LFS](https://git-lfs.github.com) to store the large test vectors, +there is an extra step after cloning the repo: + +``` +git clone https://github.com/status-im/nim-eth2-official-tests +cd nim-eth2-official-tests +git lfs install +git submodule update --init --recursive +``` + +## Usage in nim-beacon-chain + This repository is meant to be submoduled in `nim-beacon-chain/tests/official/` with the `fixtures` name. From the nim-beacon-chain project folder: diff --git a/eth2.0-spec-tests b/eth2.0-spec-tests new file mode 160000 index 0000000..36fffa8 --- /dev/null +++ b/eth2.0-spec-tests @@ -0,0 +1 @@ +Subproject commit 36fffa82eacc579da4b41a7d14f00adfbc25430f