I couldnt figure out a way to pass empty bytes to a solidity function on remix. Here is my function
function checkEmptyBytes(bytes calldata _data) external pure returns (string memory){
if (_data.length > 0){
return "NOT_ZERO";
}
return "ZER0";
}
On remix, I have to pass _data such that it should return "ZERO"
