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

Integrate pdp updates -- nextProvingPeriod called after first add #347

Open
wants to merge 3 commits into
base: feat/pdp
Choose a base branch
from

Conversation

ZenGround0
Copy link
Collaborator

This is an attempt to bring curio up to date with the latest changes here: FilOzone/pdp#86. The main difference is that now pdp add does not register a challenge generation, that must happen explicitly through a call to nextprovingperiod.

The approach here is

  1. Create a new harmony task just for initializing proof sets with first call to nextProvingPeriod
  2. Differentiate these jobs from regular nextProvingPeriod jobs by checking that prove_at_epoch IS NULL
  3. initProvingPeriod jobs also guarded on new proofset schema column boolean flag init_ready being set to true, which happens on the first add

@ZenGround0 ZenGround0 requested a review from magik6k December 17, 2024 15:19
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.

1 participant