aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-06-09 21:18:19 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-06-09 21:18:19 +0800
commitaf917e5f16395c9228226175e1480d087191a116 (patch)
tree5f7f0727694e8a388723c0df729ce651a33bf01a
parentb9416f2594481e6149635ef0881c72aa4c1235b1 (diff)
downloaddexon-tests-af917e5f16395c9228226175e1480d087191a116.tar
dexon-tests-af917e5f16395c9228226175e1480d087191a116.tar.gz
dexon-tests-af917e5f16395c9228226175e1480d087191a116.tar.bz2
dexon-tests-af917e5f16395c9228226175e1480d087191a116.tar.lz
dexon-tests-af917e5f16395c9228226175e1480d087191a116.tar.xz
dexon-tests-af917e5f16395c9228226175e1480d087191a116.tar.zst
dexon-tests-af917e5f16395c9228226175e1480d087191a116.zip
fix precompiled contract tests
-rw-r--r--StateTests/stPreCompiledContracts.json98
1 files changed, 14 insertions, 84 deletions
diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json
index 96217c592..7af011873 100644
--- a/StateTests/stPreCompiledContracts.json
+++ b/StateTests/stPreCompiledContracts.json
@@ -653,26 +653,25 @@
"code" : "0x7ec547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527eb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f260025560a060020a608051066000556000543214600155",
"nonce" : "0x00",
"storage" : {
- "0x00" : "0x3f17f1962b36e491b30a40b2405849e597ba5fb5",
"0x02" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0x010e60",
+ "balance" : "0xd3c8",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7616b00",
+ "balance" : "0x0de0b6b3a761a598",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
}
},
- "postStateRoot" : "73a46c15dca58bea6221cdc0670ddb5f19768c7133e6da117bce6df006867b40",
+ "postStateRoot" : "7a06a9b9029ed27905c979757d738d9172a2bdd83c14db8ed22582cb4852ab80",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x01312d00",
@@ -781,26 +780,25 @@
"code" : "0x7f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f260025560a060020a608051066000556000543214600155",
"nonce" : "0x00",
"storage" : {
- "0x00" : "0x3f17f1962b36e491b30a40b2405849e597ba5fb5",
"0x02" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0x010e60",
+ "balance" : "0xd3c8",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7616b00",
+ "balance" : "0x0de0b6b3a761a598",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
}
},
- "postStateRoot" : "fea563c74087a180978b6a401c53739c5ea0c1cc83a2373338dc6307a280c9ad",
+ "postStateRoot" : "f6e3d4a6aa057bdd8a5a8b8648fdc1b2efd1146db5d6e003cf0c0d344d5901fd",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x01312d00",
@@ -3455,26 +3453,25 @@
"code" : "0x7ec547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527eb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155",
"nonce" : "0x00",
"storage" : {
- "0x00" : "0x3f17f1962b36e491b30a40b2405849e597ba5fb5",
"0x02" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0x017008",
+ "balance" : "0x013570",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7610958",
+ "balance" : "0x0de0b6b3a76143f0",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
}
},
- "postStateRoot" : "533bd04fb3a21be7289a4de4172f712e44726fe722a9e5d130f86c3efa68d4e1",
+ "postStateRoot" : "ffb96a92a31182d6315ce1be5e6ecf0edb08439beeee76f00754ebef78184de2",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x01312d00",
@@ -3597,26 +3594,25 @@
"code" : "0x7f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155",
"nonce" : "0x00",
"storage" : {
- "0x00" : "0x3f17f1962b36e491b30a40b2405849e597ba5fb5",
"0x02" : "0x01"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "0x017008",
+ "balance" : "0x013570",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7610958",
+ "balance" : "0x0de0b6b3a76143f0",
"code" : "0x",
"nonce" : "0x01",
"storage" : {
}
}
},
- "postStateRoot" : "5c5e752e1d1963ba9b01f09b76bc03f88915919fc1a966e3a48a03129ffc4f41",
+ "postStateRoot" : "e1849dd8b142d9789bbb0ae5cfeb43bae4e89a356ef4067593aeee62e5a7512a",
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "0x01312d00",
@@ -5784,71 +5780,5 @@
"to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
"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