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
### TL;DR
Fixed Solidity type checking by using string prefix matching for integer types.
### What changed?
Replaced explicit mapping of integer types (uint8, int16, etc.) with a prefix check for "uint" and "int". Non-integer types like address, bool, and string remain in the map.
### How to test?
1. Test type checking with various integer types (uint8, int256, etc.)
2. Verify that non-integer types (address, bool, string) are still correctly identified
3. Ensure negative cases (non-types) return false
### Why make this change?
The previous implementation listed every possible integer type explicitly, which was verbose and harder to maintain. Uints and ints can be in 8 byte increments.
0 commit comments