Skip to content

Commit

Permalink
upgrade to solidity 0.5.15 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler authored Mar 12, 2020
1 parent de4fe97 commit 530480b
Show file tree
Hide file tree
Showing 7 changed files with 2,433 additions and 3,422 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
- stage: lint
script:
- docker build -t sw3-travis .
- docker run -it --rm sw3-travis npm run ethlint
- docker run -it --rm sw3-travis npm run solhint
- stage: test
script:
Expand Down
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.5.13"
ARG SOLIDITY_VERSION="0.5.15"

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.5.11;
pragma solidity =0.5.15;
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/SimpleSwapFactory.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pragma solidity ^0.5.11;
pragma solidity =0.5.15;
import "./ERC20SimpleSwap.sol";

/**
Expand Down
Loading

0 comments on commit 530480b

Please # to comment.