diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-08-14 23:38:59 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-08-14 23:38:59 +0800 |
commit | 3136a1cc386b5b0dbc07eff49580c72759bf471e (patch) | |
tree | 3d6dc23b4b7aa4c935ecdeb01da13168a3cb54d2 /src/GeneralStateTestsFiller | |
parent | edf35d7c5f53b2f70335eb253527aa8c3790c050 (diff) | |
download | tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.gz tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.bz2 tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.lz tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.xz tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.tar.zst tangerine-tests-3136a1cc386b5b0dbc07eff49580c72759bf471e.zip |
Fix the modexpFiller about large base length and large exp length
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json | 8 |
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" : [ |