madara-alliance / madara-orchestrator

MIT License
8 stars 15 forks source link

implement register proof job #12

Open apoorvsadana opened 3 months ago

apoorvsadana commented 3 months ago

Implement proof registration job here - https://github.com/karnotxyz/madara-orchestrator/blob/2a9d77b7188afadefe3feba3347a909fc83299ed/crates/orchestrator/src/jobs/register_proof_job/mod.rs#L12

  1. Assume that you already have the proof stored in S3 (or some equivalent storage) with the URL inside metadata of the job.
  2. Fetch the proof from the storage
  3. Submit the proof on chain
    • this part must be generalised across verification layers (Ethereum or Starknet for now)
    • for start, we can implement this for Ethereum inside settlement_clients just like how we do it for da_clients in #7.
    • use the Zaun repo to interact with the Ethereum verifier contracts
BlackStarkGoku commented 3 months ago

I would like to check this one

apoorvsadana commented 3 months ago

Assigned!