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

`[ERROR] No ceremonies are opened to contributions` emitted every minutes #266

Open baumstern opened 1 year ago

baumstern commented 1 year ago

The Cloud Functions checkAndRemoveBlockingContributor constantly emit this error logs every minutes when there are no opened ceremonies. The other Cloud Functions issue an INFO level log for pretty much the same information. We should shift from ERROR to INFO level log for this as well.

0xjei commented 1 year ago

Partially addressed here #191

baumstern commented 1 year ago

Partially addressed here #191

Not sure but should this be considered an error? I wanted to address that it seems like not consistent with another functions where it emit log as a INFO level for same case:

https://github.com/quadratic-funding/mpc-phase2-suite/blob/dev/packages/backend/src/functions/ceremony.ts#L20

0xjei commented 1 year ago

Partially addressed here #191

Not sure but should this be considered an error? I wanted to address that it seems like not consistent with another functions where it emit log as a INFO level for same case:

https://github.com/quadratic-funding/mpc-phase2-suite/blob/dev/packages/backend/src/functions/ceremony.ts#L20

Sorry, I didn't realize you meant that! Okay, yes we should match the pattern used for other cloud functions. I have updated the description of the issue accordingly to this.