diff options
author | winsvega <winsvega@mail.ru> | 2017-08-15 01:32:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 01:32:21 +0800 |
commit | f0b04c4a06277284dac6bf9d998b9674677b8128 (patch) | |
tree | 3d6dc23b4b7aa4c935ecdeb01da13168a3cb54d2 /src | |
parent | edf35d7c5f53b2f70335eb253527aa8c3790c050 (diff) | |
parent | 3136a1cc386b5b0dbc07eff49580c72759bf471e (diff) | |
download | dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar.gz dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar.bz2 dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar.lz dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar.xz dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.tar.zst dexon-tests-f0b04c4a06277284dac6bf9d998b9674677b8128.zip |
Merge pull request #260 from ethereum/bigger-memory-alloc
Fix the modexpFiller about large base length and large exp length
Diffstat (limited to 'src')
-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" : [ |