Skip to content

Conversation

@2color
Copy link
Contributor

@2color 2color commented Mar 26, 2025

Background

Users often find it confusing that the same data results in a different UnixFS DAG and by extension a different CID. This has been discussed at length in the following forums thread.

Our current plan is to formalise these UnixFS settings into a profile that can be used across implementations to establish CID equivalency given the same input data.

What's in this PR

This PR, updates the defaults used by ipfs-car to to match the Storacha client, which is used by the w3up CLI by explicitly setting the chunk size and the dag width.

Note that these are also the defaults used by @helia/unixfs

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alanshaw alanshaw merged commit 13553bd into storacha:main Mar 26, 2025
8 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.

2 participants