Opt in to run AVS
Multi-Prover AVS is in PoA mode during its initial launch phase. Make sure that your ECDSA address is in the allowlist.
./run.sh opt-in
If you find execution revert
inside the logs, please contact us to add your operator ECDSA key to the whitelist.
The following logs confirm that you opt-in the Multi-Prover AVS successfully:
2024/04/11 09:38:13 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:196][INFO] registering operator with the AVS's registry coordinator avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0]
2024/04/11 09:38:15 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:17 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:19 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:21 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:23 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:25 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:27 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:29 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:31 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:33 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:35 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:37 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947
2024/04/11 09:38:39 [avsregistry.(*AvsRegistryChainWriter).RegisterOperatorInQuorumWithAVSRegistryCoordinator:writer.go:258][INFO] successfully registered operator with AVS registry coordinator txHash=0x49a75b6f1b1f5a0df7176e74866e183cd5f35726c7f5b1dc851c14da00eed947 avs-service-manager=0x4665Af665df5703445645D243f0FD63eD3b9D132 operator=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb quorumNumbers=[0]
2024/04/11 09:38:39 [main.(*OprToolOptIn).FlaglyHandle:main.go:74][INFO] Registered operator with avs registry coordinator
2024/04/11 09:38:39 [main.(*OprToolOptIn).FlaglyHandle:main.go:81][INFO] operatorID: 9f018fa5c580cce497c54832c0e955baae268cd2b279c40fc155f37cadcf3df6
Run the operator node
<aside> <img src="/icons/checkmark_gray.svg" alt="/icons/checkmark_gray.svg" width="40px" /> Make sure the ECDSA key holds at least 2 holETH, which will be used to pay gas fee for verifying attestation
</aside>
./run.sh operator
To check the status of the operator node, you can use docker compose ps
to check the status
docker compose ps
You will see that the multi-prover-operator
is already running
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
multi-prover-operator ghcr.io/automata-network/multi-prover-avs/operator:v0.1.0 "operator -c /config…" operator 7 seconds ago Up 6 seconds
Use docker compose logs
to check the logs of operator node
docker compose logs
The following logs confirm that the operator node is running:
multi-prover-operator | 2024/04/11 10:43:47 [operator.(*Operator).RegisterAttestationReport:operator.go:428][INFO] Operater has registered on TEE Liveness Verifier
multi-prover-operator | 2024/04/11 10:43:47 [operator.(*Operator).Start:operator.go:309][INFO] Start Operator... operator info: operatorId=9f018fa5c580cce497c54832c0e955baae268cd2b279c40fc155f37cadcf3df6, operatorAddr=0x78FDDe7a5006cC64E109aeD99cA7B0Ad3d8687bb, operatorG1Pubkey=E([17272839535451540985101994971264887424902045713917022194344894638723325891184,7681852807937705470578904330559505013628557319515589040414004928898052614685]), operatorG2Pubkey=E([9315467493058496604862195381240282780757838291463523924997720226534255124911+3045913853022742668398552211361034250283254555837128871409205546003009160329*u,19745468458850749124066396888399275109350092224295287094624332304230928504244+15471953359645512595579313593378557090565784231596335409346300729022363587742*u])
multi-prover-operator | run tracer id: operator-log-tracer
multi-prover-operator | 2024/04/11 10:43:47 [operator.(*Operator).proverGetPoe:operator.go:392][INFO] fetching poe for batch 0x1c25a0073bab4b32ffa221a8f1841a65f6e844e9bf18271e994493e246a54284
multi-prover-operator | 2024/04/11 10:48:32 [operator.(*Operator).OnNewLog:operator.go:274][PRETTY] {
multi-prover-operator | "identifier": "0x1",
multi-prover-operator | "metadata": "0x7b2273746172745f626c6f636b223a313839323830312c22656e645f626c6f636b223a313839323833347d",
multi-prover-operator | "state": "0x7b2262617463685f68617368223a22307835663630376364626539306430653466366364363766633235643834333261663338376437626438643761666233333935313363383665653730323732326639222c2273746174655f68617368223a22307832656435653465326339303265643938393565373738363038323935303731633538356162626431343538623231613732326566323735363931356561376564222c22707265765f73746174655f726f6f74223a22307832616134366163623133376565356165653230393836636162393034396365316133323562653266343662376230656636353639316131343235373030306530222c226e65775f73746174655f726f6f74223a22307830653065636461666535303638613533343836396334313234333465343634346132396635653134613934623462396634383235396530633738653034646539222c227769746864726177616c5f726f6f74223a22307862303264353963393336663962633637383961323031383566623763356362393639636436666235336662646665356365363434633533653765633437356363222c227369676e6174757265223a22307862366561383733303431633862636632623632653230613361313233306339366133353566633364353035306130326338373930303461376162643130333639353964333839393865633835323165363631393036343038383764396266663238323764316261326531393262373463326366393133663638613136646364383031227d",
multi-prover-operator | "quorum_numbers": "0x00",
multi-prover-operator | "quorum_threshold_percentages": "0x00",
multi-prover-operator | "reference_blocknumber": 1324845
multi-prover-operator | }
multi-prover-operator | 2024/04/11 10:48:38 [operator.(*LogTracer).Run:log_trace.go:134][INFO] [operator-log-tracer] scan 18862681 -> 18862781, logs: 14
Use docker compose down
if you want to stop the operator node
docker compose down
Opt-out from Multi-Prover AVS
Run the following command if you want to opt-out from the Multi-Prover AVS:
./run.sh opt-out
The following logs confirm that you opt-out from the Multi-Prover AVS successfully:
2024/04/11 09:45:55 [avsregistry.(*AvsRegistryChainWriter).DeregisterOperator:writer.go:312][INFO] deregistering operator with the AVS's registry coordinator
2024/04/11 09:45:58 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x013e6e9b99a12367c166d9744071ec6c3287e626b6a2bbb7d6785bbd8c3d5c05
2024/04/11 09:46:00 [txmgr.(*SimpleTxManager).queryReceipt:txmgr.go:143][INFO] Transaction not yet mined txID=0x013e6e9b99a12367c166d9744071ec6c3287e626b6a2bbb7d6785bbd8c3d5c05
2024/04/11 09:46:02 [avsregistry.(*AvsRegistryChainWriter).DeregisterOperator:writer.go:325][INFO] succesfully deregistered operator with the AVS's registry coordinator txHash=0x013e6e9b99a12367c166d9744071ec6c3287e626b6a2bbb7d6785bbd8c3d5c05
2024/04/11 09:46:02 [main.(*OprToolOptOut).FlaglyHandle:main.go:110][INFO] Tx: 0x013e6e9b99a12367c166d9744071ec6c3287e626b6a2bbb7d6785bbd8c3d5c05, Succ: true
Last updated