-
Notifications
You must be signed in to change notification settings - Fork 36
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
Git makes explorer unhappy #9
Comments
Looks like an error is getting smothered from |
|
We get the same error from the cid util, http://cid-utils.ipfs.team/#8mWaJHXieAVxxLagBpdaNWFEBKVWmMiE which isn't suprising as they both use |
@whyrusleeping i got to sleeps now, if you have a moment to adjudicate over whether js-multihash is bugsy, or |
Ooh is it because I'm passing a raw git hash and asking it to be a cid, when it is not one. |
Oh right, it needs the 'z' prefix: |
@whyrusleeping IPLD Explorer shouldn't panic'n'freak out in that case, but can you confirm that this is a rogue block with a wonky link, rather than a legit arrangement of things that it should be rendering. |
@olizilla It does not appear to be a rogue block, if you look here: https://ipfs.io/api/v0/dag/get?arg=QmViWi5az9iiPzESM6ruHf84TcmHSAVQ2KQdNveoDH7eaY/refs/heads You can see the 'z' multibase prefix is correctly applied |
ruh roh. I shall go digging. |
@whyrusleeping js-ipld-dag-pb assumes that the link value in a dag-pb link will be a multihash, not a cid: https://github.com/ipld/js-ipld-dag-pb/blob/70b0cd53148fa26dc3e75fe250c0f1ad8161a59e/src/dag-link/index.js#L8-L23 |
I haven't tested it and I'm not super familiar with that code, but my guess is that's a problem |
Loading this: https://ipfs.io/ipfs/QmYJETQ15RAnKXoJxqpXzcvQ2DuQA35UHwJBTjTPCSs9Ky/#/explore/QmViWi5az9iiPzESM6ruHf84TcmHSAVQ2KQdNveoDH7eaY/refs/heads/master
(or traversing the graph to it from above) results in it getting pretty angry and not working (and spinning cpus)
The text was updated successfully, but these errors were encountered: