diff options
author | Dimitry <dimitry@ethereum.org> | 2018-09-08 23:54:53 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-09-08 23:54:53 +0800 |
commit | 827fec4bc47db888b0f50aa8251f2987f42fd1e8 (patch) | |
tree | 4808aa34995371537887c5fe6a020b83fc30c6d3 | |
parent | e740a725a28bf7714abd0c400439f060fdd1e873 (diff) | |
download | dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar.gz dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar.bz2 dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar.lz dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar.xz dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.tar.zst dexon-tests-827fec4bc47db888b0f50aa8251f2987f42fd1e8.zip |
more create2 tests
32 files changed, 3532 insertions, 55 deletions
diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0.json index 7b3f04c7d..3c2e0e8c2 100644 --- a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0.json +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0.json @@ -1,11 +1,11 @@ { "create2checkFieldsInInitcode_d0g0v0_Constantinople" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types.", + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json", - "sourceHash" : "03d240ba06a5cec46a7ae1a1a291197513d53a21dc42384e8743a4884f322428" + "sourceHash" : "d6c3aa731da1ecf3a1cb2614b70b0c17ba9b7c63410b405a75e426b705a70b33" }, "blocks" : [ { @@ -16,18 +16,18 @@ "extraData" : "", "gasLimit" : "0x0f4240", "gasUsed" : "0x02603f", - "hash" : "0x781d8e6fa9d074d715b985cdcda2bee48e8659b767b5403074aef80b3c89f590", + "hash" : "0x61da6c7680390a5c922fe1f9ae0437cfcf3f3fc53ca2a540f96705143a225716", "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce" : "0x0000000000000000", "number" : "0x01", - "parentHash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "receiptTrie" : "0x11db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6", - "stateRoot" : "0xbe459bd04a0133322390690731056167fc91a52e2ea192c246439745372ddd78", + "stateRoot" : "0xddee2239f45ed9456953332b86766df31dc50d6f75f46679afadbdd8827586c0", "timestamp" : "0x03e8", "transactionsTrie" : "0x7b12792a2f809d9e636fbe563416323618715309c378d624539d3087c54b487e", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "rlp" : "0xf90280f901f8a0541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0be459bd04a0133322390690731056167fc91a52e2ea192c246439745372ddd78a07b12792a2f809d9e636fbe563416323618715309c378d624539d3087c54b487ea011db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603f8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000010000000000000000000000000000000000000001ca037e42dd8ada31ad5a1ec9c74ce7d6fcdb35fa12051d7487ba79fa7deb6da0183a04e217f713a8b8738d5b7e2f4718508d9b31488a1b258f2cb211929ee2f579101c0", + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0ddee2239f45ed9456953332b86766df31dc50d6f75f46679afadbdd8827586c0a07b12792a2f809d9e636fbe563416323618715309c378d624539d3087c54b487ea011db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603f8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000010000000000000000000000000000000000000001ca037e42dd8ada31ad5a1ec9c74ce7d6fcdb35fa12051d7487ba79fa7deb6da0183a04e217f713a8b8738d5b7e2f4718508d9b31488a1b258f2cb211929ee2f579101c0", "transactions" : [ { "data" : "0x0000000000000000000000001000000000000000000000000000000000000000", @@ -52,19 +52,19 @@ "extraData" : "0x42", "gasLimit" : "0x0f4240", "gasUsed" : "0x00", - "hash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "nonce" : "0x0102030405060708", "number" : "0x00", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0x048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", "timestamp" : "0x03b6", "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", - "lastblockhash" : "0x781d8e6fa9d074d715b985cdcda2bee48e8659b767b5403074aef80b3c89f590", + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x61da6c7680390a5c922fe1f9ae0437cfcf3f3fc53ca2a540f96705143a225716", "network" : "Constantinople", "postState" : { "0x1000000000000000000000000000000000000000" : { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { "balance" : "0x29a2241af62e603f", "code" : "", @@ -95,6 +109,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -102,6 +123,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0x8c2950f075c34756bfa06b21b13ce910113e5958" : { "balance" : "0x00", "code" : "", @@ -151,6 +179,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -158,6 +193,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -165,6 +207,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -172,6 +221,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0.json index b5e3b6ab4..9fd511a59 100644 --- a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0.json +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0.json @@ -1,11 +1,11 @@ { "create2checkFieldsInInitcode_d1g0v0_Constantinople" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types.", + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json", - "sourceHash" : "716102b66da107b320c67cc7d19460249dae41a45b80ff1313f23c6ed2f2c450" + "sourceHash" : "30977e7a7eaa13a314cfd3d8599ee1d7b61d697e1b44de491b45a8bbcc8a9a97" }, "blocks" : [ { @@ -16,18 +16,18 @@ "extraData" : "", "gasLimit" : "0x0f4240", "gasUsed" : "0x02603f", - "hash" : "0xc3ef09e25328e6d31b2a0a8d7a1a25aa5f0c3a0c37d07c419fdd357e5e9f8249", + "hash" : "0x1da709b3cdea6a49c4418ac9c7c8ca2c1ac12a73119d070caf426548f00121e2", "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce" : "0x0000000000000000", "number" : "0x01", - "parentHash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "receiptTrie" : "0x11db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6", - "stateRoot" : "0x26dd7c2203357a44cdf0213d53e3cdc19a41887fc675e86df81c9fdd7c385648", + "stateRoot" : "0xbd2d9677e70d060cacfeeab3b730e04fc98c1a9f360f0da1dac00127504e14e0", "timestamp" : "0x03e8", "transactionsTrie" : "0x080df95cebd6ddf3ee5a8780cafc6ef6118437ae91979966334dfd2e02522446", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "rlp" : "0xf90280f901f8a0541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa026dd7c2203357a44cdf0213d53e3cdc19a41887fc675e86df81c9fdd7c385648a0080df95cebd6ddf3ee5a8780cafc6ef6118437ae91979966334dfd2e02522446a011db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603f8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000020000000000000000000000000000000000000001ba0369f64558f261bfb89a1b99b6461aed890fc3abf3e700dd19cbe51e26865474ca01ecaeda5ba03383347c84076ac3f108992809bf9488e0d1ca688dca201409635c0", + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0bd2d9677e70d060cacfeeab3b730e04fc98c1a9f360f0da1dac00127504e14e0a0080df95cebd6ddf3ee5a8780cafc6ef6118437ae91979966334dfd2e02522446a011db2097fddf71d1a67812802eb3f0ce73eaf1d7b276bfb2e6571c09bfb49fc6b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603f8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000020000000000000000000000000000000000000001ba0369f64558f261bfb89a1b99b6461aed890fc3abf3e700dd19cbe51e26865474ca01ecaeda5ba03383347c84076ac3f108992809bf9488e0d1ca688dca201409635c0", "transactions" : [ { "data" : "0x0000000000000000000000002000000000000000000000000000000000000000", @@ -52,19 +52,19 @@ "extraData" : "0x42", "gasLimit" : "0x0f4240", "gasUsed" : "0x00", - "hash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "nonce" : "0x0102030405060708", "number" : "0x00", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0x048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", "timestamp" : "0x03b6", "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", - "lastblockhash" : "0xc3ef09e25328e6d31b2a0a8d7a1a25aa5f0c3a0c37d07c419fdd357e5e9f8249", + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x1da709b3cdea6a49c4418ac9c7c8ca2c1ac12a73119d070caf426548f00121e2", "network" : "Constantinople", "postState" : { "0x1000000000000000000000000000000000000000" : { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { "balance" : "0x29a2241af62e603f", "code" : "", @@ -95,6 +109,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -102,6 +123,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0x753d879541ef32dd404b5c296b3f90d5723b22e6" : { "balance" : "0x00", "code" : "", @@ -151,6 +179,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -158,6 +193,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -165,6 +207,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -172,6 +221,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0.json index 5b40e165b..9930faeb3 100644 --- a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0.json +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0.json @@ -1,11 +1,11 @@ { "create2checkFieldsInInitcode_d2g0v0_Constantinople" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types.", + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json", - "sourceHash" : "1c3e1fad9c1511e4f83f43aeae1c1e7e89f169618eda5aebf556f41f7d456850" + "sourceHash" : "42f271ae4f228aa6546403cd561326dcd5a0871d3b6fcafd09f633df983ac1e1" }, "blocks" : [ { @@ -16,18 +16,18 @@ "extraData" : "", "gasLimit" : "0x0f4240", "gasUsed" : "0x02603c", - "hash" : "0x9a8b6eceffa65c0affe7e1d57f80ac90b6414921a9fcbd23fdba9167cd7a435b", + "hash" : "0xbb99ab01be9d91377c6fdcf35094aaa5381caa02de7d894201fbc88e9a587bd8", "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce" : "0x0000000000000000", "number" : "0x01", - "parentHash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "receiptTrie" : "0xfc923681d1950500b5cdd58b26f5c2eefdadacdd113f7f41a07b7ae1fbcb2acd", - "stateRoot" : "0x7116ee419bc4478d39df08286414fd5337d90d520c565a6409f6c27d07eb749a", + "stateRoot" : "0xfdb42bf435db3ac6787293ed42ede7c62da1392b3ad2ac4b8d72995ca3db0930", "timestamp" : "0x03e8", "transactionsTrie" : "0x8877cbced3e2868a8b17d42f6b3ea5a32d0b78205e48235faf3ee5e17fe2501c", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "rlp" : "0xf90280f901f8a0541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa07116ee419bc4478d39df08286414fd5337d90d520c565a6409f6c27d07eb749aa08877cbced3e2868a8b17d42f6b3ea5a32d0b78205e48235faf3ee5e17fe2501ca0fc923681d1950500b5cdd58b26f5c2eefdadacdd113f7f41a07b7ae1fbcb2acdb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000030000000000000000000000000000000000000001ca0f1638c0ee0025df9638929f06fa81d35af0ceeab0099952a9ff9438df08e12d7a06d55c7e2b3b620c9668a27fb16592c67aca2d41c2bfb1a1b5cc66013b69b4294c0", + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0fdb42bf435db3ac6787293ed42ede7c62da1392b3ad2ac4b8d72995ca3db0930a08877cbced3e2868a8b17d42f6b3ea5a32d0b78205e48235faf3ee5e17fe2501ca0fc923681d1950500b5cdd58b26f5c2eefdadacdd113f7f41a07b7ae1fbcb2acdb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302603c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000030000000000000000000000000000000000000001ca0f1638c0ee0025df9638929f06fa81d35af0ceeab0099952a9ff9438df08e12d7a06d55c7e2b3b620c9668a27fb16592c67aca2d41c2bfb1a1b5cc66013b69b4294c0", "transactions" : [ { "data" : "0x0000000000000000000000003000000000000000000000000000000000000000", @@ -52,19 +52,19 @@ "extraData" : "0x42", "gasLimit" : "0x0f4240", "gasUsed" : "0x00", - "hash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "nonce" : "0x0102030405060708", "number" : "0x00", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0x048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", "timestamp" : "0x03b6", "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", - "lastblockhash" : "0x9a8b6eceffa65c0affe7e1d57f80ac90b6414921a9fcbd23fdba9167cd7a435b", + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xbb99ab01be9d91377c6fdcf35094aaa5381caa02de7d894201fbc88e9a587bd8", "network" : "Constantinople", "postState" : { "0x1000000000000000000000000000000000000000" : { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x262ddf6ce5b06776eaa045900e933d0be3074c26" : { "balance" : "0x00", "code" : "", @@ -107,6 +121,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -114,6 +135,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7619fc4", "code" : "", @@ -151,6 +179,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -158,6 +193,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -165,6 +207,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -172,6 +221,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0.json index 90c80f5a4..c8fcd92da 100644 --- a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0.json +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0.json @@ -1,11 +1,11 @@ { "create2checkFieldsInInitcode_d3g0v0_Constantinople" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types.", + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json", - "sourceHash" : "fd922b2e81514365a4826457e5ec412c80ce7ec8fabed82afc867e67e78567be" + "sourceHash" : "cb4ab4ac6554313b026616dce36b72193b574dbe5363806312149955ddd850bd" }, "blocks" : [ { @@ -16,18 +16,18 @@ "extraData" : "", "gasLimit" : "0x0f4240", "gasUsed" : "0x08e29c", - "hash" : "0xe80f44e481ed28c7ccf8182c2986d61da2cc99b294ab2a9f64cca680acc9709d", + "hash" : "0xb7514b147bfda5412ae1ef665bd18924accff12b9a13a1b59b92b20bf22781b2", "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "nonce" : "0x0000000000000000", "number" : "0x01", - "parentHash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "receiptTrie" : "0x9ab87e4d14b3b2d4e35095f23cfee739f53968b716fcc94ee0fab3a4f3f72ed8", - "stateRoot" : "0x53998b957358a352f933a8821229fbf0033d410e8a46466376d0d90c24db6ea8", + "stateRoot" : "0xbdb13ce86c818e5caad6ce3acf63817ec000f52f1c2b3334e65d0cf2062853bf", "timestamp" : "0x03e8", "transactionsTrie" : "0x329c67ebb0aba80a9dc6bc82d5df955707263b3813087d5ae59ab2f509250add", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "rlp" : "0xf90280f901f8a0541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0ea01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa053998b957358a352f933a8821229fbf0033d410e8a46466376d0d90c24db6ea8a0329c67ebb0aba80a9dc6bc82d5df955707263b3813087d5ae59ab2f509250adda09ab87e4d14b3b2d4e35095f23cfee739f53968b716fcc94ee0fab3a4f3f72ed8b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408308e29c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000040000000000000000000000000000000000000001ba06d9f1ea0afdc70b696c147bcbaaa7cd4b7095863eeee1da190d8a7cf2f392e25a03f11e56530a21834deb239230d043c735f9dcb808ee687e47c3cb164fabc2f88c0", + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0bdb13ce86c818e5caad6ce3acf63817ec000f52f1c2b3334e65d0cf2062853bfa0329c67ebb0aba80a9dc6bc82d5df955707263b3813087d5ae59ab2f509250adda09ab87e4d14b3b2d4e35095f23cfee739f53968b716fcc94ee0fab3a4f3f72ed8b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408308e29c8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000040000000000000000000000000000000000000001ba06d9f1ea0afdc70b696c147bcbaaa7cd4b7095863eeee1da190d8a7cf2f392e25a03f11e56530a21834deb239230d043c735f9dcb808ee687e47c3cb164fabc2f88c0", "transactions" : [ { "data" : "0x0000000000000000000000004000000000000000000000000000000000000000", @@ -52,19 +52,19 @@ "extraData" : "0x42", "gasLimit" : "0x0f4240", "gasUsed" : "0x00", - "hash" : "0x541db14b16252a8ba4934494a24c2b8a7b4acf82777991fb2dfdfcdb1a88cd0e", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "nonce" : "0x0102030405060708", "number" : "0x00", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", - "stateRoot" : "0x048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", "timestamp" : "0x03b6", "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, - "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0048c4ea0f9ce2f7051ac1e28b06c5f5d5e2ff308ae981169cde474ac003a31d8a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", - "lastblockhash" : "0xe80f44e481ed28c7ccf8182c2986d61da2cc99b294ab2a9f64cca680acc9709d", + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xb7514b147bfda5412ae1ef665bd18924accff12b9a13a1b59b92b20bf22781b2", "network" : "Constantinople", "postState" : { "0x1000000000000000000000000000000000000000" : { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { "balance" : "0x29a2241af634e29c", "code" : "", @@ -95,6 +109,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -102,6 +123,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a75b1d64", "code" : "", @@ -139,6 +167,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -146,6 +181,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -153,6 +195,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -160,6 +209,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0.json new file mode 100644 index 000000000..350c9f640 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0.json @@ -0,0 +1,269 @@ +{ + "create2checkFieldsInInitcode_d4g0v0_Constantinople" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0Filler.json", + "sourceHash" : "cb3cc31656f699f35a31effa9d2b8382125cc83f0c0d9e1ca374dd944e973392" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x02dd63", + "hash" : "0xc56e8e73f106dc7decccf40f711b03fedcf5833cf16c8894eb815b95916bbbdc", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x619c73754be8f43bd28a5ed118495307c83e3f56d91ea95d0f81c0eabdc9dce2", + "stateRoot" : "0x15b52dfceed9313109f49b589c5fcc3e49f0b66304c384b731f52dd53211afce", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x9620044ae8e946568eee3a76861bcbc73e0ab6519b4ec5923f626246300d358f", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa015b52dfceed9313109f49b589c5fcc3e49f0b66304c384b731f52dd53211afcea09620044ae8e946568eee3a76861bcbc73e0ab6519b4ec5923f626246300d358fa0619c73754be8f43bd28a5ed118495307c83e3f56d91ea95d0f81c0eabdc9dce2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302dd638203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000011000000000000000000000000000000000000001ba0161a06fa26bcfa269a465d970d4d6b37c5a4e1726ece669c37b86f3aa2332422a03f5116226c20e0b0f69c8487e57cb8fcb001cee47ff940a804f58914104569bdc0", + "transactions" : [ + { + "data" : "0x0000000000000000000000001100000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x161a06fa26bcfa269a465d970d4d6b37c5a4e1726ece669c37b86f3aa2332422", + "s" : "0x3f5116226c20e0b0f69c8487e57cb8fcb001cee47ff940a804f58914104569bd", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xc56e8e73f106dc7decccf40f711b03fedcf5833cf16c8894eb815b95916bbbdc", + "network" : "Constantinople", + "postState" : { + "0x0ca778a36e49042352b7ba1bad607770c731f64c" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x01", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62edd63", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x8c2950f075c34756bfa06b21b13ce910113e5958" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x8c2950f075c34756bfa06b21b13ce910113e5958", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xf000000000000000000000000000000000000000", + "0x06" : "0x21", + "0x07" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a761229d", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x01", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0.json new file mode 100644 index 000000000..8d417f51a --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0.json @@ -0,0 +1,269 @@ +{ + "create2checkFieldsInInitcode_d5g0v0_Constantinople" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0Filler.json", + "sourceHash" : "d40c870e0bdf5a3168ab34d25acbb04385c8f803c1bd0e22c2e08804d74531bb" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x02dd63", + "hash" : "0x0af838d2ce34b6c6f3e042a15467c4ad2e63cd62a31387115681c6f81dbb1392", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x619c73754be8f43bd28a5ed118495307c83e3f56d91ea95d0f81c0eabdc9dce2", + "stateRoot" : "0xf03968f1419f97e820d9060e871b1a7e0ec771815ec10f0afefb102cd8a32097", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x06e675886b03e6446f6d98cfc199019d5d5575c248b28c04ef02d9bee6678e1a", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f03968f1419f97e820d9060e871b1a7e0ec771815ec10f0afefb102cd8a32097a006e675886b03e6446f6d98cfc199019d5d5575c248b28c04ef02d9bee6678e1aa0619c73754be8f43bd28a5ed118495307c83e3f56d91ea95d0f81c0eabdc9dce2b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302dd638203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000022000000000000000000000000000000000000001ba090c0aadeec95d573e9f7347d2210eddeff9664413b25a8ffed0161f56f6c4c58a05338a47565b5df2175545df8e634b329b5059fe1dbe66da6259592213775c5a7c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000002200000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x90c0aadeec95d573e9f7347d2210eddeff9664413b25a8ffed0161f56f6c4c58", + "s" : "0x5338a47565b5df2175545df8e634b329b5059fe1dbe66da6259592213775c5a7", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x0af838d2ce34b6c6f3e042a15467c4ad2e63cd62a31387115681c6f81dbb1392", + "network" : "Constantinople", + "postState" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1bebe06c0893a047ea4ce821f24668d9034e204f" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x01", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62edd63", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a761229d", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xdd216ee8d9ec9d48768efa989e3c599b0327f1ba" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xdd216ee8d9ec9d48768efa989e3c599b0327f1ba", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0x1bebe06c0893a047ea4ce821f24668d9034e204f", + "0x06" : "0x21", + "0x07" : "0x01" + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json new file mode 100644 index 000000000..eb89dec0f --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0.json @@ -0,0 +1,269 @@ +{ + "create2checkFieldsInInitcode_d6g0v0_Constantinople" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json", + "sourceHash" : "4c9d634c9e018bcff075dd69c40ed1741bdbc1ccb7ccbec1ec21eeea8d1cd7b7" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x02dd5a", + "hash" : "0x85059afd9565e663000c2cde76cfbae0a8b5782ae8e289a28f443a1aad116293", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x1b155915d7eb5e31bed7d4cd08ad276a9ca58dc3011128559bfde8ead423c05c", + "stateRoot" : "0xf59d3316c335a7a89868e3490f333441786798e242f7de25bb242f47e183130d", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x5ee97388b63308bcd575af671f2096a7d8cdebf76f96e92f724060f0b8ee4302", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0f59d3316c335a7a89868e3490f333441786798e242f7de25bb242f47e183130da05ee97388b63308bcd575af671f2096a7d8cdebf76f96e92f724060f0b8ee4302a01b155915d7eb5e31bed7d4cd08ad276a9ca58dc3011128559bfde8ead423c05cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408302dd5a8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000033000000000000000000000000000000000000001ca0fce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84a00ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000003300000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xfce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84", + "s" : "0x0ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x85059afd9565e663000c2cde76cfbae0a8b5782ae8e289a28f443a1aad116293", + "network" : "Constantinople", + "postState" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62edd5a", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x01", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a76122a6", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xab166837a8bc12757f73555d296f726df214cd4c" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x02", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xab166837a8bc12757f73555d296f726df214cd4c", + "0x06" : "0x21", + "0x07" : "0x01" + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json new file mode 100644 index 000000000..ef76030d8 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0.json @@ -0,0 +1,257 @@ +{ + "create2checkFieldsInInitcode_d7g0v0_Constantinople" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0Filler.json", + "sourceHash" : "7816e14403e7a00e3a760cb4cb31243453bb0a599500af10f466658be1f3d419" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x08c44d", + "hash" : "0x0bf7bca013bfb7c7635e8a624a4bc4b230ade694b620812fc919777ad4b745f4", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "receiptTrie" : "0x464dcc0421288e538d3a0d2f357edb650d76b7fe8083da6a94b16d6247255827", + "stateRoot" : "0x5d8655d5c4aba622c0d00fe28ccb3b198418278ff55a176fbb545fdc21bc2827", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x5d636df68c399376012432ec1af581b6ad8d0b6cd2fcff813e1348e425418c6d", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90280f901f8a0e16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014ba01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa05d8655d5c4aba622c0d00fe28ccb3b198418278ff55a176fbb545fdc21bc2827a05d636df68c399376012432ec1af581b6ad8d0b6cd2fcff813e1348e425418c6da0464dcc0421288e538d3a0d2f357edb650d76b7fe8083da6a94b16d6247255827b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001830f42408308c44d8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f882f8808001830927c094b94f5374fce5edbc8e2a8697c15331677e6ebf0b80a000000000000000000000000044000000000000000000000000000000000000001ca09d85d3bb849518994bf2cb5edd3f4ab6b1a02e66ad943ffd800fd882e60804dba04c77bd04a8f386c7ecaaf7e24e67336e00401c2f46085a653a12679a328af9f7c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000004400000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x9d85d3bb849518994bf2cb5edd3f4ab6b1a02e66ad943ffd800fd882e60804db", + "s" : "0x4c77bd04a8f386c7ecaaf7e24e67336e00401c2f46085a653a12679a328af9f7", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0x00", + "hash" : "0xe16e353dbc718e894e0103300c651f64df4d7449fae5a4b631e1a0fd30a4014b", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xe31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9ed", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0e31351ad2653233bfaf3676f3769ae30245ac3a725f5b9229f882cfab25be9eda056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080830f4240808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x0bf7bca013bfb7c7635e8a624a4bc4b230ade694b620812fc919777ad4b745f4", + "network" : "Constantinople", + "postState" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af634c44d", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x01", + "storage" : { + } + }, + "0x79357dfe2de1925a280e4bdb9e0d75a01d3c2513" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a75b3bb3", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0.json new file mode 100644 index 000000000..0ab914b85 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0.json @@ -0,0 +1,119 @@ +{ + "returndatacopy_0_0_following_successful_create_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0Filler.json", + "sourceHash" : "6061f3ecb8afc395bf30ee87bccf06592547c3cd925e8351e8604ff41798dbb0" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0xf650", + "hash" : "0xf738aaa858d1f4b30193d55a57216190975970e43fdafd4e0a2eda15e273cf86", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x6a6807dd5b318f4a3bb6fec657b9749d4d34bcf77f5c255321000ced69fe70c7", + "receiptTrie" : "0xdd12b95ff4374afaf7f0623a04401257a575bc6e2c05d08e009a0b6541f5168c", + "stateRoot" : "0xc7bb6b49f16dd9f9ae1c913dd6e82a21f8961bb33b13e15e1cce07fbf3cbccf3", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90263f901f9a06a6807dd5b318f4a3bb6fec657b9749d4d34bcf77f5c255321000ced69fe70c7a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0c7bb6b49f16dd9f9ae1c913dd6e82a21f8961bb33b13e15e1cce07fbf3cbccf3a0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba0dd12b95ff4374afaf7f0623a04401257a575bc6e2c05d08e009a0b6541f5168cb90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a0000000082f6508203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0", + "transactions" : [ + { + "data" : "0x", + "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" : "0x6a6807dd5b318f4a3bb6fec657b9749d4d34bcf77f5c255321000ced69fe70c7", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x13513234ef91ab100de53330b3d1b76d5284a7c6276325ebe12f56b7b79a9906", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa013513234ef91ab100de53330b3d1b76d5284a7c6276325ebe12f56b7b79a9906a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xf738aaa858d1f4b30193d55a57216190975970e43fdafd4e0a2eda15e273cf86", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600580601d60003960006000f5506000600060003e6000600055006001600055", + "nonce" : "0x01", + "storage" : { + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62cf650", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63ffff09b0", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + }, + "0xbd70f8d180fa7825cf80ec820740e80187f35db5" : { + "balance" : "0x00", + "code" : "", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x01" + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600580601d60003960006000f5506000600060003e6000600055006001600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0.json new file mode 100644 index 000000000..437de5980 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0.json @@ -0,0 +1,113 @@ +{ + "returndatacopy_afterFailing_create_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "Returndatacopy after failing create case due to 0xfd code.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0Filler.json", + "sourceHash" : "8c2d421ada33a3064d41d2ca2e40e04cc6d302db97b92519d6a880fe4ff76721" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x0130f9", + "hash" : "0x933c3ca7552a43b854e41568abed9faa575ff39b77ef308bb2fb1d6f9c37ab92", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x07f7d64d1028cb2739dead7de1064a29687f8aff17747a7baee74689e975d1dc", + "receiptTrie" : "0x60c168dc463a84b346705a3cd643c3ed945f14d1fbf71ca6f8ab9b61228467a8", + "stateRoot" : "0xc454203343cfd2690cf079c32608b10f28a9e980bc997bea367d25b87b6f2a74", + "timestamp" : "0x03e8", + "transactionsTrie" : "0xde317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616ab", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90264f901faa007f7d64d1028cb2739dead7de1064a29687f8aff17747a7baee74689e975d1dca01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0c454203343cfd2690cf079c32608b10f28a9e980bc997bea367d25b87b6f2a74a0de317ba0085ad3bc6f64da920500c40ceb94789c007f8c54b3e766eae29616aba060c168dc463a84b346705a3cd643c3ed945f14d1fbf71ca6f8ab9b61228467a8b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a00000000830130f98203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f864f8628001850a00000000940f572e5295c57f15886f9b263e2f6d2d6c7b5ec680801ba03b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507a024a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2c0", + "transactions" : [ + { + "data" : "0x", + "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" : "0x07f7d64d1028cb2739dead7de1064a29687f8aff17747a7baee74689e975d1dc", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x8c2a88ad332080ba0c17432f602adc25ba4b018581091faa72429df70812e5a0", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa08c2a88ad332080ba0c17432f602adc25ba4b018581091faa72429df70812e5a0a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x933c3ca7552a43b854e41568abed9faa575ff39b77ef308bb2fb1d6f9c37ab92", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x69600260005260206000fd6000526000600a60166000f5503d6000556020600060003e600051600155", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x20", + "0x01" : "0x02" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a2241af62d30f9", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x63fffecf07", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x69600260005260206000fd6000526000600a60166000f5503d6000556020600060003e600051600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0.json new file mode 100644 index 000000000..14783399a --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0.json @@ -0,0 +1,142 @@ +{ + "returndatacopy_following_create_d0g0v0_Constantinople" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0Filler.json", + "sourceHash" : "d7cf359772f174c02fba58f438b87f28e17b2ae82de1e044bb376fc4f16dcf88" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x09d800016a", + "hash" : "0x9eacc3aa9241efe7e1102e0ac6a176e6990bc805bf679ffd6ca05a3d872de57e", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x80dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19", + "receiptTrie" : "0x33891ba17886a5df505164ff49c9f0c29a4424653beca8ce10e53790ab187c99", + "stateRoot" : "0x59810fd965a1ec74c9dbb9daf15627e5469f827ec07fcd2e70deeabfd373a6d2", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x69c170299662f99f1fadf8f188bd75b69ccc53c9183dec37ab9ad905337c94fe", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90286f901fca080dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa059810fd965a1ec74c9dbb9daf15627e5469f827ec07fcd2e70deeabfd373a6d2a069c170299662f99f1fadf8f188bd75b69ccc53c9183dec37ab9ad905337c94fea033891ba17886a5df505164ff49c9f0c29a4424653beca8ce10e53790ab187c99b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a000000008509d800016a8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f884f8828001850a00000000941aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec680a00000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec61ba093fd0893ed2b699f28d2111cc57ee154fc537ab2d1d1c2e4617feb16997949d9a03e1f5df45b5fa6ce3f3486d5eeef891ab91ad7f98cbaa063059e2b2911710f1bc0", + "transactions" : [ + { + "data" : "0x0000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x93fd0893ed2b699f28d2111cc57ee154fc537ab2d1d1c2e4617feb16997949d9", + "s" : "0x3e1f5df45b5fa6ce3f3486d5eeef891ab91ad7f98cbaa063059e2b2911710f1b", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x80dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x530c384156dc63131b2d4dbed915b08b7fe97829a0b8fb64629f32a56181dac5", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0530c384156dc63131b2d4dbed915b08b7fe97829a0b8fb64629f32a56181dac5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0x9eacc3aa9241efe7e1102e0ac6a176e6990bc805bf679ffd6ca05a3d872de57e", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a22424ce2c016a", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a27fffe96", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0.json b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0.json new file mode 100644 index 000000000..3e4f16a11 --- /dev/null +++ b/BlockchainTests/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0.json @@ -0,0 +1,142 @@ +{ + "returndatacopy_following_create_d1g0v0_Constantinople" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0Filler.json", + "sourceHash" : "c273681053e210b02a387e027fb01201e575604e0cc6679841e3a8484c16f9ab" + }, + "blocks" : [ + { + "blockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x09d800016a", + "hash" : "0xf82f70a7da8bba2e30a94d33940c15976cf0746592623671ec140956f0f4b09a", + "mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "nonce" : "0x0000000000000000", + "number" : "0x01", + "parentHash" : "0x80dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19", + "receiptTrie" : "0x33891ba17886a5df505164ff49c9f0c29a4424653beca8ce10e53790ab187c99", + "stateRoot" : "0x59810fd965a1ec74c9dbb9daf15627e5469f827ec07fcd2e70deeabfd373a6d2", + "timestamp" : "0x03e8", + "transactionsTrie" : "0x6c315fb02377b6bb6b56a39efabf8d7af32a167e6de2d078de6955cf767264a8", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "rlp" : "0xf90286f901fca080dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa059810fd965a1ec74c9dbb9daf15627e5469f827ec07fcd2e70deeabfd373a6d2a06c315fb02377b6bb6b56a39efabf8d7af32a167e6de2d078de6955cf767264a8a033891ba17886a5df505164ff49c9f0c29a4424653beca8ce10e53790ab187c99b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000001850a000000008509d800016a8203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f884f8828001850a00000000941aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec680a00000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec61ca01f42cde01cf0ef6900a7343f855231adfd4c2b462ebbf9ffe4679bd34504540aa00c8c5ea34fc1ca58b3d5c94fe66823ee1943ccacc3345caf6533cbd0ef168361c0", + "transactions" : [ + { + "data" : "0x0000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x1f42cde01cf0ef6900a7343f855231adfd4c2b462ebbf9ffe4679bd34504540a", + "s" : "0x0c8c5ea34fc1ca58b3d5c94fe66823ee1943ccacc3345caf6533cbd0ef168361", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "0x020000", + "extraData" : "0x42", + "gasLimit" : "0x0a00000000", + "gasUsed" : "0x00", + "hash" : "0x80dec0c4a02d3cf3a7aa2122b26ca392a946be744cda11ecbf883b2fe596bf19", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0x00", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0x530c384156dc63131b2d4dbed915b08b7fe97829a0b8fb64629f32a56181dac5", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "genesisRLP" : "0xf901fcf901f7a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0530c384156dc63131b2d4dbed915b08b7fe97829a0b8fb64629f32a56181dac5a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b90100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008302000080850a00000000808203b642a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421880102030405060708c0c0", + "lastblockhash" : "0xf82f70a7da8bba2e30a94d33940c15976cf0746592623671ec140956f0f4b09a", + "network" : "Constantinople", + "postState" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x29a22424ce2c016a", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x5a27fffe96", + "code" : "", + "nonce" : "0x01", + "storage" : { + } + } + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json b/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json index 76ce9e1c4..fa0fcc296 100644 --- a/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json +++ b/GeneralStateTests/stCreate2/create2checkFieldsInInitcode.json @@ -1,11 +1,11 @@ { "create2checkFieldsInInitcode" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types.", + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on.", "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", "source" : "src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json", - "sourceHash" : "bc38edef74ef85ca01dac7fe45a10fc28155f1acd397ca22bf904130ca76c8f8" + "sourceHash" : "50ac50bc39f0c248eff24f1de056780ac844933aae167e75aded73e9e72c3a03" }, "env" : { "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -18,7 +18,7 @@ "post" : { "Constantinople" : [ { - "hash" : "0x521f66fd73b644de582060b3c1fd36fc607361b0508a856c7b274527e8d06eed", + "hash" : "0x98f39cfc90b914cc0106664574510cf5ec48db69049056cd428660902072b5c8", "indexes" : { "data" : 0, "gas" : 0, @@ -27,7 +27,7 @@ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, { - "hash" : "0x7b07cf50029a0ea414ddc08cf264769cf46e8f15cd92fd97df810d2cfda8933a", + "hash" : "0x34ce395269cfc502dc12f9e47b641ca9d0e238f021c4c0261cc3320d0a24c023", "indexes" : { "data" : 1, "gas" : 0, @@ -36,7 +36,7 @@ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, { - "hash" : "0xc1efa57d4edb575dc41c069603a6e66d7896ec9151e749322ec0b6729db54d65", + "hash" : "0xe207954d05f816d76fdb073787e157304e1e4d9e815b1edeaf48f86982df792c", "indexes" : { "data" : 2, "gas" : 0, @@ -45,13 +45,49 @@ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" }, { - "hash" : "0xde24fb3f9883c69c4ce5ac7d7f6e32c23f55b959cf1c00be6cd7e59ff4420b2d", + "hash" : "0x21c3a34a5adfac47cdbc8054cb0c92523bb5c723e520c9b6632fdc1cc897a5f7", "indexes" : { "data" : 3, "gas" : 0, "value" : 0 }, "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3d3645535593cdbb6461104d82c5114583684c580d70c8200acaa8d05b21cd80", + "indexes" : { + "data" : 4, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xff2e3d36973819a1d7c60bb8dea515189aac9a8082e1177923d87b71ea4bfec2", + "indexes" : { + "data" : 5, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x686c6cdfbdb522a62ef96ba13c8b7d33401cb705825ecddc66705173eedf9828", + "indexes" : { + "data" : 6, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x35a0954f1e48b7824c24828e7dd765d9c2911c7d0aeb6473e7fc2ec47780dac1", + "indexes" : { + "data" : 7, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" } ] }, @@ -63,6 +99,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -70,6 +113,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -77,6 +127,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -84,6 +141,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", @@ -118,7 +182,11 @@ "0x0000000000000000000000001000000000000000000000000000000000000000", "0x0000000000000000000000002000000000000000000000000000000000000000", "0x0000000000000000000000003000000000000000000000000000000000000000", - "0x0000000000000000000000004000000000000000000000000000000000000000" + "0x0000000000000000000000004000000000000000000000000000000000000000", + "0x0000000000000000000000001100000000000000000000000000000000000000", + "0x0000000000000000000000002200000000000000000000000000000000000000", + "0x0000000000000000000000003300000000000000000000000000000000000000", + "0x0000000000000000000000004400000000000000000000000000000000000000" ], "gasLimit" : [ "0x0927c0" diff --git a/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create.json b/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create.json new file mode 100644 index 000000000..bdd169145 --- /dev/null +++ b/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create.json @@ -0,0 +1,64 @@ +{ + "returndatacopy_0_0_following_successful_create" : { + "_info" : { + "comment" : "", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/returndatacopy_0_0_following_successful_createFiller.json", + "sourceHash" : "20b86a7b86bcf5324629e8e3f47891790033d3436d99d753cd643d0959f7eb78" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xb9b6ba98eeb913bd9607b6e38e6662c2914d0397688bd3379334e0f9edbf2176", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600580601d60003960006000f5506000600060003e6000600055006001600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create.json b/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create.json new file mode 100644 index 000000000..2fb7fcfe4 --- /dev/null +++ b/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create.json @@ -0,0 +1,64 @@ +{ + "returndatacopy_afterFailing_create" : { + "_info" : { + "comment" : "Returndatacopy after failing create case due to 0xfd code.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/returndatacopy_afterFailing_createFiller.json", + "sourceHash" : "2043d64e9ea248539f544bc391caada596193c04bcd616c04b41ee1f627fefea" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xfcf050d4b89f8d91a0b8e7e100865cc0c9abc09d8b2f71a5f028444de6e2f86e", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x69600260005260206000fd6000526000600a60166000f5503d6000556020600060003e600051600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/GeneralStateTests/stCreate2/returndatacopy_following_create.json b/GeneralStateTests/stCreate2/returndatacopy_following_create.json new file mode 100644 index 000000000..62979a09a --- /dev/null +++ b/GeneralStateTests/stCreate2/returndatacopy_following_create.json @@ -0,0 +1,89 @@ +{ + "returndatacopy_following_create" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode.", + "filledwith" : "testeth 1.5.0.dev2+commit.253a2986.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_createFiller.json", + "sourceHash" : "4775c056f9093ea1d95eaf6c1a92114b05c7e4a80529e1fe43795d26fc37de02" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0x8a7554f711f95b008b8ed549aed6fdd7d5860dc75df7560f517765025ef6f1b0", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x8a7554f711f95b008b8ed549aed6fdd7d5860dc75df7560f517765025ef6f1b0", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "0x0000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json index 74755f77d..7c35fa843 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json @@ -1,7 +1,7 @@ { "create2checkFieldsInInitcode_d0g0v0" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types." + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." }, "blocks" : [ { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -88,6 +102,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -95,6 +116,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json index 2628a22da..bc90e5426 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json @@ -1,7 +1,7 @@ { "create2checkFieldsInInitcode_d1g0v0" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types." + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." }, "blocks" : [ { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -88,6 +102,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -95,6 +116,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json index 5c28c879e..2893567b1 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json @@ -1,7 +1,7 @@ { "create2checkFieldsInInitcode_d2g0v0" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types." + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." }, "blocks" : [ { @@ -74,6 +74,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -81,6 +88,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -88,6 +102,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -95,6 +116,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json index 6f6226f5e..7cd9bb856 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json @@ -1,7 +1,7 @@ { "create2checkFieldsInInitcode_d3g0v0" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types." + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." }, "blocks" : [ { @@ -63,6 +63,13 @@ "storage" : { } }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, "0x2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", @@ -70,6 +77,13 @@ "storage" : { } }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, "0x3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", @@ -77,6 +91,13 @@ "storage" : { } }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, "0x4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", @@ -84,6 +105,13 @@ "storage" : { } }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "0x0de0b6b3a7640000", "code" : "", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0Filler.json new file mode 100644 index 000000000..6f0d63aa7 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0Filler.json @@ -0,0 +1,157 @@ +{ + "create2checkFieldsInInitcode_d4g0v0" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000001100000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x161a06fa26bcfa269a465d970d4d6b37c5a4e1726ece669c37b86f3aa2332422", + "s" : "0x3f5116226c20e0b0f69c8487e57cb8fcb001cee47ff940a804f58914104569bd", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x8c2950f075c34756bfa06b21b13ce910113e5958" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0x8c2950f075c34756bfa06b21b13ce910113e5958", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xf000000000000000000000000000000000000000", + "0x06" : "0x21", + "0x07" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "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" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0Filler.json new file mode 100644 index 000000000..d70e0bc0d --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0Filler.json @@ -0,0 +1,157 @@ +{ + "create2checkFieldsInInitcode_d5g0v0" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000002200000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x90c0aadeec95d573e9f7347d2210eddeff9664413b25a8ffed0161f56f6c4c58", + "s" : "0x5338a47565b5df2175545df8e634b329b5059fe1dbe66da6259592213775c5a7", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xdd216ee8d9ec9d48768efa989e3c599b0327f1ba" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xdd216ee8d9ec9d48768efa989e3c599b0327f1ba", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0x1bebe06c0893a047ea4ce821f24668d9034e204f", + "0x06" : "0x21", + "0x07" : "0x01" + } + } + } + } + ], + "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" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json new file mode 100644 index 000000000..52ee175e8 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json @@ -0,0 +1,157 @@ +{ + "create2checkFieldsInInitcode_d6g0v0" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000003300000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0xfce90638764ad2b680c02215d769d8e4e69a9baf0afb01b32ead5b1ca78d1c84", + "s" : "0x0ef37921579a2f574b5b517099813c1d007ff0c425b2baa3aa30d6bb80a61163", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad" : { + "balance" : "0x00", + "nonce" : "0x01", + "storage" : { + "0x00" : "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xab166837a8bc12757f73555d296f726df214cd4c", + "0x06" : "0x21", + "0x07" : "0x01" + } + } + } + } + ], + "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" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0Filler.json new file mode 100644 index 000000000..2a4e9f3a5 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0Filler.json @@ -0,0 +1,146 @@ +{ + "create2checkFieldsInInitcode_d7g0v0" : { + "_info" : { + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000004400000000000000000000000000000000000000", + "gasLimit" : "0x0927c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x9d85d3bb849518994bf2cb5edd3f4ab6b1a02e66ad943ffd800fd882e60804db", + "s" : "0x4c77bd04a8f386c7ecaaf7e24e67336e00401c2f46085a653a12679a328af9f7", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + } + } + } + ], + "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" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f5006000600060006000600073f0000000000000000000000000000000000000005af2", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000601f80601060003960006000f500600060006000600073f0000000000000000000000000000000000000005af4", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x61010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0x4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f50061010060006000600073f2000000000000000000000000000000000000005afa50600051600a55", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602180601060003960006000f50030600055303160015532600255336003553460045536600555386006553a600755", + "nonce" : "0x00", + "storage" : { + } + }, + "0xf200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x6000602780601060003960006000f5003060005230316020523260405233606052346080523660a0523860c0523a60e0526101006000f3", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0Filler.json new file mode 100644 index 000000000..3aa00956f --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0Filler.json @@ -0,0 +1,80 @@ +{ + "returndatacopy_0_0_following_successful_create_d0g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + } + }, + "0xbd70f8d180fa7825cf80ec820740e80187f35db5" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "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" : "0x00", + "code" : "0x6000600580601d60003960006000f5506000600060003e6000600055006001600055", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0Filler.json new file mode 100644 index 000000000..0f7ff3bf5 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0Filler.json @@ -0,0 +1,80 @@ +{ + "returndatacopy_afterFailing_create_d0g0v0" : { + "_info" : { + "comment" : "Returndatacopy after failing create case due to 0xfd code." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x3b6c2d4d0d9d0abf4d624a6f2930e213789e9c00f679a9afa996fb4bd27cb507", + "s" : "0x24a40d7f4cf44278ac739ecf9eeba61554646709142d968ed1c555be138a3ea2", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x20", + "0x01" : "0x02" + } + } + } + } + ], + "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" : "0x00", + "code" : "0x69600260005260206000fd6000526000600a60166000f5503d6000556020600060003e600051600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0Filler.json new file mode 100644 index 000000000..560f6f418 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0Filler.json @@ -0,0 +1,94 @@ +{ + "returndatacopy_following_create_d0g0v0" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x93fd0893ed2b699f28d2111cc57ee154fc537ab2d1d1c2e4617feb16997949d9", + "s" : "0x3e1f5df45b5fa6ce3f3486d5eeef891ab91ad7f98cbaa063059e2b2911710f1b", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1b", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "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" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0Filler.json new file mode 100644 index 000000000..ac725dda7 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0Filler.json @@ -0,0 +1,94 @@ +{ + "returndatacopy_following_create_d1g0v0" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode." + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0a00000000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "gasLimit" : "0x0a00000000", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x1f42cde01cf0ef6900a7343f855231adfd4c2b462ebbf9ffe4679bd34504540a", + "s" : "0x0c8c5ea34fc1ca58b3d5c94fe66823ee1943ccacc3345caf6533cbd0ef168361", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "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" : "0x00", + "code" : "0x6000602780601e60003960006000f5506020600060003e600051600055007d111122223333444455556666777788889999aaaabbbbccccddddeeeeffff60005260206000f3", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "0x6000600180601e60003960006000f5506020600060003e6000516000550000", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json b/src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json index fc00eb1c8..21bf14b61 100644 --- a/src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json +++ b/src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json @@ -1,7 +1,7 @@ { "create2checkFieldsInInitcode" : { "_info" : { - "comment" : "Check opcode values in create2 init code. Create2 called with different call types." + "comment" : "Check opcode values in create2 init code. Create2 called with different call types. CREATE2 inside CRETE2 inside CALL, CALLCODE, DELEGATECALL, STATICCALL << test values of SENDER,address and so on." }, "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -14,7 +14,7 @@ "expect" : [ { "indexes" : { - "data" : 0, + "data" : [0,4], "gas" : -1, "value" : -1 }, @@ -95,7 +95,7 @@ }, { "indexes" : { - "data" : 3, + "data" : [3, 7], "gas" : -1, "value" : -1 }, @@ -105,6 +105,60 @@ "nonce" : "1" } } + }, + { + "indexes" : { + "data" : 5, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "dd216ee8d9ec9d48768efa989e3c599b0327f1ba" : { + "balance" : "0", + "nonce" : "1", + "storage" : { + "0x00" : "0xdd216ee8d9ec9d48768efa989e3c599b0327f1ba", + "0x01" : "0", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0x1bebe06c0893a047ea4ce821f24668d9034e204f", + "0x04" : "0", + "0x05" : "0", + "0x06" : "0x21", + "0x07" : "1" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } + }, + { + "indexes" : { + "data" : 6, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "ce2c5c4667c2e59af5767b677a65e31fa14f62ad" : { + "balance" : "0", + "nonce" : "1", + "storage" : { + "0x00" : "0xce2c5c4667c2e59af5767b677a65e31fa14f62ad", + "0x01" : "0", + "0x02" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x03" : "0xab166837a8bc12757f73555d296f726df214cd4c", + "0x04" : "0", + "0x05" : "0", + "0x06" : "0x21", + "0x07" : "1" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "1" + } + } } ], "pre" : { @@ -129,6 +183,13 @@ "storage" : { } }, + "1100000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "{ (CREATE2 0 0 (lll (seq (CALL (GAS) 0xf000000000000000000000000000000000000000 0 0 0 0 0)) 0) 0) }", + "nonce" : "0", + "storage" : { + } + }, "2000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "{ (CALLCODE (GAS) 0xf000000000000000000000000000000000000000 0 0 0 0 0) }", @@ -136,6 +197,13 @@ "storage" : { } }, + "2200000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "{ (CREATE2 0 0 (lll (seq (CALLCODE (GAS) 0xf000000000000000000000000000000000000000 0 0 0 0 0) ) 0) 0) }", + "nonce" : "0", + "storage" : { + } + }, "3000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "{ (DELEGATECALL (GAS) 0xf000000000000000000000000000000000000000 0 0 0 0) }", @@ -143,6 +211,13 @@ "storage" : { } }, + "3300000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "{ (CREATE2 0 0 (lll (seq (DELEGATECALL (GAS) 0xf000000000000000000000000000000000000000 0 0 0 0) ) 0) 0) }", + "nonce" : "0", + "storage" : { + } + }, "4000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "{ (STATICCALL (GAS) 0xf200000000000000000000000000000000000000 0 0 0 256) [[10]] (MLOAD 0) }", @@ -150,6 +225,13 @@ "storage" : { } }, + "4400000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "{ (CREATE2 0 0 (lll (seq (STATICCALL (GAS) 0xf200000000000000000000000000000000000000 0 0 0 256) [[10]] (MLOAD 0) ) 0) 0 ) }", + "nonce" : "0", + "storage" : { + } + }, "f000000000000000000000000000000000000000" : { "balance" : "0x00", "code" : "{ (CREATE2 0 0 (lll (seq [[0]] (ADDRESS) [[1]] (BALANCE (ADDRESS)) [[2]] (ORIGIN) [[3]] (CALLER) [[4]] (CALLVALUE) [[5]] (CALLDATASIZE) [[6]] (CODESIZE) [[7]] (GASPRICE) ) 0) 0) }", @@ -170,7 +252,11 @@ "0x0000000000000000000000001000000000000000000000000000000000000000", "0x0000000000000000000000002000000000000000000000000000000000000000", "0x0000000000000000000000003000000000000000000000000000000000000000", - "0x0000000000000000000000004000000000000000000000000000000000000000" + "0x0000000000000000000000004000000000000000000000000000000000000000", + "0x0000000000000000000000001100000000000000000000000000000000000000", + "0x0000000000000000000000002200000000000000000000000000000000000000", + "0x0000000000000000000000003300000000000000000000000000000000000000", + "0x0000000000000000000000004400000000000000000000000000000000000000" ], "gasLimit" : [ "600000" diff --git a/src/GeneralStateTestsFiller/stCreate2/returndatacopy_0_0_following_successful_createFiller.json b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_0_0_following_successful_createFiller.json new file mode 100644 index 000000000..423fd56fa --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_0_0_following_successful_createFiller.json @@ -0,0 +1,66 @@ +{ + "returndatacopy_0_0_following_successful_create" : { + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x00" + } + }, + "bd70f8d180fa7825cf80ec820740e80187f35db5" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (create2 0 0 (lll {(SSTORE 0 1)} 0) 0) (RETURNDATACOPY 0 0 0) (SSTORE 0 0) }", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/returndatacopy_afterFailing_createFiller.json b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_afterFailing_createFiller.json new file mode 100644 index 000000000..4b2470b06 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_afterFailing_createFiller.json @@ -0,0 +1,64 @@ +{ + "returndatacopy_afterFailing_create" : { + "_info" : { + "comment" : "Returndatacopy after failing create case due to 0xfd code." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x20", + "0x01" : "0x02" + } + } + } + } + ], + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (MSTORE 0 0x600260005260206000fd) (create2 0 22 10 0) (SSTORE 0 (RETURNDATASIZE)) (RETURNDATACOPY 0 0 32) (SSTORE 1 (MLOAD 0)) }", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_createFiller.json b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_createFiller.json new file mode 100644 index 000000000..3cd1b489a --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_createFiller.json @@ -0,0 +1,95 @@ +{ + "returndatacopy_following_create" : { + "_info" : { + "comment" : "Check that create2 does not fill returndata buffer with its return opcode." + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : 0, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : -1, + "value" : -1 + }, + "network" : [">=Constantinople"], + "result" : { + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "storage" : { + "0x00" : "0x01" + } + } + } + } + ], + "pre" : { + "1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (CALL (GAS) (CALLDATALOAD 0) 0 0 0 0 0) }", + "nonce" : "0x00", + "storage" : { + } + }, + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (CREATE2 0 0 (lll (seq (MSTORE 0 0x0000111122223333444455556666777788889999aaaabbbbccccddddeeeeffff) (RETURN 0 32)) 0) 0) (RETURNDATACOPY 0 0 32) (SSTORE 0 (MLOAD 0)) }", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x00", + "code" : "{ (seq (create2 0 0 (lll (STOP) 0) 0) (RETURNDATACOPY 0 0 32) (SSTORE 0 (MLOAD 0)) )}", + "nonce" : "0x00", + "storage" : { + "0x00" : "0x01" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "0x0000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0x1aabbccdd5c57f15886f9b263e2f6d2d6c7b5ec6", + "value" : [ + "0x00" + ] + } + } +} |