Skip to content

Commit 1f5552f

Browse files
author
wanderer
committed
added balance tests
1 parent 4d37c1c commit 1f5552f

File tree

1 file changed

+187
-1
lines changed

1 file changed

+187
-1
lines changed

StateTests/stSystemOperationsTest.json

Lines changed: 187 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5826,5 +5826,191 @@
58265826
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
58275827
"value" : "100000"
58285828
}
5829+
},
5830+
"callValue" : {
5831+
"env" : {
5832+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
5833+
"currentDifficulty" : "256",
5834+
"currentGasLimit" : "10000000",
5835+
"currentNumber" : "0",
5836+
"currentTimestamp" : 1,
5837+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
5838+
},
5839+
"logs" : [
5840+
],
5841+
"out" : "0x",
5842+
"post" : {
5843+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5844+
"balance" : "1000000000000100000",
5845+
"code" : "0x34600055",
5846+
"nonce" : "0",
5847+
"storage" : {
5848+
"0x" : "0x0186a0"
5849+
}
5850+
},
5851+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
5852+
"balance" : "802",
5853+
"code" : "0x",
5854+
"nonce" : "0",
5855+
"storage" : {
5856+
}
5857+
},
5858+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5859+
"balance" : "999999999999899198",
5860+
"code" : "0x",
5861+
"nonce" : "1",
5862+
"storage" : {
5863+
}
5864+
}
5865+
},
5866+
"pre" : {
5867+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5868+
"balance" : "1000000000000000000",
5869+
"code" : "0x34600055",
5870+
"nonce" : "0",
5871+
"storage" : {
5872+
}
5873+
},
5874+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5875+
"balance" : "1000000000000000000",
5876+
"code" : "0x",
5877+
"nonce" : "0",
5878+
"storage" : {
5879+
}
5880+
}
5881+
},
5882+
"transaction" : {
5883+
"data" : "",
5884+
"gasLimit" : "10000000",
5885+
"gasPrice" : "1",
5886+
"nonce" : "0",
5887+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
5888+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
5889+
"value" : "100000"
5890+
}
5891+
},
5892+
"callerAccountBalance" : {
5893+
"env" : {
5894+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
5895+
"currentDifficulty" : "256",
5896+
"currentGasLimit" : "10000000",
5897+
"currentNumber" : "0",
5898+
"currentTimestamp" : 1,
5899+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
5900+
},
5901+
"logs" : [
5902+
],
5903+
"out" : "0x",
5904+
"post" : {
5905+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5906+
"balance" : "1000000000000100000",
5907+
"code" : "0x3331600055",
5908+
"nonce" : "0",
5909+
"storage" : {
5910+
"0x" : "0x0de0b6b3a6c9e2e0"
5911+
}
5912+
},
5913+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
5914+
"balance" : "822",
5915+
"code" : "0x",
5916+
"nonce" : "0",
5917+
"storage" : {
5918+
}
5919+
},
5920+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5921+
"balance" : "999999999999899178",
5922+
"code" : "0x",
5923+
"nonce" : "1",
5924+
"storage" : {
5925+
}
5926+
}
5927+
},
5928+
"pre" : {
5929+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5930+
"balance" : "1000000000000000000",
5931+
"code" : "0x3331600055",
5932+
"nonce" : "0",
5933+
"storage" : {
5934+
}
5935+
},
5936+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5937+
"balance" : "1000000000000000000",
5938+
"code" : "0x",
5939+
"nonce" : "0",
5940+
"storage" : {
5941+
}
5942+
}
5943+
},
5944+
"transaction" : {
5945+
"data" : "",
5946+
"gasLimit" : "10000000",
5947+
"gasPrice" : "1",
5948+
"nonce" : "0",
5949+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
5950+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
5951+
"value" : "100000"
5952+
}
5953+
},
5954+
"currentAccountBalance" : {
5955+
"env" : {
5956+
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
5957+
"currentDifficulty" : "256",
5958+
"currentGasLimit" : "10000000",
5959+
"currentNumber" : "0",
5960+
"currentTimestamp" : 1,
5961+
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
5962+
},
5963+
"logs" : [
5964+
],
5965+
"out" : "0x",
5966+
"post" : {
5967+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5968+
"balance" : "1000000000000100000",
5969+
"code" : "0x3031600055",
5970+
"nonce" : "0",
5971+
"storage" : {
5972+
"0x" : "0x0de0b6b3a76586a0"
5973+
}
5974+
},
5975+
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
5976+
"balance" : "822",
5977+
"code" : "0x",
5978+
"nonce" : "0",
5979+
"storage" : {
5980+
}
5981+
},
5982+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5983+
"balance" : "999999999999899178",
5984+
"code" : "0x",
5985+
"nonce" : "1",
5986+
"storage" : {
5987+
}
5988+
}
5989+
},
5990+
"pre" : {
5991+
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
5992+
"balance" : "1000000000000000000",
5993+
"code" : "0x3031600055",
5994+
"nonce" : "0",
5995+
"storage" : {
5996+
}
5997+
},
5998+
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
5999+
"balance" : "1000000000000000000",
6000+
"code" : "0x",
6001+
"nonce" : "0",
6002+
"storage" : {
6003+
}
6004+
}
6005+
},
6006+
"transaction" : {
6007+
"data" : "",
6008+
"gasLimit" : "10000000",
6009+
"gasPrice" : "1",
6010+
"nonce" : "0",
6011+
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
6012+
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
6013+
"value" : "100000"
6014+
}
58296015
}
5830-
}
6016+
}

0 commit comments

Comments
 (0)