aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stRefundTest.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/StateTests/stRefundTest.json')
-rw-r--r--tests/files/StateTests/stRefundTest.json205
1 files changed, 128 insertions, 77 deletions
diff --git a/tests/files/StateTests/stRefundTest.json b/tests/files/StateTests/stRefundTest.json
index 6373714ee..9e8518321 100644
--- a/tests/files/StateTests/stRefundTest.json
+++ b/tests/files/StateTests/stRefundTest.json
@@ -17,24 +17,29 @@
"code" : "0x60006001556000600255600060035560006004556000600555",
"nonce" : "0",
"storage" : {
+ "0x01" : "0x01",
+ "0x02" : "0x01",
+ "0x03" : "0x01",
+ "0x04" : "0x01",
+ "0x05" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "23015",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "76985",
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "b0c57a1107e5d2f752d931cb42167d1893902c6cf4b563edf64efee021e2fe35",
+ "postStateRoot" : "7abd040b6b017458d401b7797f4d952d899a8940dc1bcaf2901e68c051419131",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -84,26 +89,29 @@
"code" : "0x6001600a556001600b5560006001556000600255600060035560006004556000600555",
"nonce" : "0",
"storage" : {
- "0x0a" : "0x01",
- "0x0b" : "0x01"
+ "0x01" : "0x01",
+ "0x02" : "0x01",
+ "0x03" : "0x01",
+ "0x04" : "0x01",
+ "0x05" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "43021",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "56979",
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "87dd26d566e797f0eee168936579dd677afebf184b84618988bf7b4c3289d0ae",
+ "postStateRoot" : "2e8500d3547f2302f3a15494a9a3586e9bd4d239c3a24db8c0172912dfd5ee57",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -153,26 +161,30 @@
"code" : "0x600154506002545060ff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
"nonce" : "0",
"storage" : {
- "0x0a" : "0x8000000000000000000000000000000000000000000000000000000000000000",
- "0x0b" : "0x0de0b6b3a7640000"
+ "0x01" : "0x01",
+ "0x02" : "0x01",
+ "0x03" : "0x01",
+ "0x04" : "0x01",
+ "0x05" : "0x01",
+ "0x06" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "45600",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "54400",
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "66b43c34731b76309714e8ebbcd740082785e5180c7c6a28105e985cc4fef83a",
+ "postStateRoot" : "3f422bf157be9f31a25cf3d5226f3c0a590d9d02cab49cd856712dcc078d1598",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -223,25 +235,30 @@
"code" : "0x600154506002545061ffff60020a600a553031600b55600060015560006002556000600355600060045560006005556000600655",
"nonce" : "0",
"storage" : {
- "0x0b" : "0x0de0b6b3a7640000"
+ "0x01" : "0x01",
+ "0x02" : "0x01",
+ "0x03" : "0x01",
+ "0x04" : "0x01",
+ "0x05" : "0x01",
+ "0x06" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "38105",
+ "balance" : "100000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "61895",
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "a880188f4bdc7256bb8fb3dd086146bd1a768bea9568c6a0bb03689df1ef41fe",
+ "postStateRoot" : "ecd4623246fec7f42b83dd18a825a5c37c520eeeb693d7e82ba89c096235890b",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -288,32 +305,43 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "2000000000000000000",
+ "balance" : "1000000000000000000",
"code" : "0x5a6016556001600a556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600b55600060015560006002556000600355600060045560006005556000600655600060075560006008555a601755",
"nonce" : "0",
"storage" : {
- "0x0a" : "0x01",
- "0x0b" : "0x01",
- "0x16" : "0x984476",
- "0x17" : "0x96bd58"
+ "0x01" : "0x01",
+ "0x02" : "0x01",
+ "0x03" : "0x01",
+ "0x04" : "0x01",
+ "0x05" : "0x01",
+ "0x06" : "0x01",
+ "0x07" : "0x01",
+ "0x08" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "70566",
+ "balance" : "10000000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "9929434",
+ "balance" : "0",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
+ "nonce" : "0",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "531cbc165d4429a8751a73600bdec9819ca30347afdc3f9e00435ab0fc656d89",
+ "postStateRoot" : "d16a8ce7249aed6e2490aee7ac98fdb74367d35b907ac10889b557b53c932915",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -369,23 +397,22 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa61157cf1600055",
"nonce" : "0",
"storage" : {
- "0x" : "0x01",
"0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "31070",
+ "balance" : "200000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1968920",
+ "balance" : "1800000",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -396,10 +423,11 @@
"code" : "0x6000600155",
"nonce" : "0",
"storage" : {
+ "0x01" : "0x01"
}
}
},
- "postStateRoot" : "2a379a44a3742aa7fa1abc25a43678a54e1dd0f03ac34a40715314cd09855773",
+ "postStateRoot" : "478dd97a598aa53c333bf418dc39e7b3db0db4ce1c09653f39a7495a45ac6a6e",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -449,7 +477,7 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa611770f1600055",
"nonce" : "0",
"storage" : {
@@ -464,7 +492,7 @@
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "268921",
+ "balance" : "268931",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -479,7 +507,7 @@
}
}
},
- "postStateRoot" : "0a5891c787268e22d32f003c909cd79f1f7f9079a5aa6356b73aa861e3a575f0",
+ "postStateRoot" : "ca233b283fda9c6080af30a12f19b13f117d75d3c06ef83671fd881e0c52db6a",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -529,7 +557,7 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa61138df1600055",
"nonce" : "0",
"storage" : {
@@ -537,14 +565,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "31069",
+ "balance" : "85000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "68921",
+ "balance" : "15000",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -559,7 +587,7 @@
}
}
},
- "postStateRoot" : "affeb3f7f719c9679a6295f2600b29777de1836809d86f405d7db2b67d2c2d63",
+ "postStateRoot" : "bed24054bcbc0abfdb5b8bbdc905cfb018dbc152d691e9a1193a5780709c2b67",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -609,30 +637,36 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "2000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055",
"nonce" : "0",
"storage" : {
- "0x" : "0x01",
"0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20534",
+ "balance" : "10000000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99979456",
+ "balance" : "90000000",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
+ "nonce" : "0",
+ "storage" : {
+ }
}
},
- "postStateRoot" : "dc5f1097912d0bdfe23391f2a099cc95db9d58cbea4549b6ff2018379d8b4fac",
+ "postStateRoot" : "3b0b2fb9db31c615f639c55e44ba0f74d9fe8658a1b2b2e65700aacac2a96a35",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -681,30 +715,37 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "2000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1600055",
"nonce" : "0",
"storage" : {
- "0x" : "0x01",
"0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20534",
+ "balance" : "10000000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99979456",
+ "balance" : "90000000",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x01"
+ }
}
},
- "postStateRoot" : "dc5f1097912d0bdfe23391f2a099cc95db9d58cbea4549b6ff2018379d8b4fac",
+ "postStateRoot" : "9e29bfe836cef7f7fb52f3ba10f95af9fb9175dde0b5ce158e8226f9088825ea",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -754,30 +795,37 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "2000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f16000556000600060006000600073aaae7baea6a6c7c4c2dfeb977efac326af552aaa6101f4f1",
"nonce" : "0",
"storage" : {
- "0x" : "0x01",
"0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "20566",
+ "balance" : "10000000",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99979424",
+ "balance" : "90000000",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x01"
+ }
}
},
- "postStateRoot" : "08978bb9dd49f1c4c46d35c11266a5b04795ea9d916a482be220d14257118762",
+ "postStateRoot" : "4ad8c1676c9db3d369f0bc81c989061c4e48aab8ba95dc3caaba79af094e0314",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -831,24 +879,25 @@
"code" : "0x6000600155",
"nonce" : "0",
"storage" : {
+ "0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "13003",
+ "balance" : "26006",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "37197",
+ "balance" : "24194",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "efa813dd4ded8a43953d20b6bbf5fb1b76a0aad9190a8bb755e1c98079f9da6a",
+ "postStateRoot" : "6de6aa68f282805d7a4ed99faf37c0feaf3e66bab5d7c2c9a2c2f74c2f91dc8d",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -953,29 +1002,30 @@
],
"out" : "0x",
"post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "10502",
+ "balance" : "21003",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99989488",
+ "balance" : "99978997",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
+ },
+ "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
+ "nonce" : "0",
+ "storage" : {
+ "0x01" : "0x01"
+ }
}
},
- "postStateRoot" : "51f254aed97a3c85e6ad2deb73214a0888fd23d42984d16d3f099ac1b1c5b2da",
+ "postStateRoot" : "97942568ec40081407f0f17c744174685bf56c4bec7405d45837e7e6e203d5b2",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000000",
@@ -1024,14 +1074,14 @@
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "99978988",
+ "balance" : "99978998",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
},
"aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff",
"nonce" : "0",
"storage" : {
@@ -1039,7 +1089,7 @@
}
}
},
- "postStateRoot" : "c31edffd0696efc0a58e88b084042ddf0a0200723ac7a8c40b84b72f04f0a89a",
+ "postStateRoot" : "7c2147eefb0539a33353f7f1d753dd0d1185993a327c2e6c3a2334fca5ac0f26",
"pre" : {
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "100000000",
@@ -1081,29 +1131,29 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6017600155",
"nonce" : "0",
"storage" : {
- "0x01" : "0x17"
+ "0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "26006",
+ "balance" : "228500",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "973984",
+ "balance" : "771500",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "c9e05a8fa968fe4a701b529e0fa662e0584e47ce365af374f51a68936fa6781f",
+ "postStateRoot" : "75adc73528900eda8029d92a9e52aae862b3af8818946292e38be6782eb33acc",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
@@ -1145,28 +1195,29 @@
"out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000010",
+ "balance" : "1000000000000000000",
"code" : "0x6000600155",
"nonce" : "0",
"storage" : {
+ "0x01" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "13003",
+ "balance" : "228500",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "2271987",
+ "balance" : "2056500",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
}
},
- "postStateRoot" : "a0159f6905643874597ab3c5a4adfadcd07e113c4c4ac4c5bc54c1ef7a71a005",
+ "postStateRoot" : "4dcc25bef4b13af1cb7a96887c187d2c0c774335ac381e315a067346ba504612",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",