aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stInitCodeTest.json
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-24 20:39:49 +0800
committerobscuren <geffobscura@gmail.com>2015-03-24 20:39:49 +0800
commitd6da533345a397c3ea6c2bafe16e8c24765aa719 (patch)
treeeb4c978a817ce1152fbd45299e1515aa748bbb35 /tests/files/StateTests/stInitCodeTest.json
parent0ec171ccdfb7514605e7fe16889b4f79904faf76 (diff)
parent24066dca4646c8a376aa5dfbceec0a4b3f872c11 (diff)
downloaddexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar.gz
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar.bz2
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar.lz
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar.xz
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.tar.zst
dexon-d6da533345a397c3ea6c2bafe16e8c24765aa719.zip
Merge commit '24066dca4646c8a376aa5dfbceec0a4b3f872c11' into develop
Diffstat (limited to 'tests/files/StateTests/stInitCodeTest.json')
-rw-r--r--tests/files/StateTests/stInitCodeTest.json229
1 files changed, 181 insertions, 48 deletions
diff --git a/tests/files/StateTests/stInitCodeTest.json b/tests/files/StateTests/stInitCodeTest.json
index 252a0effb..cf904c1b7 100644
--- a/tests/files/StateTests/stInitCodeTest.json
+++ b/tests/files/StateTests/stInitCodeTest.json
@@ -13,28 +13,44 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000",
+ "balance" : "998",
"code" : "0x74600c60005566602060406000f060205260076039f36000526015600b6001f060005560006000600060006001600054620186a0f1",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
+ "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1000000",
+ "balance" : "133284",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "62c01474f089b07dae603491675dc5b5748f7049" : {
+ "balance" : "0",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99000000",
+ "balance" : "99866716",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "d2571607e241ecf590ed94b12d87c94babe36db6" : {
+ "balance" : "2",
+ "code" : "0x602060406000f0",
+ "nonce" : "1",
+ "storage" : {
+ "0x" : "0x0c"
+ }
}
},
- "postStateRoot" : "a2cfcaba473009ba6a90cacfb642df630b0188ff895db1118751300577313c99",
+ "postStateRoot" : "ab47419dd8fd8a551767e37babc9a7a7d52011a465762f8122b164f28d3cb1dd",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000",
@@ -82,21 +98,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20000000",
+ "balance" : "58028",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "80000000",
+ "balance" : "99941972",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "46ed22bcc3ae242009f13879b2cf000b00c09c128cef081064d798d99508eeda",
+ "postStateRoot" : "ac141f722f0723010a7e634d6da894a6ed548d16643dfa3a0305feba3398ea6a",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "10000",
@@ -136,6 +152,13 @@
],
"out" : "0x",
"post" : {
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
"code" : "0x74600c60005566602060406000f060205260076039f36000526015600b6001f0600055600060006000600060006000546000f1",
@@ -144,21 +167,21 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20000000",
+ "balance" : "83139",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "80000000",
+ "balance" : "99916861",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "b1da57b0bbb25a58e65b266037f4d61480ba74fcfe858fb837562cf03b4d6a5d",
+ "postStateRoot" : "befdd7b9114f546b0b7ce58f5e46b24f24003acff6af79cac0c32ee17029a2cd",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
@@ -199,28 +222,37 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "112",
+ "balance" : "111",
"code" : "0x74600c60005566602060406000f060205260076039f36000526015600b6001f06000556000600060006000600c6000546000f1",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
+ "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20000000",
+ "balance" : "103566",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "80000000",
+ "balance" : "99896434",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "d2571607e241ecf590ed94b12d87c94babe36db6" : {
+ "balance" : "1",
+ "code" : "0x602060406000f0",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0c"
+ }
}
},
- "postStateRoot" : "0310c255d8e4935a0ed8da3f4fe7737ca4f1d2ac54ab26ede870f8f668c35cf8",
+ "postStateRoot" : "63bf90b1298600ad4eead4b7c518cba014b52bafdd3ffa7f6ae19e6f22530651",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "112",
@@ -261,28 +293,44 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000",
+ "balance" : "998",
"code" : "0x74600c60005566602060406000f060205260076039f36000526015600b6001f06000556000600060006000600160005461c350f1",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
+ "0x" : "0xd2571607e241ecf590ed94b12d87c94babe36db6"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20000000",
+ "balance" : "133284",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "62c01474f089b07dae603491675dc5b5748f7049" : {
+ "balance" : "0",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "80000000",
+ "balance" : "99866716",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "d2571607e241ecf590ed94b12d87c94babe36db6" : {
+ "balance" : "2",
+ "code" : "0x602060406000f0",
+ "nonce" : "1",
+ "storage" : {
+ "0x" : "0x0c"
+ }
}
},
- "postStateRoot" : "136a3b97a718ca5fba723caada66cbce5831b139e48c7455e0de9275ef59545b",
+ "postStateRoot" : "82391f2ce4d0391379a80ca1bfd7baadd5a296652bec4ce809191af461298810",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000",
@@ -325,26 +373,41 @@
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1",
"code" : "0x6b600c600055602060406000f0600052600c60146000f0",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20000000",
+ "balance" : "105049",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "62c01474f089b07dae603491675dc5b5748f7049" : {
+ "balance" : "0",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "80000000",
+ "balance" : "99894951",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
+ "d2571607e241ecf590ed94b12d87c94babe36db6" : {
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
+ "0x" : "0x0c"
}
}
},
- "postStateRoot" : "3d083a76c41b29a0cc5c6bbdc1f9daeac3ba75582743f371c8ab3a30ef2eba42",
+ "postStateRoot" : "a281799aefc2823b2740b1368b39068de101c2c3eb8863becac0f3252b00dbb6",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1",
@@ -385,10 +448,19 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0",
+ "balance" : "1",
"code" : "0x3060025560206000600039602060006000f0",
- "nonce" : "40",
+ "nonce" : "41",
+ "storage" : {
+ "0x02" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87"
+ }
+ },
+ "1a4c83e1a9834cdc7e4a905ff7f0cf44aed73180" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
"storage" : {
+ "0x02" : "0x1a4c83e1a9834cdc7e4a905ff7f0cf44aed73180"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
@@ -398,15 +470,55 @@
"storage" : {
}
},
+ "8e3411c91d5dd4081b4846fa2f93808f5ad19686" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ "0x02" : "0x8e3411c91d5dd4081b4846fa2f93808f5ad19686"
+ }
+ },
+ "9ca74ad1a326b79d9ec9c080deb56062e975a7ee" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ "0x02" : "0x9ca74ad1a326b79d9ec9c080deb56062e975a7ee"
+ }
+ },
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "600000",
+ "balance" : "599999",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ },
+ "bbba3a14689a28fd82f09d4e01bc87d9654e95c3" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ "0x02" : "0xbbba3a14689a28fd82f09d4e01bc87d9654e95c3"
+ }
+ },
+ "dfceaa082d190ab34e3c37943de35ae8fc01f300" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ "0x02" : "0xdfceaa082d190ab34e3c37943de35ae8fc01f300"
+ }
+ },
+ "f0064be0919341a45680ec0d592eaee47df671ac" : {
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
+ "0x02" : "0xf0064be0919341a45680ec0d592eaee47df671ac"
}
}
},
- "postStateRoot" : "971515a56b2efc3ac390d46697e6f9bfb8cb25df2a41210ae5dbdc83281f07ce",
+ "postStateRoot" : "4fee218443f0d352ef33dfe5dd9bdf120528b38ef3be46630b865bea6b1e6b28",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
@@ -447,28 +559,35 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "0",
+ "balance" : "1",
"code" : "0x602060006000f0",
- "nonce" : "0",
+ "nonce" : "1",
"storage" : {
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "100000",
+ "balance" : "53016",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "900000",
+ "balance" : "946983",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "d2571607e241ecf590ed94b12d87c94babe36db6" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "7ed234fb9d505d4710b1be4309c710dfd42a884a8523fc59b2afd2ab5a298428",
+ "postStateRoot" : "00cfff7e10d762e286e00843be08f353174b8adfffd4c4494f60cb9b4ef8a86e",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0",
@@ -588,17 +707,17 @@
},
"logs" : [
],
- "out" : "0x",
+ "out" : "0x0015",
"post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "41000",
+ "balance" : "21090",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "59000",
+ "balance" : "78910",
"code" : "0x6001601f6001601e600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6107d0f1506002601ef3",
"nonce" : "1",
"storage" : {
@@ -612,7 +731,7 @@
}
}
},
- "postStateRoot" : "2a859d6a892d75c2cf0596f951d3a7fe5d6c4908179a3bfcca2f566955ad35fb",
+ "postStateRoot" : "42ef55e243c47be922c62b4056fbbce8801576631352c43ed3c0a8db99922a52",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
@@ -650,17 +769,17 @@
},
"logs" : [
],
- "out" : "0x",
+ "out" : "0x0000000000000000000000000000000000000000000000000000000000000015000000000000000000000000000000000000000000000000000000000000003f",
"post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "250000",
+ "balance" : "21113",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "750000",
+ "balance" : "978887",
"code" : "0x60156000526020602060206000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b611b58f15060406000f3",
"nonce" : "1",
"storage" : {
@@ -674,7 +793,7 @@
}
}
},
- "postStateRoot" : "4ca5e05664f3a4207ccc5b82ade35cf72e953b847753ca730ef52f7d6e82905d",
+ "postStateRoot" : "d2b3bc033f31492907a141d2dc390c3a9cc6b05933b939f47c07e6fecf22d92f",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "1000000",
@@ -762,22 +881,29 @@
],
"out" : "0x",
"post" : {
+ "0000000000000000000000000000000000000000" : {
+ "balance" : "15",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "23000",
+ "balance" : "11198",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "77000",
+ "balance" : "88787",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "b231c450a665052fe6577f93350aeedb39ceeceacc2ba93a5ee640dd63f9d29a",
+ "postStateRoot" : "5e2d18e12d28a412e04a57800ba998a10739ee10aa35127cfcb8e675c2bbd290",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",
@@ -859,21 +985,28 @@
"out" : "0x",
"post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "23000",
+ "balance" : "22204",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
+ "balance" : "1",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "77000",
+ "balance" : "77795",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "b231c450a665052fe6577f93350aeedb39ceeceacc2ba93a5ee640dd63f9d29a",
+ "postStateRoot" : "b2de012ac480412426664a68a009920fb4ce8c9651543900c440070e8e286644",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000",