aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-08 23:54:53 +0800
committerDimitry <dimitry@ethereum.org>2018-09-08 23:54:53 +0800
commit827fec4bc47db888b0f50aa8251f2987f42fd1e8 (patch)
tree4808aa34995371537887c5fe6a020b83fc30c6d3 /src
parente740a725a28bf7714abd0c400439f060fdd1e873 (diff)
downloaddexon-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
Diffstat (limited to 'src')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d0g0v0Filler.json30
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d1g0v0Filler.json30
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d2g0v0Filler.json30
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d3g0v0Filler.json30
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d4g0v0Filler.json157
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d5g0v0Filler.json157
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d6g0v0Filler.json157
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2checkFieldsInInitcode_d7g0v0Filler.json146
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_0_0_following_successful_create_d0g0v0Filler.json80
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_afterFailing_create_d0g0v0Filler.json80
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d0g0v0Filler.json94
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stCreate2/returndatacopy_following_create_d1g0v0Filler.json94
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/create2checkFieldsInInitcodeFiller.json94
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/returndatacopy_0_0_following_successful_createFiller.json66
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/returndatacopy_afterFailing_createFiller.json64
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/returndatacopy_following_createFiller.json95
16 files changed, 1396 insertions, 8 deletions
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"
+ ]
+ }
+ }
+}