Update to 0.8.0 versions of solidity-external-tests branches where necessary/available

This commit is contained in:
Kamil Śliwak 2020-12-02 00:25:02 +01:00
parent d00bf35d6d
commit ec21fba4b7
5 changed files with 8 additions and 8 deletions

View File

@ -33,12 +33,12 @@ function colony_test
OPTIMIZER_LEVEL=3
CONFIG="truffle.js"
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/colonyNetwork.git develop_070_new
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/colonyNetwork.git develop_080_new
run_install "$SOLJSON" install_fn
cd lib
rm -Rf dappsys
git clone https://github.com/solidity-external-tests/dappsys-monolithic.git -b master_070 dappsys
git clone https://github.com/solidity-external-tests/dappsys-monolithic.git -b master_080 dappsys
cd ..
truffle_run_test "$SOLJSON" compile_fn test_fn

View File

@ -33,7 +33,7 @@ function ens_test
export OPTIMIZER_LEVEL=1
export CONFIG="truffle-config.js"
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/ens.git upgrade-0.8.0
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/ens.git master_080
# Use latest Truffle. Older versions crash on the output from 0.8.0.
force_truffle_version ^5.1.55

View File

@ -33,9 +33,9 @@ function gnosis_safe_test
OPTIMIZER_LEVEL=2
CONFIG="truffle-config.js"
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/safe-contracts.git v2_070
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/safe-contracts.git v2_080
sed -i 's|github:gnosis/mock-contract#sol_0_5_0|github:solidity-external-tests/mock-contract#master_070_new|g' package.json
sed -i 's|github:gnosis/mock-contract#sol_0_5_0|github:solidity-external-tests/mock-contract#master_080_new|g' package.json
sed -i -E 's|"@gnosis.pm/util-contracts": "[^"]+"|"@gnosis.pm/util-contracts": "github:solidity-external-tests/util-contracts#solc-7"|g' package.json
# Remove the lock file (if it exists) to prevent it from overriding our changes in package.json

View File

@ -33,9 +33,9 @@ function gnosis_safe_test
OPTIMIZER_LEVEL=2
CONFIG="truffle-config.js"
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/safe-contracts.git development_070_new
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/safe-contracts.git development_080_new
sed -i 's|github:gnosis/mock-contract#sol_0_5_0|github:solidity-external-tests/mock-contract#master_070_new|g' package.json
sed -i 's|github:gnosis/mock-contract#sol_0_5_0|github:solidity-external-tests/mock-contract#master_080_new|g' package.json
# Remove the lock file (if it exists) to prevent it from overriding our changes in package.json
rm -f package-lock.json

View File

@ -33,7 +33,7 @@ function zeppelin_test
OPTIMIZER_LEVEL=1
CONFIG="truffle-config.js"
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/openzeppelin-contracts.git master_070
truffle_setup "$SOLJSON" https://github.com/solidity-external-tests/openzeppelin-contracts.git master_080
run_install "$SOLJSON" install_fn
truffle_run_test "$SOLJSON" compile_fn test_fn