Skip to content

Aggregation mode batcher #2180

@MarcosNicolau

Description

@MarcosNicolau

Tasks:

Agg Mode Batcher

  • Skeleton
  • Rename proofs table to tasks or proof_verification_tasks
  • Change endpoint to get merkle proots to receipts, make the endpoint work by fetching by address & nonces or the last 100
  • Receive proofs via file instead of json
  • Validations:
    • Recover address from signature
    • Daily limit of proofs
  • Add endpoint to get info about how many proofs where submitted by the user and when the quota is refreshed
  • Add Risc0 proving system
  • Add Zisk proving system
  • Separate poller from http server
  • Poller store last processed block to not lose events
  • Improve tracing
  • Support multiple dbs + retry

Proof Aggregator

  • Retrieve proofs from DB instead of fast mode
  • Support multiple dbs + retry
  • Retry + bump when sending proof verification to contract

Agg Mode Payment Contract

  • Setter for expiration time
  • Setter for payment value
  • Subscription limit
  • Add subscriptions with arbitrary expiration (admin)
  • Withdraw function (admin)

Redundancy / Distribution

  • Make it work with multiple agg services
  • Add redundancy to DB. See PG Auto failover
  • Add redundancy to other areas

Grafana

  • Add grafana dashboard with metrics

Other

  • Signer with enclave
  • Update L2 example
  • TLS for Gateway
  • Move SDK to aggregation_mode directory
  • Add more cli commands to interact with gateway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions