-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(polka-storage-provider): submit PoSt on the pipeline #617
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
th7nder
force-pushed
the
feat/596/post-pipeline
branch
from
November 29, 2024 11:48
e444fe9
to
b593cf8
Compare
th7nder
force-pushed
the
feat/596/post-pipeline
branch
from
December 2, 2024 22:37
31f7fd9
to
ed6258c
Compare
jmg-duarte
reviewed
Dec 3, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nits
th7nder
added
ready for review
Review is needed
and removed
ready for review
Review is needed
labels
Dec 3, 2024
th7nder
added
ready for review
Review is needed
and removed
ready for review
Review is needed
labels
Dec 3, 2024
th7nder
added
ready for review
Review is needed
and removed
ready for review
Review is needed
labels
Dec 3, 2024
jmg-duarte
reviewed
Dec 3, 2024
th7nder
added
ready for review
Review is needed
and removed
ready for review
Review is needed
labels
Dec 3, 2024
aidan46
reviewed
Dec 4, 2024
cernicc
previously approved these changes
Dec 4, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work 💪
th7nder
added
ready for review
Review is needed
and removed
ready for review
Review is needed
labels
Dec 4, 2024
cernicc
approved these changes
Dec 4, 2024
jmg-duarte
approved these changes
Dec 4, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Here it is.
PipelineMessage::SchedulePoSts
message, which spawns a message per deadline index.PipelineMessage::SubmitWindowedPoSt
message gets the deadline info, waits for its challenge block to be finalized, then generates the proof with fetching partitions and sectors from on-chain.From the 'code' perspective:
StorageProviderApi::deadline_info
andStorageProviderApi::deadline_state
. I separated them just because, not sure about this design decision, maybe will improve in the followup.StorageProviderClientExt::proving_period_info
.primitives
, likePartitionNumbers
and some constants.post-proof
key at the start-up, hence the docs changes as well.Oh yeah, I'd forget...
just testnet && examples/rpc_publish.sh examples/test-data-big.txt
and go make yourself some tea!The proofs just work.
Closes #596.
Checklist