-
Notifications
You must be signed in to change notification settings - Fork 115
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
Spec vs Verify CAS file URI #927
Comments
@thehenrytsai @csuwildcat I added this issue to the agenda for today - hopefully you get a chance to look at it. |
see also ipfs/specs#247 |
We are currently hard coding to v0 here: https://github.com/transmute-industries/sidetree.js/blob/master/packages/cas/src/MockCas.ts#L70 |
During Sidetree weekly it was agreed that reference application will:
|
Fixed in implementation. Awaiting documentation to reflect it. |
@sandrask @isaacJChen Sandra, if the spec does not correctly reflect what Isaac modified in code, can you highlight the language that needs to change and do a PR, or specifically cite it here and I will? |
@csuwildcat Spec and the implementation now match, thank you |
Reference application is verifying CAS file URI against protocol hashing algorithm here:
sidetree/lib/core/versions/latest/InputValidator.ts
Line 54 in ed19992
There are two issues here:
https://cid.ipfs.io/#bafkreih6ot2yfqcerzp5l2qupc77it2vdmepfhszitmswnpdtk34m4ura4
Also, issue 2) requires changes to write() method in CAS interface to pass multihash algorithm/code.
The text was updated successfully, but these errors were encountered: