aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateTestsFiller/stBlockHashTestFiller.json
blob: c49caa41d6e190fe5b26596699e8ca575b1902bd (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
    "blockhash0" : {
        "env" : {
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
            "currentNumber" : "5",
            "currentGasLimit" : "100000000000",
            "currentDifficulty" : "256",
            "currentTimestamp" : 1,
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                    "0x" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
                    "0x02" : "0x13600b294191fc92924bb3ce4b969c1e7e2bab8f4c93c3fc6d0a51733df3c060"
                }
            }
        },
        "pre" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 5) [[ 2 ]] (BLOCKHASH 4) }",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "1000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "transaction" : {
            "nonce" : "0",
            "gasPrice" : "1",
            "gasLimit" : "285000",
            "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
            "value" : "10",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "data" : ""
        }
    },

    "blockhashOutOfRange" : {
        "env" : {
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
            "currentNumber" : "257",
            "currentGasLimit" : "100000000",
            "currentDifficulty" : "256",
            "currentTimestamp" : 1,
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                }
            }
        },
        "pre" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 257) [[ 2 ]] (BLOCKHASH 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) }",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "3850000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "transaction" : {
            "nonce" : "0",
            "gasPrice" : "1",
            "gasLimit" : "2850000",
            "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
            "value" : "10",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "data" : ""
        }
    },

    "blockhashInRange" : {
        "env" : {
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
            "currentNumber" : "257",
            "currentGasLimit" : "100000000",
            "currentDifficulty" : "256",
            "currentTimestamp" : 1,
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                    "0x" : "0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6",
                    "0x01" : "0xad7c5bef027816a800da1736444fb58a807ef4c9603b7848673f7e3a68eb14a5",
                    "0x02" : "0x6ca54da2c4784ea43fd88b3402de07ae4bced597cbb19f323b7595857a6720ae"
                }
            }
        },
        "pre" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "code" : "{ [[ 0 ]] (BLOCKHASH 1) [[ 1 ]] (BLOCKHASH 2) [[ 2 ]] (BLOCKHASH 256) }",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "1000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "transaction" : {
            "nonce" : "0",
            "gasPrice" : "1",
            "gasLimit" : "285000",
            "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
            "value" : "10",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "data" : ""
        }
    },

    "blockhashDOS-sec71" : {
        "env" : {
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
            "currentNumber" : "257",
            "currentGasLimit" : "100000000",
            "currentDifficulty" : "256",
            "currentTimestamp" : 1,
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
        },
        "expect" : {
        "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "0x3b8f5850"
            }
        },
        "pre" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "code" : "0x61010043035b804050600556",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "1000000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "transaction" : {
            "nonce" : "0",
            "gasPrice" : "1",
            "gasLimit" : "750000",
            "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
            "value" : "10",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "data" : ""
        }
    },

    "blockhashJIT" : {
        "env" : {
            "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
            "currentNumber" : "5",
            "currentGasLimit" : "100000000000",
            "currentDifficulty" : "256",
            "currentTimestamp" : 1,
            "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                    "0x" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
                    "0x01" : "0"
                }
            }
        },
        "pre" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000000000000000000",
                "nonce" : "0",
                "code" : "{ [[ 0 ]] (BLOCKHASH 0) [[ 1 ]] (BLOCKHASH 18446744073709551617) }",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "1000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "transaction" : {
            "nonce" : "0",
            "gasPrice" : "1",
            "gasLimit" : "285000",
            "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
            "value" : "10",
            "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
            "data" : ""
        }
    }
}