aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
committerDimitry <winsvega@mail.ru>2017-08-01 16:04:30 +0800
commit78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43 (patch)
treec3d6bf604954c6fbd3f0416d972ca922dda331c3 /GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json
parentf71c2688e1a839f8429f7e94ec5e56bb182d82cf (diff)
downloadtangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.gz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.bz2
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.lz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.xz
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.tar.zst
tangerine-tests-78c52764c6c26f0a3c2dca25fcd2e1b932ee2c43.zip
update general tests
Diffstat (limited to 'GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json')
-rw-r--r--GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json231
1 files changed, 101 insertions, 130 deletions
diff --git a/GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json b/GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json
index 40f3c2952..4c22ebfd8 100644
--- a/GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json
+++ b/GeneralStateTests/stPreCompiledContracts/modexp_3_28948_11579_20500.json
@@ -10,176 +10,147 @@
"currentDifficulty" : "0x020000",
"currentGasLimit" : "0x5f5e100",
"currentNumber" : "0x1",
- "currentTimestamp" : "1000",
+ "currentTimestamp" : "0x03e8",
"previousHash" : "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad"
},
- "expect" : [
- {
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- },
- "network" : [
- "Metropolis"
- ],
- "result" : {
- "0000000000000000000000000000000000000001" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "0000000000000000000000000000000000000002" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "0000000000000000000000000000000000000003" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "0000000000000000000000000000000000000004" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "0000000000000000000000000000000000000005" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
- },
- "0000000000000000000000000000000000000006" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
+ "explanation" : "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas",
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x4d64a4cdca827144c4cda65b7049697ffecc07fb165ba3c188cfea288d2cfe8e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "0000000000000000000000000000000000000007" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0x4d64a4cdca827144c4cda65b7049697ffecc07fb165ba3c188cfea288d2cfe8e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "0000000000000000000000000000000000000008" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0x4d64a4cdca827144c4cda65b7049697ffecc07fb165ba3c188cfea288d2cfe8e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "3535353535353535353535353535353535353535" : {
- "balance" : "174874",
- "code" : "0x",
- "nonce" : "0",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0x4d64a4cdca827144c4cda65b7049697ffecc07fb165ba3c188cfea288d2cfe8e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
- "balance" : "999999999999825126",
- "code" : "0x",
- "nonce" : "2",
- "storage" : {
- }
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0x4d64a4cdca827144c4cda65b7049697ffecc07fb165ba3c188cfea288d2cfe8e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
},
- "c305c901078781c232a2a521c2af7980f8385ee9" : {
- "balance" : "0",
- "code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
- "nonce" : "1",
- "storage" : {
- }
- }
+ "logs" : [
+ ]
}
- }
- ],
- "explanation" : "Puts the base 3, exponent 28948022309329048855892746252171976963317496166410141009864396001978282409984 and modulus 115792089237316195423570985008687907853269984665640564039457584007913129639936 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas",
+ ]
+ },
"pre" : {
- "0000000000000000000000000000000000000001" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000001" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000002" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000002" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000003" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000003" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000004" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000004" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000005" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000005" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000006" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000006" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000007" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000007" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "0000000000000000000000000000000000000008" : {
- "balance" : "1",
- "code" : "0x",
- "nonce" : "0",
+ "0x0000000000000000000000000000000000000008" : {
+ "balance" : "0x01",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "3535353535353535353535353535353535353535" : {
- "balance" : "131566",
- "code" : "0x",
- "nonce" : "0",
+ "0x3535353535353535353535353535353535353535" : {
+ "balance" : "0x0201ee",
+ "code" : "",
+ "nonce" : "0x00",
"storage" : {
}
},
- "82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
- "balance" : "999999999999868434",
- "code" : "0x",
- "nonce" : "1",
+ "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
+ "balance" : "0x0de0b6b3a761fe12",
+ "code" : "",
+ "nonce" : "0x01",
"storage" : {
}
},
- "c305c901078781c232a2a521c2af7980f8385ee9" : {
- "balance" : "0",
+ "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
+ "balance" : "0x00",
"code" : "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760c66004356004013511151558576004356004013560200160043560040161014037602161028061014051610160600060056305f5e0fff11558576021610260526102606041806102e08284600060046018f15050506102e08051602082012090506000556102e060206020820352604081510160206001820306601f820103905060208203f350005b",
- "nonce" : "1",
+ "nonce" : "0x01",
"storage" : {
}
}