Skip to content

Conversation

virajbhartiya
Copy link
Contributor

  • Introduced createDataSetWithPieces method in PDPServer to allow creating a new data set with pieces in a single operation.
  • Added corresponding type CreateDataSetWithPiecesResponse for the new response structure.
  • Implemented uploadAndCreate method in StorageContext and StorageManager to streamline data upload and dataset creation.
  • Enhanced tests to cover scenarios for successful dataset creation with and without pieces, including validation for piece metadata and CID.

Ref filecoin-project/curio#678
Curio PR: filecoin-project/curio#687

…n and piece addition

- Introduced `createDataSetWithPieces` method in `PDPServer` to allow creating a new data set with pieces in a single operation.
- Added corresponding type `CreateDataSetWithPiecesResponse` for the new response structure.
- Implemented `uploadAndCreate` method in `StorageContext` and `StorageManager` to streamline data upload and dataset creation.
- Enhanced tests to cover scenarios for successful dataset creation with and without pieces, including validation for piece metadata and CID.
@github-project-automation github-project-automation bot moved this to 📌 Triage in FS Oct 8, 2025
@rvagg
Copy link
Collaborator

rvagg commented Oct 8, 2025

@virajbhartiya please see the notes I left in #264 about how this should go - it's not a new method, it replaces the current flow and has some subtleties to how it all works. You need to pay careful attention to how the pieces are moving in here and not just add new functionality.

@rjan90 rjan90 moved this from 📌 Triage to ⌨️ In Progress in FS Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ⌨️ In Progress

Development

Successfully merging this pull request may close these issues.

2 participants