aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--StateTests/stPreCompiledContracts.json70
1 files changed, 68 insertions, 2 deletions
diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json
index bf7392b33..96217c592 100644
--- a/StateTests/stPreCompiledContracts.json
+++ b/StateTests/stPreCompiledContracts.json
@@ -5784,5 +5784,71 @@
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"value" : "0x0186a0"
}
- }
-} \ No newline at end of file
+ },
+
+ "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"
+ }
+ }
+}