diff options
author | Dimitry <dimitry@ethereum.org> | 2017-10-13 18:57:25 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2017-10-13 18:57:25 +0800 |
commit | ba6a35c1f3f2b992279f3072e5f983522a64a5c9 (patch) | |
tree | 2a1c5bcd52aa92d892945c8ec7ca55ee4b13f839 /src/GeneralStateTestsFiller | |
parent | ade96293f8693aeab154934b8ba48f8178525e0e (diff) | |
download | tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar.gz tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar.bz2 tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar.lz tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar.xz tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.tar.zst tangerine-tests-ba6a35c1f3f2b992279f3072e5f983522a64a5c9.zip |
fuzzed test modexp input
Diffstat (limited to 'src/GeneralStateTestsFiller')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts2/modexpRandomInputFiller.json | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts2/modexpRandomInputFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts2/modexpRandomInputFiller.json new file mode 100644 index 000000000..d520f3635 --- /dev/null +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts2/modexpRandomInputFiller.json @@ -0,0 +1,68 @@ +{ + "modexpRandomInput": { + "_info" : { + "comment" : "Fuzzed input discovered by Guido" + }, + "env": { + "currentCoinbase": "0x3535353535353535353535353535353535353535", + "currentDifficulty": "0x020000", + "currentGasLimit": "0x5f5e100", + "currentNumber": "0x1", + "currentTimestamp": "1000", + "previousHash": "0xc6745cf3cada515bbfb9573261c82547e0b8f9e3d5dd382e464704a84e47b5ad" + }, + "expect": [ + { + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999999977128" + } + } + }, + { + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : -1 + }, + "network" : ["Byzantium"], + "result" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999999999999890000" + } + } + } + ], + "pre": { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction": { + "data": [ +"0x00000000000000000000000000000000000000000000000000000000000000e300000000000000000000000000000000000000000000000000", +"0x00000000008000000000000000000000000000000000000000000000000000000000000400000000000000000000000a" + ], + "gasLimit": [ + "110000", "200000" + ], + "gasPrice": "1", + "nonce": "0", + "secretKey": "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to": "0x0000000000000000000000000000000000000005", + "value": [ + "0x" + ] + } + } +} |