Cast no longer correctly returns signature if name with uint
(no bit size annotation) used
#6195
Closed
2 tasks done
Labels
T-bug
Type: bug
Component
Cast
Have you ensured that all of these are up to date?
What version of Foundry are you on?
cast 0.2.0 (34f684d 2023-11-01T22:17:43.258061708Z)
What command(s) is the bug in?
cast sig
Operating System
Linux
Describe the bug
Previously cast would correctly give the same result if you requested the selector for with an input like
transfer(address, uint256)
andtransfer(address, uint)
howevercast
has begun interpretinguint
literally, returning different (incorrect) selectors for the two:The text was updated successfully, but these errors were encountered: