Open pde-rent opened 7 months ago
Recommendation: We advise the code to cast the uint256 representation of the bytes32 variable to a uint160 variable safely (i.e. via AsCast::toUint160), ensuring that there are no dirty bits in the representation cast.
We advise the code to cast the uint256 representation of the bytes32 variable to a uint160 variable safely (i.e. via AsCast::toUint160), ensuring that there are no dirty bits in the representation cast.
uint256
bytes32
uint160
AsCast::toUint160
Acknowledged - we'll fix this
Acknowledged - we'll fix this