Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit d29c7fa

Browse files
authored
Simplify Etherscan verification (#45)
* update to solidity 0.6.11 * remove experimental pragma
1 parent 389f6fb commit d29c7fa

12 files changed

+16
-20
lines changed

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all :; dapp --use solc:0.6.7 build
2-
#build :; SOLC_FLAGS="--libraries src/MathLib.sol:MathLib:0x987dc24Dd903F626E8C55769BFc684871Fa28E24" dapp --use solc:0.6.7 build --extract
3-
build :; dapp --use solc:0.6.7 build --extract
1+
all :; dapp --use solc:0.6.11 build
2+
#build :; SOLC_FLAGS="--libraries src/MathLib.sol:MathLib:0x987dc24Dd903F626E8C55769BFc684871Fa28E24" dapp --use solc:0.6.11 build --extract
3+
build :; dapp --use solc:0.6.11 build --extract
44
clean :; dapp clean
55
test :; ./test.sh
66
# KOVAN 0x987dc24Dd903F626E8C55769BFc684871Fa28E24
7-
#deploy :; SOLC_FLAGS="--optimize --optimize-runs 200 --libraries src/MathLib.sol:MathLib:0x987dc24Dd903F626E8C55769BFc684871Fa28E24" dapp --use solc:0.6.7 create DssExecLib
8-
deploy :; dapp --use solc:0.6.7 create DssExecLib
7+
#deploy :; SOLC_FLAGS="--optimize --optimize-runs 200 --libraries src/MathLib.sol:MathLib:0x987dc24Dd903F626E8C55769BFc684871Fa28E24" dapp --use solc:0.6.11 create DssExecLib
8+
deploy :; dapp --use solc:0.6.11 create DssExecLib

src/CollateralOpts.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.6.7;
1+
pragma solidity ^0.6.11;
22

33
struct CollateralOpts {
44
bytes32 ilk;

src/DssAction.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
21-
pragma experimental ABIEncoderV2;
20+
pragma solidity ^0.6.11;
2221

2322
import "./CollateralOpts.sol";
2423

src/DssExec.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
20+
pragma solidity ^0.6.11;
2121

2222
interface PauseAbstract {
2323
function delay() external view returns (uint256);

src/DssExecFactory.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
19-
pragma solidity ^0.6.7;
19+
pragma solidity ^0.6.11;
2020

2121
import "./DssExec.sol";
2222

src/DssExecLib.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
19-
pragma solidity ^0.6.7;
19+
pragma solidity ^0.6.11;
2020

2121
import "./MathLib.sol";
2222

src/MathLib.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
19-
pragma solidity ^0.6.7;
19+
pragma solidity ^0.6.11;
2020

2121
library MathLib {
2222

src/test/DssAction.t.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
20+
pragma solidity ^0.6.11;
2121

2222
import "ds-test/test.sol";
2323
import "ds-token/token.sol";

src/test/DssExec.t.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
21-
pragma experimental ABIEncoderV2;
20+
pragma solidity ^0.6.11;
2221

2322
import "ds-test/test.sol";
2423
import "ds-math/math.sol";

src/test/DssExecFactory.t.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
21-
pragma experimental ABIEncoderV2;
20+
pragma solidity ^0.6.11;
2221

2322
import "ds-test/test.sol";
2423
import "ds-math/math.sol";

src/test/DssTestAction.sol

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

20-
pragma solidity ^0.6.7;
21-
pragma experimental ABIEncoderV2;
20+
pragma solidity ^0.6.11;
2221

2322
import "../DssAction.sol";
2423

src/test/rates.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pragma solidity ^0.6.7;
1+
pragma solidity ^0.6.11;
22

33
contract Rates {
44

0 commit comments

Comments
 (0)