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

Updates dependencies and tests for Synthetic PoRep support #1331

Closed

Conversation

cryptonemo
Copy link
Contributor

@cryptonemo cryptonemo commented Jul 7, 2023

Unfortunately, I had a similar version working, but hardcoded the dependencies everywhere (very invasive) and trying to resolve the issues by using the patch mechanism at the top-level is not working. Any eyes/assistance on this is appreciated. tl;dr -- this is broken due to the deps/build system.

EDIT: Not yet resolved, sorry was on the wrong branch

Another oddity is that since SyntheticPoRep is a new proof type, but is optional, it wasn't clear how to handle in the tests. In the future, it looks like maybe they should be re-factored to take the proof type as an arg so that we can iterate through several(?) I'm not familiar enough with this repo to know if that's a valid test/use-case.

@scotthconner
Copy link

My intuition is if its optional, then we need to ensure we have defined behavior for everyplace it could exist, under all the combinations. In this way, we'd want to ensure we have the "Branch coverage". Dependency injecting a proof type to the existing tests seems like an intuitive way to orchestrate multiple types of tests easily.

Aayush, Shrenuj, or Mikers should be able to glean more information as to how and where we should do that.

@cryptonemo cryptonemo requested a review from Kubuxu July 7, 2023 15:17
@cryptonemo
Copy link
Contributor Author

Nice -- the fix here is to rebase on master now that #1330 was merged ...

@cryptonemo
Copy link
Contributor Author

Hrm. How does one get the coverage test to not run out of disk space?! 😅

@jennijuju
Copy link
Member

jennijuju commented Jul 7, 2023

Hrm. How does one get the coverage test to not run out of disk space?! 😅

Let’s see re-running works lolol

@cryptonemo
Copy link
Contributor Author

Hrm. How does one get the coverage test to not run out of disk space?! sweat_smile

Let’s see re-running works lolol

Tried it already 😓

@cryptonemo
Copy link
Contributor Author

@cryptonemo
Copy link
Contributor Author

Closing due to #1335

@cryptonemo cryptonemo closed this Jul 12, 2023
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.

3 participants