-
Notifications
You must be signed in to change notification settings - Fork 396
hotfix: eigensdk on Operator and Aggregator boot #1740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
a0a428d
feat: read SDK version in start
uri-99 3664e70
Update Makefile
uri-99 84609c2
docs: add ENVIRONMENT= to operator guide
uri-99 210ace1
chore: add build_aggregator target
JuArce 19dbd88
fix: correct paths in build_aggregator target
JuArce 8c128ca
chore: add ENVIRONMENT values to error message
JuArce bd960ef
docs: add v0.14.0 upgrading guide
JuArce 3d18b99
docs: update 6_setup_aligned.md guide
JuArce 251a781
Merge branch 'testnet' into hotfix-eigensdk-operator-restart-2
JuArce e28e58c
Merge branch 'testnet' into hotfix-eigensdk-operator-restart-2
MauroToscano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,120 @@ | ||
| # Upgrading to V0.14.0 | ||
|
|
||
| This guide will walk you through the process of upgrading your Aligned Operator to v0.14.0. | ||
|
|
||
| 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. | ||
|
|
||
| The EigenSDK version [v0.1.13](https://github.com/Layr-Labs/eigensdk-go/releases/tag/v0.1.13) is compatible with Mainnet. | ||
|
|
||
| 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. | ||
|
|
||
| ## Changes | ||
|
|
||
| This version includes the following changes: | ||
|
|
||
| * hotfix: eigensdk on Operator and Aggregator boot in [#1740](https://github.com/yetanotherco/aligned_layer/pull/1740) | ||
|
|
||
| ## How to upgrade | ||
|
|
||
| Depending on the network you are running, you will need to upgrade the EigenSDK version on your operator. | ||
|
|
||
| For Mainnet this upgrade is optional, but for Holesky Testnet it is mandatory. | ||
|
|
||
| ### Mainnet Operator | ||
|
|
||
| This upgrade is OPTIONAL for Mainnet operators. But, if you want to upgrade, you can follow the steps below: | ||
|
|
||
| #### Step 1 - Pull the latest changes | ||
|
|
||
| ```shell | ||
| cd <path/to/aligned/repository> | ||
| git fetch origin | ||
| git checkout v0.14.0 | ||
| ``` | ||
|
|
||
| #### Step 2 - Update the Operator | ||
|
|
||
| ```shell | ||
| make build_operator ENVIRONMENT=mainnet | ||
| ``` | ||
|
|
||
| This will install the version v0.1.13 of the EigenSDK, and then it will recompile the binaries. | ||
|
|
||
| #### Step 3 - Check the Operator Version | ||
|
|
||
| To see the operator version, run: | ||
|
|
||
| ```shell | ||
| ./operator/build/aligned-operator --version | ||
| ``` | ||
|
|
||
| This will display the current version of the operator binary. The output should be: | ||
|
|
||
| ``` | ||
| Aligned Layer Node Operator version v0.14.0 | ||
| ``` | ||
|
|
||
| #### Step 4 - Restart the Operator | ||
|
|
||
| Restart the operator based on your system configuration. | ||
|
|
||
| ### Testnet Operator | ||
|
|
||
| This upgrade is MANDATORY for Testnet operators. Follow the steps below to upgrade your operator: | ||
|
|
||
| #### Step 1 - Pull the latest changes | ||
|
|
||
| ```shell | ||
| cd <path/to/aligned/repository> | ||
| git fetch origin | ||
| git checkout v0.14.0 | ||
| ``` | ||
|
|
||
| #### Step 2 - Update the Operator | ||
|
|
||
| ```shell | ||
| make build_operator ENVIRONMENT=testnet | ||
| ``` | ||
|
|
||
| This will install the version v0.2.0-beta.1 of the EigenSDK, and then it will recompile the binaries. | ||
|
|
||
| #### Step 3 - Check the Operator Version | ||
|
|
||
| To see the operator version, run: | ||
|
|
||
| ```shell | ||
| ./operator/build/aligned-operator --version | ||
| ``` | ||
|
|
||
| This will display the current version of the operator binary. The output should be: | ||
|
|
||
| ``` | ||
| Aligned Layer Node Operator version v0.14.0 | ||
| ``` | ||
|
|
||
| #### Step 4 - Restart the Operator | ||
|
|
||
| Restart the operator based on your system configuration. | ||
|
|
||
| ### Troubleshooting | ||
|
|
||
| #### Operator not registered on Aligned | ||
|
|
||
| If your operator is not registered on Aligned, or it was ejected from the network, you can follow the registration process again. | ||
|
|
||
| - Mainnet: | ||
|
|
||
| ```bash | ||
| make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-mainnet.yaml | ||
| ``` | ||
|
|
||
| - Holesky: | ||
|
|
||
| ```bash | ||
| make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-holesky.yaml | ||
| ``` | ||
|
|
||
| {% hint style="danger" %} | ||
| If you are going to run the server in this machine, | ||
| delete the operator key | ||
| {% endhint %} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.