You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like from the comment of Poll.verifyTallyResult()here, newResultsCommitment, newSpentVoiceCreditsCommitment, newPerVOSpentVoiceCreditsCommitment will be need to verify tally output data on chain.
Including the fields in the tally output file (tally.json) will save web application the work to calculate these values when submitting the tally data on chain for verification.
It looks like from the comment of
Poll.verifyTallyResult()
here, newResultsCommitment, newSpentVoiceCreditsCommitment, newPerVOSpentVoiceCreditsCommitment will be need to verify tally output data on chain.Including the fields in the tally output file (tally.json) will save web application the work to calculate these values when submitting the tally data on chain for verification.
The
genProof
command already calculates these values here (https://github.com/privacy-scaling-explorations/maci/blob/master/cli/ts/genProofs.ts#L549-L572). Just need to write them out to the tally file.Here's a sample
tally.json
generated from thegenProof
command.The text was updated successfully, but these errors were encountered: