Skip to content

Commit

Permalink
chore: enable floating pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocao committed May 21, 2021
1 parent 8001c19 commit 2230f68
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contracts/BufferLib.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;


/**
Expand Down
3 changes: 2 additions & 1 deletion contracts/CBOR.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./BufferLib.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/Request.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;


/**
Expand Down
3 changes: 2 additions & 1 deletion contracts/UsingWitnet.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./Request.sol";
import "./Witnet.sol";
Expand Down
3 changes: 2 additions & 1 deletion contracts/Witnet.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./CBOR.sol";

Expand Down
2 changes: 1 addition & 1 deletion contracts/WitnetRequestBoard.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;
pragma solidity >=0.7.0 <0.9.0;

import "./WitnetRequestBoardInterface.sol";
import "./Request.sol";
Expand Down
3 changes: 2 additions & 1 deletion contracts/WitnetRequestBoardInterface.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;


/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/WitnetRequestBoardProxy.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity 0.8.4;
pragma solidity >=0.7.0 <0.9.0;

import "./WitnetRequestBoardInterface.sol";

Expand Down
2 changes: 1 addition & 1 deletion test/helpers/RequestTestHelper.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;

import "../../contracts/Request.sol";

Expand Down

0 comments on commit 2230f68

Please sign in to comment.