|
| 1 | +# Upgrading to V0.14.0 |
| 2 | + |
| 3 | +This guide will walk you through the process of upgrading your Aligned Operator to v0.14.0. |
| 4 | + |
| 5 | +Since EigenLayer released Slashing on Holesky Testnet, there are two versions of the [EigenSDK](https://github.com/Layr-Labs/eigensdk-go), one is compatible with Mainnet and the other one is compatible with Holesky Testnet. This guide will help you to upgrade your operator with the correct version of the EigenSDK. |
| 6 | + |
| 7 | +The EigenSDK version [v0.1.13](https://github.com/Layr-Labs/eigensdk-go/releases/tag/v0.1.13) is compatible with Mainnet. |
| 8 | + |
| 9 | +The EigenSDK version [v0.2.0-beta.1](https://github.com/Layr-Labs/eigensdk-go/releases/tag/v0.2.0-beta.1) is compatible with Holesky Testnet. |
| 10 | + |
| 11 | +## Changes |
| 12 | + |
| 13 | +This version includes the following changes: |
| 14 | + |
| 15 | +* hotfix: eigensdk on Operator and Aggregator boot in [#1740](https://github.com/yetanotherco/aligned_layer/pull/1740) |
| 16 | + |
| 17 | +## How to upgrade |
| 18 | + |
| 19 | +Depending on the network you are running, you will need to upgrade the EigenSDK version on your operator. |
| 20 | + |
| 21 | +For Mainnet this upgrade is optional, but for Holesky Testnet it is mandatory. |
| 22 | + |
| 23 | +### Mainnet Operator |
| 24 | + |
| 25 | +This upgrade is OPTIONAL for Mainnet operators. But, if you want to upgrade, you can follow the steps below: |
| 26 | + |
| 27 | +#### Step 1 - Pull the latest changes |
| 28 | + |
| 29 | +```shell |
| 30 | +cd <path/to/aligned/repository> |
| 31 | +git fetch origin |
| 32 | +git checkout v0.14.0 |
| 33 | +``` |
| 34 | + |
| 35 | +#### Step 2 - Update the Operator |
| 36 | + |
| 37 | +```shell |
| 38 | +make build_operator ENVIRONMENT=mainnet |
| 39 | +``` |
| 40 | + |
| 41 | +This will install the version v0.1.13 of the EigenSDK, and then it will recompile the binaries. |
| 42 | + |
| 43 | +#### Step 3 - Check the Operator Version |
| 44 | + |
| 45 | +To see the operator version, run: |
| 46 | + |
| 47 | +```shell |
| 48 | +./operator/build/aligned-operator --version |
| 49 | +``` |
| 50 | + |
| 51 | +This will display the current version of the operator binary. The output should be: |
| 52 | + |
| 53 | +``` |
| 54 | +Aligned Layer Node Operator version v0.14.0 |
| 55 | +``` |
| 56 | + |
| 57 | +#### Step 4 - Restart the Operator |
| 58 | + |
| 59 | +Restart the operator based on your system configuration. |
| 60 | + |
| 61 | +### Testnet Operator |
| 62 | + |
| 63 | +This upgrade is MANDATORY for Testnet operators. Follow the steps below to upgrade your operator: |
| 64 | + |
| 65 | +#### Step 1 - Pull the latest changes |
| 66 | + |
| 67 | +```shell |
| 68 | +cd <path/to/aligned/repository> |
| 69 | +git fetch origin |
| 70 | +git checkout v0.14.0 |
| 71 | +``` |
| 72 | + |
| 73 | +#### Step 2 - Update the Operator |
| 74 | + |
| 75 | +```shell |
| 76 | +make build_operator ENVIRONMENT=testnet |
| 77 | +``` |
| 78 | + |
| 79 | +This will install the version v0.2.0-beta.1 of the EigenSDK, and then it will recompile the binaries. |
| 80 | + |
| 81 | +#### Step 3 - Check the Operator Version |
| 82 | + |
| 83 | +To see the operator version, run: |
| 84 | + |
| 85 | +```shell |
| 86 | +./operator/build/aligned-operator --version |
| 87 | +``` |
| 88 | + |
| 89 | +This will display the current version of the operator binary. The output should be: |
| 90 | + |
| 91 | +``` |
| 92 | +Aligned Layer Node Operator version v0.14.0 |
| 93 | +``` |
| 94 | + |
| 95 | +#### Step 4 - Restart the Operator |
| 96 | + |
| 97 | +Restart the operator based on your system configuration. |
| 98 | + |
| 99 | +### Troubleshooting |
| 100 | + |
| 101 | +#### Operator not registered on Aligned |
| 102 | + |
| 103 | +If your operator is not registered on Aligned, or it was ejected from the network, you can follow the registration process again. |
| 104 | + |
| 105 | +- Mainnet: |
| 106 | + |
| 107 | +```bash |
| 108 | +make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-mainnet.yaml |
| 109 | +``` |
| 110 | + |
| 111 | +- Holesky: |
| 112 | + |
| 113 | +```bash |
| 114 | +make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-holesky.yaml |
| 115 | +``` |
| 116 | + |
| 117 | +{% hint style="danger" %} |
| 118 | +If you are going to run the server in this machine, |
| 119 | +delete the operator key |
| 120 | +{% endhint %} |
0 commit comments