This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
dag.put does not work in the js ipfs daemon with cbor-style input, even though the same request works with go-ipfs #2825
Labels
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
status/ready
Ready to be worked
I'm creating this issue here for a
ipfs-http-client
problem since this repo is turning into a monorepo.Error when doing this:
That's similar to what is done in the
dag.put
tests, so it should be working.This error occurs in a browser env, for instance when using
js-ipfs-http-client
from a create-react-app appFound the root of the issue by hitting a local js-ipfs daemon in debug mode
DEBUG=ipfs* js-ipfs-local daemon
wherejs-ipfs-local
is my zsh alias for the local js-ipfs version.The problem is in
borc
viajs-ipld-dag-cbor
.https://github.com/dignifiedquire/borc/blob/b6bae8b0bcde7c3976b0f0f0957208095c392a36/src/decoder.js#L547
On the browser side, it looks like this:
The text was updated successfully, but these errors were encountered: