aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-06-14 01:32:19 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-06-14 01:53:09 +0800
commitf2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d (patch)
tree3759937eecb0e7a366423049dc6ffc49641809a0 /GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json
parentb9303ecbfe2d032ac1d439ab6b3da3c07b22134a (diff)
downloaddexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar.gz
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar.bz2
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar.lz
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar.xz
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.tar.zst
dexon-tests-f2f3de28aa1f5f27bdbe96e2b317bb3a66180d2d.zip
Add modexp tess from Pyethereum
Diffstat (limited to 'GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json159
1 files changed, 159 insertions, 0 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json b/GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json
new file mode 100644
index 000000000..d830457b5
--- /dev/null
+++ b/GeneralStateTests/stPreCompiledContracts/modexp_39936_1_55201_1000000.json
@@ -0,0 +1,159 @@
+{
+ "modexp_39936_1_55201_1000000" : {
+ "env" : {
+ "currentCoinbase" : "0x3535353535353535353535353535353535353535",
+ "currentDifficulty" : "0x1",
+ "currentGasLimit" : "0x5f5e100",
+ "currentNumber" : "0x1",
+ "currentTimestamp" : "0x5777765e",
+ "previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
+ },
+ "explanation" : "Puts the base 115792089237316195423570985008687907853269984665640564039457584007913129639936, exponent 1 and modulus 21847450052839212624230656502990235142567050104912751880812823948662932355201 into the MODEXP precompile, saves the hash of the result. Gives the execution 1000000 gas",
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x84a1eda4b3b6051597f6098cd9cf7995469edf286f5602c41849511718aa533f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x84a1eda4b3b6051597f6098cd9cf7995469edf286f5602c41849511718aa533f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x51dd1fbe2130a40b7026d0e779fd4a6209f2433872899ea1a7bb3ff86a9f25c5",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x51dd1fbe2130a40b7026d0e779fd4a6209f2433872899ea1a7bb3ff86a9f25c5",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x717fe2475b80f8ee48136c3e7051158fdb400525450890bd2a00fe937657567d",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ }
+ }
+ ]
+ },
+ "pre" : {
+ "0x0000000000000000000000000000000000000001" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000002" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000003" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000004" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000005" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000006" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000007" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x0000000000000000000000000000000000000008" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x3535353535353535353535353535353535353535" : {
+ "balance" : "0x0201ee",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
+ "balance" : "0x0de0b6b3a761fe12",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
+ "balance" : "0x00",
+ "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602061028061014051610160600060056305f5e0fff11558576020610260526102606040806102c08284600060046018f15050506102c08051602082012090506000556102c060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x30c8d1da000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a200000000000000000000000000000000000000000000000000000000000000210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002001000000000000000000000000000000000000000000000000000000000000000001304d37f120d696c834550e63d9bb9c14b4f9165c9ede434e4644e3998d6db881000000000000000000000000000000000000000000000000000000000000"
+ ],
+ "gasLimit" : [
+ "0xfa318"
+ ],
+ "gasPrice" : "0x1",
+ "nonce" : "0x1",
+ "secretKey" : "0x044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d",
+ "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
+ "value" : [
+ "0x"
+ ]
+ }
+ }
+} \ No newline at end of file