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

Add direct data onboarding client allocation implementation #1629

Closed
LexLuthr opened this issue Aug 17, 2023 · 4 comments · Fixed by #1632
Closed

Add direct data onboarding client allocation implementation #1629

LexLuthr opened this issue Aug 17, 2023 · 4 comments · Fixed by #1632
Assignees

Comments

@LexLuthr
Copy link
Collaborator

LexLuthr commented Aug 17, 2023

Boost client should allow users to create allocation for verified deals. This functionality is independent of mode of the direct deal i.e. online or offline
The implementation will be based on https://github.com/filecoin-project/lotus/blob/00b8b1856cf8e72031b24952c9cfb89806038828/itests/verifreg_test.go#L426-L464

Expected functionality:

  1. Allocate for one pieceCID (Data) to one minerID
  2. Allocate for multiple pieceCIDs (Data) to one minerID
  3. Allocate one pieceCID (Data) to multiple miners

Wait for message to land on chain and then print new allocations (allow a flag to print all allocations)

  1. Add a command to query allocations

Expected commands

boost allocate [--wallet <walletID>] --miner <minerID1> <minerID2> --pieceCID <pieceCID1> <pieceCID2>
@jacobheun jacobheun added this to Boost Aug 17, 2023
@LexLuthr LexLuthr self-assigned this Aug 17, 2023
@LexLuthr
Copy link
Collaborator Author

LexLuthr commented Aug 17, 2023

Additional Tasks (After MVP):

  1. Take an input file for multiple pieceCIDs (Data) to multiple minerIDs
  2. Allow for JSON output

@dirkmc dirkmc moved this to In Progress in Boost Aug 18, 2023
@dirkmc dirkmc moved this from In Progress to Blocked in Boost Aug 21, 2023
@jennijuju
Copy link
Member

jennijuju commented Aug 22, 2023

why/How is this blocked?

@LexLuthr
Copy link
Collaborator Author

why/How is this blocked?

We are waiting for the new branch on Lotus side to sync the dependency. The new branch will also have filecoin-project/lotus#11183 so I can uncomment the verification code and use the gateway APIs instead of full node.

@jennijuju
Copy link
Member

https://filecoinproject.slack.com/archives/CP50PPW2X/p1692852646487879 - then you should be unblocked

(also please proactively raise anything thats blocking you from lotus side to us, so we can help 🔪 !

@jennijuju jennijuju linked a pull request Aug 24, 2023 that will close this issue
@dirkmc dirkmc moved this from Blocked to In Progress in Boost Aug 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in 🍉 nv21 - FilDev Track Board Aug 28, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Boost Aug 28, 2023
@rjan90 rjan90 moved this to Todo in nv22 - Track Board Jan 5, 2024
@rjan90 rjan90 moved this from Todo to Done in nv22 - Track Board Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants