From 86f28ce0fd7fcaee15217a0bc88873129b2d9b37 Mon Sep 17 00:00:00 2001 From: ChenYe Date: Tue, 9 Jul 2024 14:54:54 +0800 Subject: [PATCH 1/6] update prover version --- prover/holesky/docker-compose.yaml | 2 +- prover/mainnet/docker-compose.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prover/holesky/docker-compose.yaml b/prover/holesky/docker-compose.yaml index 45af7d3..952fc3c 100644 --- a/prover/holesky/docker-compose.yaml +++ b/prover/holesky/docker-compose.yaml @@ -1,6 +1,6 @@ services: sgx-prover: - image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3 + image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3-sh container_name: sgx-prover-avs-holesky command: --disable_check_report_metadata -p ${PORT:-18232} privileged: true diff --git a/prover/mainnet/docker-compose.yaml b/prover/mainnet/docker-compose.yaml index fe8d5cc..59d9be4 100644 --- a/prover/mainnet/docker-compose.yaml +++ b/prover/mainnet/docker-compose.yaml @@ -1,6 +1,6 @@ services: sgx-prover: - image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3 + image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3-sh container_name: sgx-prover-avs-mainnet command: --disable_check_report_metadata -p ${PORT:-18232} privileged: true From ec42a7e39984de0608db6ed2ad442d4ca644d4e7 Mon Sep 17 00:00:00 2001 From: ChenYe Date: Tue, 9 Jul 2024 16:22:36 +0800 Subject: [PATCH 2/6] add bypass for attestation --- prover/mainnet/docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prover/mainnet/docker-compose.yaml b/prover/mainnet/docker-compose.yaml index 59d9be4..62169ea 100644 --- a/prover/mainnet/docker-compose.yaml +++ b/prover/mainnet/docker-compose.yaml @@ -1,9 +1,11 @@ services: sgx-prover: - image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3-sh + 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: From fa9d16b862301a3b4e78c4891895f7b0362f9284 Mon Sep 17 00:00:00 2001 From: ChenYe Date: Tue, 9 Jul 2024 16:24:17 +0800 Subject: [PATCH 3/6] update holesky --- prover/holesky/docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prover/holesky/docker-compose.yaml b/prover/holesky/docker-compose.yaml index 952fc3c..642b27a 100644 --- a/prover/holesky/docker-compose.yaml +++ b/prover/holesky/docker-compose.yaml @@ -1,9 +1,11 @@ services: sgx-prover: - image: ghcr.io/automata-network/sgx-prover:avs-v0.2.3-sh + image: ghcr.io/automata-network/sgx-prover:avs-v0.2.4 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: From f59af128a09c92d279f1ca38ed9fbc30f794c17c Mon Sep 17 00:00:00 2001 From: ChenYe Date: Thu, 11 Jul 2024 15:13:01 +0800 Subject: [PATCH 4/6] add 0.3.0 for holesky --- README.md | 3 +++ holesky/CHANGELOG.md | 31 ++++++++++++++++++++++++++++++ holesky/README.md | 4 ++-- mainnet/docker-compose.yaml | 2 +- prover/holesky/docker-compose.yaml | 2 +- 5 files changed, 38 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dfe4bd7..5d3cb56 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/holesky/CHANGELOG.md b/holesky/CHANGELOG.md index 2d758f8..b4bc41e 100644 --- a/holesky/CHANGELOG.md +++ b/holesky/CHANGELOG.md @@ -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) @@ -41,6 +42,36 @@ docker compose up -d ## Version Specific Changes +### Version 0.3 + +#### Support Linea Mainnet + +* Opt In to Linea Quorum +```bash +$ cd holesky +$ ./run.sh opt-in -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 -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: The state required by linea will be returned by the server, so there is no need to provide execution node information for now.** + + ### Version 0.2 #### Operator Configuation Updates diff --git a/holesky/README.md b/holesky/README.md index 639fb73..a7c10f5 100644 --- a/holesky/README.md +++ b/holesky/README.md @@ -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 +./run.sh opt-in -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`. @@ -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 +./run.sh opt-out -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`. diff --git a/mainnet/docker-compose.yaml b/mainnet/docker-compose.yaml index 6b66a6f..5087ded 100644 --- a/mainnet/docker-compose.yaml +++ b/mainnet/docker-compose.yaml @@ -1,6 +1,6 @@ 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-mainnet command: -c /config/operator.json ports: diff --git a/prover/holesky/docker-compose.yaml b/prover/holesky/docker-compose.yaml index 642b27a..73eb382 100644 --- a/prover/holesky/docker-compose.yaml +++ b/prover/holesky/docker-compose.yaml @@ -1,6 +1,6 @@ services: sgx-prover: - image: ghcr.io/automata-network/sgx-prover:avs-v0.2.4 + 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 From 03ab46043f5c802869a731120e30ba433b7ae611 Mon Sep 17 00:00:00 2001 From: ChenYe Date: Thu, 11 Jul 2024 15:29:14 +0800 Subject: [PATCH 5/6] update changelog --- holesky/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/holesky/CHANGELOG.md b/holesky/CHANGELOG.md index b4bc41e..2cdd254 100644 --- a/holesky/CHANGELOG.md +++ b/holesky/CHANGELOG.md @@ -46,6 +46,8 @@ docker compose up -d #### 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 @@ -69,7 +71,7 @@ $ ./run.sh docker -d $ docker compose logs -f ``` -**Note: The state required by linea will be returned by the server, so there is no need to provide execution node information for now.** +**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 From 0673476eaacb61bed1b46a62a42c64b4f97a81d2 Mon Sep 17 00:00:00 2001 From: ChenYe Date: Thu, 11 Jul 2024 15:40:27 +0800 Subject: [PATCH 6/6] holesky to 0.3.0 --- holesky/README.md | 4 ++-- holesky/docker-compose.yaml | 2 +- mainnet/docker-compose.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/holesky/README.md b/holesky/README.md index a7c10f5..2c363d9 100644 --- a/holesky/README.md +++ b/holesky/README.md @@ -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 ``` diff --git a/holesky/docker-compose.yaml b/holesky/docker-compose.yaml index 6f8eda8..a2eea91 100644 --- a/holesky/docker-compose.yaml +++ b/holesky/docker-compose.yaml @@ -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: diff --git a/mainnet/docker-compose.yaml b/mainnet/docker-compose.yaml index 5087ded..6b66a6f 100644 --- a/mainnet/docker-compose.yaml +++ b/mainnet/docker-compose.yaml @@ -1,6 +1,6 @@ services: operator: - image: ghcr.io/automata-network/multi-prover-avs/operator:v0.3.0 + image: ghcr.io/automata-network/multi-prover-avs/operator:v0.2.3 container_name: multi-prover-operator-mainnet command: -c /config/operator.json ports: