aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-08-14 23:38:59 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-08-14 23:38:59 +0800
commit3136a1cc386b5b0dbc07eff49580c72759bf471e (patch)
tree3d6dc23b4b7aa4c935ecdeb01da13168a3cb54d2 /src
parentedf35d7c5f53b2f70335eb253527aa8c3790c050 (diff)
downloaddexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.gz
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.bz2
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.lz
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.xz
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.zst
dexon-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.zip
Fix the modexpFiller about large base length and large exp length
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
index 1d7a4d02e..65ed0dab8 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json
@@ -197,8 +197,8 @@
"25 - Price calculation when baseLength > modLength",
"26 - bigint_expmod precompiled contract returns 1 for 0 ^ 0 mod 100",
"27 - 02 ** 03 % 06, but exp with 256 bytes of zero in front.",
- "28 - base length 2^64",
- "29 - exp length 2^64; returns 0 because mod is zero",
+ "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."
],
"data" : [
@@ -230,8 +230,8 @@
"0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010",
"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064",
"0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000010100000000000000000000000000000000000000000000000000000000000000020200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030006",
-"0x00000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000",
-"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000",
+"0x00000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000",
+"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000",
"0x000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
],
"gasLimit" : [