stop using --rpc in run-beacon-node and simulations (#3662)
This commit is contained in:
parent
acf1ec43f8
commit
92c1e75915
|
@ -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].
|
||||
|
|
|
@ -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} \
|
||||
$@
|
||||
|
|
|
@ -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 ))" \
|
||||
|
|
|
@ -46,6 +46,5 @@ else
|
|||
fi
|
||||
|
||||
BASE_P2P_PORT=30000
|
||||
BASE_RPC_PORT=7000
|
||||
BASE_REST_PORT=5052
|
||||
BASE_METRICS_PORT=8008
|
||||
|
|
Loading…
Reference in New Issue