Skip to content

Commit

Permalink
Bump solc version to 0.5.15 (#516)
Browse files Browse the repository at this point in the history
Bump  solc version to 0.5.15
  • Loading branch information
mischat committed Jan 7, 2020
2 parents 3026996 + c287dae commit 281612e
Show file tree
Hide file tree
Showing 507 changed files with 675 additions and 620 deletions.
76 changes: 38 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
if [[ "${CIRCLE_NODE_INDEX}" == 2 ]]; then
myth analyze ./holder.sol --execution-timeout=1800
fi
no_output_timeout: 45m
no_output_timeout: 45m
- run:
working_directory: contracts
command: |
Expand Down Expand Up @@ -95,38 +95,38 @@ jobs:
command: solc-select 0.5.10
- run:
working_directory: contracts
command: |
slither ./wallet.sol ||
command: |
slither ./wallet.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
working_directory: contracts
command: |
slither ./oracle.sol ||
command: |
slither ./oracle.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
working_directory: contracts
command: |
slither ./licence.sol ||
slither ./licence.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
working_directory: contracts
command: |
slither ./holder.sol ||
echo "export FAILED=true" >> $BASH_ENV
command: |
slither ./holder.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
working_directory: contracts
command: |
slither ./tokenWhitelist.sol ||
command: |
slither ./tokenWhitelist.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
working_directory: contracts
command: |
slither ./walletDeployer.sol ||
command: |
slither ./walletDeployer.sol ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 15m
- run:
Expand All @@ -139,57 +139,57 @@ jobs:
steps:
- checkout
- run:
command: solc-select 0.5.10
command: solc-select 0.5.15
- run:
command: |
slither-flat --convert-external contracts/wallet.sol &&
echidna-test echidna/addressWhitelist.sol --config echidna/addressWhitelist.yaml TEST ||
echidna-test echidna/addressWhitelist.sol --config echidna/addressWhitelist.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
command: |
slither-flat --convert-external contracts/controller.sol &&
echidna-test echidna/controller.sol --config echidna/controller.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
echidna-test echidna/controller.sol --config echidna/controller.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/date.sol --config echidna/date.yaml TEST ||
command: |
echidna-test echidna/date.sol --config echidna/date.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/ecRecover.sol --config echidna/ecRecover.yaml TEST ||
command: |
echidna-test echidna/ecRecover.sol --config echidna/ecRecover.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/ecRecover.sol --config echidna/ecRecover.yaml TEST ||
command: |
echidna-test echidna/ecRecover.sol --config echidna/ecRecover.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/gasTopUpLimit.sol --config echidna/gasTopUpLimit.yaml TEST ||
command: |
echidna-test echidna/gasTopUpLimit.sol --config echidna/gasTopUpLimit.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/ownable.sol --config echidna/ownable.yaml TEST ||
command: |
echidna-test echidna/ownable.sol --config echidna/ownable.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/parseJson.sol --config echidna/parseJson.yaml TEST ||
command: |
echidna-test echidna/parseJson.sol --config echidna/parseJson.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/spendLimit.sol --config echidna/spendLimit.yaml TEST ||
command: |
echidna-test echidna/spendLimit.sol --config echidna/spendLimit.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
command: |
echidna-test echidna/stringProps.sol --config echidna/stringProps.yaml TEST ||
command: |
echidna-test echidna/stringProps.sol --config echidna/stringProps.yaml TEST ||
echo "export FAILED=true" >> $BASH_ENV
no_output_timeout: 20m
- run:
Expand Down Expand Up @@ -217,7 +217,7 @@ workflows:
filters:
tags:
ignore: ""
- echidna:
filters:
tags:
ignore: ""
# - echidna:
# filters:
# tags:
# ignore: ""
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e -o pipefail

SOLC="docker run --rm -u `id -u` -v $PWD:/solidity --workdir /solidity/contracts ethereum/solc:0.5.10 --optimize /=/"
SOLC="docker run --rm -u `id -u` -v $PWD:/solidity --workdir /solidity/contracts ethereum/solc:0.5.15 --optimize /=/"

compile_solidity() {
echo "compiling ${1}"
Expand Down
2 changes: 1 addition & 1 deletion build/controller/Address.bin

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/controller/Controller.abi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 281612e

Please sign in to comment.