Skip to content

Aggregation Mode Progress #2180

@MarcosNicolau

Description

@MarcosNicolau

Tasks

Gateway

  • 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
  • Support multiple RPCs

Poller

  • Support multiple RPCs

Proof Aggregator

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

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
  • Set alerts

CLI

  • Submit
  • Verify
  • Pay
  • Stats
  • Add support for keystores

Payment contract

  • Change acl to enumerable acl
  • Set role admin

Other

  • Signer with enclave
  • Update L2 example
  • TLS for Gateway
  • Move SDK to aggregation_mode directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions