aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-09-14 03:21:47 +0800
committerDimitry <dimitry@ethereum.org>2018-09-14 03:21:47 +0800
commit7f647b72947a011f1869c3895d359f07bf6a73b9 (patch)
tree9abb2d7f1c92b9f550cb214949e3097bed9c3f2f /src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json
parent78dbc922a4a2f0e159a20107462dbadb7967f663 (diff)
downloaddexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar.gz
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar.bz2
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar.lz
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar.xz
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.tar.zst
dexon-tests-7f647b72947a011f1869c3895d359f07bf6a73b9.zip
recursive create2
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json b/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json
new file mode 100644
index 000000000..785967098
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreate2/Create2RecursiveFiller.json
@@ -0,0 +1,77 @@
+{
+ "Create2Recursive" : {
+ "_info" : {
+ "comment" : "Create2 inside Create2 inside Create2...."
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "9223372036854775807",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 0,
+ "value" : -1
+ },
+ "network" : [">=Constantinople"],
+ "result" : {
+ "0x4b17a07e119e86a0ff1fd21cdc9b4aba196ed3f8" : {
+ "//comment" : "1024's address",
+ "nonce" : "1"
+ }
+ }
+ },
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : 1,
+ "value" : -1
+ },
+ "network" : [">=Constantinople"],
+ "result" : {
+ "0x471a0e624a2ac11c82cf1ff843127f1c6aa98351" : {
+ "//comment" : "1023's address",
+ "nonce" : "1"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "70368744177664000000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "//code" : "{ (CODECOPY 0 0 100) (if (LT (GAS) 1000) (GAS) (CREATE2 0 0 100 0)) }",
+ "code" : "{ (MSTORE 0 0x606460006000396103e85a10601b576000606460006000f5601d565b5a5b) (CREATE2 0 2 30 0) }",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "9223372036854775806", "20060000000000"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+}