aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/StateTests/stPreCompiledContracts.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/StateTests/stPreCompiledContracts.json')
-rw-r--r--tests/files/StateTests/stPreCompiledContracts.json205
1 files changed, 137 insertions, 68 deletions
diff --git a/tests/files/StateTests/stPreCompiledContracts.json b/tests/files/StateTests/stPreCompiledContracts.json
index 22d66529a..0f1db1275 100644
--- a/tests/files/StateTests/stPreCompiledContracts.json
+++ b/tests/files/StateTests/stPreCompiledContracts.json
@@ -8,8 +8,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -79,8 +79,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -148,8 +148,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -216,8 +216,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -286,8 +286,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -348,7 +348,7 @@
"value" : "100000"
}
},
- "CallEcrecover1" : {
+ "CallEcrecover0_overlappingInputOutput" : {
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "256",
@@ -357,8 +357,79 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
+ "logs" : [
+ ],
+ "out" : "0x",
+ "post" : {
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20100000",
+ "code" : "0x7f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c45496060526020604060806000600060016103e8f160025560a060020a604051066000556000543214600155",
+ "nonce" : "0",
+ "storage" : {
+ "0x" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "0x01" : "0x01",
+ "0x02" : "0x01"
+ }
+ },
+ "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
+ "balance" : "1976",
+ "code" : "0x",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "999999999999898024",
+ "code" : "0x",
+ "nonce" : "1",
+ "storage" : {
+ }
+ }
},
+ "pre" : {
+ "095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
+ "balance" : "20000000",
+ "code" : "0x7f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c45496060526020604060806000600060016103e8f160025560a060020a604051066000556000543214600155",
+ "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"
+ }
+ },
+ "CallEcrecover1" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "0",
+ "currentTimestamp" : 1,
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -426,8 +497,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -495,8 +566,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000001" : {
@@ -565,8 +636,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -634,8 +705,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -655,14 +726,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1232",
+ "balance" : "1182",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898768",
+ "balance" : "999999999999898818",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -704,8 +775,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -725,14 +796,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1236",
+ "balance" : "1286",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898764",
+ "balance" : "999999999999898714",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -774,8 +845,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -795,14 +866,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1236",
+ "balance" : "1286",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898764",
+ "balance" : "999999999999898714",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -844,8 +915,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -914,8 +985,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -983,8 +1054,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000003" : {
@@ -999,19 +1070,18 @@
"code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60005260206000620f42406000600060036101f4f1600255600051600055",
"nonce" : "0",
"storage" : {
- "0x" : "0x953450193f7389363135b31dc0f371f22f3947db",
- "0x02" : "0x01"
+ "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "32484",
+ "balance" : "32684",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999867516",
+ "balance" : "999999999999867316",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -1053,8 +1123,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1122,8 +1192,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1143,14 +1213,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1232",
+ "balance" : "1182",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898768",
+ "balance" : "999999999999898818",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -1192,8 +1262,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1213,14 +1283,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1232",
+ "balance" : "1182",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898768",
+ "balance" : "999999999999898818",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -1262,8 +1332,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1283,14 +1353,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1236",
+ "balance" : "1286",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898764",
+ "balance" : "999999999999898714",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -1332,8 +1402,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1353,14 +1423,14 @@
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "1236",
+ "balance" : "1286",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999898764",
+ "balance" : "999999999999898714",
"code" : "0x",
"nonce" : "1",
"storage" : {
@@ -1402,8 +1472,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1472,8 +1542,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1541,8 +1611,8 @@
"currentTimestamp" : 1,
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "logs" : {
- },
+ "logs" : [
+ ],
"out" : "0x",
"post" : {
"0000000000000000000000000000000000000002" : {
@@ -1557,19 +1627,18 @@
"code" : "0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60005260206000620f42406000600060026101f4f1600255600051600055",
"nonce" : "0",
"storage" : {
- "0x" : "0x739d5000bbe364e92a2fe28d62c17a6dfd4f32105420c30b97ec0180300a2dae",
- "0x02" : "0x01"
+ "0x" : "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
}
},
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
- "balance" : "32484",
+ "balance" : "32684",
"code" : "0x",
"nonce" : "0",
"storage" : {
}
},
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "999999999999867516",
+ "balance" : "999999999999867316",
"code" : "0x",
"nonce" : "1",
"storage" : {