Re-enable solidity coverage
- Upgrade version - Re-enable in travis.yml - Move mocks to contracts folder for instrumentation
This commit is contained in:
17
contracts/mocks/SecureTargetBounty.sol
Normal file
17
contracts/mocks/SecureTargetBounty.sol
Normal file
@ -0,0 +1,17 @@
|
||||
pragma solidity ^0.4.18;
|
||||
|
||||
|
||||
import {Bounty, Target} from "../../contracts/Bounty.sol";
|
||||
|
||||
|
||||
contract SecureTargetMock is Target {
|
||||
function checkInvariant() public returns(bool) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
contract SecureTargetBounty is Bounty {
|
||||
function deployContract() internal returns (address) {
|
||||
return new SecureTargetMock();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user