aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-02-16 01:59:47 +0800
committerDimitry <dimitry@ethereum.org>2018-02-16 01:59:47 +0800
commitf62640eeabf3066fa9726c8a61dfa5d50e7daf44 (patch)
tree29090a23ca6c34b99a5ff3905637118b19b78909 /src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
parent772a3d69a704e0670f567abefb6608f942136693 (diff)
downloaddexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.gz
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.bz2
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.lz
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.xz
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.zst
dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.zip
fix stPreCompiledContracts empty expect
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json')
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json80
1 files changed, 80 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
index 745c1154f..4b4991812 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_3_5_100_20500Filler.json
@@ -169,6 +169,86 @@
"storage": {}
}
}
+ },
+ {
+ "indexes": {
+ "data": 0,
+ "gas": [1,2,3],
+ "value": 0
+ },
+ "network": [
+ ">=Byzantium"
+ ],
+ "result": {
+ "0000000000000000000000000000000000000001": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "c305c901078781c232a2a521c2af7980f8385ee9": {
+ "balance": "0",
+ "nonce": "1",
+ "code": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760876004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b",
+ "storage": {
+ "0x00" : "0x728b8dbbe730d9acd55e30e768e6a28a04bea0c61b88108287c2c87d79c98bb8"
+ }
+ },
+ "0000000000000000000000000000000000000005": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000008": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000003": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "82a978b3f5962a5b0957d9ee9eef472ee55b42f1": {
+ "balance": "999999999999824001",
+ "nonce": "2",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000006": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000007": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000004": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "3535353535353535353535353535353535353535": {
+ "balance": "175999",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ },
+ "0000000000000000000000000000000000000002": {
+ "balance": "1",
+ "nonce": "0",
+ "code": "0x",
+ "storage": {}
+ }
+ }
}
],
"explanation": "Puts the base 3, exponent 5 and modulus 100 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas"