mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12582 from ethereum/use-solcjs-binary-properly
Switch from `solcjs` to `solc.js` in external tests
This commit is contained in:
commit
2725788c24
@ -151,7 +151,7 @@ for binary_name in $platform_binaries; do
|
|||||||
cp "${script_dir}/bytecodecompare/prepare_report.js" prepare_report.js
|
cp "${script_dir}/bytecodecompare/prepare_report.js" prepare_report.js
|
||||||
|
|
||||||
validate_reported_version \
|
validate_reported_version \
|
||||||
"$(solc-js/solcjs --version)" \
|
"$(solc-js/solc.js --version)" \
|
||||||
"$solidity_version_and_commit"
|
"$solidity_version_and_commit"
|
||||||
|
|
||||||
# shellcheck disable=SC2035
|
# shellcheck disable=SC2035
|
||||||
|
@ -84,7 +84,7 @@ function setup_solc
|
|||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
npm install
|
npm install
|
||||||
cp "$binary_path" soljson.js
|
cp "$binary_path" soljson.js
|
||||||
SOLCVERSION=$(./solcjs --version)
|
SOLCVERSION=$(./solc.js --version)
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
printLog "Setting up solc..."
|
printLog "Setting up solc..."
|
||||||
|
Loading…
Reference in New Issue
Block a user