Skip to content

Commit

Permalink
stop using --rpc in run-beacon-node and simulations (status-im#3662)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored May 24, 2022
1 parent acf1ec4 commit 92c1e75
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions docs/the_nimbus_book/src/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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].
Expand Down
3 changes: 0 additions & 3 deletions scripts/run-beacon-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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} \
$@
3 changes: 0 additions & 3 deletions tests/simulation/run_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ))" \
Expand Down
1 change: 0 additions & 1 deletion tests/simulation/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ else
fi

BASE_P2P_PORT=30000
BASE_RPC_PORT=7000
BASE_REST_PORT=5052
BASE_METRICS_PORT=8008

0 comments on commit 92c1e75

Please sign in to comment.