Skip to content

Commit

Permalink
Merge pull request #17 from automata-network/dev-0.3.0
Browse files Browse the repository at this point in the history
release v0.3.0
  • Loading branch information
chzyer authored Jul 11, 2024
2 parents ec5612b + 0673476 commit 7365cb0
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 7 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Automata is building TEE Coprocessors on EigenLayer with Multi-Prover AVS. Decen

## ChangeLog

* **v0.3**
* [holesky](holesky/CHANGELOG.md)

* **v0.2**
* [holesky](holesky/CHANGELOG.md)
* [mainnet](mainnet/CHANGELOG.md)
Expand Down
33 changes: 33 additions & 0 deletions holesky/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [Introduction](#introduction)
- [General Flow](#general-flow)
- [Version Specific Changes](#version-specific-changes)
- [Version 0.3](#version-03)
- [Version 0.2](#version-02)


Expand Down Expand Up @@ -41,6 +42,38 @@ docker compose up -d

## Version Specific Changes

### Version 0.3

#### Support Linea Mainnet

This version adds support for linea. It's optional for operators. If you want to join, you can opt-in to the quorum 1.

* Opt In to Linea Quorum
```bash
$ cd holesky
$ ./run.sh opt-in <key path of operator's ECDSA key> -quorums 1
```
Then restart the operator, and the newly started operator will handle both scroll and linea tasks simultaneously.
* Opt Out to Linea Quorum
```bash
$ cd holesky
$ ./run.sh opt-out <key path of operator's ECDSA key> -quorums 1
```
Then restart the operator, and the newly started operator will not handle the linea tasks.

* For Self-Hosted Prover

It is necessary to update the prover version to 0.3 to support linea.
```bash
$ cd prover/holesky
$ ./run.sh docker -d
$ docker compose logs -f
```

**Note: Since linea is currently in the testing phase, the state required to execute linea blocks will be obtained from the server. At this time, the operator does not need to provide an additional execution node.**


### Version 0.2

#### Operator Configuation Updates <!-- omit in toc -->
Expand Down
8 changes: 4 additions & 4 deletions holesky/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Alternatively, the code and tooling required to restake LST on EigenLayer is als
>💡 Multi-Prover AVS is in PoA mode during its initial launch phase. Make sure that your ECDSA address is in the allowlist.
```bash
./run.sh opt-in <key path of operator's ECDSA key>
./run.sh opt-in <key path of operator's ECDSA key> -quorums 0,1
```
- `key path of operator's ECDSA key` : the path to the operator’s ECDSA key, for example, `~/.eigenlayer/operator_keys/operator.ecdsa.key.json`.
Expand All @@ -140,9 +140,9 @@ The following logs confirm that you opt-in the Multi-Prover AVS successfully:
```bash
Enter the password for /root/.eigenlayer/operator_keys/operator.ecdsa.key.json: ************************
2024/05/10 08:51:46 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:196][INFO] registering operator with the AVS's registry coordinator avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0]
2024/05/10 08:51:46 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:196][INFO] registering operator with the AVS's registry coordinator avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0 1]
2024/05/10 08:51:49 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x27159248a7939b4f0eccf425d368556193a5f0a2f93010b518446d794d40f4ca
2024/05/10 08:51:51 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:258][INFO] successfully registered operator with AVS registry coordinator txHash=0x27159248a7939b4f0eccf425d368556193a5f0a2f93010b518446d794d40f4ca avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0]
2024/05/10 08:51:51 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:258][INFO] successfully registered operator with AVS registry coordinator txHash=0x27159248a7939b4f0eccf425d368556193a5f0a2f93010b518446d794d40f4ca avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0 1]
2024/05/10 08:51:51 [main.(*OprToolOptIn).FlaglyHandle:main.go:81][INFO] Registered operator with avs registry coordinator, succ: true
2024/05/10 08:51:51 [main.(*OprToolOptIn).FlaglyHandle:main.go:88][INFO] operatorID: 9f018fa5c580cce497c54832c0e955baae268cd2b279c40fc155f37cadcf3df6
```
Expand Down Expand Up @@ -198,7 +198,7 @@ docker compose down
Run the following command if you want to opt-out from the Multi-Prover AVS:
```bash
./run.sh opt-out <key path of operator's ECDSA key>
./run.sh opt-out <key path of operator's ECDSA key> -quorums 0,1
```
- `key path of operator's ECDSA key` : the path to the operator’s ECDSA key, for example, `~/.eigenlayer/operator_keys/operator.ecdsa.key.json`.
Expand Down
2 changes: 1 addition & 1 deletion holesky/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ networks:

services:
operator:
image: ghcr.io/automata-network/multi-prover-avs/operator:v0.2.3
image: ghcr.io/automata-network/multi-prover-avs/operator:v0.3.0
container_name: multi-prover-operator
command: -c /config/operator.json
ports:
Expand Down
4 changes: 3 additions & 1 deletion prover/holesky/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
services:
sgx-prover:
image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3
image: ghcr.io/automata-network/sgx-prover:avs-v0.3.0
container_name: sgx-prover-avs-holesky
command: --disable_check_report_metadata -p ${PORT:-18232}
privileged: true
environment:
- AZDCAP_BYPASS_BASE_URL=${AZDCAP_BYPASS_BASE_URL:-true}
ports:
- ${PORT:-18232}:${PORT:-18232}
volumes:
Expand Down
4 changes: 3 additions & 1 deletion prover/mainnet/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
services:
sgx-prover:
image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3
image: ghcr.io/automata-network/sgx-prover:avs-v0.2.4
container_name: sgx-prover-avs-mainnet
command: --disable_check_report_metadata -p ${PORT:-18232}
privileged: true
environment:
- AZDCAP_BYPASS_BASE_URL=${AZDCAP_BYPASS_BASE_URL:-true}
ports:
- ${PORT:-18232}:${PORT:-18232}
volumes:
Expand Down

0 comments on commit 7365cb0

Please sign in to comment.