yetanotherco / aligned_layer

Aligned is a verification layer for zero-knowledge proofs using EigenLayer. Our mission is to accelerate the adoption of zero-knowledge and validity proofs on Ethereum.
https://alignedlayer.com/
MIT License
146 stars 342 forks source link

feat(operator): `SendSignedTaskResponse` Retries #1436

Open PatStiles opened 1 week ago

PatStiles commented 1 week ago

Add Retry Logic to SendSignedTaskResponse

Description

closes 1415

Note: I tested this running a local devnet and had no issues. However, I encountered issues stopping the aggregator while writing a unit test and found the rpc client function panic'd when the connection was cut. I discussed this with @Oppen but will take time to investigate it further.

How to test

In devnet

  1. make anvil_start_with_block_time
  2. make aggregator_start
  3. make operator_full_registration CONFIG_FILE=config-files/config-operator-1.yaml
  4. make operator_start CONFIG_FILE=config-files/config-operator-1.yaml
  5. make batcher_start_local
  6. make telemetry_full_start

Once you have the system running, send proofs

  1. make batcher_send_burst_groth16
  2. Go to jaeger http://localhost:16686/search
  3. You should see the traces correctly created and task verified image

Type of change

Checklist