Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save each proof in its own file, rather than one big proofs.json #326

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

weijiekoh
Copy link
Contributor

@weijiekoh weijiekoh commented Dec 8, 2021

When there are many messages, there will be many batches of proofs to store. Previously, MACI saved them in a single JSON file, but clrfund round 8 taught us that if this file gets too large, we won't be able to easily parse it due to the string length limit in Nodejs.

As such, this PR makes genProofs save each proof in its own file in a user-specified proofs directory.

Addresses #316

@weijiekoh weijiekoh requested a review from corydickson December 8, 2021 02:50
rm -rf proofs and tally file in suites

Co-authored-by: corydickson <[email protected]>
@corydickson corydickson merged commit f8ea474 into v1 Dec 10, 2021
@daodesigner daodesigner deleted the feat/proofs-in-individual-files branch June 7, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants