You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Solidity v.0.6.1 doc:
If a fixed-size bytes type is explicitly converted to a larger type, it is padded on the right, for example: bytes2 a = 0x1234; bytes4 b = bytes4(a); // b will be 0x12340000
In VeriSol, the value of b is exactly the same as the value of a.
The text was updated successfully, but these errors were encountered:
From Solidity v.0.6.1 doc:
If a fixed-size bytes type is explicitly converted to a larger type, it is padded on the right, for example:
bytes2 a = 0x1234;
bytes4 b = bytes4(a); // b will be 0x12340000
In VeriSol, the value of
b
is exactly the same as the value ofa
.The text was updated successfully, but these errors were encountered: