Based on the given README
, bio should be shorter than 200 characters not shorter than or equal to 200 characters. But the check in mint
function is incorrect. Instead of bytes(_bio).length >= 200
it is bytes(_bio).length > 200
.
Changing this will also save gas from 705 to 699 in mint
function
Change the if statement like below
if (bytes(_bio).length == 0 || bytes(_bio).length >= 200) revert InvalidBioLength(bytes(_bio).length);