aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests/stSystemOperationsTest.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-02 21:08:55 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-02 21:08:55 +0800
commit456b5791bb656acf82feb1e0ff67781a3ddf7817 (patch)
tree702411ff1faf1918f50b0cb7ab3eacf4960ad6b5 /StateTests/stSystemOperationsTest.json
parent1f5552feb4aa3a104b71d77b1e9d2369f42dde83 (diff)
downloaddexon-tests-456b5791bb656acf82feb1e0ff67781a3ddf7817.tar.gz
dexon-tests-456b5791bb656acf82feb1e0ff67781a3ddf7817.tar.zst
dexon-tests-456b5791bb656acf82feb1e0ff67781a3ddf7817.zip
more init code, systemoperations and transaction tests
Diffstat (limited to 'StateTests/stSystemOperationsTest.json')
-rw-r--r--StateTests/stSystemOperationsTest.json346
1 files changed, 173 insertions, 173 deletions
diff --git a/StateTests/stSystemOperationsTest.json b/StateTests/stSystemOperationsTest.json
index e92c8d9ad..fba73de19 100644
--- a/StateTests/stSystemOperationsTest.json
+++ b/StateTests/stSystemOperationsTest.json
@@ -4892,6 +4892,68 @@
"value" : "100000"
}
},
+ "callValue" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000100000",
+ "code" : "0x34600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0186a0"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "802",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999899198",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x34600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "10000000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000"
+ }
+ },
"callcodeToNameRegistrator0" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -5046,6 +5108,68 @@
"value" : "100000"
}
},
+ "callerAccountBalance" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000100000",
+ "code" : "0x3331600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x0de0b6b3a6c9e2e0"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "822",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999899178",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x3331600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "10000000",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000"
+ }
+ },
"callstatelessToReturn1" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -5367,7 +5491,7 @@
"value" : "100000"
}
},
- "return0" : {
+ "currentAccountBalance" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5378,24 +5502,25 @@
},
"logs" : [
],
- "out" : "0x37",
+ "out" : "0x",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "100023",
- "code" : "0x603760005360016000f3",
+ "balance" : "1000000000000100000",
+ "code" : "0x3031600055",
"nonce" : "0",
"storage" : {
+ "0x" : "0x0de0b6b3a76586a0"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "507",
+ "balance" : "822",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899493",
+ "balance" : "999999999999899178",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -5404,8 +5529,8 @@
},
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "23",
- "code" : "0x603760005360016000f3",
+ "balance" : "1000000000000000000",
+ "code" : "0x3031600055",
"nonce" : "0",
"storage" : {
}
@@ -5420,7 +5545,7 @@
},
"transaction" : {
"data" : "",
- "gasLimit" : "1000000",
+ "gasLimit" : "10000000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -5428,7 +5553,7 @@
"value" : "100000"
}
},
- "return1" : {
+ "return0" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5439,11 +5564,11 @@
},
"logs" : [
],
- "out" : "0x3700",
+ "out" : "0x37",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "100023",
- "code" : "0x603760005360026000f3",
+ "code" : "0x603760005360016000f3",
"nonce" : "0",
"storage" : {
}
@@ -5466,7 +5591,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "23",
- "code" : "0x603760005360026000f3",
+ "code" : "0x603760005360016000f3",
"nonce" : "0",
"storage" : {
}
@@ -5489,7 +5614,7 @@
"value" : "100000"
}
},
- "return2" : {
+ "return1" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5500,24 +5625,24 @@
},
"logs" : [
],
- "out" : "0x370000000000000000000000000000000000000000000000000000000000000000",
+ "out" : "0x3700",
"post" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "100023",
- "code" : "0x603760005360216000f3",
+ "code" : "0x603760005360026000f3",
"nonce" : "0",
"storage" : {
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "508",
+ "balance" : "507",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899492",
+ "balance" : "999999999999899493",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -5527,7 +5652,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "23",
- "code" : "0x603760005360216000f3",
+ "code" : "0x603760005360026000f3",
"nonce" : "0",
"storage" : {
}
@@ -5550,7 +5675,7 @@
"value" : "100000"
}
},
- "suicideAddress" : {
+ "return2" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5561,71 +5686,24 @@
},
"logs" : [
],
- "out" : "0x",
+ "out" : "0x370000000000000000000000000000000000000000000000000000000000000000",
"post" : {
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "803",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899197",
- "code" : "0x",
- "nonce" : "1",
- "storage" : {
- }
- }
- },
- "pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000000",
- "code" : "0x3060005530ff",
+ "balance" : "100023",
+ "code" : "0x603760005360216000f3",
"nonce" : "0",
"storage" : {
}
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1000000000000000000",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : "",
- "gasLimit" : "1000000",
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "100000"
- }
- },
- "suicideCaller" : {
- "env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "256",
- "currentGasLimit" : "10000000",
- "currentNumber" : "0",
- "currentTimestamp" : 1,
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "logs" : [
- ],
- "out" : "0x",
- "post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "803",
+ "balance" : "508",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1999999999999999197",
+ "balance" : "999999999999899492",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -5634,8 +5712,8 @@
},
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000000",
- "code" : "0x3360005533ff",
+ "balance" : "23",
+ "code" : "0x603760005360216000f3",
"nonce" : "0",
"storage" : {
}
@@ -5658,7 +5736,7 @@
"value" : "100000"
}
},
- "suicideNotExistingAccount" : {
+ "suicideAddress" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5672,31 +5750,24 @@
"out" : "0x",
"post" : {
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "501",
+ "balance" : "803",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899499",
+ "balance" : "999999999999899197",
"code" : "0x",
"nonce" : "1",
"storage" : {
}
- },
- "aa1722f3947def4cf144679da39c4c32bdc35681" : {
- "balance" : "1000000000000100000",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
}
},
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "0x73aa1722f3947def4cf144679da39c4c32bdc35681ff",
+ "code" : "0x3060005530ff",
"nonce" : "0",
"storage" : {
}
@@ -5719,7 +5790,7 @@
"value" : "100000"
}
},
- "suicideOrigin" : {
+ "suicideCaller" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5750,7 +5821,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "0x3260005532ff",
+ "code" : "0x3360005533ff",
"nonce" : "0",
"storage" : {
}
@@ -5773,7 +5844,7 @@
"value" : "100000"
}
},
- "suicideSendEtherToMe" : {
+ "suicideNotExistingAccount" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5799,74 +5870,19 @@
"nonce" : "1",
"storage" : {
}
- }
- },
- "pre" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000000000",
- "code" : "0x30ff",
- "nonce" : "0",
- "storage" : {
- }
},
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "1000000000000000000",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- }
- },
- "transaction" : {
- "data" : "",
- "gasLimit" : "1000000",
- "gasPrice" : "1",
- "nonce" : "0",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
- "value" : "100000"
- }
- },
- "callValue" : {
- "env" : {
- "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
- "currentDifficulty" : "256",
- "currentGasLimit" : "10000000",
- "currentNumber" : "0",
- "currentTimestamp" : 1,
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
- },
- "logs" : [
- ],
- "out" : "0x",
- "post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "aa1722f3947def4cf144679da39c4c32bdc35681" : {
"balance" : "1000000000000100000",
- "code" : "0x34600055",
- "nonce" : "0",
- "storage" : {
- "0x" : "0x0186a0"
- }
- },
- "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "802",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
- },
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899198",
- "code" : "0x",
- "nonce" : "1",
- "storage" : {
- }
}
},
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "0x34600055",
+ "code" : "0x73aa1722f3947def4cf144679da39c4c32bdc35681ff",
"nonce" : "0",
"storage" : {
}
@@ -5881,7 +5897,7 @@
},
"transaction" : {
"data" : "",
- "gasLimit" : "10000000",
+ "gasLimit" : "1000000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -5889,7 +5905,7 @@
"value" : "100000"
}
},
- "callerAccountBalance" : {
+ "suicideOrigin" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5902,23 +5918,15 @@
],
"out" : "0x",
"post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000100000",
- "code" : "0x3331600055",
- "nonce" : "0",
- "storage" : {
- "0x" : "0x0de0b6b3a6c9e2e0"
- }
- },
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "822",
+ "balance" : "803",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899178",
+ "balance" : "1999999999999999197",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -5928,7 +5936,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "0x3331600055",
+ "code" : "0x3260005532ff",
"nonce" : "0",
"storage" : {
}
@@ -5943,7 +5951,7 @@
},
"transaction" : {
"data" : "",
- "gasLimit" : "10000000",
+ "gasLimit" : "1000000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -5951,7 +5959,7 @@
"value" : "100000"
}
},
- "currentAccountBalance" : {
+ "suicideSendEtherToMe" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -5964,23 +5972,15 @@
],
"out" : "0x",
"post" : {
- "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
- "balance" : "1000000000000100000",
- "code" : "0x3031600055",
- "nonce" : "0",
- "storage" : {
- "0x" : "0x0de0b6b3a76586a0"
- }
- },
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "822",
+ "balance" : "501",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999899178",
+ "balance" : "999999999999899499",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -5990,7 +5990,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "1000000000000000000",
- "code" : "0x3031600055",
+ "code" : "0x30ff",
"nonce" : "0",
"storage" : {
}
@@ -6005,7 +6005,7 @@
},
"transaction" : {
"data" : "",
- "gasLimit" : "10000000",
+ "gasLimit" : "1000000",
"gasPrice" : "1",
"nonce" : "0",
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
@@ -6013,4 +6013,4 @@
"value" : "100000"
}
}
-}
+} \ No newline at end of file