From 585c9d3d856d607d6409ae8107c69279e2d21d90 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Thu, 12 Oct 2023 23:47:08 +0000 Subject: [PATCH] clients/prysm-vc: Use REST api --- 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