aboutsummaryrefslogtreecommitdiffstats
path: root/StateTests
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2015-06-08 20:33:44 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2015-06-08 20:33:44 +0800
commit2ca479014c8abe3c283a41874d2a543d2d4e4125 (patch)
tree805c3a3f9ad232112b4e02cacc0e35a2c3f5f180 /StateTests
parentc88000d2738daff0b68aeadc8d67f85440f2a6b8 (diff)
parent9641f76a7e3d35f06d87f3aad50056e64b17e595 (diff)
downloaddexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar.gz
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar.bz2
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar.lz
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar.xz
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.tar.zst
dexon-tests-2ca479014c8abe3c283a41874d2a543d2d4e4125.zip
Merge pull request #84 from romanman/develop
callTxToPrecompiled_1
Diffstat (limited to 'StateTests')
-rw-r--r--StateTests/stPreCompiledContracts.json66
1 files changed, 66 insertions, 0 deletions
diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json
index bf7392b33..b8dff2128 100644
--- a/StateTests/stPreCompiledContracts.json
+++ b/StateTests/stPreCompiledContracts.json
@@ -5785,4 +5785,70 @@
"value" : "0x0186a0"
}
}
+
+ "callTxToPrecompiled_1": {
+ "env": {
+ "currentCoinbase": "aa69d40e4ab383b25fa6c17560dd77b387480dd8",
+ "currentDifficulty": "0x0100",
+ "currentGasLimit": "0x0f4240",
+ "currentNumber": "0x00",
+ "currentTimestamp": "0x01",
+ "previousHash": "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs": [],
+ "out": "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "post": {
+ "cd2a3d9f938e13cd947ec05abc7fe734df8dd826": {
+ "balance": "100000000000000000000000",
+ "code": "0x",
+ "nonce": "0x32",
+ "storage": {}
+ },
+ "aa69d40e4ab383b25fa6c17560dd77b387480dd8": {
+ "balance": "240000000000000000",
+ "code": "0x",
+ "nonce": "0x00",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000001": {
+ "balance": "50000000000000000000001",
+ "code": "0x",
+ "nonce": "0x00",
+ "storage": {}
+ }
+ },
+
+
+ "postStateRoot": "8d4497a68edae0264b8f36c9f508f625bd4cf980b1bf2946822287814537df96",
+
+ "pre": {
+ "cd2a3d9f938e13cd947ec05abc7fe734df8dd826": {
+ "balance": "150000240000000000000000",
+ "code": "0x",
+ "nonce": "0x31",
+ "storage": {}
+ },
+ "aa69d40e4ab383b25fa6c17560dd77b387480dd8": {
+ "balance": "0x",
+ "code": "0x",
+ "nonce": "0x00",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000001": {
+ "balance": "0x1",
+ "code": "0x",
+ "nonce": "0x00",
+ "storage": {}
+ }
+ },
+ "transaction": {
+ "data": "",
+ "gasLimit": "0x09965e",
+ "gasPrice": "0x09184e72a000",
+ "nonce": "0x31",
+ "secretKey": "c85ef7d79691fe79573b1a7064c19c1a9819ebdbd1faaab1a8ec92344438aaf4",
+ "to": "0000000000000000000000000000000000000001",
+ "value": "0x0a968163f0a57b400000"
+ }
+ }
} \ No newline at end of file