When a SablierV2MerkleLockup is deployed, one of the things in the constructor that is set is NAME, which is of data type bytes32:
The name is abi.encodePackedand then casted tobytes32`.
This is a problem, as when we call name() the code is attempting to cast a bytes32 to string, this is an issue, because bytes32 is of fixed size, meaning that there will be a lot of 0's that will be incorrectly decoded.
Example:
All the \u0000 are 0's that are cast to string, which doesn't work right.
Wrong representational string format.
Manual Review
Change the data type of NAME from bytes32 to bytes, as bytes isn't fixed size and the encoding/decoding will be correct.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.