Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@nesitor
Copy link
Member

@nesitor nesitor commented Sep 25, 2025

Detected an issue getting IPFS file sizes for byte file types on the balance pre-check filter.

Self proofreading checklist

  • Is my code clear enough and well documented
  • Are my files well typed
  • New translations have been added or updated if new strings have been introduced in the frontend
  • Database migrations file are included
  • Are there enough tests
  • Documentation has been included (for new feature)

Changes

If ipfs dag get command doesn't return a Size field or return 0, use ipfs block stat command instead to get the bytes size.

How to test

Pin a bytes file type to IPFS and check the logs to see if the good file size is detected.

@nesitor nesitor self-assigned this Sep 25, 2025
@nesitor nesitor changed the title Solve IPFS get size method Cast IPFS byte size method Sep 25, 2025
@nesitor nesitor force-pushed the andres-fix-solve_ipfs_bytes_size_getter branch from 3b0a9e0 to f58dfef Compare October 2, 2025 12:24
@nesitor nesitor merged commit 3cf3fbc into main Oct 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants