Skip to content

Commit

Permalink
Move all test contracts and lib dependencies to solc 0.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
elenadimitrova committed May 20, 2020
1 parent 273e9aa commit d1fed32
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion contracts-test/ERC20Approver.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "../contracts/wallet/BaseWallet.sol";
import "../contracts/modules/common/BaseModule.sol";
import "../contracts/modules/common/OnlyOwnerModule.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/FakeWallet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "../contracts/wallet/BaseWallet.sol";

/**
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/KyberNetworkTest.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "../lib/other/ERC20.sol";
import "../lib/other/KyberNetwork.sol";
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/NewTestModule.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "../contracts/modules/common/BaseModule.sol";
import "../contracts/modules/common/RelayerModule.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/NonCompliantGuardian.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

/**
* @title NonCompliantGuardian
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/OldTestModule.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "../contracts/modules/common/BaseModule.sol";
import "../contracts/modules/common/RelayerModule.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestContract.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "./TokenConsumer.sol";
import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestDapp.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

contract TestDapp {
function noReturn() external {}
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestERC20.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestERC721.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol";
import "openzeppelin-solidity/contracts/token/ERC721/ERC721Mintable.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestModuleRelayer.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "../contracts/wallet/BaseWallet.sol";
import "../contracts/modules/common/BaseModule.sol";
import "../contracts/modules/common/RelayerModule.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestOnlyOwnerModule.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "../contracts/wallet/BaseWallet.sol";
import "../contracts/modules/common/OnlyOwnerModule.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Source https://github.com/christianlundkvist/simple-multisig/blob/master/contracts/TestRegistry.sol
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

// This contract is only used for testing the MultiSigWallet
contract TestRegistry {
Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TestUpgradedMakerV2Manager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "../contracts/modules/maker/MakerV2Manager.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/TokenConsumer.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/maker/FaucetUser.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

import "../../lib/maker/DS/DSToken.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts-test/maker/TestCdpManager.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;

contract TestCdpManager {
function urns(uint) public view returns (address);
Expand Down
2 changes: 1 addition & 1 deletion lib/other/ERC20.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity >=0.5.4 <0.7.0;

/**
* ERC20 contract interface.
Expand Down
2 changes: 1 addition & 1 deletion lib/other/KyberNetwork.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.4;
pragma solidity ^0.6.8;
import "./ERC20.sol";

contract KyberNetwork {
Expand Down

0 comments on commit d1fed32

Please sign in to comment.