diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-24 20:39:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-24 20:39:49 +0800 |
commit | 24066dca4646c8a376aa5dfbceec0a4b3f872c11 (patch) | |
tree | 7f554b336de504a2cb147349c78f6fcccbf2a58c /StateTests/stTransactionTest.json | |
parent | 58c6cc8fd7ff8a27004ed62d912e0a61ae1b73bb (diff) | |
download | go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar.gz go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar.bz2 go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar.lz go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar.xz go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.tar.zst go-tangerine-24066dca4646c8a376aa5dfbceec0a4b3f872c11.zip |
Squashed 'tests/files/' changes from 8f3fbe6..a7081bc
a7081bc update tests
d2678cb update random tests
ca0401b update tests
git-subtree-dir: tests/files
git-subtree-split: a7081bc54e9d72cc480218cb4b218dbb04c7cde7
Diffstat (limited to 'StateTests/stTransactionTest.json')
-rw-r--r-- | StateTests/stTransactionTest.json | 245 |
1 files changed, 94 insertions, 151 deletions
diff --git a/StateTests/stTransactionTest.json b/StateTests/stTransactionTest.json index 5ca22563a..826f90d47 100644 --- a/StateTests/stTransactionTest.json +++ b/StateTests/stTransactionTest.json @@ -95,38 +95,28 @@ "out" : "0x", "post" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000", + "balance" : "104460", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "130000", + "balance" : "35530", "code" : "0x", "nonce" : "0", "storage" : { } }, "d2571607e241ecf590ed94b12d87c94babe36db6" : { - "balance" : "0", + "balance" : "10", "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", "nonce" : "0", "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" } } }, - "postStateRoot" : "8d06c9640523c394d23b6024477dc48f0bbdece39aae317e0893df977dd41485", + "postStateRoot" : "11cb0174dafbaca661204a3a104acf1d96d4f100b2d3db8bfec25cc7e595b545", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "140000", @@ -239,28 +229,36 @@ "out" : "0x", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "131882", + "balance" : "73027", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "268118", + "balance" : "326873", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", + "balance" : "100", "code" : "0x64600c6000556000526005601b6000f0", + "nonce" : "1", + "storage" : { + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "balance" : "0", + "code" : "0x", "nonce" : "0", "storage" : { + "0x" : "0x0c" } } }, - "postStateRoot" : "51902ffb459df330946c7b1265530345ed8ae5e4ee2011899715f54b5396bd7d", + "postStateRoot" : "558f7514aaadbe5e4b69005a110606c5bf1f764279c780141c1f1ecf8f53c382", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "400000", @@ -339,24 +337,31 @@ }, "logs" : [ ], - "out" : "0x", + "out" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "70000", + "balance" : "30510", "code" : "0x", "nonce" : "0", "storage" : { } }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "100", + "code" : "0x60e060020a600035048063f8a8fd6d14601457005b601a6020565b60006000f35b56", + "nonce" : "0", + "storage" : { + } + }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "30000", + "balance" : "69390", "code" : "0x", "nonce" : "1", "storage" : { } } }, - "postStateRoot" : "0da2551b79007ccdf55909b0fc2adb5c9ad2fdb70d17a52948febce4bffa962f", + "postStateRoot" : "7d12ba0d5a88efcfc293ed4a5f877db891be20380c0483f1800f19786c35dce2", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "100000", @@ -486,14 +491,14 @@ "out" : "0x", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "1606938044258990275541962092341162602522202993782792835301376", + "balance" : "1552408805953119431640", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "115792089237316193816632940749697632311307892324477961517254590225120294337659", + "balance" : "115792089237316195423570985008687907853269984665640564037905175201960010207395", "code" : "0x", "nonce" : "1", "storage" : { @@ -507,7 +512,7 @@ } } }, - "postStateRoot" : "721350512be66ff476ca68ed187598a72785333d3f2bf723505d2d7d6044a799", + "postStateRoot" : "a19b2a0d159d80876640895ccdbf287657fd8454c50620430a33572fbdf7111f", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", @@ -693,35 +698,36 @@ "out" : "0x", "post" : { "2adf5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "150000", + "balance" : "47767", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "850000", + "balance" : "952223", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", + "balance" : "9", "code" : "0x6000600060006000600173c94f5374fce5edbc8e2a8697c15331677e6ebf0b6161a8f1", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", + "balance" : "1", "code" : "0x6037600155", "nonce" : "0", "storage" : { + "0x01" : "0x37" } } }, - "postStateRoot" : "63ff667f55efcbc9cea0cbb91867d621e24c2077f412951e950c727939769bcb", + "postStateRoot" : "679ac548468089b4ada3dab4ada7c97b8ea6c6bf46bdaf117b7cf0ad1c7c2a83", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "1000000", @@ -786,28 +792,28 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "840000", + "balance" : "929929", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "160000", + "balance" : "70061", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", + "balance" : "20", "code" : "0x600060006000600060016000619c40f1", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "fb236454c04237e02526349fd49537807c7ea101a416e9d6eb7a3a1917d4ff17", + "postStateRoot" : "2ad48fd172154544728a6ab6729ced747f40205158e83444b5e59697fc83cc3e", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -865,45 +871,35 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { - "balance" : "0", + "balance" : "1", "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", "nonce" : "0", "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "840000", + "balance" : "961079", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "160000", + "balance" : "38911", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", + "balance" : "19", "code" : "0x600060006000600060016000620186a0f1", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "750ad623ab134f44730e54c1b2a6f363e5778592ad9aaf6c486a175cbc700e15", + "postStateRoot" : "2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1060,33 +1056,29 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "300000", + "balance" : "464947", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "200000", + "balance" : "35043", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", + "balance" : "20", "code" : "0x6000600055600060015560006002556000600355600060006000600060016000614e20f1", "nonce" : "0", "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", "0x04" : "0x0c" } } }, - "postStateRoot" : "ddb3f19e055b418df3cbafe8f0e2fdda8a3f518f04c91686d7351e106d70a737", + "postStateRoot" : "860acf740a21f4aa3656c5d77e74502a3dba158b1abc35e74b2d0a8143382a7e", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1149,50 +1141,36 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { - "balance" : "0", + "balance" : "1", "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", "nonce" : "0", "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", - "0x04" : "0x0c", - "0x05" : "0x0c", - "0x06" : "0x0c", - "0x07" : "0x0c", - "0x08" : "0x0c", - "0x09" : "0x0c" } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "300000", + "balance" : "451067", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "200000", + "balance" : "48923", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", + "balance" : "19", "code" : "0x600060005560006001556000600255600060035560006000600060006001600061c350f1", "nonce" : "0", "storage" : { - "0x" : "0x0c", - "0x01" : "0x0c", - "0x02" : "0x0c", - "0x03" : "0x0c", "0x04" : "0x0c" } } }, - "postStateRoot" : "7e5be0395ffb2e58420ed2a9229dc89b62d189b2badfc93b05914d418aa7c84a", + "postStateRoot" : "b5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1254,36 +1232,29 @@ ], "out" : "0x", "post" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "0x6001ff", + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "50000", + "balance" : "86105", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "50000", + "balance" : "13885", "code" : "0x", "nonce" : "0", "storage" : { } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "0x6000600060006000600160006000f1506000ff", - "nonce" : "0", - "storage" : { - } } }, - "postStateRoot" : "1e6be7c2cef4513a11c1084f15ad385e876dd2d9d72d0b6e735819d1ae913628", + "postStateRoot" : "9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1331,35 +1302,28 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { - "balance" : "0", + "balance" : "20", "code" : "0x6001ff", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "50000", + "balance" : "89457", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "50000", + "balance" : "10533", "code" : "0x", "nonce" : "0", "storage" : { } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10", - "code" : "0x6000600060006000600060006000f1506000ff", - "nonce" : "0", - "storage" : { - } } }, - "postStateRoot" : "3ca3e540b7dc7b0ac7b4e4f53bae61f9298ce58cc4154d25734465da7e432468", + "postStateRoot" : "7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1482,36 +1446,29 @@ ], "out" : "0x", "post" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "0x6001ff", + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "30000", + "balance" : "166105", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "150000", + "balance" : "13885", "code" : "0x", "nonce" : "0", "storage" : { } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "0x6000600060006000600160006155f0f1506000ff", - "nonce" : "0", - "storage" : { - } } }, - "postStateRoot" : "6438b5cefd0d6c296db7f9196587799bac75255390e1a6fc7a04c303d4d634a2", + "postStateRoot" : "15e7cb19df513ea5c978fb4930bdf7d48af5b87e67243e7d753627bb4e6b95b4", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1559,28 +1516,21 @@ "out" : "0x", "post" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "90300", + "balance" : "111488", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "31700", + "balance" : "10502", "code" : "0x", "nonce" : "0", "storage" : { } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", - "nonce" : "0", - "storage" : { - } } }, - "postStateRoot" : "1d6f532f87abe0cd3e06252412b0f45e7594928fea6622d1e07250103370958a", + "postStateRoot" : "6dd22dec58b209e1234c1fbfab5251329a95e1a708723ea9a5aad999967be8cd", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "122000", @@ -1621,21 +1571,21 @@ "out" : "0x", "post" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "300", + "balance" : "11488", "code" : "0x", "nonce" : "1", "storage" : { } }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22700", - "code" : "0x73c94f5374fce5edbc8e2a8697c15331677e6ebf0bff", + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1010", + "code" : "0x", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "84dbc27ce9bfc2907cbd78d3d81f62fc4aca9b5395e1f3c8339f8e181002c91d", + "postStateRoot" : "f351e25d15fe2b6344de1944c6980b6f60f2820b103d569210419c60c7e56646", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "22000", @@ -1676,35 +1626,28 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { - "balance" : "1110", + "balance" : "11120", "code" : "0x6001ff", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "38300", + "balance" : "111488", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "83700", + "balance" : "10502", "code" : "0x", "nonce" : "0", "storage" : { } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000", - "code" : "0x6000ff600060006000600060006000617530f1", - "nonce" : "0", - "storage" : { - } } }, - "postStateRoot" : "2148b4ad9864867f74e42056597fc436dbbbc195d39de81109034999c97e1851", + "postStateRoot" : "dc9bf412e9770d2c1500b0be40f27b91d966320ea211c96f34faba0d4d7fb2c0", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "1110", @@ -1752,14 +1695,14 @@ "out" : "0x", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "22000", + "balance" : "21652", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "78000", + "balance" : "78348", "code" : "0x", "nonce" : "1", "storage" : { @@ -1773,7 +1716,7 @@ } } }, - "postStateRoot" : "3ec1e7306ccdfaf4b9919a098ed24653c8ba7cb2185cf395bf18459c70256692", + "postStateRoot" : "2df913175b2031af6b36c9da0197f325e1c175b774b3338d86319a5bdf9ec257", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "100000", @@ -2081,21 +2024,21 @@ } }, "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "25000", + "balance" : "21000", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "74999", + "balance" : "78999", "code" : "0x", "nonce" : "1", "storage" : { } } }, - "postStateRoot" : "e380f1a8d423ae9bee38cd10cc081e723ec4865194e57935b01298ad8fde7fed", + "postStateRoot" : "b7e0e61fec1cd4c8eee3e2f5e571716440f43a55bd2d2068fc276cb20c0bf5f4", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "100000", @@ -2129,14 +2072,14 @@ "out" : "0x", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "22000", + "balance" : "21000", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "977900", + "balance" : "978900", "code" : "0x", "nonce" : "1", "storage" : { @@ -2150,7 +2093,7 @@ } } }, - "postStateRoot" : "87b84e21031365b5b7f8dfe0ed6539447475dd41e89d64fa40f2c77f312eee87", + "postStateRoot" : "c406c576c227c1f4e33a5044b87c619a494004546ce997d2b424d70609ac32c3", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "1000000", @@ -2184,21 +2127,21 @@ "out" : "0x", "post" : { "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "25000", + "balance" : "21000", "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "75000", + "balance" : "79000", "code" : "0x", "nonce" : "1", "storage" : { } } }, - "postStateRoot" : "909166c159d6876776c184e88ad2a1ac03cc642fa02ac1314c380ec4c678cd9c", + "postStateRoot" : "387018dfa6e56ba2a1b7fc2641d6b3377fd589b23a4b8bde3966423afbd69cae", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "100000", |