stop using --rpc in run-beacon-node and simulations (#3662)

This commit is contained in:
tersec 2022-05-24 16:21:55 +00:00 committed by GitHub
parent acf1ec43f8
commit 92c1e75915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 10 deletions

View File

@ -62,9 +62,6 @@ The following options are available:
--metrics-port Listening HTTP port of the metrics server [=8008].
--status-bar Display a status bar at the bottom of the terminal screen [=true].
--status-bar-contents Textual template for the contents of the status bar.
--rpc Enable the JSON-RPC server (deprecated) [=false].
--rpc-port HTTP port for the JSON-RPC service [=9190].
--rpc-address Listening address of the RPC server [=127.0.0.1].
--rest Enable the REST server [=false].
--rest-port Port for the REST server [=5052].
--rest-address Listening address of the REST server [=127.0.0.1].

View File

@ -34,7 +34,6 @@ fi
: ${DATA_DIR_NAME:="shared_${NETWORK}_${NODE_ID}"}
: ${DATA_DIR:="build/data/${DATA_DIR_NAME}"}
: ${BASE_P2P_PORT:=9000}
: ${BASE_RPC_PORT:=9190}
: ${BASE_REST_PORT:=5052}
# Windows detection
@ -97,8 +96,6 @@ exec ${WINPTY} build/${NBC_BINARY} \
--udp-port=$(( ${BASE_P2P_PORT} + ${NODE_ID} )) \
--rest \
--rest-port=$(( ${BASE_REST_PORT} + ${NODE_ID} )) \
--rpc \
--rpc-port=$(( ${BASE_RPC_PORT} +${NODE_ID} )) \
--metrics \
${EXTRA_ARGS} \
$@

View File

@ -93,9 +93,6 @@ $BEACON_NODE_BIN \
--udp-port=$PORT \
$NAT_ARG \
$WEB3_ARG \
--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 ))" \

View File

@ -46,6 +46,5 @@ else
fi
BASE_P2P_PORT=30000
BASE_RPC_PORT=7000
BASE_REST_PORT=5052
BASE_METRICS_PORT=8008