Closed amidmm closed 4 months ago
the code formatter (forge fmt
) automatically change uint into uint256.
I don't want to constantly fix this so I will let the formatter do it's thing and leave a comment saying "uint is alias for uint256"
I don't know if it would be confusing in the tutorial or not, but you can use // forgefmt: disable-next-line
to prevent the automatic change.
There are cases in
Primitives.sol
the comment refers touint
andint
, however, in codeuint256
andint256
has been used instead.