-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CID mismatch with large files #1518
Comments
More easily, changing to |
Hi! I'm not too familiar with your code base, I took a look at this and found a couple things: TLDR: Fix (PR 2532): Details: If we use more bytes, the expected CAR instance (2000098) is smaller than the actual one (2000283) The test helper's By using the UnixFS module's Hopefully, this is helpful! |
I've noticed that the CID we pre-calculate for a file and one after it's uploaded to your service can be different.
Then I was able to reproduce the exact same mismatch(
expected
value was what we pre-calculated,actual
was the one after upload) with one of your test cases.Most likely, it depends on the file size. As far as we've checked, the mismatch is produced when the size is > 1.9mb or so.
The uploads a file to the service test in the
upload-client
package fails by changing as follows.I've confirmed that the test passes with a 400kb file.
The text was updated successfully, but these errors were encountered: