aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-06-06 21:40:38 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-06-06 21:40:38 +0800
commit464e4ceb46dd3a4bec7af188905d65c8afc113e8 (patch)
tree9d1964677cb511a16169655dc4a73b0ffe34316e
parentdd0de6c605a815f36b6a612ad3d01bbfd8224746 (diff)
downloaddexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar.gz
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar.bz2
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar.lz
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar.xz
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.tar.zst
dexon-tests-464e4ceb46dd3a4bec7af188905d65c8afc113e8.zip
add sec 80 test
-rw-r--r--StateTests/stPreCompiledContracts.json71
1 files changed, 71 insertions, 0 deletions
diff --git a/StateTests/stPreCompiledContracts.json b/StateTests/stPreCompiledContracts.json
index c01c148e6..af0a9afb8 100644
--- a/StateTests/stPreCompiledContracts.json
+++ b/StateTests/stPreCompiledContracts.json
@@ -691,6 +691,77 @@
"value" : "0x0186a0"
}
},
+ "CallEcrecover80" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x0100",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x00",
+ "currentTimestamp" : "0x01",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0x00",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x0132b3a0",
+ "code" : "0x7ec547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527eb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x3f17f1962b36e491b30a40b2405849e597ba5fb5",
+ "0x02" : "0x01"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "0x017008",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7610958",
+ "code" : "0x",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "postStateRoot" : "533bd04fb3a21be7289a4de4172f712e44726fe722a9e5d130f86c3efa68d4e1",
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "0x01312d00",
+ "code" : "0x7ec547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527eb1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527eb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : "",
+ "gasLimit" : "0x37ba90",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "0x0186a0"
+ }
+ },
"CallIdentitiy_0" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",