This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
Assumptions about init-docs hashes #365
Closed

Description
I can't quite pin down what the issue is, but I think it's something about the assumptions js-ipfs-api makes about the init-docs hashes. My observations:
- I updated the init-docs in go-ipfs, and the js-ipfs build is failing. [1] It looks like only the
.refs
tests fail, while other tests seem to add the init-docs themselves and use the hash resulting from that. - The whole
npm test
run works fine locally. Does js-ipfs-api use the go-ipfs from$PATH
? Does it generate ephemeral fs-repos? I do have the new init-docs in my~/.ipfs
fs-repo, and the tests might use that fs-repo in one spot and succeed because of that?
I don't have a good idea but it's blocking ipfs/kubo#2997 which is a trivial PR in itself but turned into a yak shaving.