-
Notifications
You must be signed in to change notification settings - Fork 79
Description
Prerequisites
Please answer the following question for yourself before submitting a feature request.
- I checked to make sure that this request has not already been filed
Motivation
When we run the setup command with a config.json template, we parse the data into a variable: https://github.com/privacy-scaling-explorations/p0tion/blob/085b7949650e46d8d23b09366e2fc5afc2d08dbe/packages/phase2cli/src/commands/setup.ts#L510
We need to make sure this parsed data corresponds to the type SetupCeremonyData
:
https://github.com/privacy-scaling-explorations/p0tion/blob/085b7949650e46d8d23b09366e2fc5afc2d08dbe/packages/actions/src/types/index.ts#L616
Specifically check that the circuits verification vm configuration is setup properly.
I think the last step of parseCeremonyFile
function should be checking this template data with the interface https://github.com/privacy-scaling-explorations/p0tion/blob/085b7949650e46d8d23b09366e2fc5afc2d08dbe/packages/actions/src/helpers/utils.ts#L560
Make sure that you have reviewed p0tion's Contributor Guidelines