Skip to content

Commit 6a19e59

Browse files
authored
Add RPC API endpoint env (#347)
Add `CHARON_EXECUTION_RPC_API_ENDPOINT` env ticket: #346
1 parent 80df74c commit 6a19e59

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

.env.sample.holesky

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.holesky.ethpandaops.io/
6969
# A list of beacon nodes to use if the primary list are offline or unhealthy.
7070
#CHARON_FALLBACK_BEACON_NODE_ENDPOINTS=
7171

72+
# The address of the execution engine JSON-RPC API.
73+
#CHARON_EXECUTION_CLIENT_RPC_ENDPOINT=
74+
7275
# Override the charon logging level; debug, info, warning, error.
7376
#CHARON_LOG_LEVEL=
7477

.env.sample.hoodi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.hoodi.ethpandaops.io/
6969
# A list of beacon nodes to use if the primary list are offline or unhealthy.
7070
#CHARON_FALLBACK_BEACON_NODE_ENDPOINTS=
7171

72+
# The address of the execution engine JSON-RPC API.
73+
#CHARON_EXECUTION_CLIENT_RPC_ENDPOINT=
74+
7275
# Override the charon logging level; debug, info, warning, error.
7376
#CHARON_LOG_LEVEL=
7477

.env.sample.mainnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://mainnet.checkpoint.sigp.io/
6969
# A list of beacon nodes to use if the primary list are offline or unhealthy.
7070
#CHARON_FALLBACK_BEACON_NODE_ENDPOINTS=
7171

72+
# The address of the execution engine JSON-RPC API.
73+
#CHARON_EXECUTION_CLIENT_RPC_ENDPOINT=
74+
7275
# Override the charon logging level; debug, info, warning, error.
7376
#CHARON_LOG_LEVEL=
7477

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ services:
101101
- CHARON_LOKI_ADDRESSES=${CHARON_LOKI_ADDRESSES:-http://loki:3100/loki/api/v1/push}
102102
- CHARON_LOKI_SERVICE=charon
103103
- CHARON_NICKNAME=${CHARON_NICKNAME:-}
104+
- CHARON_EXECUTION_CLIENT_RPC_ENDPOINT=${CHARON_EXECUTION_CLIENT_RPC_ENDPOINT:-http://nethermind:8545}
104105
ports:
105106
- ${CHARON_PORT_P2P_TCP:-3610}:${CHARON_PORT_P2P_TCP:-3610}/tcp # P2P TCP libp2p
106107
labels:

0 commit comments

Comments
 (0)