When i add a string or a json object that is larger than 4096 characters and then try to retrieve it, the retrieved string is cut off at 4096 characters.
Has anything changed regarding the max size of a string or json object that can be stored on ipfs?
This used to work for me in the past, but not anymore. I did recently upgrade to the new ipfshttpclient for python 3.
You should be able to add arbitrarily large objects split into DAG structures, but I thought there were limits on the size of each individual DAG block. I think that DAG nodes were limited to around 2MB each, but that may not be the latest. Ideally, it would make sense to use APIs that automatically take care of chunking and creating appropriate DAGs.
Does this look related to this open issue with for ipfshttpclient? It seems similar to me.
It looks like the py-ipfs-http-client only supports go-ipfs versions up to 0.4.19 (with newer versions having “compatiblity problems” [sic]). So, if you’re using the latest version (latest is 0.4.22) I wonder if this could be one of the compatibility problems.