Etan Kissling 683ec36034
retry download on unpack error (#11)
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 18:13:58 +01:00
2021-10-12 11:41:51 +02:00

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
Description
Ethereum 2.0 Scenarios for Nimbus
Readme
Languages
Shell 100%