This release contains breaking changes that are not compatible with v3.x.x. We will coordinate active operators in private mainnet to do this upgrade together at the same time to minimize the validator downtime.
Upgrade steps:
- Run
cd dvf
- Run
git pull
to update files, especiallydocker-compose-operator-mev.yml
- Change
IMAGE_TAG
tov4.0.0-mainnet
in.env
file - Add
CLUSTER_CONTRACT_ADDRESS=f0455Aca6B61109098562610e89C7ca22c12Bb43
in.env
file - Change
WS_URL
toRPC_URL
and use the http endpoint instead of the websocket endpoint of the EL client. - Recreate the operator:
sudo docker compose -f docker-compose-operator-mev.yml up --force-recreate -d operator
Changes:
- Improved the communication protocol between operators by using grpc.
- Refactored the internal logic of the operator to reduce memory usage.
- Optimized the implementation for running multiple validators by reducing the use of locks, which makes the performance of operator improve a lot.
- Supported the latest version of lighthouse (v6.0.1) and improved the version management of lighthouse submodule.
- Updated some dependent libraries, such as using alloy to replace ether.