-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from automata-network/v2
Release v0.2.0
- Loading branch information
Showing
32 changed files
with
26,038 additions
and
223 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
|
||
holesky/config/operator.json | ||
holesky/config/operator_task_fetcher.offset | ||
mainnet/config/operator.json | ||
mainnet/config/operator_task_fetcher.offset | ||
holesky/.env | ||
mainnet/.env | ||
*/config/*.crt | ||
*/config/*.key | ||
prover/*/config/prover.json |
This file contains 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 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,78 @@ | ||
# Changelog | ||
|
||
> | ||
> 💡 Check the [README](./README.md) if you are looking for setup from scratch | ||
> | ||
## Table of Contents <!-- omit in toc --> | ||
- [Introduction](#introduction) | ||
- [General Flow](#general-flow) | ||
- [Version Specific Changes](#version-specific-changes) | ||
- [Version 0.2.0](#version-020) | ||
|
||
|
||
## Introduction | ||
If you are currently running an older version of the operator and its corresponding components, this guide will cover how to upgrade to the newer version. | ||
|
||
## General Flow | ||
If you are running your operator using docker compose, you can upgrade with the following steps. | ||
|
||
1. First pull the latest copy of this repo: | ||
|
||
```bash | ||
cd holesky | ||
|
||
git pull | ||
``` | ||
|
||
2. Please check [the section below](#version-specific-changes) for the specific changes you need to make per version before rebooting your services. | ||
|
||
3. Stop the the existing services: | ||
|
||
```bash | ||
docker compose down | ||
``` | ||
|
||
4. Now, restart the service: | ||
```bash | ||
docker compose up -d | ||
``` | ||
|
||
|
||
## Version Specific Changes | ||
|
||
### Version 0.2.0 | ||
|
||
#### Operator Configuation Updates <!-- omit in toc --> | ||
|
||
**Required updates** to `operator.json`: | ||
- Add `"NodeApiIpPortAddress": "0.0.0.0:15692",` | ||
- Update `"TEELivenessVerifierAddress": "0x2E8628F6000Ef85dea615af6Da4Fd6dF4fD149e6"` | ||
|
||
**Recommended updates** to `operator.json`: <!-- omit in toc --> | ||
- Update `AttestationLayerEcdsaKey`: If you are currently using your operator's ECDSA private key for this, it is recommended to change it to use a separate externally owned account (EOA). Please fund 1 holETH to this EOA. For your security, we recommend using this EOA for the sole purpose of submitting attestations. | ||
|
||
|
||
**Optional updates** to `operator.json`: <!-- omit in toc --> | ||
- Remove `"TaskFetcher": { ... }` | ||
- Remove `"ETHWsURL": "wss://ethereum-holesky-rpc.publicnode.com", ` | ||
- Remove `"Simulation": false,` | ||
|
||
#### Metrics Dashboard <!-- omit in toc --> | ||
|
||
We have also included monitoring dashboards in this release. Please feel free to use them to monitor your node and services: [monitoring](../monitoring) | ||
|
||
#### SGX Prover <!-- omit in toc --> | ||
|
||
In this version, we support running your own SGX Prover. Please refer to the following link for how to run: [prover](../prover) | ||
|
||
### FAQ | ||
|
||
* **Why I got this error when I start the operator?** | ||
|
||
``` | ||
[FATAL] [operator.(*Operator).registerAttestationReport:416(balance:0.1);operator.(*Operator).RegisterAttestationReport:462;operator.(*Operator).Start:120(xxx)] execution reverted | ||
``` | ||
|
||
1. Check whether the `TEELivenessVerifierAddress` in config updated to `0x2E8628F6000Ef85dea615af6Da4Fd6dF4fD149e6` | ||
2. Check whether the balance of the `AttestationLayerEcdsaKey` is enough for sending a transaction (0.005 holETH)c |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,13 +1,19 @@ | ||
version: '3' | ||
networks: | ||
multiprover-network: | ||
name: multiprover-avs-network | ||
|
||
services: | ||
operator: | ||
image: ghcr.io/automata-network/multi-prover-avs/operator:v0.1.3 | ||
image: ghcr.io/automata-network/multi-prover-avs/operator:v0.2.0 | ||
container_name: multi-prover-operator | ||
command: -c /config/operator.json | ||
ports: | ||
- "15682:15682" | ||
- "15692:15692" | ||
expose: | ||
- 15682 | ||
volumes: | ||
- ./config:/config | ||
- "${BLS_KEY_FILE_HOST}:${BLS_KEY_FILE_DOCKER}:readonly" | ||
working_dir: / | ||
networks: | ||
- multiprover-network |
This file was deleted.
Oops, something went wrong.
This file contains 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 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,45 @@ | ||
# Change Logs | ||
|
||
> | ||
> 💡 Check the [README](./README.md) if you are looking for setup from scratch | ||
> | ||
## Table of Contents <!-- omit in toc --> | ||
- [Introduction](#introduction) | ||
- [General Flow](#general-flow) | ||
- [Version Specific Changes](#version-specific-changes) | ||
- [Version 0.2.0](#version-020) | ||
|
||
|
||
## Introduction | ||
If you are currently running an older version of the operator and its corresponding components, this guide will cover how to upgrade to the newer version. | ||
|
||
## General Flow | ||
If you are running your operator using docker compose, you can upgrade with the following steps. | ||
|
||
1. First pull the latest copy of this repo: | ||
|
||
```bash | ||
cd mainnet | ||
|
||
git pull | ||
``` | ||
|
||
2. Please check [the section below](#version-specific-changes) for the specific changes you need to make per version before rebooting your services. | ||
|
||
3. Stop the the existing services: | ||
|
||
```bash | ||
docker compose down | ||
``` | ||
|
||
4. Now, restart the service: | ||
```bash | ||
docker compose up -d | ||
``` | ||
|
||
|
||
## Version Specific Changes | ||
|
||
### Version 0.2.0 | ||
TBD |
Oops, something went wrong.