diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2017-12-15 05:29:24 +0800 |
---|---|---|
committer | Jared Wasinger <j-wasinger@hotmail.com> | 2017-12-15 05:29:24 +0800 |
commit | 148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f (patch) | |
tree | f9d45541709309810f84ffcc968428dd08cb6cbc /GeneralStateTests | |
parent | f36743f209ff1cf3187e3f1ba19fbda9ff5e94a0 (diff) | |
download | dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.gz dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.bz2 dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.lz dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.xz dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.tar.zst dexon-tests-148e70dac88e60c6c6afaa0c2bd60a8a65c0af3f.zip |
add test for CALLDATACOPY where calldata offset > calldata length and copy length > 0
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stCodeCopyTest/codeCopyOffset.json | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/GeneralStateTests/stCodeCopyTest/codeCopyOffset.json b/GeneralStateTests/stCodeCopyTest/codeCopyOffset.json new file mode 100644 index 000000000..59ed08089 --- /dev/null +++ b/GeneralStateTests/stCodeCopyTest/codeCopyOffset.json @@ -0,0 +1,70 @@ +{ + "codeCopyOffset" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.dda985df.Linux.g++", + "lllcversion" : "Version: 0.4.14+commit.c2215d46.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCodeCopyTest/codeCopyOffsetFiller.json", + "sourceHash" : "5b2c7100e44c9b292d7c8b1b5f7b25358ff0ecebe06712ae6b56d0402e84f210" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xa3a74abb68afdaeaa697f2136d2435abffca904e7dafa06837f67949bf229989", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x670123456789abcdef60005260006000600f6000600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61fffff1", + "nonce" : "0x01", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600052601061ffff61010037600051600055", + "nonce" : "0x01", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "0x0186a0" + ] + } + } +}
\ No newline at end of file |