aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BlockchainTests/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0.json738
-rw-r--r--GeneralStateTests/stReturnDataTest/returndatasize_bug.json115
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json70
-rw-r--r--src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json89
4 files changed, 1012 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0.json b/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0.json
new file mode 100644
index 000000000..4564a6ff5
--- /dev/null
+++ b/BlockchainTests/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0.json
@@ -0,0 +1,738 @@
+{
+ "returndatasize_bug_d0g0v0_Byzantium" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x50f9",
+ "hash" : "0x8d1c481d6e74d8031ae915ac503883dd3791a32aaf318dc102b3c008cbe1393c",
+ "mixHash" : "0xe271dfaf40b0a9e7f0340b9e28d13b58186c576860404e94f355af91c787e828",
+ "nonce" : "0xb0772ce7ea0cce22",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x1830139cc21491fee93b3929f37376dc699073752fe0dd6ef99f973e5cb1aa9a",
+ "stateRoot" : "0xb3c54fbe6c7aa6f7871ffa50dea8d1510893a5854c8fadefe4524d6548d9ca3c",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90263f901f9a0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0b3c54fbe6c7aa6f7871ffa50dea8d1510893a5854c8fadefe4524d6548d9ca3ca0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba01830139cc21491fee93b3929f37376dc699073752fe0dd6ef99f973e5cb1aa9ab90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a000000008250f98203e880a0e271dfaf40b0a9e7f0340b9e28d13b58186c576860404e94f355af91c787e82888b0772ce7ea0cce22f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x8d1c481d6e74d8031ae915ac503883dd3791a32aaf318dc102b3c008cbe1393c",
+ "network" : "Byzantium",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x29a2241af62c50f9",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x63ffffaf07",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "returndatasize_bug_d0g0v0_Constantinople" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x50f9",
+ "hash" : "0x5c0e45938a23de5572d4c50f490716be54acd91e35665faa50eacdbc048b1ead",
+ "mixHash" : "0xeca6901349001cdb659c4dd159e88d70c3d45f1c9bf4a6a62df64218012163a6",
+ "nonce" : "0xd419247c8a1362b7",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x1830139cc21491fee93b3929f37376dc699073752fe0dd6ef99f973e5cb1aa9a",
+ "stateRoot" : "0xb3c54fbe6c7aa6f7871ffa50dea8d1510893a5854c8fadefe4524d6548d9ca3c",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90263f901f9a0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0b3c54fbe6c7aa6f7871ffa50dea8d1510893a5854c8fadefe4524d6548d9ca3ca0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba01830139cc21491fee93b3929f37376dc699073752fe0dd6ef99f973e5cb1aa9ab90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a000000008250f98203e880a0eca6901349001cdb659c4dd159e88d70c3d45f1c9bf4a6a62df64218012163a688d419247c8a1362b7f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x5c0e45938a23de5572d4c50f490716be54acd91e35665faa50eacdbc048b1ead",
+ "network" : "Constantinople",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x29a2241af62c50f9",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x63ffffaf07",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "returndatasize_bug_d0g0v0_EIP150" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x0a00000000",
+ "hash" : "0x5222c793229d040cbdaba13bc416aeb313cef803e4158a5f404d2867a28616c3",
+ "mixHash" : "0x04b3f2142c3f4129e542b26e4175b88039649bd538ebe98488fdc0ddf20db5ab",
+ "nonce" : "0xf577f63877883ed6",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x54030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2",
+ "stateRoot" : "0xf835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0e",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90266f901fca0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0ea0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba054030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a004b3f2142c3f4129e542b26e4175b88039649bd538ebe98488fdc0ddf20db5ab88f577f63877883ed6f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x5222c793229d040cbdaba13bc416aeb313cef803e4158a5f404d2867a28616c3",
+ "network" : "EIP150",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918c44f40000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x5a00000000",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "returndatasize_bug_d0g0v0_EIP158" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x0a00000000",
+ "hash" : "0x3dc6ebf2080a5402987226d48013df201e60ac0dcb3c1235e51831635c57c884",
+ "mixHash" : "0xd836df6417ed5242329f41b92d0d05ccdf45bb83f958afd5e6e671ec8248af08",
+ "nonce" : "0xe10ae5c17b118113",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x54030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2",
+ "stateRoot" : "0xf835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0e",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90266f901fca0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0ea0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba054030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0d836df6417ed5242329f41b92d0d05ccdf45bb83f958afd5e6e671ec8248af0888e10ae5c17b118113f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0x3dc6ebf2080a5402987226d48013df201e60ac0dcb3c1235e51831635c57c884",
+ "network" : "EIP158",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918c44f40000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x5a00000000",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "returndatasize_bug_d0g0v0_Frontier" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x0a00000000",
+ "hash" : "0xbde2a189f3a7a0e69899108cc55ff74380125f8f2c47798b3e5ca6525cecc200",
+ "mixHash" : "0xf267c93b28b9d9b17b82f827f5318b778ba36ebe08e3a8284a4cdd569ae8ee78",
+ "nonce" : "0xe8317c973ea99429",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x54030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2",
+ "stateRoot" : "0xf835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0e",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90266f901fca0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0ea0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba054030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a0f267c93b28b9d9b17b82f827f5318b778ba36ebe08e3a8284a4cdd569ae8ee7888e8317c973ea99429f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0xbde2a189f3a7a0e69899108cc55ff74380125f8f2c47798b3e5ca6525cecc200",
+ "network" : "Frontier",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918c44f40000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x5a00000000",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ },
+ "returndatasize_bug_d0g0v0_Homestead" : {
+ "_info" : {
+ "comment" : "",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json",
+ "sourceHash" : "a00a310f9800b5ad853c40b19fff24d5c055ef71ec45fb830e7122a9d9f5f699"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x0a00000000",
+ "hash" : "0xeadf2d4a504953012c87664789f99ae1fa3dd2520049a5d3eb35396decf065da",
+ "mixHash" : "0x2175bed9192fc339f19bd32621b3ea27ff1e8faf77917fc13fdd047c2f95dd32",
+ "nonce" : "0xcc2b339f50324b70",
+ "number" : "0x01",
+ "parentHash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "receiptTrie" : "0x54030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2",
+ "stateRoot" : "0xf835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0e",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90266f901fca0c4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8da01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f835c8a5f4195b4271c2be19df0102572be89212837571fcf04632622a08fa0ea0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba054030cb6a91a5d126d4cc3155441c3e58d3fb5cb1f50f9c413aef5b8801f0bd2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000850a000000008203e880a02175bed9192fc339f19bd32621b3ea27ff1e8faf77917fc13fdd047c2f95dd3288cc2b339f50324b70f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0a00000000",
+ "gasUsed" : "0x00",
+ "hash" : "0xc4292463963a4d914348d419016fc607ff57397cd42fe107d2ab0f957dc17e8d",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xa3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0a3cc882b2bdaf1fc25f76570634982911aeb3eff62721837ac26fd5930124135a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0xeadf2d4a504953012c87664789f99ae1fa3dd2520049a5d3eb35396decf065da",
+ "network" : "Homestead",
+ "postState" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x4563918c44f40000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x5a00000000",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stReturnDataTest/returndatasize_bug.json b/GeneralStateTests/stReturnDataTest/returndatasize_bug.json
new file mode 100644
index 000000000..784458363
--- /dev/null
+++ b/GeneralStateTests/stReturnDataTest/returndatasize_bug.json
@@ -0,0 +1,115 @@
+{
+ "returndatasize_bug" : {
+ "_info" : {
+ "comment" : "RETURNDATASIZE after a failing CALL (due to insufficient balance) should return 0",
+ "filledwith" : "cpp-1.3.0+commit.c5d2b48b.Linux.g++",
+ "lllcversion" : "Version: 0.4.17-develop.2017.9.19+commit.1fc71bd7.mod.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json",
+ "sourceHash" : "2bc31aabeff6ea5cc0f6c39fd1c8aa5a0bdad31bf5afc68833a7280b31736374"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xa03e4ebba49908d555c2193ec935cdb09bee58903e0205b4c1605c50c4266a32",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP150" : [
+ {
+ "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x98da4d60602c22beffcdc36d4a773b824d2112b1cdca3c067de2f12f2a36f6d8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "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/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json
new file mode 100644
index 000000000..8e7828f63
--- /dev/null
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/returndatasize_bug_d0g0v0Filler.json
@@ -0,0 +1,70 @@
+{
+ "returndatasize_bug_d0g0v0" : {
+ "blocks" : [
+ {
+ "blockHeaderPremine" : {
+ "difficulty" : "0x020000",
+ "gasLimit" : "0x0a00000000",
+ "timestamp" : "0x03e8",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "0x0a00000000",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507",
+ "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "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" : "0x0de0b6b3a7640000",
+ "code" : "0x600060006000600061c350731f572e5295c57f15886f9b263e2f6d2d6c7b5ec66001f1503d600055",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x00",
+ "code" : "0x600060006000600061c3506001600af1506001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json b/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json
new file mode 100644
index 000000000..1684943e1
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stReturnDataTest/returndatasize_bugFiller.json
@@ -0,0 +1,89 @@
+{
+ "returndatasize_bug" : {
+ "_info" : {
+ "comment" : "RETURNDATASIZE after a failing CALL (due to insufficient balance) should return 0"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0a00000000",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ { "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["EIP150", "EIP158", "Frontier", "Homestead"],
+ "result" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ }
+ }
+ },
+ { "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["Byzantium"],
+ "result" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "storage" : {
+ "0x00" : "0x00"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "storage" : {
+ "0x01" : "0x00"
+ }
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "{ (CALL 1 0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6 50000 0 0 0 0) (SSTORE 0 (RETURNDATASIZE)) }",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "0",
+ "code" : "{ (CALL 10 1 50000 0 0 0 0) (SSTORE 1 1) }",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x6400000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "0x0a00000000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+}