Skip to content

Commit

Permalink
Prysm back to RPC and use http parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Oct 16, 2024
1 parent d1f4fa2 commit c39d4c2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-prysm-geth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
FEE_RECIPIENT=0xDccf8451070a86183eE70D330C4c43b686E9CF86
var=FEE_RECIPIENT
set_value_in_env
CL_NODE=consensus:4000
var=CL_NODE
set_value_in_env
- name: Start Prysm/Geth
run: ./ethd up
- name: Pause for 30 seconds
Expand Down
4 changes: 2 additions & 2 deletions prysm-cl-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ services:
- /var/lib/prysm/
- --rpc-host
- 0.0.0.0
- --grpc-gateway-host
- --http-host
- 0.0.0.0
- --grpc-gateway-port
- --http-port
- ${CL_REST_PORT:-5052}
# Allow larger messages so credential change messages can be sent
- --rpc-max-page-size
Expand Down
17 changes: 5 additions & 12 deletions prysm-vc-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,21 @@ services:
- --keymanager-token-file
- /var/lib/prysm/auth-token
- --beacon-rpc-provider
- ${CL_NODE:-http://consensus:4000}
- ${CL_NODE:-consensus:4000}
- --verbosity
- ${LOG_LEVEL}
- --accept-terms-of-use
- --monitoring-host
- 0.0.0.0
- --monitoring-port
- "8009"
- --grpc-gateway-host
- --http-host
- 0.0.0.0
- --grpc-gateway-port
- --http-port
- ${KEY_API_PORT:-7500}
- --grpc-gateway-corsdomain=*
- --beacon-rpc-gateway-provider
- consensus:5052
- --http-cors-domain=*
- --suggested-fee-recipient
- ${FEE_RECIPIENT}
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
labels:
- traefik.enable=true
- traefik.http.routers.prysm.entrypoints=web,websecure
Expand Down Expand Up @@ -114,9 +109,7 @@ services:
- validator
- exit
- --wallet-dir=/var/lib/prysm/
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
- --beacon-rpc-provider=${CL_NODE:-consensus:4000}
- --wallet-password-file=/var/lib/prysm/password.txt
- --${NETWORK}

Expand Down
21 changes: 8 additions & 13 deletions prysm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ services:
- /var/lib/prysm/
- --rpc-host
- 0.0.0.0
- --grpc-gateway-host
- --http-host
- 0.0.0.0
- --grpc-gateway-port
- --http-port
- ${CL_REST_PORT:-5052}
- --grpc-gateway-corsdomain=*
- --http-cors-domain=*
# Allow larger messages so credential change messages can be sent
- --rpc-max-page-size
- "200000"
Expand Down Expand Up @@ -139,18 +139,15 @@ services:
- 0.0.0.0
- --monitoring-port
- "8009"
- --grpc-gateway-host
- --http-host
- 0.0.0.0
- --grpc-gateway-port
- --http-port
- ${KEY_API_PORT:-7500}
- --grpc-gateway-corsdomain=*
- --beacon-rpc-gateway-provider
- --http-cors-domain=*
- --beacon-rest-api-provider
- consensus:5052
- --suggested-fee-recipient
- ${FEE_RECIPIENT}
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
depends_on:
- consensus
labels:
Expand Down Expand Up @@ -194,9 +191,7 @@ services:
- validator
- exit
- --wallet-dir=/var/lib/prysm/
- --enable-beacon-rest-api
- --beacon-rest-api-provider
- ${CL_NODE:-http://consensus:5052}
- --beacon-rpc-provider=consensus:4000
- --wallet-password-file=/var/lib/prysm/password.txt
- --${NETWORK}
depends_on:
Expand Down

0 comments on commit c39d4c2

Please sign in to comment.