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

fix: unsealed sector for synthetic PoRep #295

Merged
merged 2 commits into from
Jan 13, 2025
Merged

fix: unsealed sector for synthetic PoRep #295

merged 2 commits into from
Jan 13, 2025

Conversation

LexLuthr
Copy link
Contributor

@LexLuthr LexLuthr commented Oct 23, 2024

This PR makes the following changes:

  1. Generating Unsealed is now a separate function called GenerateUnsealedSector()
  2. This function is called by Synthetic Task if required and generating the unsealed sector before removing the cache.
  3. Finalize calls generating unseal only if proof types is not synthetic.
  4. Acquiring sector from Storage is still done by the primary function in each task as passed to GenerateUnsealedSector().
  • Test in calibnet

@LexLuthr LexLuthr requested review from magik6k and snadrus October 23, 2024 13:01
@LexLuthr LexLuthr requested a review from magik6k January 13, 2025 09:27
lib/ffi/sdr_funcs.go Outdated Show resolved Hide resolved
@LexLuthr LexLuthr merged commit a30f976 into main Jan 13, 2025
29 checks passed
@LexLuthr LexLuthr deleted the fix/synthetic branch January 13, 2025 10:04
LexLuthr added a commit that referenced this pull request Jan 22, 2025
* fix unsealed sector for synthetic PoRep

* fix nit
@phapawit-hir
Copy link

Hi there,

it works.

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