Skip to content
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

change _cid to _hash #95

Open
waynewyang opened this issue Aug 30, 2023 · 0 comments
Open

change _cid to _hash #95

waynewyang opened this issue Aug 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@waynewyang
Copy link
Member

We actually store the hash values of leaf nodes, not CIDs. So, for function parameters similar to the following, '_cid' should be changed to '_hash'.
https://github.com/dataswap/core/blob/main/src/v0.8/interfaces/core/ICarstore.sol#L48

@waynewyang waynewyang added the bug Something isn't working label Aug 30, 2023
@lovel8 lovel8 self-assigned this Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants