This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Using jsipfs pin add #1953
Labels
exp/expert
Having worked on the specific codebase is important
kind/bug
A bug in existing code (including security flaws)
kind/resolved-in-helia
P1
High: Likely tackled by core team if no one steps up
status/ready
Ready to be worked
0.35.0-rc.1
MacOS Sierra 10.12.6
Pin( pin add )
Type: Bug
Severity: Medium
Description:
I have been trying to pin a block's cid by running
jsipfs pin add QmZjTnYw2TFhn9Nn7tjmPSoTBoY7YRkwPzwSrSbabY24Kp
in the command line and I have also tried doing it in the the code that looks like thisipfs.pin.add(cid, { recursive:true })
where the CID is a normal CID like this
I have also tried:
However, every-time I try one of these approaches I get this error:
And Im not sure why this is happening. When you look at the Go code you can see that when pinning a block you simply are passing in the CID: https://github.com/ipfs/go-ipfs/pull/5969/files
Steps to reproduce the error:
or in the command line run:
jsipfs pin add
any CID created by a blockThe text was updated successfully, but these errors were encountered: