Fix errors from local testnet scripts on MacOS (#2919)

## Issue Addressed

Resolves https://github.com/sigp/lighthouse/issues/2763

## Proposed Changes

- Add a workflow which tests that local testnet starts successfully
  - Added `set` option into the scripts in order to fail fast so that we can notice errors during starting local testnet.
- Fix errors on MacOS
  - The redirect `&>>` is supported since bash v4 but the version bundled in macOS(11.6.1) is v3. a54f119c9b
This commit is contained in:
Akihito Nakano
2022-01-26 23:14:20 +00:00
parent 5f628a71d4
commit 150931950d
12 changed files with 91 additions and 3 deletions

View File

@@ -4,6 +4,8 @@
# Starts a beacon node based upon a genesis state created by `./setup.sh`.
#
set -Eeuo pipefail
source ./vars.env
SUBSCRIBE_ALL_SUBNETS=