Go to article content

Obolnetwork: switching clients in an Obol cluster

Obol's Charon Distributed Validator Node (CDVN) setup provides separate procedures for consensus, validator and MEV clients. The service being replaced determines the configuration field, restart dependencies and compatibility checks.

Updated on

Deployment
Ethereum distributed-validator nodes using the multi-client CDVN Docker Compose setup.
Client selection
CL selects the consensus client, VC selects the validator client and MEV selects the MEV service. Use supported values listed in that deployment's .env .
Release alignment
CDVN follows Charon's major and minor versions; patch numbers can differ between the two projects.

Check versions before changing clients

Use a stable CDVN release and read the compatibility matrix for its Charon release before choosing replacement clients. That matrix covers upstream consensus clients and downstream validator clients.

The Charon README treats running peers with the same major version as compatible. Their minor and patch versions may differ; different major versions are incompatible. During charon dkg , peers need matching major and minor versions, although patch versions may differ.

Prepare an older CDVN deployment

The documented migration starts from a Nethermind-Lighthouse-Charon-Lodestar-MEVBoost setup and requires a replacement environment file. Copy the appropriate .env.sample.<NETWORK> file to .env , preserving custom settings under their corresponding renamed variables.

Visual outline: Obolnetwork: Prepare an older CDVN deployment

Open full-size image

Then stop that node's existing Compose stack with docker compose --profile "" down . Start the updated stack with docker compose up -d .

Switch the consensus client

Configure CHARON_FALLBACK_BEACON_NODE_ENDPOINTS beforehand if Charon needs fallback beacon access while the replacement node synchronizes.

  1. Stop the existing consensus-client container.
  2. Set CL to a replacement that the deployment's .env lists as supported.
  3. Start the replacement consensus client, then restart Charon to update the beacon node that it queries.
  4. Wait until the new beacon node is synced and the setup works before deleting the previous node's data.

Preserve validator-client aggregation compatibility

The CDVN README records an attestation-aggregation incompatibility between validator-client groups. Under that limitation, at least a threshold of nodes must use Lodestar, Lighthouse or Nimbus. Alternatively, at least a threshold must use Teku or Prysm.

This condition concerns aggregation duties, whose completion carries no economic reward or penalty under the documented behavior.

For the switch, stop the existing validator client, select a supported VC value and start the replacement. Remove the old validator-client data only after the new client starts and the setup works.

Hypothetical change from Lodestar to Nimbus

Replacing Lodestar with Nimbus can preserve the existing aggregation group. In this hypothetical deployment, .env lists vc-nimbus and the chosen Charon release supports that Nimbus version.

Assume the cluster already meets its threshold through nodes using Lodestar, Lighthouse or Nimbus as their validator client. After successful startup, the replacement node remains in the same documented group, preserving that group's node count. This result concerns the documented aggregation limitation and depends on the assumed release compatibility.

Visual outline: Obolnetwork - Hypothetical change from Lodestar to Nimbus
Illustration: Hypothetical change from Lodestar to Nimbus

Open full-size image

Switch the MEV service

In the documented setup, commit-boost takes its client settings from TOML and does not support .env configuration. Before switching to commit-boost, copy commit-boost/config.toml.sample.<NETWORK> to commit-boost/config.toml . Match the existing relay and timeout settings in that file. The MEV field still selects which service CDVN runs.

Illustration: Obolnetwork - Switch the MEV service
Image: Switch the MEV service

Open full-size image

Stop the existing MEV client, update MEV to a supported replacement and start the new service. Restart the beacon node afterward so it queries the replacement MEV client.