@rosarioborgesi
š Comparing bytes32 and uint256
In Solidity, bytes32 and uint256 are both 32 bytes, so you can safely cast one into the other before comparing.
You can either:
⢠cast bytes32 ā uint256
⢠cast uint256 ā bytes32
Both work because
bytes32 = 256 bits
uint256 = 256 bits
They occupy the same EVM size.