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
So, by default, uploads return a v0 CID. The only way you can change this is via the API, not in the web app. I apologize for the inconvenience.
You can change them with pinataOptions, as outlined here
Double file extension
What’s happening here is actually expected behavior based on the way the file name is saved. When you name your file as "file.json" or "image.png" during upload, Pinata saves it exactly as is, unless you change it upon upload.
When you go to download the file, the system will keep that original file name, but since your local system recognizes the file type, it adds the extension again automatically. So, "file.json" downloads as "file.json.json" because it's applying the .json extension to the full file name "file.json."
To avoid this, you can try naming your files without the extension in the actual name, like "file" or "image" instead. This way, when you download it, only one extension will be added.
@royscheeren make sure to check if Pinata allows to specifiy the parameters for the CID v1 calculation in order to replicate it with the local function. Compare local CID generation with return value from Pinata as sanity check.
reminder to check the results of #334
The text was updated successfully, but these errors were encountered: