aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BlockchainTests/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0.json125
-rw-r--r--BlockchainTests/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0.json146
-rw-r--r--GeneralStateTests/stExtCodeHash/extCodeCopyBounds.json70
-rw-r--r--GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected.json77
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0Filler.json86
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0Filler.json100
-rw-r--r--src/GeneralStateTestsFiller/stExtCodeHash/extCodeCopyBoundsFiller.yml76
-rw-r--r--src/GeneralStateTestsFiller/stReturnDataTest/subcallReturnMoreThenExpectedFiller.yml102
8 files changed, 782 insertions, 0 deletions
diff --git a/BlockchainTests/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0.json b/BlockchainTests/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0.json
new file mode 100644
index 000000000..9ecf2cd96
--- /dev/null
+++ b/BlockchainTests/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0.json
@@ -0,0 +1,125 @@
+{
+ "extCodeCopyBounds_d0g0v0_Constantinople" : {
+ "_info" : {
+ "comment" : "EXTCODECOPY edge case https://github.com/ethereum/tests/issues/438",
+ "filledwith" : "testeth 1.5.0-alpha.7-5+commit.4c8a143b",
+ "lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0Filler.json",
+ "sourceHash" : "3bb9f401ca23d07a32078faa8a2a4ff0e92b8038e0d9ac41e616096e1cf97245"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0xb082",
+ "hash" : "0xd8153b91951c20e02253d1c3022a5cda2043d499cdf14ce461b30408894b1e6f",
+ "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "nonce" : "0x0000000000000000",
+ "number" : "0x01",
+ "parentHash" : "0xfb14fb1517ccf00e075a3f9b7ba9fe46ca3b3be5fb53fa9102d2a05c2c558dd6",
+ "receiptTrie" : "0xe03b682c1df982cc4512877a591726e5ced90ffcce49b6e70047fc73c59e0c42",
+ "stateRoot" : "0x61850ff0cff67d05d29e751456152a0e24f365c94030d52c6597856a68f9ad43",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xf2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf9025ff901f7a0fb14fb1517ccf00e075a3f9b7ba9fe46ca3b3be5fb53fa9102d2a05c2c558dd6a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa061850ff0cff67d05d29e751456152a0e24f365c94030d52c6597856a68f9ad43a0f2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757a0e03b682c1df982cc4512877a591726e5ced90ffcce49b6e70047fc73c59e0c42b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f424082b0828203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183061a8094095e7baea6a6c7c4c2dfeb977efac326af552d8701801ca0ae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6a027a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673c0",
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x061a80",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0xae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6",
+ "s" : "0x27a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1c",
+ "value" : "0x01"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0x00",
+ "hash" : "0xfb14fb1517ccf00e075a3f9b7ba9fe46ca3b3be5fb53fa9102d2a05c2c558dd6",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0x003274752ebfa061463e60ae3499747082a4dea7f9c5ac66985b28e6d64bad69",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0003274752ebfa061463e60ae3499747082a4dea7f9c5ac66985b28e6d64bad69a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0xd8153b91951c20e02253d1c3022a5cda2043d499cdf14ce461b30408894b1e6f",
+ "network" : "Constantinople",
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640001",
+ "code" : "0x61138874010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600055602051600155600c74010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600255602051600355600c6005600173e713449c212d891357cc2966816b1d528cfb59e03c600051600455602051600555",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x04" : "0x600b606355600a606355000000000000000000000000000000000000000000"
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x1bc16d674ec8b082",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7634f7d",
+ "code" : "0x00",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xe713449c212d891357cc2966816b1d528cfb59e0" : {
+ "balance" : "0x00",
+ "code" : "0x600c606355600b606355600a606355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61138874010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600055602051600155600c74010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600255602051600355600c6005600173e713449c212d891357cc2966816b1d528cfb59e03c600051600455602051600555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xe713449c212d891357cc2966816b1d528cfb59e0" : {
+ "balance" : "0x00",
+ "code" : "0x600c606355600b606355600a606355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "sealEngine" : "NoProof"
+ }
+} \ No newline at end of file
diff --git a/BlockchainTests/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0.json b/BlockchainTests/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0.json
new file mode 100644
index 000000000..dbe509dc8
--- /dev/null
+++ b/BlockchainTests/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0.json
@@ -0,0 +1,146 @@
+{
+ "subcallReturnMoreThenExpected_d0g0v0_Constantinople" : {
+ "_info" : {
+ "comment" : "https://github.com/ethereum/tests/issues/558 (subcall/opcode return more data then expected)",
+ "filledwith" : "testeth 1.5.0-alpha.7-5+commit.4c8a143b",
+ "lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
+ "source" : "src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0Filler.json",
+ "sourceHash" : "1ae33333db07dbf279205898407664a2161ebbd6aa019091bf7e4d8b2054b392"
+ },
+ "blocks" : [
+ {
+ "blockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0x02db0e",
+ "hash" : "0xfdedb2fc93e2c3d7399effa2c35ec385ce389ad5738a37d27c955cdb1dc12b51",
+ "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "nonce" : "0x0000000000000000",
+ "number" : "0x01",
+ "parentHash" : "0x38874e7883731e2085c31277ceea3dde429f16d4c6fd199e8c77f00b0c7174f1",
+ "receiptTrie" : "0xabdcef03faccb35e8ed784d3a3142b99e26de2caeb8d0c08fbf10fccbfc226dc",
+ "stateRoot" : "0xee72ed476eef7889e1f7a1a466df9bf01f23a6265e6370dfabc8e9cc12d78ecb",
+ "timestamp" : "0x03e8",
+ "transactionsTrie" : "0xf2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "rlp" : "0xf90260f901f8a038874e7883731e2085c31277ceea3dde429f16d4c6fd199e8c77f00b0c7174f1a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ee72ed476eef7889e1f7a1a466df9bf01f23a6265e6370dfabc8e9cc12d78ecba0f2fde0741a86c3f5b87ccee3cce6faafd15be92989188f40919cb13422672757a0abdcef03faccb35e8ed784d3a3142b99e26de2caeb8d0c08fbf10fccbfc226dcb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302db0e8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f862f860800183061a8094095e7baea6a6c7c4c2dfeb977efac326af552d8701801ca0ae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6a027a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673c0",
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x061a80",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0xae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6",
+ "s" : "0x27a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1c",
+ "value" : "0x01"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "0x020000",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0x00",
+ "hash" : "0x38874e7883731e2085c31277ceea3dde429f16d4c6fd199e8c77f00b0c7174f1",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0x00",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0x755d387b4323eccfb665a2ba495ae494d45f5f68414000fddbee8c50f80fcd0b",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0755d387b4323eccfb665a2ba495ae494d45f5f68414000fddbee8c50f80fcd0ba056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0",
+ "lastblockhash" : "0xfdedb2fc93e2c3d7399effa2c35ec385ce389ad5738a37d27c955cdb1dc12b51",
+ "network" : "Constantinople",
+ "postState" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640001",
+ "code" : "0x600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516000556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516001556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516002556000600052600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f2506000516003556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516004556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516005556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516006556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f250600051600755",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x01" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x02" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x03" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x04" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x05" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x06" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x07" : "0x1122334455667788991011120000000000000000000000000000000000000000"
+ }
+ },
+ "0x194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x294f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x1bc16d674ecadb0e",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a76124f1",
+ "code" : "0x00",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516000556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516001556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516002556000600052600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f2506000516003556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516004556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516005556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516006556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f250600051600755",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x294f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "sealEngine" : "NoProof"
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stExtCodeHash/extCodeCopyBounds.json b/GeneralStateTests/stExtCodeHash/extCodeCopyBounds.json
new file mode 100644
index 000000000..124226dfc
--- /dev/null
+++ b/GeneralStateTests/stExtCodeHash/extCodeCopyBounds.json
@@ -0,0 +1,70 @@
+{
+ "extCodeCopyBounds" : {
+ "_info" : {
+ "comment" : "EXTCODECOPY edge case https://github.com/ethereum/tests/issues/438",
+ "filledwith" : "testeth 1.5.0-alpha.7-5+commit.4c8a143b",
+ "lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stExtCodeHash/extCodeCopyBoundsFiller.yml",
+ "sourceHash" : "694c67a8cb257b75fe317158bd9ac71bc274cec397b9f3fbac03e1f09e518caf"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x842751645a2064e56aea7816dd721f3cfa4e0910b62997e529e734d6309ecc4c",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61138874010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600055602051600155600c74010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600255602051600355600c6005600173e713449c212d891357cc2966816b1d528cfb59e03c600051600455602051600555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xe713449c212d891357cc2966816b1d528cfb59e0" : {
+ "balance" : "0x00",
+ "code" : "0x600c606355600b606355600a606355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x061a80"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected.json b/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected.json
new file mode 100644
index 000000000..07e537e2e
--- /dev/null
+++ b/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected.json
@@ -0,0 +1,77 @@
+{
+ "subcallReturnMoreThenExpected" : {
+ "_info" : {
+ "comment" : "https://github.com/ethereum/tests/issues/558 (subcall/opcode return more data then expected)",
+ "filledwith" : "testeth 1.5.0-alpha.7-5+commit.4c8a143b",
+ "lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stReturnDataTest/subcallReturnMoreThenExpectedFiller.yml",
+ "sourceHash" : "a84b0800181a3cd916c6341b50db5fd8e032b41647109638d76bf7da7d9c5e57"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x0eee785a2e01f5e16185de94b89cc9f2548cd4995eeefd214ef058f30af79cbc",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516000556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516001556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516002556000600052600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f2506000516003556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516004556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516005556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516006556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f250600051600755",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x294f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x061a80"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0Filler.json
new file mode 100644
index 000000000..5db68a7ee
--- /dev/null
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeCopyBounds_d0g0v0Filler.json
@@ -0,0 +1,86 @@
+{
+ "extCodeCopyBounds_d0g0v0" : {
+ "_info" : {
+ "comment" : "EXTCODECOPY edge case https://github.com/ethereum/tests/issues/438"
+ },
+ "blocks" : [
+ {
+ "blockHeaderPremine" : {
+ "difficulty" : "0x020000",
+ "gasLimit" : "0x0f4240",
+ "timestamp" : "0x03e8",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x061a80",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0xae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6",
+ "s" : "0x27a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1c",
+ "value" : "0x01"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "expect" : [
+ {
+ "network" : "Constantinople",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640001",
+ "storage" : {
+ "0x04" : "0x600b606355600a606355000000000000000000000000000000000000000000"
+ }
+ }
+ }
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x61138874010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600055602051600155600c74010000000000000000000000000000000000000000600173e713449c212d891357cc2966816b1d528cfb59e03c600051600255602051600355600c6005600173e713449c212d891357cc2966816b1d528cfb59e03c600051600455602051600555",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xe713449c212d891357cc2966816b1d528cfb59e0" : {
+ "balance" : "0x00",
+ "code" : "0x600c606355600b606355600a606355",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "sealEngine" : "NoProof"
+ }
+} \ No newline at end of file
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0Filler.json
new file mode 100644
index 000000000..ff730cc75
--- /dev/null
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stReturnDataTest/subcallReturnMoreThenExpected_d0g0v0Filler.json
@@ -0,0 +1,100 @@
+{
+ "subcallReturnMoreThenExpected_d0g0v0" : {
+ "_info" : {
+ "comment" : "https://github.com/ethereum/tests/issues/558 (subcall/opcode return more data then expected)"
+ },
+ "blocks" : [
+ {
+ "blockHeaderPremine" : {
+ "difficulty" : "0x020000",
+ "gasLimit" : "0x0f4240",
+ "timestamp" : "0x03e8",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x061a80",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "r" : "0xae29a79903b187c6d075320f9834a330b5134244c7fb0476eba58cd87b175fd6",
+ "s" : "0x27a8f85308f5f08f4e2f6b2e23d9dcfd740108f8f96517e50c9e1dc86288a673",
+ "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "v" : "0x1c",
+ "value" : "0x01"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "expect" : [
+ {
+ "network" : "Constantinople",
+ "result" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640001",
+ "storage" : {
+ "0x00" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x01" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x02" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x03" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x04" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x05" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x06" : "0x1122334455667788991011120000000000000000000000000000000000000000",
+ "0x07" : "0x1122334455667788991011120000000000000000000000000000000000000000"
+ }
+ }
+ }
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "0x0f4240",
+ "gasUsed" : "0",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "pre" : {
+ "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516000556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516001556000600052600c60006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516002556000600052600c600060006000600073194f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f2506000516003556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f1506000516004556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f4506000516005556000600052600c60006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40fa506000516006556000600052600c600060006000600073294f5374fce5edbc8e2a8697c15331677e6ebf0b62030d40f250600051600755",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x194f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000f3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x294f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x7f11223344556677889910111213141516171819202122232425262728293031326000527f333435363738394041424344454647484950515253545556575859606162636460205260406000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x00",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "sealEngine" : "NoProof"
+ }
+} \ No newline at end of file
diff --git a/src/GeneralStateTestsFiller/stExtCodeHash/extCodeCopyBoundsFiller.yml b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeCopyBoundsFiller.yml
new file mode 100644
index 000000000..89dc9e504
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stExtCodeHash/extCodeCopyBoundsFiller.yml
@@ -0,0 +1,76 @@
+# EXTCODECOPY edge case https://github.com/ethereum/tests/issues/438
+---
+extCodeCopyBounds:
+ env:
+ currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
+ currentDifficulty: '0x20000'
+ currentGasLimit: "1000000"
+ currentNumber: "1"
+ currentTimestamp: "1000"
+ previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
+ _info:
+ comment: "EXTCODECOPY edge case https://github.com/ethereum/tests/issues/438"
+ pre:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ balance: '1000000000000000000'
+ code: |
+ {
+ ;; code position is way too high
+ (EXTCODECOPY 0xe713449c212d891357cc2966816b1d528cfb59e0 1 0x010000000000000000000000000000000000000000 5000)
+
+ [[0]] (MLOAD 0)
+ [[1]] (MLOAD 32)
+
+ (EXTCODECOPY 0xe713449c212d891357cc2966816b1d528cfb59e0 1 0x010000000000000000000000000000000000000000 12)
+
+ [[2]] (MLOAD 0)
+ [[3]] (MLOAD 32)
+
+ (EXTCODECOPY 0xe713449c212d891357cc2966816b1d528cfb59e0 1 5 12)
+
+ [[4]] (MLOAD 0)
+ [[5]] (MLOAD 32)
+ }
+ nonce: '0'
+ storage: {}
+ e713449c212d891357cc2966816b1d528cfb59e0:
+ balance: '0'
+ code: |
+ {
+ ;; Some code
+ [[99]] 12
+ [[99]] 11
+ [[99]] 10
+ }
+ nonce: '0'
+ storage: {
+ }
+ a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
+ balance: '1000000000000000000'
+ code: '0x00'
+ nonce: '0'
+ storage: {}
+ expect:
+ - indexes:
+ data: !!int -1
+ gas: !!int -1
+ value: !!int -1
+ network:
+ - '>=Constantinople'
+ result:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ balance: '1000000000000000001'
+ storage: {
+ 4: '0x600b606355600a606355000000000000000000000000000000000000000000'
+ }
+ transaction:
+ data:
+ - ''
+ gasLimit:
+ - '400000'
+ gasPrice: '1'
+ nonce: '0'
+ secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8
+ to: 095e7baea6a6c7c4c2dfeb977efac326af552d87
+ value:
+ - '1'
diff --git a/src/GeneralStateTestsFiller/stReturnDataTest/subcallReturnMoreThenExpectedFiller.yml b/src/GeneralStateTestsFiller/stReturnDataTest/subcallReturnMoreThenExpectedFiller.yml
new file mode 100644
index 000000000..d3d8810ea
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stReturnDataTest/subcallReturnMoreThenExpectedFiller.yml
@@ -0,0 +1,102 @@
+# https://github.com/ethereum/tests/issues/558 (subcall/opcode return more data then expected)
+---
+subcallReturnMoreThenExpected:
+ env:
+ currentCoinbase: 2adc25665018aa1fe0e6bc666dac8fc2697ff9ba
+ currentDifficulty: '0x20000'
+ currentGasLimit: "1000000"
+ currentNumber: "1"
+ currentTimestamp: "1000"
+ previousHash: 5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6
+ _info:
+ comment: "https://github.com/ethereum/tests/issues/558 (subcall/opcode return more data then expected)"
+ pre:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ balance: '1000000000000000000'
+ code: |
+ {
+ ;; Get returndata from a subcall
+ (CALL 200000 0x194f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 12)
+ [[0]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (DELEGATECALL 200000 0x194f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 12)
+ [[1]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (STATICCALL 200000 0x194f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 12)
+ [[2]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (CALLCODE 200000 0x194f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 12)
+ [[3]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+
+ ;; Get revert data from a subcall
+ (CALL 200000 0x294f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 12)
+ [[4]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (DELEGATECALL 200000 0x294f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 12)
+ [[5]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (STATICCALL 200000 0x294f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 12)
+ [[6]] (MLOAD 0)
+ (MSTORE 0 0x0000000000000000000000000000000000000000000000000000000000000000)
+ (CALLCODE 200000 0x294f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 12)
+ [[7]] (MLOAD 0)
+ }
+ nonce: '0'
+ storage: {}
+ 194f5374fce5edbc8e2a8697c15331677e6ebf0b:
+ balance: '1000000000000000000'
+ code: |
+ {
+ (MSTORE 0 0x1122334455667788991011121314151617181920212223242526272829303132)
+ (MSTORE 32 0x3334353637383940414243444546474849505152535455565758596061626364)
+ (RETURN 0 64)
+ }
+ nonce: '0'
+ storage: {}
+ 294f5374fce5edbc8e2a8697c15331677e6ebf0b:
+ balance: '1000000000000000000'
+ code: |
+ {
+ (MSTORE 0 0x1122334455667788991011121314151617181920212223242526272829303132)
+ (MSTORE 32 0x3334353637383940414243444546474849505152535455565758596061626364)
+ (REVERT 0 64)
+ }
+ nonce: '0'
+ storage: {}
+ a94f5374fce5edbc8e2a8697c15331677e6ebf0b:
+ balance: '1000000000000000000'
+ code: '0x00'
+ nonce: '0'
+ storage: {}
+ expect:
+ - indexes:
+ data: !!int -1
+ gas: !!int -1
+ value: !!int -1
+ network:
+ - '>=Constantinople'
+ result:
+ 095e7baea6a6c7c4c2dfeb977efac326af552d87:
+ balance: '1000000000000000001'
+ storage: {
+ 0: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 1: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 2: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 3: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 4: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 5: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 6: '0x1122334455667788991011120000000000000000000000000000000000000000',
+ 7: '0x1122334455667788991011120000000000000000000000000000000000000000'
+ }
+ transaction:
+ data:
+ - ''
+ gasLimit:
+ - '400000'
+ gasPrice: '1'
+ nonce: '0'
+ secretKey: 45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8
+ to: 095e7baea6a6c7c4c2dfeb977efac326af552d87
+ value:
+ - '1'