Missing abi.encodePacked is causing the following warnings.
bytes32 prefixedHash = keccak256(prefix, message);
^------------------------^contracts/LinniaRecords.sol:255:8: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
return keccak256(dataHash, records[dataHash].metadataHash);
^-------------------------------------------------^
contracts/LinniaRecords.sol:283:24: Warning: This function only accepts a single "bytes" argument. Please use "abi.encodePacked(...)" or a similar function to encode the data.
bytes32 metadataHash = keccak256(metadata);
^-----------------^
contracts/LinniaRecords.sol:283:24: Warning: The provided argument of type string memory is not implicitly convertible to expected type bytes memory.
bytes32 metadataHash = keccak256(metadata);
^-----------------^
Missing abi.encodePacked is causing the following warnings.