aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/bcStateTestFiller.json
blob: 15a66778224a71bc802fd079bb75dc4c84993169 (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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
{
    "simpleSuicide" : {
        "genesisBlockHeader" : {
            "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
            "difficulty" : "231072",
            "extraData" : "0x42",
            "gasLimit" : "3141592",
            "gasUsed" : "0",
            "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "nonce" : "0x0102030405060708",
            "number" : "0",
            "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
            "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
            "timestamp" : "0x54c98c81",
            "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "1000"
            }
        },
        "pre" : {
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "99999683970",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            },
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "100000",
                "nonce" : "0",
                "code" : "{ (SUICIDE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) }",
                "storage": {}
            }
        },
        "blocks" : [
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "50000",
                        "gasPrice" : "10",
                        "nonce" : "0",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
                        "value" : "10"
                    }
                ],
                "uncleHeaders" : [
                ]
            },
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "50000",
                        "gasPrice" : "10",
                        "nonce" : "1",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
                        "value" : "1000"
                    }
                ],
                "uncleHeaders" : [
                ]
            }
        ]
    },

    "SuicideCoinbase" : {
        "genesisBlockHeader" : {
            "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
            "difficulty" : "231072",
            "extraData" : "0x42",
            "gasLimit" : "3141592",
            "gasUsed" : "0",
            "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "nonce" : "0x0102030405060708",
            "number" : "0",
            "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
            "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
            "timestamp" : "0x54c98c81",
            "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
        },
        "expect" : {
        "0000000000000000000000000000000000000000" : {
        "balance" : "2002"
        },
            "8888f1f195afa192cfee860698584c030f4c9db1" : {
                "balance" : "5000000000000420000"
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "9999472208",
        "nonce" : "3"
            }
        },
        "pre" : {
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "10000000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            },
            "8888f1f195afa192cfee860698584c030f4c9db1" : {
                "balance" : "1000",
                "nonce" : "0",
        "code" : "contract killer { function x() {suicide(msg.sender);  }}",
                "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900480630c55699c146037576035565b005b60406004506042565b005b3373ffffffffffffffffffffffffffffffffffffffff16ff5b56",
                "storage": {}
            }
        },
        "blocks" : [
            {
                "transactions" : [
         {
            "data" : "0x0c55699c",
            "gasLimit" : "0x07a120",
            "gasPrice" : "0x0a",
            "nonce" : "0x00",
            "r" : "0x91fc4c402ced19b984e953546d3fc786c46a79c9f0c7918b8f3343dc529ef0e5",
            "s" : "0x546d89230c90ca8bf7988a826430d4771ab3a67cc0f3cb8019d67ab10ec10524",
            "to" : "8888f1f195afa192cfee860698584c030f4c9db1",
            "v" : "0x1b",
            "value" : "0x03e9"
         },
         {
            "data" : "0x",
            "gasLimit" : "0xc350",
            "gasPrice" : "0x0a",
            "nonce" : "0x01",
            "r" : "0xb03ab16ed211bf447ac030216ab088f18367ee51303545d2957990e9d3a28f10",
            "s" : "0x7f18dd055139f7ac5558997b80ccae799ab6fbad2326799db509a9d4e5a52d72",
            "to" : "0000000000000000000000000000000000000000",
            "v" : "0x1b",
            "value" : "0x03e8"
         },
         {
            "data" : "0x",
            "gasLimit" : "0xc350",
            "gasPrice" : "0x0a",
            "nonce" : "0x02",
            "r" : "0x0925abd1221d388622138f4bae46803313f297001e96fec22dc4268fca5b5a82",
            "s" : "0x55cd8142bcec39f80b359aa089f6a70568d23a67048026703981fad9339ef5d4",
            "to" : "0000000000000000000000000000000000000000",
            "v" : "0x1b",
            "value" : "0x03ea"
         }
                ],
                "uncleHeaders" : [
                ]
            }
        ]
    },

    "OOGStateCopyContainingDeletedContract" : {
        "genesisBlockHeader" : {
            "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
            "difficulty" : "231072",
            "extraData" : "0x42",
            "gasLimit" : "3141592",
            "gasUsed" : "0",
            "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "nonce" : "0x0102030405060708",
            "number" : "0",
            "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
            "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
            "timestamp" : "0x54c98c81",
            "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
        },
        "expect" : {
        "2e0de3fc10a88911ff857126db1a5f0da6f25173" : {
        "balance" : "0x03eb",
        "nonce" : "0x00",
        "storage" : {
            "0x09" : "0x26c6a34c00000000000000000000000000000000000000000000000000000000"
        }
        },
        "64306ec3f51a26dcf19f5da0c043040f54f4eca5" : {
        "balance" : "0x00",
        "code" : "0x",
        "nonce" : "0x00",
        "storage" : {
        }
        },
        "8888f1f195afa192cfee860698584c030f4c9db1" : {
        "balance" : "0x4563918245093420"
        },
        "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
        "nonce" : "0x02"
        }
        },
        "pre" : {
            "2e0de3fc10a88911ff857126db1a5f0da6f25173" : {
                "balance" : "1",
                "nonce" : "0",
        "code" : "contract RestoreVictim { uint256[10] s;  function Store() { for (var i = 0; i < 10; i++) {  s[i] = 42; }} function Run(address a) {  this.call.gas(60000)(bytes4 (sha3('Store()')));  s[9] = Victim(a).GetNum();  } }",
                "code" : "0x60606040526000357c01000000000000000000000000000000000000000000000000000000009004806342e90c3314610044578063fc49c80e1461005157610042565b005b61004f600450610064565b005b6100626004803590602001506100a4565b005b6000600090505b600a8160ff1610156100a057602a600060005082600a81101561000257909001600050819055505b808060010191505061006b565b5b50565b3073ffffffffffffffffffffffffffffffffffffffff1661ea6060405180807f53746f7265282900000000000000000000000000000000000000000000000000815260200150600701905060405180910390207c0100000000000000000000000000000000000000000000000000000000809104027c0100000000000000000000000000000000000000000000000000000000900490604051827c010000000000000000000000000000000000000000000000000000000002815260040180905060006040518083038160008887f19350505050508073ffffffffffffffffffffffffffffffffffffffff166326c6a34c604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506020604051808303816000876161da5a03f115610002575050506040515160006000506009600a81101561000257909001600050819055505b5056",
                "storage": {}
            },
            "64306ec3f51a26dcf19f5da0c043040f54f4eca5" : {
                "balance" : "1",
                "nonce" : "0",
        "code" : "contract Victim { function Die () {  suicide(msg.sender);  } function GetNum() returns (uint) { return 1337; } }",
                "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900480630c5feb5d14604157806326c6a34c14604c57603f565b005b604a600450606b565b005b60556004506086565b6040518082815260200191505060405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff16ff5b565b600061053990506091565b9056",
                "storage": {}
            },
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "100000000000",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            }
        },
        "blocks" : [
            {
                "transactions" : [
          {
            "data" : "0x0c5feb5d",
            "gasLimit" : "0x0493e0",
            "gasPrice" : "0x0a",
            "nonce" : "0x00",
            "r" : "0x0cf2cc4de3013273d0aae3cf36cdb6cf152573f7a5b99fe2c514a845bbb98a93",
            "s" : "0x48f4aa20b37303bf4f2c0e7e5f6c178814f99ab4d3d98cf9382185f1ae256b7f",
            "to" : "64306ec3f51a26dcf19f5da0c043040f54f4eca5",
            "v" : "0x1b",
            "value" : "0x01"
         },
         {
            "data" : "0xfc49c80e00000000000000000000000064306ec3f51a26dcf19f5da0c043040f54f4eca5",
            "gasLimit" : "0x0493e0",
            "gasPrice" : "0x0a",
            "nonce" : "0x01",
            "r" : "0xc9f11f1b4aedd9c1d99a6e2aea6f9ce90bdd6bb6063193715fdb43e77029346f",
            "s" : "0x3440044e3aa54293e887f1751146bf915e73c39eae7da82b75a6d2c7a31d252b",
            "to" : "2e0de3fc10a88911ff857126db1a5f0da6f25173",
            "v" : "0x1c",
            "value" : "0x03ea"
         }
                ],
                "uncleHeaders" : [
                ]
            }
        ]
    },

   "multimpleBalanceInstruction" : {
        "genesisBlockHeader" : {
            "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
            "difficulty" : "231072",
            "extraData" : "0x42",
            "gasLimit" : "3141592",
            "gasUsed" : "0",
            "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "nonce" : "0x0102030405060708",
            "number" : "0",
            "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
            "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
            "timestamp" : "0x54c98c81",
            "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
        },
        "expect" : {
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                    "0x00" : "0x17485b3218",
                    "0x02" : "0x17485b3218",
                    "0x05" : "0x0186aa"
                }
            },
        "195e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "storage" : {
                    "0x00" : "0x17484d466c",
                    "0x01" : "0x456391824501e7c4",
                    "0x02" : "0x17484d466c",
                    "0x03" : "0x456391824501e7c4",
                    "0x04" : "0x0186aa",
                    "0x05" : "0x018a88"
                }
            }
        },
        "pre" : {
            "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "99999683970",
                "nonce" : "0",
                "code" : "",
                "storage": {}
            },
            "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "100000",
                "nonce" : "0",
                "code" : "{ [[0]] (BALANCE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) [[1]] (BALANCE 0x8888f1f195afa192cfee860698584c030f4c9db1) [[2]] (BALANCE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) [[3]] (BALANCE 0x8888f1f195afa192cfee860698584c030f4c9db1) [[5]] (BALANCE 0x095e7baea6a6c7c4c2dfeb977efac326af552d87)}",
                "storage": {}
            },
            "195e7baea6a6c7c4c2dfeb977efac326af552d87" : {
                "balance" : "100000",
                "nonce" : "0",
                "code" : "{ [[0]] (BALANCE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) [[1]] (BALANCE 0x8888f1f195afa192cfee860698584c030f4c9db1) [[2]] (BALANCE 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b) [[3]] (BALANCE 0x8888f1f195afa192cfee860698584c030f4c9db1) [[4]] (BALANCE 0x095e7baea6a6c7c4c2dfeb977efac326af552d87) [[5]] (BALANCE 0x195e7baea6a6c7c4c2dfeb977efac326af552d87)}",
                "storage": {}
            }
        },
        "blocks" : [
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "150000",
                        "gasPrice" : "10",
                        "nonce" : "0",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
                        "value" : "10"
                    }
                ],
                "uncleHeaders" : [
                ]
            },
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "150000",
                        "gasPrice" : "10",
                        "nonce" : "1",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "195e7baea6a6c7c4c2dfeb977efac326af552d87",
                        "value" : "1000"
                    }
                ],
                "uncleHeaders" : [
                ]
            }
        ]
    },

   "transactionFromNotExistingAccount" : {
        "genesisBlockHeader" : {
            "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
            "difficulty" : "231072",
            "extraData" : "0x42",
            "gasLimit" : "3141592",
            "gasUsed" : "0",
            "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "nonce" : "0x0102030405060708",
            "number" : "0",
            "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
            "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
            "timestamp" : "0x54c98c81",
            "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
            "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
        },
        "expect" : {
            "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "storage" : {
                    "0x01" : "12"
                }
            }
        },
        "pre" : {
        "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "0",
                "nonce" : "0",
                "code" : "{ [[1]] 12 }",
                "storage": {}
            },
        "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
                "balance" : "0",
                "nonce" : "0",
                "code" : "{ [[1]] 12 }",
                "storage": {}
            }
        },
        "blocks" : [
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "150000",
                        "gasPrice" : "1",
                        "nonce" : "0",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
                        "value" : "0"
                    }
                ],
                "uncleHeaders" : [
                ]
            },
            {
                "transactions" : [
                    {
                        "data" : "",
                        "gasLimit" : "150000",
                        "gasPrice" : "0",
                        "nonce" : "0",
                        "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
                        "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b",
                        "value" : "0"
                    }
                ],
                "uncleHeaders" : [
                ]
            }
        ]
    }
}