fix running local validator client simulation

Updated the local network simulation scripts to use the REST interface
for connecting the validator client to the beacon node. Otherwise, the
current scripts produce errors.
This commit is contained in:
Etan Kissling 2021-10-20 20:07:12 +02:00 committed by zah
parent 7a4b154705
commit 6720e6e2a6
3 changed files with 5 additions and 2 deletions

View File

@ -96,6 +96,9 @@ $BEACON_NODE_BIN \
--rpc \
--rpc-address="127.0.0.1" \
--rpc-port="$(( $BASE_RPC_PORT + $NODE_ID ))" \
--rest \
--rest-address="127.0.0.1" \
--rest-port="$(( $BASE_REST_PORT + $NODE_ID ))" \
--metrics \
--metrics-address="127.0.0.1" \
--metrics-port="$(( $BASE_METRICS_PORT + $NODE_ID ))" \

View File

@ -48,4 +48,4 @@ $VALIDATOR_CLIENT_BIN \
--log-level=${LOG_LEVEL:-DEBUG} \
--data-dir=$NODE_DATA_DIR \
--secrets-dir=$NODE_SECRETS_DIR \
--rpc-port="$(( $BASE_RPC_PORT + $NODE_ID ))"
--beacon-node="http://127.0.0.1:$(( $BASE_REST_PORT + $NODE_ID ))"

View File

@ -47,5 +47,5 @@ fi
BASE_P2P_PORT=30000
BASE_RPC_PORT=7000
BASE_REST_PORT=5052
BASE_METRICS_PORT=8008