Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
slither/tests/expected_json/too_many_digits.too-many-di...

19 lines
1.2 KiB

INFO:Detectors:
C.f (tests/too_many_digits.sol#9-15) uses literals with too many digits:
- x1 = 0x000001
- x2 = 0x0000000000001
- x3 = 1000000000000000000
- x4 = 100000
Use the proper denomination (ether-unit, time-unit,or the scientific notation
C.h (tests/too_many_digits.sol#20-24) uses literals with too many digits:
- x2 = 100000
Use the proper denomination (ether-unit, time-unit,or the scientific notation
C.i (tests/too_many_digits.sol#29-33) uses literals with too many digits:
- x2 = 1000000000000 + 10000000000000 + 100000000000000 + 1000000000000000 + 10000000000000000
- x2 = 1000000000000 + 10000000000000 + 100000000000000 + 1000000000000000 + 10000000000000000
- x2 = 1000000000000 + 10000000000000 + 100000000000000 + 1000000000000000 + 10000000000000000
- x2 = 1000000000000 + 10000000000000 + 100000000000000 + 1000000000000000 + 10000000000000000
- x2 = 1000000000000 + 10000000000000 + 100000000000000 + 1000000000000000 + 10000000000000000
Use the proper denomination (ether-unit, time-unit,or the scientific notation
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#too-many-digits
INFO:Slither:tests/too_many_digits.sol analyzed (1 contracts), 3 result(s) found