diff options
author | Dimitry <winsvega@mail.ru> | 2016-11-30 21:45:00 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2016-11-30 21:45:00 +0800 |
commit | 35cfcf16190fc3e56ee11ead23452c633e2fca28 (patch) | |
tree | d60805db645e1a8ef757e6a53aed0c5a0b99423f /GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json | |
parent | d61a9d9d6fa05543555fb1e48d9695dfb3a9e6ac (diff) | |
download | dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar.gz dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar.bz2 dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar.lz dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar.xz dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.tar.zst dexon-tests-35cfcf16190fc3e56ee11ead23452c633e2fca28.zip |
General State Tests
Diffstat (limited to 'GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json')
-rw-r--r-- | GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json b/GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json new file mode 100644 index 000000000..865a358aa --- /dev/null +++ b/GeneralStateTests/stSolidityTest/TestCryptographicFunctions.json @@ -0,0 +1,85 @@ +{ + "TestCryptographicFunctions" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x02b8feb0", + "currentGasLimit" : "0x7fffffffffffffff", + "currentNumber" : "0x78", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "EIP150" : [ + { + "hash" : "0174852c4e603778f14fdc2c67ab61f72d13b9c5122e6050bf7c0560c83a02e3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "EIP158" : [ + { + "hash" : "88b66fadcd2608906c1ceabb95144359b5d5c2f05a6c08ce5f9ced551bb49c96", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Frontier" : [ + { + "hash" : "3e2d93fa99efc8b83dfd38acc31be9d3f22d5336401f530127d8e976a111d756", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ], + "Homestead" : [ + { + "hash" : "3e2d93fa99efc8b83dfd38acc31be9d3f22d5336401f530127d8e976a111d756", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + } + } + ] + }, + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0186a0", + "code" : "0x6000357c010000000000000000000000000000000000000000000000000000000090048063c04062261461003a578063e0a9fd281461004c57005b61004261005e565b8060005260206000f35b610054610099565b8060005260206000f35b6000610068610099565b600060006101000a81548160ff02191690830217905550600060009054906101000a900460ff169050610096565b90565b60006001905080507f43c4b4524adb81e4e9a5c4648a98e9d320e3908ac5b6c889144b642cd08ae16d60010260407f74657374737472696e67000000000000000000000000000000000000000000008152600a016040900360402014156100ff57610108565b600090506102ec565b7f3c8727e019a42b444667a587b6001251becadabbb36bfed8087a92c18882d11160010260026020600060007f74657374737472696e67000000000000000000000000000000000000000000008152600a0160006000856161da5a03f161016b57005b50600051141561017a57610183565b600090506102ec565b73cd566972b5e50104011a92b59fa8e0b1234851ae6c010000000000000000000000000260036020600060007f74657374737472696e67000000000000000000000000000000000000000000008152600a0160006000856161da5a03f16101e657005b506000516c010000000000000000000000000214156102045761020d565b600090506102ec565b73a94f5374fce5edbc8e2a8697c15331677e6ebf0b60016020600060007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c6001028152602001601c81526020017f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f60010281526020017feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549600102815260200160006000856161da5a03f16102bd57005b5060005173ffffffffffffffffffffffffffffffffffffffff1614156102e2576102eb565b600090506102ec565b5b9056", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x02faf080", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0xc0406226" + ], + "gasLimit" : [ + "35000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "100" + ] + } + } +}
\ No newline at end of file |