diff options
author | cdetrio <cdetrio@gmail.com> | 2017-08-06 01:17:37 +0800 |
---|---|---|
committer | cdetrio <cdetrio@gmail.com> | 2017-08-06 01:22:32 +0800 |
commit | 349ac7908f284d579530ef77078437071ab833c5 (patch) | |
tree | 5109ae59861d421036a7786e70986ec5387d837a /src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json | |
parent | d910fcd855aee824ccbdda4e3a03cc319c2a6273 (diff) | |
download | dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.gz dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.bz2 dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.lz dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.xz dexon-tests-349ac7908f284d579530ef77078437071ab833c5.tar.zst dexon-tests-349ac7908f284d579530ef77078437071ab833c5.zip |
fix invalid json fillers
Diffstat (limited to 'src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json b/src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json index 78872bb56..b66bbeeb2 100644 --- a/src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json +++ b/src/GeneralStateTestsFiller/stSolidityTest/TestContractInteractionFiller.json @@ -29,35 +29,35 @@ "pre" : { "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { "balance" : "100000", - "//": "contract TestContract ", - "//": "{ ", - "//": " function testMethod() returns (int res) ", - "//": " { ", - "//": " return 225; ", - "//": " } ", - "//": " ", - "//": " function destroy(address sendFoundsTo) ", - "//": " { ", - "//": " suicide(sendFoundsTo); ", - "//": " } ", - "//": "} ", - "//": "contract main ", - "//": "{ ", - "//": " bool returnValue; ", - "//": " function run() returns (bool) ", - "//": " { ", - "//": " returnValue = testContractInteraction(); ", - "//": " return returnValue; ", - "//": " } ", - "//": " ", - "//" : " function testContractInteraction() returns (bool res) ", - "//" : " { ", - "//" : " TestContract a = new TestContract(); ", - "//" : " if (a.testMethod() == 225) ", - "//" : " return true; ", - "//" : " return false; ", - "//" : " } ", - "//": "} ", + "//comment1": "contract TestContract", + "//comment2": "{", + "//comment3": " function testMethod() returns (int res)", + "//comment4": " {", + "//comment5": " return 225;", + "//comment6": " }", + "//comment7": "", + "//comment8": " function destroy(address sendFoundsTo)", + "//comment9": " {", + "//comment10": " suicide(sendFoundsTo);", + "//comment11": " }", + "//comment12": "}", + "//comment13": "contract main", + "//comment14": "{", + "//comment15": " bool returnValue;", + "//comment16": " function run() returns (bool)", + "//comment17": " {", + "//comment18": " returnValue = testContractInteraction();", + "//comment19": " return returnValue;", + "//comment20": " }", + "//comment21": "", + "//comment22" : " function testContractInteraction() returns (bool res)", + "//comment23" : " {", + "//comment24" : " TestContract a = new TestContract();", + "//comment25" : " if (a.testMethod() == 225)", + "//comment26" : " return true;", + "//comment27" : " return false;", + "//comment28" : " }", + "//comment29": "}", "code" : "0x7c01000000000000000000000000000000000000000000000000000000006000350463c04062268114610039578063ed973fe91461004b57005b6100416100ea565b8060005260206000f35b61005361005d565b8060005260206000f35b60006000608161011a600039608160006000f0905073ffffffffffffffffffffffffffffffffffffffff811663b9c3d0a5602060007fb9c3d0a50000000000000000000000000000000000000000000000000000000081526004600060008660325a03f16100c757005b505060005160e1146100d8576100e1565b600191506100e6565b600091505b5090565b60006100f461005d565b600060006101000a81548160ff0219169083021790555060ff600160005404169050905600607580600c6000396000f3007c01000000000000000000000000000000000000000000000000000000006000350462f55d9d81146036578063b9c3d0a514604557005b603f6004356055565b60006000f35b604b6070565b8060005260206000f35b8073ffffffffffffffffffffffffffffffffffffffff16ff50565b60e19056", "nonce" : "0", "storage" : { |