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:
parent
7a4b154705
commit
6720e6e2a6
|
@ -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 ))" \
|
||||
|
|
|
@ -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 ))"
|
||||
|
|
|
@ -47,5 +47,5 @@ fi
|
|||
|
||||
BASE_P2P_PORT=30000
|
||||
BASE_RPC_PORT=7000
|
||||
BASE_REST_PORT=5052
|
||||
BASE_METRICS_PORT=8008
|
||||
|
||||
|
|
Loading…
Reference in New Issue