-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lido Community Staking integration (#1754)
* Lido integration (#4) * feat: lido relays (#5) * fix: change mech of relay selection for Lido (#6) * fix: Obol integration * fix: linter * feat: add obol dashboards * feat: add obol loki dashboards * fix: obol metrics * fix: use `.eth` instead of `.charon` * feat: backup ENR public key to the file * fix: `OWNER` for macOS * fix: exitstatus check for charon-run-dkg * feat: add ssv-dkg for Lido integration * fix: linter * fix: sed * feat: backup .eth when exists * fix: linter * fix: charon dir * fix: lido_ssv flow * fix: permissions * fix: jq for obol * feat: add `--distributed` for prysm and lodestar * fix: lint * fix: obol flow * fix: linter * fix: Relays list window size * fix: obol flow * fix: backup folder with keys * fix: linter * fix: prysm rest api * fix: add mkdir for obol * fix: add `--publish` flag to dkg * feat: add LIDO_DV_EXIT_EXIT_EPOCH * fix: update image for lido-dv-exit * fix: lido-dv-exit and exit epoch * fix: ssv-dkg config path * fix: ssv dashboard * fix: lido ssv flow * fix: add curl-jq * chore: remove goerli * fix: compose files * fix: permissions * feat: holesky relays, user flow adjustment * feat: update VE_ORACLE_ADDRESSES_ALLOWLIST for holesky * fix: extra chown for .eth * fix: add `-u` for enr and dkg services * fix: linter * Fix: Argument list too long error when verifying Oblol cluster definition * feat: automatic import N keystore files with different passwords * Fix: "Argument list too long" when verifying existing cluster definition file * Fix: pre-commit errors "SC2046 (warning): Quote this to prevent word splitting" * chore: fix typo * chore: update `VE_ORACLE_ADDRESSES_ALLOWLIST` for holesky * feat: `distributed` arg for lh, nim, teku VC clients * fix: `OBOL_NODE_TAG` -> `CHARON_VERSION` * fix: charon version * feat: csm testnet (#9) * fix: link to csm widget * Support Nethermind 1.27 (#1848) (cherry picked from commit d951eca) * fix: after sync * Fix link to the repo in the README.md * fix: lighthouse dashboards * fix: export vars for deposit-cli * fix: save vars for deposit-cli * fix: linter * fix: sed for macOS in Obol config * feat: changes for upstream (#19) * fix: remove env vars * fix: remove unused operator-sample * feat: reuse deposit-cli * fix: remove unused file from gitignore * fix: lidofinance -> eth-educators * fix: add `--uid` flag for keys creation * fix: message * fix: MEV_BOOST should be enabled for Lido configs * fix: reuse attention message * fix: add `OBOL_CL_NODE` and `OBOL_EL_NODE` env vars * fix: misleading msg * fix: add env vars to `ALL_VARS` * chore: bump `ENV_VERSION` * feat: follow to refactoring * fix: docompose -> __docompose --------- Co-authored-by: cnupy <ivan.petkov@gmail.com> Co-authored-by: cnupy <38653063+cnupy@users.noreply.github.com> Co-authored-by: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Co-authored-by: Dmitry Gusakov <dmitry.gusakov@lido.fi>
- Loading branch information
1 parent
848ea5a
commit 83feff3
Showing
27 changed files
with
670 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
x-logging: &logging | ||
logging: | ||
driver: json-file | ||
options: | ||
max-size: 100m | ||
max-file: "3" | ||
tag: '{{.ImageName}}|{{.Name}}|{{.ImageFullID}}|{{.FullID}}' | ||
|
||
services: | ||
charon: | ||
restart: "unless-stopped" | ||
image: obolnetwork/charon:${CHARON_VERSION:-latest} | ||
volumes: | ||
- .eth:/opt/charon/.charon | ||
<<: *logging | ||
environment: | ||
- CHARON_BEACON_NODE_ENDPOINTS=${OBOL_CL_NODE:-http://consensus:5052} | ||
- CHARON_LOG_LEVEL=${OBOL_LOG_LEVEL:-debug} | ||
- CHARON_LOG_FORMAT=${OBOL_LOG_FORMAT:-console} | ||
- CHARON_P2P_RELAYS=${OBOL_P2P_RELAYS:-https://0.relay.obol.tech,https://1.relay.obol.tech/} | ||
- CHARON_P2P_EXTERNAL_HOSTNAME=${OBOL_P2P_EXTERNAL_HOSTNAME:-} # Empty default required to avoid warnings. | ||
- CHARON_P2P_TCP_ADDRESS=0.0.0.0:${OBOL_P2P_PORT:-3610} | ||
- CHARON_VALIDATOR_API_ADDRESS=0.0.0.0:3600 | ||
- CHARON_MONITORING_ADDRESS=0.0.0.0:3620 | ||
- CHARON_BUILDER_API=${BUILDER_API_ENABLED:-true} | ||
- CHARON_FEATURE_SET_ENABLE=eager_double_linear,consensus_participate | ||
- CHARON_LOKI_ADDRESSES=${CHARON_LOKI_ADDRESSES:-http://loki:3100/loki/api/v1/push} | ||
- CHARON_LOKI_SERVICE=charon | ||
ports: | ||
- ${OBOL_P2P_PORT:-3610}:${OBOL_P2P_PORT:-3610}/tcp # P2P TCP libp2p | ||
healthcheck: | ||
test: wget -qO- http://localhost:3620/readyz | ||
labels: | ||
- metrics.scrape=true | ||
- metrics.path=/metrics | ||
- metrics.port=3620 | ||
- metrics.instance=charon | ||
|
||
charon-create-enr: | ||
profiles: ["tools"] | ||
restart: "no" | ||
image: obolnetwork/charon:${CHARON_VERSION:-latest} | ||
command: create enr | ||
volumes: | ||
- .eth:/opt/charon/.charon | ||
charon-run-dkg: | ||
profiles: ["tools"] | ||
restart: "no" | ||
image: obolnetwork/charon:${CHARON_VERSION:-latest} | ||
volumes: | ||
- .eth:/opt/charon/.charon | ||
command: dkg --publish | ||
curl-jq: | ||
image: curl-jq:local | ||
pull_policy: build | ||
build: | ||
context: ./traefik | ||
dockerfile: Dockerfile.jq | ||
restart: "no" | ||
profiles: [ "tools" ] | ||
|
||
validator-ejector: | ||
platform: linux/amd64 | ||
image: lidofinance/validator-ejector:${VALIDATOR_EJECTOR_VERSION:-1.5.0} | ||
user: ":" | ||
volumes: | ||
- ./validator-ejector:/exitmessages | ||
restart: unless-stopped | ||
environment: | ||
- EXECUTION_NODE=${OBOL_EL_NODE:-http://execution:8545} | ||
- CONSENSUS_NODE=${OBOL_CL_NODE:-http://consensus:5052} | ||
- LOCATOR_ADDRESS=${VE_LOCATOR_ADDRESS:-0x28FAB2059C713A7F9D8c86Db49f9bb0e96Af1ef8} | ||
- STAKING_MODULE_ID=${VE_STAKING_MODULE_ID:-2} | ||
- OPERATOR_ID=${VE_OPERATOR_ID} | ||
- ORACLE_ADDRESSES_ALLOWLIST=${VE_ORACLE_ADDRESSES_ALLOWLIST:-["0x140Bd8FbDc884f48dA7cb1c09bE8A2fAdfea776E","0xA7410857ABbf75043d61ea54e07D57A6EB6EF186","0x404335BcE530400a5814375E7Ec1FB55fAff3eA2","0x946D3b081ed19173dC83Cd974fC69e1e760B7d78","0x007DE4a5F7bc37E2F26c0cb2E8A95006EE9B89b5","0xEC4BfbAF681eb505B94E4a7849877DC6c600Ca3A","0x61c91ECd902EB56e314bB2D5c5C07785444Ea1c8","0x1Ca0fEC59b86F549e1F1184d97cb47794C8Af58d","0xc79F702202E3A6B0B6310B537E786B9ACAA19BAf"]} | ||
- MESSAGES_LOCATION=/exitmessages | ||
- RUN_METRICS=true | ||
- HTTP_PORT=8989 | ||
- DISABLE_SECURITY_DONT_USE_IN_PRODUCTION=${VE_DISABLE_SECURITY:-false} | ||
- FORCE_DENCUN_FORK_MODE=true | ||
labels: | ||
- metrics.scrape=true | ||
- metrics.path=/metrics | ||
- metrics.port=8989 | ||
- metrics.instance=validator-ejector | ||
|
||
lido-dv-exit: | ||
image: obolnetwork/lido-dv-exit:${LIDO_DV_EXIT_VERSION:-e8bee1f} | ||
user: ":" | ||
volumes: | ||
- ./validator-ejector:/exitmessages | ||
- .eth:/charon | ||
environment: | ||
- LIDODVEXIT_BEACON_NODE_URL=${OBOL_CL_NODE:-http://consensus:5052} | ||
- LIDODVEXIT_CHARON_RUNTIME_DIR=/charon | ||
- LIDODVEXIT_EJECTOR_EXIT_PATH=/exitmessages | ||
- LIDODVEXIT_EXIT_EPOCH=${LIDO_DV_EXIT_EXIT_EPOCH:-194048} | ||
- LIDODVEXIT_LOG_LEVEL=${LIDO_DV_EXIT_LOG_LEVEL:-info} | ||
- LIDODVEXIT_VALIDATOR_QUERY_CHUNK_SIZE=${LIDO_DV_EXIT_VALIDATOR_QUERY_CHUNK_SIZE:-5} | ||
restart: on-failure | ||
|
||
networks: | ||
default: | ||
enable_ipv6: ${IPV6:-false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
remote_write: | ||
- url: https://vm.monitoring.gcp.obol.tech/write | ||
authorization: | ||
credentials: OBOL_PROM_REMOTE_WRITE_TOKEN | ||
write_relabel_configs: | ||
- source_labels: [job] | ||
regex: "charon" | ||
action: keep # Keeps charon metrics and drop metrics from other containers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
scrape_configs: | ||
- job_name: charon | ||
metrics_path: /metrics | ||
static_configs: | ||
- targets: | ||
- charon:3620 | ||
- job_name: validator-ejector | ||
metrics_path: /metrics | ||
static_configs: | ||
- targets: | ||
- validator-ejector:8989 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.