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

Clean bucket when `setupCeremony` cloud function fails #321

Open 0xjei opened 1 year ago

0xjei commented 1 year ago

When the Cloud function setupCeremony() is called at the end of setup, it may fail due to a lack of permissions or incorrect/missing data. Consequently, to preserve the integrity of the whole system and avoid occupying the AWS S3 space with unuseful buckets, we should clean the bucket from all artifacts and get rid of it.