diff options
fix test fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json b/src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json index 1e557f2a8..75c7b8f5b 100644 --- a/src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json +++ b/src/GeneralStateTestsFiller/stSolidityTest/TestCryptographicFunctionsFiller.json @@ -28,34 +28,34 @@ "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "100000", - "//comment1" : "contract main", - "//comment2" : "{", - "//comment3" : " bool returnValue;", - "//comment4" : " function run() returns (bool)", - "//comment5" : " {", - "//comment6" : " returnValue = testCryptographicFunctions();", - "//comment7" : " return returnValue;", - "//comment8" : " }", - "//comment9" : "", - "//comment10" : " function testCryptographicFunctions() returns (bool res)", - "//comment11" : " {", - "//comment12" : " res = true;", - "//comment13" : " if (sha3('teststring') != 0x43c4b4524adb81e4e9a5c4648a98e9d320e3908ac5b6c889144b642cd08ae16d)", - "//comment14" : " return false;", - "//comment15" : "", - "//comment16" : " if (sha256('teststring') != 0x3c8727e019a42b444667a587b6001251becadabbb36bfed8087a92c18882d111)", - "//comment17" : " return false;", - "//comment18" : "", - "//comment19" : " if (ripemd160('teststring') != 0xcd566972b5e50104011a92b59fa8e0b1234851ae)", - "//comment20" : " return false;", - "//comment21" : "", - "//comment22" : "if (ecrecover(0x18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c,", - "//comment23" : " 28, 0x73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f,", - "//comment24" : " 0xeeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549)", - "//comment25" : " != 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b)", - "//comment26" : " return false;", - "//comment27" : " }", - "//comment28" : "}", + "//comment1" : "contract main", + "//comment2" : "{", + "//comment3" : " bool returnValue;", + "//comment4" : " function run() returns (bool)", + "//comment5" : " {", + "//comment6" : " returnValue = testCryptographicFunctions();", + "//comment7" : " return returnValue;", + "//comment8" : " }", + "//comment9" : "", + "//comment10" : " function testCryptographicFunctions() returns (bool res)", + "//comment11" : " {", + "//comment12" : " res = true;", + "//comment13" : " if (sha3('teststring') != 0x43c4b4524adb81e4e9a5c4648a98e9d320e3908ac5b6c889144b642cd08ae16d)", + "//comment14" : " return false;", + "//comment15" : "", + "//comment16" : " if (sha256('teststring') != 0x3c8727e019a42b444667a587b6001251becadabbb36bfed8087a92c18882d111)", + "//comment17" : " return false;", + "//comment18" : "", + "//comment19" : " if (ripemd160('teststring') != 0xcd566972b5e50104011a92b59fa8e0b1234851ae)", + "//comment20" : " return false;", + "//comment21" : "", + "//comment22" : "if (ecrecover(0x18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c,", + "//comment23" : " 28, 0x73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f,", + "//comment24" : " 0xeeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549)", + "//comment25" : " != 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b)", + "//comment26" : " return false;", + "//comment27" : " }", + "//comment28" : "}", "code" : "0x6000357c010000000000000000000000000000000000000000000000000000000090048063c04062261461003a578063e0a9fd281461004c57005b61004261005e565b8060005260206000f35b610054610099565b8060005260206000f35b6000610068610099565b600060006101000a81548160ff02191690830217905550600060009054906101000a900460ff169050610096565b90565b60006001905080507f43c4b4524adb81e4e9a5c4648a98e9d320e3908ac5b6c889144b642cd08ae16d60010260407f74657374737472696e67000000000000000000000000000000000000000000008152600a016040900360402014156100ff57610108565b600090506102ec565b7f3c8727e019a42b444667a587b6001251becadabbb36bfed8087a92c18882d11160010260026020600060007f74657374737472696e67000000000000000000000000000000000000000000008152600a0160006000856161da5a03f161016b57005b50600051141561017a57610183565b600090506102ec565b73cd566972b5e50104011a92b59fa8e0b1234851ae6c010000000000000000000000000260036020600060007f74657374737472696e67000000000000000000000000000000000000000000008152600a0160006000856161da5a03f16101e657005b506000516c010000000000000000000000000214156102045761020d565b600090506102ec565b73a94f5374fce5edbc8e2a8697c15331677e6ebf0b60016020600060007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c6001028152602001601c81526020017f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f60010281526020017feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549600102815260200160006000856161da5a03f16102bd57005b5060005173ffffffffffffffffffffffffffffffffffffffff1614156102e2576102eb565b600090506102ec565b5b9056", "nonce" : "0", "storage" : { |