quadratic-funding / mpc-phase2-suite

The MPC suite of tools for conducting zkSNARK Phase 2 Trusted Setup ceremonies
MIT License
16 stars 6 forks source link

Prepare `actions` to be a core feature agnostic package #299

Closed 0xjei closed 1 year ago

0xjei commented 1 year ago

Description

This issue is related to a technical debt from the previous iteration performed to separate the phase2cli and actions packages in a way that makes core functionality shared between the packages and reusable to build interfaces/clients.

This part is also critical to facilitate and complete testing (e2e and unit).

This issue is focused on eliminating code repetitions, improve some methods making them agnostic (the ones already separated), libs specialization and separation will be improved, custom types and environment variables will be commented and documented, and error handling will be improved in accordance with the new guidelines.

_This work will be critical for the subsequent optimization part of the CLI and Cloud Functions commands in the backend.__

Note that

Todo

Affected issues