diff --git a/package_variants/sepolia/dappnode_package.json b/package_variants/sepolia/dappnode_package.json new file mode 100644 index 0000000..9c3354c --- /dev/null +++ b/package_variants/sepolia/dappnode_package.json @@ -0,0 +1,10 @@ +{ + "name": "lighthouse-sepolia.dnp.dappnode.eth", + "version": "0.1.0", + "links": { + "ui": "http://brain.web3signer-sepolia.dappnode", + "homepage": "https://github.com/dappnode/DAppNodePackage-lighthouse-generic#readme", + "readme": "https://github.com/sigp/lighthouse/blob/stable/README.md", + "docs": "https://lighthouse-book.sigmaprime.io/" + } +} \ No newline at end of file diff --git a/package_variants/sepolia/docker-compose.yml b/package_variants/sepolia/docker-compose.yml new file mode 100644 index 0000000..ee05ade --- /dev/null +++ b/package_variants/sepolia/docker-compose.yml @@ -0,0 +1,17 @@ +version: "3.5" +services: + beacon-chain: + build: + context: beacon-chain + args: + NETWORK: sepolia + P2P_PORT: 9804 + ports: + - "9804:9804/tcp" + - "9804:9804/udp" + environment: + CORSDOMAIN: "http://lighthouse-sepolia.dappnode" + validator: + build: + args: + NETWORK: sepolia diff --git a/package_variants/sepolia/hoodi-notifications.yaml b/package_variants/sepolia/hoodi-notifications.yaml new file mode 100644 index 0000000..3ba639b --- /dev/null +++ b/package_variants/sepolia/hoodi-notifications.yaml @@ -0,0 +1,52 @@ +endpoints: + - name: "Sepolia Lighthouse Node Syncing Check" + enabled: true + group: "sepolia" + url: "http://beacon-chain.lighthouse-sepolia.dappnode:3500/eth/v1/node/syncing" + method: "GET" + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].data.is_syncing == false" + definition: + title: "Sepolia Lighthouse Node Synced Check" + description: "Check if the Sepolia Lighthouse (Consensus) Node is synced. You will receive a notification if the node is syncing and another one when it is synced." + correlationId: "lighthouse-sepolia-syncing" + isBanner: false + priority: "medium" + alerts: + - type: custom + enabled: true + description: "Lighthouse Consensus Node syncing" + failure-threshold: 4 + success-threshold: 1 + send-on-resolved: true + + - name: "Sepolia Lighthouse Node Peers Count Check" + enabled: true + group: "sepolia" + url: "http://beacon-chain.lighthouse-sepolia.dappnode:3500/eth/v1/node/peer_count" + method: "GET" + headers: + Content-Type: "application/json" + interval: "30s" + conditions: + - "[BODY].data.connected >= 10" + definition: + title: "Sepolia Lighthouse Node Peers Count Check" + description: "Check if the Sepolia Lighthouse (Consensus) Node has a minimum number of peers. You will receive a notification if the node has fewer than the peers defined for 5 minutes, and another when it recovers." + correlationId: "lighthouse-sepolia-peers" + isBanner: false + priority: "low" + metric: + min: 0 + max: 100 + unit: "peers" + alerts: + - type: custom + enabled: true + description: "Lighthouse Consensus Node peers count is below [CONDITION_VALUE]" + failure-threshold: 10 + success-threshold: 1 + send-on-resolved: true diff --git a/package_variants/sepolia/prometheus-targets.json b/package_variants/sepolia/prometheus-targets.json new file mode 100644 index 0000000..d19fb59 --- /dev/null +++ b/package_variants/sepolia/prometheus-targets.json @@ -0,0 +1,20 @@ +[ + { + "labels": { + "package": "lighthouse-sepolia.dnp.dappnode.eth", + "service": "beacon-chain.lighthouse-sepolia.dappnode" + }, + "targets": [ + "beacon-chain.lighthouse-sepolia.dappnode:8008" + ] + }, + { + "labels": { + "package": "lighthouse-sepolia.dnp.dappnode.eth", + "service": "validator.lighthouse-sepolia.dappnode" + }, + "targets": [ + "validator.lighthouse-sepolia.dappnode:8008" + ] + } +] \ No newline at end of file diff --git a/validator/entrypoint.sh b/validator/entrypoint.sh index ed094c5..47b9997 100755 --- a/validator/entrypoint.sh +++ b/validator/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -SUPPORTED_NETWORKS="gnosis hoodi mainnet" +SUPPORTED_NETWORKS="gnosis hoodi mainnet sepolia" MEVBOOST_FLAG_KEY="--builder-proposals" SKIP_MEVBOOST_URL="true" CLIENT="lighthouse"