Merge pull request #7796 from ethereum/fix-solc-tests

Use master_060 of solc-js for testing
This commit is contained in:
Alex Beregszaszi 2019-11-26 21:28:48 +01:00 committed by GitHub
commit 7ce280d7bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ function truffle_setup
local repo="$1"
local branch="$2"
setup_solcjs "$DIR" "$SOLJSON" "v0.5.0" "solc"
setup_solcjs "$DIR" "$SOLJSON" "master_060" "solc"
download_project "$repo" "$branch" "$DIR"
}
@ -131,7 +131,7 @@ function force_solc_truffle_modules
if [ -d "$d" ]; then
cd $d
rm -rf solc
git clone --depth 1 -b v0.5.0 https://github.com/ethereum/solc-js.git solc
git clone --depth 1 -b master_060 https://github.com/ethereum/solc-js.git solc
cp "$1" solc/soljson.js
fi
)

View File

@ -35,7 +35,7 @@ function solcjs_test
SOLCJS_INPUT_DIR="$TEST_DIR"/test/externalTests/solc-js
# set up solc-js on the branch specified
setup callback-context
setup master_060
printLog "Updating index.js file..."
echo "require('./determinism.js');" >> test/index.js