Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #132 Remove unnecessary variables from entrypoint.sh #91

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading