The node prefetching mechanism has been abstracted away from the DAG reader in go-unixfs into the NavigableIPLDNode here, so the PR https://github.com/ipfs/go-unixfs/pull/12 which employs the Walker (that relies on NavigableIPLDNode) had to remove the related tests that acted directly on the internal NodePromise structure,
Those tests should be recreated here (possibly without involving the DAG reader now, just testing the FetchChild and related methods of NavigableIPLDNode to actually create the NodePromises following the spirit of the original test).
Hi, @schomatis . I am interested in this work and reading the TestSeekAndReadLargeandTestReadAndCancel` in dagreader_test.go right now. Will come back here if there is some questions.
The node prefetching mechanism has been abstracted away from the DAG reader in
go-unixfs
into theNavigableIPLDNode
here, so the PR https://github.com/ipfs/go-unixfs/pull/12 which employs theWalker
(that relies onNavigableIPLDNode
) had to remove the related tests that acted directly on the internalNodePromise
structure,https://github.com/ipfs/go-unixfs/pull/12/files#diff-5a645da404e1845b770b90d1c81e71c6
Those tests should be recreated here (possibly without involving the DAG reader now, just testing the
FetchChild
and related methods ofNavigableIPLDNode
to actually create theNodePromise
s following the spirit of the original test).