Skip to content

Feat: #302 [CONTRACT] Metadata hash standardization (CID strategy) + …#362

Merged
Cedarich merged 2 commits into
StayLitCodes:mainfrom
Olamidepy:main
Jun 2, 2026
Merged

Feat: #302 [CONTRACT] Metadata hash standardization (CID strategy) + …#362
Cedarich merged 2 commits into
StayLitCodes:mainfrom
Olamidepy:main

Conversation

@Olamidepy
Copy link
Copy Markdown
Contributor

@Olamidepy Olamidepy commented Jun 1, 2026

Closes #302


Resolved metadata_hash interop by standardizing it as raw 32-byte SHA-256 digest bytes on-chain, represented as lowercase 64-char hex off-chain. Web/backend now normalize CIDv0/CIDv1 or raw hex deterministically and reject malformed or all-zero hashes before escrow creation.

@Olamidepy
Copy link
Copy Markdown
Contributor Author

@Cedarich Kindly merge

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@Olamidepy Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Cedarich Cedarich merged commit c76fc32 into StayLitCodes:main Jun 2, 2026
3 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.

[CONTRACT] Metadata hash standardization (CID strategy) + validation rules

2 participants