dapphub / dpack

simple lockfile for your dapp's addresses and artifacts
46 stars 9 forks source link

IPFS CID versioning not defined, may lead to errors #37

Closed sambacha closed 2 years ago

sambacha commented 2 years ago

We want to ensure that the CID is v1 and not v0.

This is desired as CID v0s appear to be incompatible with IPFS subdomains, among other issues.

Currently there is no explicit version used for CID that I could find.

reference, see docs.ipfs.io/concepts/content-addressing/#identifier-formats

nmushegian commented 2 years ago

latest will now warn if it sees v0 cid that it will later be an error. will emit v1 CIDs only