diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-12-08 01:09:18 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-12-08 01:18:47 +0800 |
commit | 4f0b15620293e8654407aaa72bf69beb7538473e (patch) | |
tree | 82fde71624c21d7ff4b9e4a6729743e30ba716c1 | |
parent | f4a03994a03b596f4e3169c651132883eb997ce7 (diff) | |
download | tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar.gz tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar.bz2 tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar.lz tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar.xz tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.tar.zst tangerine-tests-4f0b15620293e8654407aaa72bf69beb7538473e.zip |
Add a test case for RETURNDATACOPY after REVERT in STATICCALL
4 files changed, 1007 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0.json b/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0.json new file mode 100644 index 000000000..dd68d2314 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0.json @@ -0,0 +1,740 @@ +{ + "returndatacopy_after_revert_in_staticcall_d0g0v0_Byzantium" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x688c", + "hash" : "0x2e2938a323b50d2d6d04476c0aac6e7a1b95d309df96367f24e3596143863ee8", + "mixHash" : "0xd84c1dccd795ae71693cb07ef97ab8845cfd2a20365a45371b51a26b5a2ff607", + "nonce" : "0x8d191fe0fe913be4", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x94eac79bd798fb96b52543d29c352111c47484f809b3d51231eb853dbe512345", + "stateRoot" : "0xbaa1b4f46f75536e09ceff66abe9f16b13baa596159a80081de9e9e5c4b600bb", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90263f901f9a088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0baa1b4f46f75536e09ceff66abe9f16b13baa596159a80081de9e9e5c4b600bba0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba094eac79bd798fb96b52543d29c352111c47484f809b3d51231eb853dbe512345b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a0000000082688c8203e880a0d84c1dccd795ae71693cb07ef97ab8845cfd2a20365a45371b51a26b5a2ff607888d191fe0fe913be4f864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x2e2938a323b50d2d6d04476c0aac6e7a1b95d309df96367f24e3596143863ee8", + "network" : "Byzantium", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x1000000000000000000000000000000000000001" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62c688c", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63ffff9774", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "returndatacopy_after_revert_in_staticcall_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x688c", + "hash" : "0x22371c6476abc1477ca770643f50c3d3fa372420e2d96cba4ee616aadef50bb9", + "mixHash" : "0x013529847931dca41ce7c541789d16919fbc7acd47639630c1989dd6b7580050", + "nonce" : "0x5ec31900aeeb6268", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x94eac79bd798fb96b52543d29c352111c47484f809b3d51231eb853dbe512345", + "stateRoot" : "0xbaa1b4f46f75536e09ceff66abe9f16b13baa596159a80081de9e9e5c4b600bb", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90263f901f9a088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0baa1b4f46f75536e09ceff66abe9f16b13baa596159a80081de9e9e5c4b600bba0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba094eac79bd798fb96b52543d29c352111c47484f809b3d51231eb853dbe512345b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a0000000082688c8203e880a0013529847931dca41ce7c541789d16919fbc7acd47639630c1989dd6b7580050885ec31900aeeb6268f864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x22371c6476abc1477ca770643f50c3d3fa372420e2d96cba4ee616aadef50bb9", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x1000000000000000000000000000000000000001" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62c688c", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63ffff9774", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "returndatacopy_after_revert_in_staticcall_d0g0v0_EIP150" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0xb1f6bab70720ff8030f496446a7ed1e5d24cf10c14a787c9a74f3c57f30285ad", + "mixHash" : "0x9912e98cb7adfd4913f8f717b86612bd61e3b5eef4db6761f72a31aa9ea94446", + "nonce" : "0xb49ffbcac8ee42a7", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x8f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cec", + "stateRoot" : "0x78ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90266f901fca088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa078ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752a0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba08f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cecb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a09912e98cb7adfd4913f8f717b86612bd61e3b5eef4db6761f72a31aa9ea9444688b49ffbcac8ee42a7f864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xb1f6bab70720ff8030f496446a7ed1e5d24cf10c14a787c9a74f3c57f30285ad", + "network" : "EIP150", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "returndatacopy_after_revert_in_staticcall_d0g0v0_EIP158" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0x59672cf85dc19b7a28dfd04b294ae12059b05e77d48c2649789173feba5b9735", + "mixHash" : "0x643c760da7396fd9f40b3c00f2d90200a19fb6f9b36573b93d88b4269af0be67", + "nonce" : "0x6f07e385fb62565a", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x8f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cec", + "stateRoot" : "0x78ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90266f901fca088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa078ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752a0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba08f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cecb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0643c760da7396fd9f40b3c00f2d90200a19fb6f9b36573b93d88b4269af0be67886f07e385fb62565af864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x59672cf85dc19b7a28dfd04b294ae12059b05e77d48c2649789173feba5b9735", + "network" : "EIP158", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "returndatacopy_after_revert_in_staticcall_d0g0v0_Frontier" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0xd3a2492892910227af3ca3d53ba9e8657092f2d0f141bb1755843ff86820d4de", + "mixHash" : "0x3782c9b7f75cd165bea30c314a71d213fedccdbb06ec0aadc353f1ecd21d65b0", + "nonce" : "0xbaa6972db42f5453", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x8f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cec", + "stateRoot" : "0x78ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90266f901fca088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa078ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752a0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba08f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cecb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a03782c9b7f75cd165bea30c314a71d213fedccdbb06ec0aadc353f1ecd21d65b088baa6972db42f5453f864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xd3a2492892910227af3ca3d53ba9e8657092f2d0f141bb1755843ff86820d4de", + "network" : "Frontier", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + }, + "returndatacopy_after_revert_in_staticcall_d0g0v0_Homestead" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json", + "sourceHash" : "1147602c58102fd1688850ad02417b295df29d779b971e1d52c0eeb1de241ad7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0a00000000", + "hash" : "0x36b46b2c7846e74e59346ee8931fda701b9b8f5c42bb6bd1c70329b713e1149a", + "mixHash" : "0xe8deafef9772fdbf5224615ad7c4e26e59133c4c5929c792c3d1fab8fa186108", + "nonce" : "0x752fae5442773c2e", + "number" : "0x01", + "parentHash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "receiptTrie" : "0x8f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cec", + "stateRoot" : "0x78ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3b", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90266f901fca088ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa078ecd6abb048dcc85712382bc3fd7e94bef8bcae4922dc7e702a041594cae752a0942a5626ebc24a913758d77ab9d72c3563724d8a433d611b1bf05ca4a3cf5c3ba08f4e74cd67e26cabf65c00e164f817926ee49b1fef1dc403dc461fd1c10a2cecb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0e8deafef9772fdbf5224615ad7c4e26e59133c4c5929c792c3d1fab8fa18610888752fae5442773c2ef864f8628001850a0000000094100000000000000000000000000000000000000180801ba0d645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426a0758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8c0", + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x88ec91fb3f2f038dd615adcc53ab1d4dc55ecf1a2ce2f18ce93924706d66be85", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x3196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314cec", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa03196d83fb7b6a198a213d359595b3059b9e9924bd10b3a02866a17514e314ceca056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x36b46b2c7846e74e59346ee8931fda701b9b8f5c42bb6bd1c70329b713e1149a", + "network" : "Homestead", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x4563918c44f40000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a00000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall.json b/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall.json new file mode 100644 index 000000000..4f541141f --- /dev/null +++ b/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall.json @@ -0,0 +1,115 @@ +{ + "returndatacopy_after_revert_in_staticcall" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.40c7ceba.Linux.g++", + "lllcversion" : "Version: 0.4.20-develop.2017.12.6+commit.c2109436.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_revert_in_staticcallFiller.json", + "sourceHash" : "41f9c9fd2178bcb1dfcde9baaf63523fb5038c3bb9197fb1809a80cf32613557" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x46153c0b065c72f5e999000c5c9a2d06b0c22ea47c3dfdca06c041794450691b", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0xa9e5daee168e07004be7be5b4cc5ddc88eb5353d44091dae904f946f89ee56c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0xa9e5daee168e07004be7be5b4cc5ddc88eb5353d44091dae904f946f89ee56c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0xa9e5daee168e07004be7be5b4cc5ddc88eb5353d44091dae904f946f89ee56c7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0xa9e5daee168e07004be7be5b4cc5ddc88eb5353d44091dae904f946f89ee56c7", + "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" : "0x3360005260206000fd", + "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/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json new file mode 100644 index 000000000..84fe90b15 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatacopy_after_revert_in_staticcall_d0g0v0Filler.json @@ -0,0 +1,70 @@ +{ + "returndatacopy_after_revert_in_staticcall_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xd645bcff7a04b34bc1f20889cffafd8bf9764818e4eff2556c4513c3e6aa4426", + "s" : "0x758a2988d8cdfe9eebdf3e6d1d2c63bd9718c956af62e21af76f52e047ace5e8", + "to" : "0x1000000000000000000000000000000000000001", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x01000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000001" : { + "balance" : "0x00", + "code" : "0x600060006000600073a94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60fa506020600060003e600051600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x3360005260206000fd", + "nonce" : "0x00", + "storage" : { + } + } + } + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_revert_in_staticcallFiller.json b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_revert_in_staticcallFiller.json new file mode 100644 index 000000000..729073655 --- /dev/null +++ b/src/GeneralStateTestsFiller/stReturnDataTest/returndatacopy_after_revert_in_staticcallFiller.json @@ -0,0 +1,82 @@ +{ + "returndatacopy_after_revert_in_staticcall" : { + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6": { + "balance" : "0x1000000", + "code": "", + "nonce": "0x0", + "storage": {} + }, + "0x1000000000000000000000000000000000000001": { + "balance" : "0x00", + "code": "{ (STATICCALL 60000 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0) (RETURNDATACOPY 0x0 0x0 32) ( SSTORE 0 (MLOAD 0))}", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "{ (MSTORE 0x0 (CALLER)) (REVERT 0 32) }", + "nonce" : "0x00", + "storage" : { + } + } + }, + "expect": [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Byzantium", "Constantinople"], + "result" : { + "0x1000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0x1000000000000000000000000000000000000001" + } + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP158"], + "result" : { + "0x1000000000000000000000000000000000000001" : { + "storage" : { + "0x00" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" + } + } + } + } + ], + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1000000000000000000000000000000000000001", + "value" : [ + "0x00" + ] + } + } +} |