From 03a90602158c744b729117ade6c21376c9d3950d Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Mon, 5 Feb 2024 15:38:31 -0600 Subject: [PATCH] clients/prysm-vc: Use REST api (#906) --- clients/prysm-vc/prysm_vc.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/clients/prysm-vc/prysm_vc.sh b/clients/prysm-vc/prysm_vc.sh index ebffd9f089..c7fb6260ff 100755 --- a/clients/prysm-vc/prysm_vc.sh +++ b/clients/prysm-vc/prysm_vc.sh @@ -50,11 +50,10 @@ echo Starting Prysm Validator Client --verbosity="$LOG" \ --accept-terms-of-use=true \ --prater \ - --beacon-rpc-provider="$HIVE_ETH2_BN_API_IP:${HIVE_ETH2_BN_GRPC_PORT:-3500}" \ - --beacon-rpc-gateway-provider="$HIVE_ETH2_BN_API_IP:${HIVE_ETH2_BN_API_PORT:-4000}" \ + --enable-beacon-rest-api=true \ + --beacon-rest-api-provider="http://$HIVE_ETH2_BN_API_IP:${HIVE_ETH2_BN_API_PORT:-4000}" \ --datadir="/data/vc" \ --wallet-dir="/data/validators" \ --wallet-password-file="/wallet.pass" \ --chain-config-file="/hive/input/config.yaml" \ - $builder_option -# NOTE: gRPC/RPC ports are inverted to allow the simulator to access the REST API \ No newline at end of file + $builder_option \ No newline at end of file