aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stInitCodeTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/StateTests/stInitCodeTest.json')
-rw-r--r--tests/files/StateTests/stInitCodeTest.json230
1 files changed, 163 insertions, 67 deletions
diff --git a/tests/files/StateTests/stInitCodeTest.json b/tests/files/StateTests/stInitCodeTest.json
index 9f9c907dc..18e42b86c 100644
--- a/tests/files/StateTests/stInitCodeTest.json
+++ b/tests/files/StateTests/stInitCodeTest.json
@@ -60,7 +60,6 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
"gasLimit" : "20000000",
@@ -123,7 +122,6 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
"gasLimit" : "20000000",
@@ -193,7 +191,6 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
"gasLimit" : "20000000",
@@ -265,7 +262,6 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
"gasLimit" : "20000000",
@@ -343,7 +339,6 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
"gasLimit" : "20000000",
@@ -368,21 +363,28 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0",
+ "balance" : "1",
"code" : "0x3060025560206000600039602060006000f0",
"nonce" : "40",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "40000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "59999",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "97cece6bf5648d3af08ae84cff4795f33c7fa0ca34b0aec566773e5e148595cd",
+ "postStateRoot" : "b172ab3228567998c69af66c3c389ea31a313f3760554b0495cb09a1085f71bb",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
@@ -399,10 +401,9 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
- "gasLimit" : "10000",
+ "gasLimit" : "40000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -424,21 +425,28 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0",
+ "balance" : "1",
"code" : "0x602060006000f0",
"nonce" : "0",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "40000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "59999",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "a7eedf1843a4a7a6e3172dd783517e9982ed7c0a3f7de975089c206967348e99",
+ "postStateRoot" : "265dea5a631897bed221b2e4e0445fcd0f09c4e19ff11c070ff1a32db5785268",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
@@ -455,10 +463,9 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x00",
- "gasLimit" : "10000",
+ "gasLimit" : "40000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -479,28 +486,41 @@
],
"out" : "0x",
"post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "2",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "22176",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "1",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "8b349ba4168d101eb80264bf712d8adcd342e41eda6b4bed9e805ac9a31031da",
+ "postStateRoot" : "ab2af6cb4355c873efb8d017d1100dc261e56127bb47ef2121faf67209006abb",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "2",
+ "balance" : "22177",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c6000396000f200600160008035811a8100",
- "gasLimit" : "599",
+ "gasLimit" : "22176",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -522,27 +542,26 @@
"out" : "0x",
"post" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "70000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "postStateRoot" : "bb8ecac4b17ff3b014cd53a3286ba5e42517ea8edde6a1c97de065943d3a6a2d",
+ "postStateRoot" : "e690db2aaa205cdcda6c0e0a275c234fa8b3a225cc6737d06ab638b47840235a",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "70000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c6000396000f200600160008035811a8100",
- "gasLimit" : "590",
+ "gasLimit" : "21590",
"gasPrice" : "3",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -561,12 +580,19 @@
},
"logs" : [
],
- "out" : "0x",
+ "out" : "0x0015",
"post" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "21090",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "balance" : "78910",
"code" : "0x6001601f6001601e600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6107d0f1506002601ef3",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
}
},
@@ -578,7 +604,7 @@
}
}
},
- "postStateRoot" : "262a214f1ac4aa762d10b7f47aa18ef6d8aeb6462e74a24bc5426ad4833ae3b2",
+ "postStateRoot" : "42ef55e243c47be922c62b4056fbbce8801576631352c43ed3c0a8db99922a52",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
@@ -595,10 +621,9 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "",
- "gasLimit" : "5000",
+ "gasLimit" : "41000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -619,10 +644,17 @@
],
"out" : "0x",
"post" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "25000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "balance" : "75000",
"code" : "0x60156000526020602060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b611b58f15060406000f3",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
}
},
@@ -634,7 +666,7 @@
}
}
},
- "postStateRoot" : "d49e5f42842dd9e9faead37ece66d06a9f72489ec8741139627bcf1bbc95f19f",
+ "postStateRoot" : "e50a793ac270f127f73357d842a80f165f7069dde8540b6bfbff5c9dd46bdfc5",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
@@ -651,10 +683,9 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "",
- "gasLimit" : "15000",
+ "gasLimit" : "25000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -675,28 +706,41 @@
],
"out" : "0x",
"post" : {
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "40000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "10000",
"code" : "0x",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "bb8ecac4b17ff3b014cd53a3286ba5e42517ea8edde6a1c97de065943d3a6a2d",
+ "postStateRoot" : "413c855a22b2e40a76999f9bd796cf2599b84a6b148712fe7430fc2f892a4d7c",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "50000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x6000f1",
- "gasLimit" : "1000",
+ "gasLimit" : "40000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -717,15 +761,29 @@
],
"out" : "0x",
"post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "100000",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "32599",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "1",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "67400",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "a3e1c133a5a51b03399ed9ad0380f3182e9e18322f232b816dd4b9094f871e1b",
+ "postStateRoot" : "3cfd002a3559783f75228964cc1ac46adaddec77224361d58485898a02d418c3",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
@@ -735,10 +793,9 @@
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c6000396000f200600160008035811a8100",
- "gasLimit" : "599",
+ "gasLimit" : "32599",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -759,28 +816,41 @@
],
"out" : "0x",
"post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "23000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "1",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "76999",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "bb8ecac4b17ff3b014cd53a3286ba5e42517ea8edde6a1c97de065943d3a6a2d",
+ "postStateRoot" : "84c0364010c8d918ded07ca3c2fa555bf1dd3f116670fb237204347eec2ff004",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c6000396000f200ff600160008035811a81",
- "gasLimit" : "1000",
+ "gasLimit" : "23000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -801,28 +871,41 @@
],
"out" : "0x",
"post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "22204",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "1",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "77795",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "bb8ecac4b17ff3b014cd53a3286ba5e42517ea8edde6a1c97de065943d3a6a2d",
+ "postStateRoot" : "b2de012ac480412426664a68a009920fb4ce8c9651543900c440070e8e286644",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c600039600000f20000600160008035811a81",
- "gasLimit" : "1000",
+ "gasLimit" : "23000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -843,28 +926,41 @@
],
"out" : "0x",
"post" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "1",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "22396",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "77603",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "bb8ecac4b17ff3b014cd53a3286ba5e42517ea8edde6a1c97de065943d3a6a2d",
+ "postStateRoot" : "fad7c0ef276d9250dcd9f2b3bda060f202617546e28b6360c7c2026b7107ad4e",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "10000",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
}
},
- "preStateRoot" : "56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"transaction" : {
"data" : "0x600a80600c6000396000fff2ffff600160008035811a81",
- "gasLimit" : "1000",
+ "gasLimit" : "23000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",