diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2017-11-25 15:10:29 +0800 |
---|---|---|
committer | Jared Wasinger <j-wasinger@hotmail.com> | 2017-11-25 15:10:29 +0800 |
commit | 3a843fab46a7b1f3791ee83e97bde48621cc4b27 (patch) | |
tree | 493eafa336e94cf80c5c0f59108b247a6f6d2702 /src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json | |
parent | 6df9b4ad039ff0043ca75579979f945598898eb3 (diff) | |
download | dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar.gz dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar.bz2 dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar.lz dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar.xz dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.tar.zst dexon-tests-3a843fab46a7b1f3791ee83e97bde48621cc4b27.zip |
add more modexp returndatasize test cases
Diffstat (limited to 'src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json | 44 |
1 files changed, 41 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json b/src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json index ae477b273..b93317970 100644 --- a/src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json +++ b/src/GeneralStateTestsFiller/stReturnDataTest/modexp_modsize0_returndatasizeFiller.json @@ -59,6 +59,40 @@ } } } + }, + { + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x00", + "0x03" : "0x64" + } + } + } + }, + { + "indexes" : { + "data" : 3, + "gas" : 0, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "1000000000000000000000000000000000000000" : { + "storage" : { + "0x01" : "0x01", + "0x02" : "0x00", + "0x03" : "0x100" + } + } + } } ], "pre" : { @@ -81,14 +115,18 @@ "transaction" : { "// data" : [ "modlength zero", - "modlength one" + "modlength one", + "modlength 100", + "modlength 256" ], "data" : [ "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000101", - "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001010101" + "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001010101", + "0x0000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000645442ddc2b70f66c1f6d2b296c0a875be7eddd0a80958cbc7425f1899ccf90511a5c318226e48ee23f130b44dc17a691ce66be5da18b85ed7943535b205aa125e9f59294a00f05155c23e97dac6b3a00b0c63c8411bf815fc183b420b4d9dc5f715040d5c60957f52d334b843197adec58c131c907cd96059fc5adce9dda351b5df3d666fcf3eb63c46851c1816e323f2119ebdf5ef35", + "0x000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100f536269e59acdb356459b59f1ea6acc924650f8f05dae101a3b463d33342dcc6265d1ba9465fd0f1106b3f03a4af0a0b553e8b6ba8682584ba19c3835430ff310904a717282064031bcf9185dd172dad65305ee0e61d0c638b0a0ef0f4e51653996020c2723faea116881e25fb3d554dbc51b180052c981fc79ca93567eb6ff0e619deeb2984ae3ca232523aa5bd21ea4f8caa12cb8cd90dbafb9bd6951dcaef0fc4a74d195f5341bc6c3d7217df82597b84c4e1bbef4f2ce8c32aedbd99430f4e1a59b886c4ceb9bf7a00a415c207f3a4ccf95d5483642f95a9b240806c508c29bb48de38c8e1229257d5d807229fb3708ad6ac619b133fd7c1fe3c375f90ce55689018465a8a3d7c08097d415c702e7f57fcd6de6ea55cca75c49b835c6c90172753948fbd5dee5a74a422e3169d0cf5665ffc9198dc7f3fa502da817f1c81af0843ef5bec2ca2e8f3e24a76ac7322dab5a5bda802b247f1cf5282936cd1cb115f40e71db8d62b58c7d6c0ae7c78888987c22ff6afae345ade859a9beb127d" ], "gasLimit" : [ - "100000000" + "1000000000" ], "gasPrice" : "1", "nonce" : "0", |