Move BreakInvariantBounty to drafts (#1334)

* move BreakInvariantBounty to drafts

* fix bad imports
pull/1408/head
Francisco Giordano 6 years ago committed by GitHub
parent 6c36bc71a7
commit fa739d8af0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      contracts/drafts/BreakInvariantBounty.sol
  2. 2
      contracts/mocks/InsecureInvariantTargetBounty.sol
  3. 2
      contracts/mocks/SecureInvariantTargetBounty.sol
  4. 6
      test/drafts/BreakInvariantBounty.test.js

@ -3,7 +3,7 @@ pragma solidity ^0.4.24;
// When this line is split, truffle parsing fails.
// See: https://github.com/ethereum/solidity/issues/4871
// solium-disable-next-line max-len
import {BreakInvariantBounty, Target} from "../../contracts/bounties/BreakInvariantBounty.sol";
import {BreakInvariantBounty, Target} from "../../contracts/drafts/BreakInvariantBounty.sol";
contract InsecureInvariantTargetMock is Target {

@ -3,7 +3,7 @@ pragma solidity ^0.4.24;
// When this line is split, truffle parsing fails.
// See: https://github.com/ethereum/solidity/issues/4871
// solium-disable-next-line max-len
import {BreakInvariantBounty, Target} from "../../contracts/bounties/BreakInvariantBounty.sol";
import {BreakInvariantBounty, Target} from "../../contracts/drafts/BreakInvariantBounty.sol";
contract SecureInvariantTargetMock is Target {

@ -1,6 +1,6 @@
const { ethGetBalance, ethSendTransaction } = require('./helpers/web3');
const expectEvent = require('./helpers/expectEvent');
const { assertRevert } = require('./helpers/assertRevert');
const { ethGetBalance, ethSendTransaction } = require('../helpers/web3');
const expectEvent = require('../helpers/expectEvent');
const { assertRevert } = require('../helpers/assertRevert');
const SecureInvariantTargetBounty = artifacts.require('SecureInvariantTargetBounty');
const InsecureInvariantTargetBounty = artifacts.require('InsecureInvariantTargetBounty');
Loading…
Cancel
Save