aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stPreCompiledContracts
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-10-11 16:40:27 +0800
committerGitHub <noreply@github.com>2017-10-11 16:40:27 +0800
commita96ccc135d6138e67cb6768ee166f3ac99ad3663 (patch)
treef26e6fbf5d272733db0ceeda5a306e07f1dfb91a /src/GeneralStateTestsFiller/stPreCompiledContracts
parentb6011c3fb567d7178915574de0a8d4b5331fe725 (diff)
parentf43c911981094f7b296e9426b88ef99613950cbe (diff)
downloadtangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar.gz
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar.bz2
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar.lz
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar.xz
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.tar.zst
tangerine-tests-a96ccc135d6138e67cb6768ee166f3ac99ad3663.zip
Merge pull request #349 from ethereum/case_10_10_2017
Add an interesting inpu to modexp
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts')
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json6
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"