aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stCreate2/Create2OnDepth1024Filler.json
blob: 3d6d8f40109f37b1890628607ceadef2c0cb1459 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
    "Create2OnDepth1024" : {
    "_info" : {
        "comment" : "Create2OnDepth1024, 0x0400 indicates 1022 level."
    },
        "env" : {
            "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
            "currentDifficulty" : "0x20000",
            "currentGasLimit" : "9223372036854775807",
            "currentNumber" : "0x01",
            "currentTimestamp" : "0x03e8",
            "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
        },
        "expect" : [
            {   
        "indexes" : {
                   "data" : -1,
                   "gas" : -1,
                   "value" : -1
                },
                "network" : [">=Constantinople"],
                "result" : {
                  "0x436b8f99e8d953cdaf8f9472116add83ccd82a65" : {
             "//comment" : "this nonce would have been equal to 2 if create worked",
                     "nonce" : "1"
                  },
          "0xb250d8cdad4a7a81323be508f4ac44584dd27597" : {
                     "storage" : {
                       "0x01" : "0x436b8f99e8d953cdaf8f9472116add83ccd82a65"
                     }
                  },
          "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                     "storage" : {
                       "0x01" : "0xb250d8cdad4a7a81323be508f4ac44584dd27597"
                     }
                  }
               }
            }
        ],
        "pre" : {
            "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "70368744177664000000",
                "code" : "",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "0",
        "//codeinsidecreate2" : "{  (MSTORE 0 0x6000600060006000f5) [[1]] (CREATE2 0 23 9 0) } ",
                "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (MSTORE 0 (ADD 2 (MLOAD 0))) (if (EQ (MLOAD 0) 0x0400) (seq (MSTORE 32 0x686000600060006000f56000526000600960176000f5600155) [[1]] (CREATE2 0 39 25 0))  (CALL (GAS) 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b (EQ (MLOAD 0) 0x0400) 0 32 0 0)) }",
                "nonce" : "0x00",
                "storage" : {
                }
            },
            "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "0",
                "code" : "{ (MSTORE 0 (CALLDATALOAD 0)) (CALL (GAS) 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 32 0 0) }",
                "nonce" : "0x00",
                "storage" : {
                }
            }
        },
        "transaction" : {
            "data" : [
                ""
            ],
            "gasLimit" : [
                "9223372036854775806"
            ],
            "gasPrice" : "0x01",
            "nonce" : "0x00",
            "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
            "value" : [
                "0x00"
            ]
        }
    }
}