diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2017-09-05 04:12:52 +0800 |
---|---|---|
committer | Jared Wasinger <j-wasinger@hotmail.com> | 2017-09-05 04:12:52 +0800 |
commit | 91e13877c3e47a12f65865b30330d6c2cf045d1c (patch) | |
tree | 1147203840d087928e27690ac50a36a8e89b2624 /GeneralStateTests/stReturnDataTest | |
parent | 8de686b445674c14c9b8df4d1edf189555158d6f (diff) | |
download | dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar.gz dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar.bz2 dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar.lz dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar.xz dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.tar.zst dexon-tests-91e13877c3e47a12f65865b30330d6c2cf045d1c.zip |
add more returndatasize/returndatacopy tests
Diffstat (limited to 'GeneralStateTests/stReturnDataTest')
7 files changed, 868 insertions, 0 deletions
diff --git a/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_callcode.json b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_callcode.json new file mode 100644 index 000000000..a5c40ab16 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_callcode.json @@ -0,0 +1,124 @@ +{ + "returndatacopy_after_failing_callcode" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_failing_callcodeFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xb04b4c7d24de60c035ab9e30d7f441253a998a1a8f7cb23588650ffebeeeba12", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x10000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b6000f2506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0xfd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_delegatecall.json b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_delegatecall.json new file mode 100644 index 000000000..e8f547753 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_delegatecall.json @@ -0,0 +1,124 @@ +{ + "returndatacopy_after_failing_delegatecall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_failing_delegatecallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xb13561c9bb666650c16bb5dd5a4296cb6143e2176bc4b53fd4d358e739796322", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x100000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b612710f4506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0xfd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_staticcall.json b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_staticcall.json new file mode 100644 index 000000000..9f2952462 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatacopy_after_failing_staticcall.json @@ -0,0 +1,124 @@ +{ + "returndatacopy_after_failing_staticcall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_failing_staticcallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xb62a0aeb071bb7c6c4ce096b31edb374087b6c56b9a3a3d53614f854a9eb605c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x100000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b6000fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatacopy_after_successful_staticcall.json b/GeneralStateTests/stReturnDataTest/returndatacopy_after_successful_staticcall.json new file mode 100644 index 000000000..a5909f155 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatacopy_after_successful_staticcall.json @@ -0,0 +1,124 @@ +{ + "returndatacopy_after_successful_staticcall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_successful_staticcallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x87b672cd1f71fd9da4277816c433dcc935078ae13c3c24c6e3199983d9a8eb16", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x87b672cd1f71fd9da4277816c433dcc935078ae13c3c24c6e3199983d9a8eb16", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xb049b60edb5cc4ab52d26119e93c6179cdf5837af6cd6f8d88db070ee028fa23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xb049b60edb5cc4ab52d26119e93c6179cdf5837af6cd6f8d88db070ee028fa23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xb049b60edb5cc4ab52d26119e93c6179cdf5837af6cd6f8d88db070ee028fa23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xb049b60edb5cc4ab52d26119e93c6179cdf5837af6cd6f8d88db070ee028fa23", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_callcode.json b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_callcode.json new file mode 100644 index 000000000..9921dcddf --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_callcode.json @@ -0,0 +1,124 @@ +{ + "returndatasize_after_failing_callcode" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_after_failing_callcodeFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x6d83e8ff43da0a014344eb40ff9525f9950aa1221775d290dfd9cdf230b17fa5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x6d83e8ff43da0a014344eb40ff9525f9950aa1221775d290dfd9cdf230b17fa5", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x33d1cb602cf9138ae75227fbfa1a49ac5c60365097343845926d4257eb0be45c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x33d1cb602cf9138ae75227fbfa1a49ac5c60365097343845926d4257eb0be45c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x33d1cb602cf9138ae75227fbfa1a49ac5c60365097343845926d4257eb0be45c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x33d1cb602cf9138ae75227fbfa1a49ac5c60365097343845926d4257eb0be45c", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x10000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b620186a0f2503d600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0xfd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_delegatecall.json b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_delegatecall.json new file mode 100644 index 000000000..aeaafdeec --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_delegatecall.json @@ -0,0 +1,124 @@ +{ + "returndatasize_after_failing_delegatecall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_after_failing_delegatecallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xe2c29dce8970ded28913f55d8c47144c00dd6647a27776277c11be1bb3140041", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0xe2c29dce8970ded28913f55d8c47144c00dd6647a27776277c11be1bb3140041", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xfd9a97b53ede1de4e9a36da18c60f055d7b41de4b3d8b4db56ed948d46d7a787", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xfd9a97b53ede1de4e9a36da18c60f055d7b41de4b3d8b4db56ed948d46d7a787", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xfd9a97b53ede1de4e9a36da18c60f055d7b41de4b3d8b4db56ed948d46d7a787", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xfd9a97b53ede1de4e9a36da18c60f055d7b41de4b3d8b4db56ed948d46d7a787", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b612710f4503d600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0xfd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_staticcall.json b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_staticcall.json new file mode 100644 index 000000000..954412c73 --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatasize_after_failing_staticcall.json @@ -0,0 +1,124 @@ +{ + "returndatasize_after_failing_staticcall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.e7ee91d0.Linux.g++", + "source" : "/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_after_failing_staticcallFiller.json" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0xc080d95adad4f2f6b53df0b9c0b40d93b076bc81dbe675cc9bab68ccf6c3db33", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0xc080d95adad4f2f6b53df0b9c0b40d93b076bc81dbe675cc9bab68ccf6c3db33", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xa5c645c0ddc7292ae3619e2fd980c4625b78b7a9c0c75030322ee1257b485edd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xa5c645c0ddc7292ae3619e2fd980c4625b78b7a9c0c75030322ee1257b485edd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xa5c645c0ddc7292ae3619e2fd980c4625b78b7a9c0c75030322ee1257b485edd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xa5c645c0ddc7292ae3619e2fd980c4625b78b7a9c0c75030322ee1257b485edd", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x100000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa503d600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0xfd", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |