- In DStorage.sol: modifier verifiesHash(string memory _fileHash) to verify that file hash is 32 bytes & base58
- StringUtils.sol: getCharsAt() retrieve a char in a string
- tests:
- getCharsAt() returns correct chars
- modifier verifiesHash(string memory _fileHash) works
This repository was archived by the owner on Mar 28, 2021. It is now read-only.
Theo6890/dstorage-from-Dapp-University
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
