diff options
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json | 82 |
1 files changed, 81 insertions, 1 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json index 02b108bd6..4be209cbc 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexp_49_2401_2401_20500Filler.json @@ -95,7 +95,7 @@ { "indexes": { "data": 0, - "gas": 0, + "gas": [0], "value": 0 }, "network": [ @@ -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": "0x600035601c52740100000000000000000000000000000000000000006020526fffffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff000000000000000000000000000000016060527402540be3fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffdabf41c00000000000000000000000002540be40060a0526330c8d1da600051141561012b5760896004356004013511151558576004356004013560200160043560040161014037600261024061014051610160600060056305f5e0fff11558576002610220526102206022806102808284600060046015f150505061028080516020820120905060005561028060206020820352604081510160206001820306601f820103905060208203f350005b", + "storage": { + "0x00" : "0x54a8c0ab653c15bfb48b47fd011ba2b9617af01cb45cab344acd57c924d56798" + } + }, + "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": "999999999999823871", + "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": "176129", + "nonce": "0", + "code": "0x", + "storage": {} + }, + "0000000000000000000000000000000000000002": { + "balance": "1", + "nonce": "0", + "code": "0x", + "storage": {} + } + } } ], "explanation": "Puts the base 49, exponent 2401 and modulus 2401 into the MODEXP precompile, saves the hash of the result. Gives the execution 20500 gas" |