TrueBitFoundation / truebit-os

[DEPRECATED] Interactive client
Apache License 2.0
82 stars 26 forks source link

Common.sol fails on solidity-coverage #83

Closed hswick closed 5 years ago

hswick commented 6 years ago

It would be nice to be able to use the solidity-coverage tool, however, the technique being used for Common.sol doesn't allow ti to work.

Error parsing /home/hswick/projects/truebit/truebit-os/coverageEnv/contracts/dispute/Common.sol: ParsedContract.sol:11:19: ParserError: Expected token LBrace got 'Comma' contract REPLACEME, ALU { ^ Compilation failed. See above. ls: no such file or directory: ./coverageEnv/build/contracts/*.json Instrumenting ./coverageEnv/contracts/dispute/Alu.sol Instrumenting ./coverageEnv/contracts/dispute/Common.sol Cleaning up... There was a problem instrumenting ./coverageEnv/contracts/dispute/Common.sol: SyntaxError: Expected "is", "{", comment, end of line, or whitespace but "," found. Line: 11, Column: 19 Exiting without generating coverage...