Skip to content

Commit

Permalink
bump to solidity 0.6.12 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler authored Jul 31, 2020
1 parent 0020f04 commit 5a23290
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.abigen
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:10.16.0-stretch as builder

ARG GETH_VERSION="1.9.7-a718daa6"
ARG SOLIDITY_VERSION="0.6.8"
ARG SOLIDITY_VERSION="0.6.12"

RUN wget -q "https://github.com/ethereum/solidity/releases/download/v$SOLIDITY_VERSION/solc-static-linux" \
&& chmod +x solc-static-linux \
Expand Down
2 changes: 1 addition & 1 deletion contracts/ERC20SimpleSwap.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.6.8;
pragma solidity =0.6.12;
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/cryptography/ECDSA.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/Migrations.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.6.8;
pragma solidity =0.6.12;
import "@openzeppelin/contracts/presets/ERC20PresetMinterPauser.sol";

contract Migrations {
Expand Down
2 changes: 1 addition & 1 deletion contracts/SimpleSwapFactory.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity =0.6.8;
pragma solidity =0.6.12;
import "./ERC20SimpleSwap.sol";

/**
Expand Down
4 changes: 2 additions & 2 deletions truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ module.exports = {
// Configure your compilers
compilers: {
solc: {
version: "0.6.8", // Fetch exact version from solc-bin (default: truffle's version)
version: "0.6.12", // Fetch exact version from solc-bin (default: truffle's version)
settings: { // See the solidity docs for advice about optimization and evmVersion
optimizer: {
enabled: true,
runs: 200
},
evmVersion: 'petersburg'
evmVersion: 'istanbul'
}
}
}
Expand Down

0 comments on commit 5a23290

Please # to comment.