Merge pull request #12582 from ethereum/use-solcjs-binary-properly

Switch from `solcjs` to `solc.js` in external tests
This commit is contained in:
Kamil Śliwak 2022-01-25 14:43:16 +01:00 committed by GitHub
commit 2725788c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ for binary_name in $platform_binaries; do
cp "${script_dir}/bytecodecompare/prepare_report.js" prepare_report.js
validate_reported_version \
"$(solc-js/solcjs --version)" \
"$(solc-js/solc.js --version)" \
"$solidity_version_and_commit"
# shellcheck disable=SC2035

View File

@ -84,7 +84,7 @@ function setup_solc
pushd "$install_dir"
npm install
cp "$binary_path" soljson.js
SOLCVERSION=$(./solcjs --version)
SOLCVERSION=$(./solc.js --version)
popd
else
printLog "Setting up solc..."