Ethereum 2.0 Scenarios for Nimbus
Go to file
Etan Kissling 9e23fbeba9
retry download on unpack error
Sometimes, the downloaded tar file gets corrupted and fails to unpack.
Add a couple retries to avoid spurious CI failures in dependent projs.

```
[2022-12-09T23:17:22.588Z] + ./scripts/setup_scenarios.sh
[2022-12-09T23:17:22.588Z] Downloading consensus spec test vectors
[2022-12-09T23:17:22.588Z] ~/workspace/atforms_macos_aarch64_dev_etan_y/vendor/nim-eth2-scenarios ~/workspace/atforms_macos_aarch64_dev_etan_y
[2022-12-09T23:17:22.588Z] Downloading: v1.2.0/general.tar.gz
[2022-12-09T23:17:24.296Z] Downloading: v1.2.0/minimal.tar.gz
[2022-12-09T23:17:29.150Z] Downloading: v1.2.0/mainnet.tar.gz
[2022-12-09T23:17:30.331Z] Unpacking: v1.2.0/general.tar.gz
[2022-12-09T23:17:30.671Z] Unpacking: v1.2.0/minimal.tar.gz
[2022-12-09T23:17:36.665Z] Unpacking: v1.2.0/mainnet.tar.gz
[2022-12-09T23:17:36.665Z] tar: Error opening archive: Unrecognized archive format
[2022-12-09T23:17:36.665Z] Tar failed. Aborting.
script returned exit code 1
```
2022-12-11 15:35:24 +01:00
.gitignore download_test_vectors.sh: delete tarballs and unpacked data from old versions 2019-10-31 21:28:32 +01:00
README.md official -> consensus 2021-10-12 11:41:51 +02:00
download_slashing_interchange_tests.sh Adjusting slashing test url 2022-01-06 11:16:30 +01:00
download_test_vectors.sh retry download on unpack error 2022-12-11 15:35:24 +01:00

README.md

ETH 2 Scenarios

This repo holds Ethereum consensus scenarios of particular interest for Nimbus Eth2

At the moment it contains:

Future plans include:

  • Bugs arising from usage or fuzzing
  • Benchmark scenarios in particular those that might trigger degenerate cases

Cloning the repo

Cloning and downloading the consensus spec test vectors

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

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

# Download versioned test vectors
./download_test_vectors.sh