Skip to content

Commit

Permalink
Fix #132 Remove unnecessary variables from entrypoint.sh (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgarciate authored Sep 16, 2024
1 parent e062c93 commit dd79ba1
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions web3signer/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,18 @@ export WEB3SIGNER_API="http://web3signer.web3signer-${NETWORK}.dappnode:9000"
case "$_DAPPNODE_GLOBAL_CONSENSUS_CLIENT_GNOSIS" in
"gnosis-beacon-chain-prysm.dnp.dappnode.eth")
ETH2_CLIENT_DNS="validator.gnosis-beacon-chain-prysm.dappnode"
export BEACON_NODE_API="http://beacon-chain.gnosis-beacon-chain-prysm.dappnode:3500"
export CLIENT_API="http://validator.gnosis-beacon-chain-prysm.dappnode:3500"
export TOKEN_FILE="/security/prysm/auth-token"
export CLIENTS_TO_REMOVE=(teku lodestar lighthouse nimbus)
;;
"teku-gnosis.dnp.dappnode.eth")
ETH2_CLIENT_DNS="validator.teku-gnosis.dappnode"
export BEACON_NODE_API="http://beacon-chain.teku-gnosis.dappnode:3500"
export CLIENT_API="https://validator.teku-gnosis.dappnode:3500"
export TOKEN_FILE="/security/teku/validator-api-bearer"
export CLIENTS_TO_REMOVE=(lighthouse lodestar prysm nimbus)
;;
"lighthouse-gnosis.dnp.dappnode.eth")
ETH2_CLIENT_DNS="validator.lighthouse-gnosis.dappnode"
export BEACON_NODE_API="http://beacon-chain.lighthouse-gnosis.dappnode:3500"
export CLIENT_API="http://validator.lighthouse-gnosis.dappnode:3500"
export TOKEN_FILE="/security/lighthouse/api-token.txt"
export CLIENTS_TO_REMOVE=(teku lodestar prysm nimbus)
;;
"lodestar-gnosis.dnp.dappnode.eth")
ETH2_CLIENT_DNS="validator.lodestar-gnosis.dappnode"
export BEACON_NODE_API="http://beacon-chain.lodestar-gnosis.dappnode:3500"
export CLIENT_API="http://validator.lodestar-gnosis.dappnode:3500"
export TOKEN_FILE="/security/lodestar/api-token.txt"
export CLIENTS_TO_REMOVE=(teku lighthouse prysm nimbus)
;;
"nimbus-gnosis.dnp.dappnode.eth")
ETH2_CLIENT_DNS="beacon-validator.nimbus-gnosis.dappnode"
export BEACON_NODE_API="http://beacon-validator.nimbus-gnosis.dappnode:4500"
export CLIENT_API="http://beacon-validator.nimbus-gnosis.dappnode:3500"
export TOKEN_FILE="/security/nimbus/auth-token"
export CLIENTS_TO_REMOVE=(teku lighthouse prysm lodestar)
;;
*)
echo "_DAPPNODE_GLOBAL_CONSENSUS_CLIENT_GNOSIS env is not set properly"
Expand Down Expand Up @@ -69,7 +49,7 @@ exec /opt/web3signer/bin/web3signer \
--metrics-host-allowlist="*" \
--idle-connection-timeout-seconds=900 \
eth2 \
--network=gnosis \
--network=${NETWORK} \
--Xnetwork-capella-fork-epoch=648704 \
--slashing-protection-db-url=jdbc:postgresql://postgres.web3signer-gnosis.dappnode:5432/web3signer-gnosis \
--slashing-protection-db-username=postgres \
Expand Down

0 comments on commit dd79ba1

Please sign in to comment.