From fa739d8af0b8ffdeb02e0a24e7ee741d99456ee9 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Tue, 18 Sep 2018 18:05:47 -0300 Subject: [PATCH] Move BreakInvariantBounty to drafts (#1334) * move BreakInvariantBounty to drafts * fix bad imports --- contracts/{bounties => drafts}/BreakInvariantBounty.sol | 0 contracts/mocks/InsecureInvariantTargetBounty.sol | 2 +- contracts/mocks/SecureInvariantTargetBounty.sol | 2 +- test/{ => drafts}/BreakInvariantBounty.test.js | 6 +++--- 4 files changed, 5 insertions(+), 5 deletions(-) rename contracts/{bounties => drafts}/BreakInvariantBounty.sol (100%) rename test/{ => drafts}/BreakInvariantBounty.test.js (94%) diff --git a/contracts/bounties/BreakInvariantBounty.sol b/contracts/drafts/BreakInvariantBounty.sol similarity index 100% rename from contracts/bounties/BreakInvariantBounty.sol rename to contracts/drafts/BreakInvariantBounty.sol diff --git a/contracts/mocks/InsecureInvariantTargetBounty.sol b/contracts/mocks/InsecureInvariantTargetBounty.sol index 32d305cac0a..7b78b0edec9 100644 --- a/contracts/mocks/InsecureInvariantTargetBounty.sol +++ b/contracts/mocks/InsecureInvariantTargetBounty.sol @@ -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 { diff --git a/contracts/mocks/SecureInvariantTargetBounty.sol b/contracts/mocks/SecureInvariantTargetBounty.sol index f08fbd9b81b..2f5e3470890 100644 --- a/contracts/mocks/SecureInvariantTargetBounty.sol +++ b/contracts/mocks/SecureInvariantTargetBounty.sol @@ -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 { diff --git a/test/BreakInvariantBounty.test.js b/test/drafts/BreakInvariantBounty.test.js similarity index 94% rename from test/BreakInvariantBounty.test.js rename to test/drafts/BreakInvariantBounty.test.js index 94a5fa0f7c7..747db7e8541 100644 --- a/test/BreakInvariantBounty.test.js +++ b/test/drafts/BreakInvariantBounty.test.js @@ -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');