-
Notifications
You must be signed in to change notification settings - Fork 22
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/subselector retrieval #12
Conversation
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.
Looks fine to me, but i dont know the selectors stuff very well. Did you manage to test this against a miner @ribasushi ?
@whyrusleeping unfortunately not end-to-end: I just can't get filc to work in general 98% of the time 😿 The code is solid because I have this implemented: https://github.com/filecoin-project/lotus/blob/0444435589d0c6817072278e222346829ed637a4/itests/deals_partial_retrieval_test.go#L25-L113 |
@elijaharita think you can test the steps described here? perhaps you'll have more luck... |
41e426e
to
481c888
Compare
Foce-pushed to subsume what is already merged: the diff is now even smaller |
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.
Tested, seems to be working correctly! Still experiencing retrieval issues as usual, but that is not under our control. Looks good :)
@rvagg you raised a number of concerns over at filecoin-project/lotus#6393 (comment) Do you have objections to merging things as-is in this repo? If yes - could you outline which points you see as "must fix" so we can move things along at least here? |
No objections from me, just a couple of notes that may be taken on board or discarded:
I'll try and get this path-to-selector stuff you did into go-ipld-prime and maybe we can come up with mechanisms to handle the same issue here and in lotus when that's done. I think Eric's OK with it being in there along with other utilities to do similar classes of things. |
👍 if that works, then that's a tidy neat solution |
This is an amalgam of filecoin-project/lotus#6393 and the abandoned application-research/estuary#5, providing a fully featured selector retrieval to
filc
Given a random cid status like this, one should be able to: