Commit 3fe20d8
authored
test: add validation for token decimals (#1950)
Add a new test case to validate that all tokens in the list have proper decimal values.
This ensures that:
- decimals are numbers
- decimals are non-negative
- decimals do not exceed 18 (standard ERC20 maximum)
This validation helps prevent issues with token display and calculations in the Uniswap interface.1 parent 1a4cecb commit 3fe20d8
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments