Fix the use of tests/simulation/run_node.sh
This commit is contained in:
parent
95dea4c165
commit
c98426586e
|
@ -7,10 +7,6 @@ set -eu
|
|||
|
||||
# Set a default value for the env vars usually supplied by nimbus Makefile
|
||||
|
||||
export NUM_VALIDATORS=${VALIDATORS:-100}
|
||||
export NUM_NODES=${NODES:-9}
|
||||
export NUM_MISSING_NODES=${MISSING_NODES:-1}
|
||||
|
||||
cd "$SIM_ROOT"
|
||||
mkdir -p "$SIMULATION_DIR"
|
||||
mkdir -p "$VALIDATORS_DIR"
|
||||
|
|
|
@ -14,6 +14,10 @@ cd - &>/dev/null
|
|||
: ${SKIP_BUILDS:=""}
|
||||
: ${BUILD_OUTPUTS_DIR:="$GIT_ROOT/build"}
|
||||
|
||||
NUM_VALIDATORS=${VALIDATORS:-100}
|
||||
NUM_NODES=${NODES:-9}
|
||||
NUM_MISSING_NODES=${MISSING_NODES:-1}
|
||||
|
||||
SIMULATION_DIR="${SIM_ROOT}/data"
|
||||
VALIDATORS_DIR="${SIM_ROOT}/validators"
|
||||
SNAPSHOT_FILE="${SIMULATION_DIR}/state_snapshot.json"
|
||||
|
|
Loading…
Reference in New Issue