feat(synapse-core): add SP-to-SP piece pull functionality#544
Open
feat(synapse-core): add SP-to-SP piece pull functionality#544
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
synapse-dev | 2f8c0ca | Commit Preview URL Branch Preview URL |
Feb 05 2026, 12:26 PM |
5 tasks
c2011f6 to
7af205b
Compare
Collaborator
Author
|
Added a temporary utils/example-sp-fetch-e2e.js testing file to test the sp-sp fetch flow. It stores pieces with one SP, confirms they are parked, then asks the second SP to fetch from the first and confirms they are parked. It's working currently on devnet using FilOzone/foc-devnet#34 👌. |
ac3552a to
3c5cdb9
Compare
0a20df0 to
a231d32
Compare
3c5cdb9 to
429c2e3
Compare
Collaborator
Author
|
Rebased on top of the latest @hugomrdias stack #571 |
Base automatically changed from
hugomrdias/session-key
to
hugomrdias/payments
January 30, 2026 12:03
429c2e3 to
8ec5942
Compare
a5f8971 to
d75fb75
Compare
8ec5942 to
b6d3479
Compare
rvagg
commented
Feb 4, 2026
b221f97 to
ff14a1d
Compare
5 tasks
ff14a1d to
13ed974
Compare
Add low-level Pull module for initiating piece pulls from external storage providers to the local SP via Curio's POST /pdp/piece/pull endpoint. Features: - fetchPieces: Initiate pull requests with EIP-712 signed authorization - waitForFetchStatus: Poll until completion with status callbacks - Support for both existing data sets (signAddPieces) and new data sets (signCreateDataSetAndAddPieces) - Configurable timeout and abort signal support The pull endpoint is idempotent - repeated calls with the same extraData return status updates rather than creating duplicates.
13ed974 to
2d1a65e
Compare
Collaborator
Author
|
latest fixup in here adds the ability to supply a pre-built |
2d1a65e to
caebe09
Compare
Collaborator
Author
|
And another fix, I realised I still had a ton of "fetch" in here. Now all "pull". |
caebe09 to
2f8c0ca
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ref: filecoin-project/curio#864
Part of #494