aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-06 22:27:45 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-11-06 22:27:45 +0800
commit0afa72c82be2f4996d1662dfbf9e019c5267c6b1 (patch)
treeadb787fd78205f11dd7faa7d3b769a8a298abf8e /StateTests
parent6be83dd5a185048cfdb8ec29659f14abaeab0c42 (diff)
downloadtangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar.gz
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar.bz2
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar.lz
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar.xz
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.tar.zst
tangerine-tests-0afa72c82be2f4996d1662dfbf9e019c5267c6b1.zip
Added precompiledContracts tests
Diffstat (limited to 'StateTests')
-rw-r--r--StateTests/stPreCompiledContracts.json203
1 files changed, 203 insertions, 0 deletions
diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json
new file mode 100644
index 000000000..e4ed034e9
--- /dev/null
+++ b/StateTests/stPreCompiledContracts.json
@@ -0,0 +1,203 @@
+{
+ "CallEcrecover" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "out" : "0x",
+ "post" : {
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20100000",
+ "code" : "0x7fd7db77575fd7502133b5869069da2280c5833d47bcee020901478097d675d6e460005260016020527f2e59072176056a8173186f6fe6d9e395cfd2df7ce5b53b4adcb3747a3fda8c696021527fda2026dd018d868daa96ac31a5b148ee769ab184236b731b27b6c4a8bb16dcfb6041526014606160616000600060026103e8f150606151600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0x059588ad2c1eb51bf000a884bd50d632af63a9f5000000000000000000000000"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "948",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999899052",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20000000",
+ "code" : "0x7fd7db77575fd7502133b5869069da2280c5833d47bcee020901478097d675d6e460005260016020527f2e59072176056a8173186f6fe6d9e395cfd2df7ce5b53b4adcb3747a3fda8c696021527fda2026dd018d868daa96ac31a5b148ee769ab184236b731b27b6c4a8bb16dcfb6041526014606160616000600060026103e8f150606151600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "365224",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000"
+ }
+ },
+ "CallRipemd160" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "out" : "0x",
+ "post" : {
+ "0000000000000000000000000000000000000003" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20100000",
+ "code" : "0x600160005260206000602060006000600360fff1600051600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0xae387fcfeb723c3f5964509af111cf5a67f30661"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "934",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999899066",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20000000",
+ "code" : "0x600160005260206000602060006000600360fff1600051600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "365224",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000"
+ }
+ },
+ "CallSha256" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "out" : "0x",
+ "post" : {
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20100000",
+ "code" : "0x600160005260206000602060006000600260fff1600051600055",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0xec4916dd28fc4c10d78e287ca5d9cc51ee1ae73cbfde08c6b37324cbfaac8bc5"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "934",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999899066",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
+ },
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20000000",
+ "code" : "0x600160005260206000602060006000600260fff1600051600055",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "365224",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "100000"
+ }
+ }
+} \ No newline at end of file