ObolNetwork / charon-distributed-validator-cluster

Run a Distributed Validator Cluster locally using docker-compose

Home Page:https://docs.obol.tech/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update repo to new charon folder structure

xenowits opened this issue · comments

Problem to be solved

The directory structure output from create cluster command changed recently with this PR.

Proposed Solution

Update this repo to use the new directory structure. For each node[i] charon service, add another env. For example, for node1, it would look like:

  node1:
    <<: *node-base
    environment:
      <<: *node-env
      CHARON_PRIVATE_KEY_FILE: /opt/charon/.charon/cluster/node1/charon-enr-private-key
      CHARON_LOCK_FILE: /opt/charon/.charon/cluster/node1/cluster-lock.json
      CHARON_JAEGER_SERVICE: node1
      CHARON_P2P_EXTERNAL_HOSTNAME: node1

And remove CHARON_LOCK_FILE from x-node-env.

Also, update the docs repo with new instructions.

Out of Scope

None. But, this should be done before the next charon release (v0.13.0) is cut out. See releases