diff options
author | Dimitry <dimitry@ethereum.org> | 2018-02-16 01:59:47 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-02-16 01:59:47 +0800 |
commit | f62640eeabf3066fa9726c8a61dfa5d50e7daf44 (patch) | |
tree | 29090a23ca6c34b99a5ff3905637118b19b78909 /src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json | |
parent | 772a3d69a704e0670f567abefb6608f942136693 (diff) | |
download | dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.gz dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.tar.zst dexon-tests-f62640eeabf3066fa9726c8a61dfa5d50e7daf44.zip |
fix stPreCompiledContracts empty expect
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json index 617b4f557..edc1543c9 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_0_1_0_20500Filler.json @@ -169,6 +169,84 @@ "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": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760856004356004013511151558576004356004013560200160043560040161014037600161024061014051610160600060056305f5e0fff11558576001610220526102206021806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b", + "storage": { + "0x00" : "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a" + } + }, + "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": { + "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": { + "nonce": "0", + "code": "0x", + "storage": {} + }, + "0000000000000000000000000000000000000002": { + "balance": "1", + "nonce": "0", + "code": "0x", + "storage": {} + } + } } ], "explanation": "Puts the base 0, exponent 1 and modulus 0 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas" |