You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A block put with sha2-512 returns an invalid CID. The returned CID starts with8. This is not a valid multicodec code!
POST http://localhost:5001/api/v0/block/put?mhtype=sha2-512
RSP {"Key":"8Vva8UXUZQVLNqYHCTqwxQg5m6ZrYXGaV731xAoefMjh6GmYbRVuFNadUKuZ8YFCDtx8qirW3BodmzcwG4z1Vg3Wmf","Size":5}
The text was updated successfully, but these errors were encountered:
It looks like ipfs is trying to return a CIDv0 with a SHA2-512 hash (invalid). In this case, IPFS can't actually guess the correct IPLD block format (it can with CIDv0 because there's only one) so this command should return an error. (well, really, this shouldn't care about CIDs at all but... https://github.com/ipfs/go-ipfs/issues/4189)
The correct command would have a format=$CODEC parameter.
Version information: ipfs version 0.4.13
Type: Bug
Severity: High
Description:
A block put with sha2-512 returns an invalid CID. The returned CID starts with
8
. This is not a valid multicodec code!The text was updated successfully, but these errors were encountered: