diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-10-10 19:28:10 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-10-10 19:28:10 +0800 |
commit | 0e9ef94dee4bda1359fde92c42329304b67d19d2 (patch) | |
tree | df183e48ff36cf0c3f7475b0430a01a30dc57745 /src/GeneralStateTestsFiller/stPreCompiledContracts | |
parent | b6aa0947a8e20f4140dd2647882791be6ceb2ac5 (diff) | |
download | tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar.gz tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar.bz2 tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar.lz tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar.xz tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.tar.zst tangerine-tests-0e9ef94dee4bda1359fde92c42329304b67d19d2.zip |
Add an interesting input to modexp found by fuzzing
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json index 4c6fb07c1..f4a227da6 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json @@ -280,7 +280,8 @@ "28 - base length 4TiB", "29 - exp length 4TiB; returns 0 because mod is zero", "30 - base and mod have zero-length. exp's length is 2^255. Since mod is zero, the result should be zero.", - "31,32,33,34,35 - something that should result in 1." + "31,32,33,34,35 - something that should result in 1.", + "36 - the input found on 10 Oct. 2017 that overflows the gas calculation" ], "data" : [ "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", @@ -318,7 +319,8 @@ "0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000cd935b43e42204fcbfb734a6e27735e8e90204fcc1fd2727bb040f9eecb", "0x0000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000060846813a8d2d451387340fa0597c6545ae63", "0x0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000d02534f82b1013f20d9c7d18d62cd95674d2e013f20d9c7d18d62cd95674d2f", -"0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d" +"0x0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000120785e45de3d6be050ba3c4d33ff0bb2d010ace3b1dfe9c49f4c7a8075102fa19a86c010ace3b1dfe9c49f4c7a8075102fa19a86d", +"0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" ], "gasLimit" : [ "100000000", "90000", "110000", "200000" |