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

Removed memmap from verifier and contributor commands #436

Open
wants to merge 1 commit into
base: phase2
Choose a base branch
from

Conversation

ibaryshnikov
Copy link

  • removed memmap usage from contribute, new_challenge and transform_pok_and_correctness functions of phase1-cli
  • updated the usage in setup1-contributor and setup1-verifier
  • removed panic-control dependency from contributor. I'd like to propose failfast approach here

With this change verifier and contributor will be processing files in memory, avoiding usage of file system. It aims to reduce the amount of errors and improve the stability of the setup.

The PR is ready for review, but don't merge it yet. I'd like to write a few tests to ensure that the behaviour of changed functions is identical to the old one.

Copy link

@niklaslong niklaslong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a desirable change at first glance 👍

@ibaryshnikov what's the status on those tests? Some of the existing ones don't seem to compile either?

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