We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b573408 + 499e394 commit 3797538Copy full SHA for 3797538
lib/Echidna/ABI.hs
@@ -55,7 +55,7 @@ mkValidAbiUInt i x = if x < bit i then Just $ AbiUInt i x else Nothing
55
56
makeNumAbiValues :: Integer -> [AbiValue]
57
makeNumAbiValues i =
58
- let l f = f <$> commonTypeSizes <*> fmap fromIntegral ([i-1..i+1] ++ [(-i)-1 .. (-i)+1])
+ let l f = f <$> commonTypeSizes <*> fmap fromIntegral ([i-3..i+3] ++ [(-i)-3 .. (-i)+3])
59
in catMaybes (l mkValidAbiInt ++ l mkValidAbiUInt)
60
61
makeArrayAbiValues :: ByteString -> [AbiValue]
0 commit comments