Create a custom script to validate the correct execution of the setup command. The assumption is that we only have valid circuits (we are not going to check if the circuit is doing the right thing).
Preconditions
The ceremony setup has been completed and the ceremony UID has been displayed in the CLI for the coordinator (#59).
Check bucket and collection documents.
The script should run on a local machine (no servers/cloud).
Checks of a document's information cannot reproduce the input of the setup (e.g., I cannot be sure of a value in the description field being random) but must check that, for example, the end date of a ceremony is greater than the start date, that the prefix was generated from the UID, naming conventions respected between artifacts in the bucket and in the collection, and so on. These checks are going to be indicated as 'Collection Data Checks' below.
Steps
Given the ceremony identifier:
[ ] Verify the ceremony bucket.
[ ] Check that the paths names are correct.
[ ] Download Powers of Tau file and for each file:
[ ] Hash calculation
[ ] Comparing the hash with the source (Hermez PPoT ceremony download + hash computation).
PROPOSAL
Goal
Create a custom script to validate the correct execution of the setup command. The assumption is that we only have valid circuits (we are not going to check if the circuit is doing the right thing).
Preconditions
Steps
Given the ceremony identifier: