From 2e1383eae165568cecf076223dc4c16bb5266409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Tue, 25 Jan 2022 13:31:47 +0100 Subject: [PATCH] Change the way we run solcjs now that it has been renamed in solc-js --- scripts/solc-bin/bytecode_reports_for_modified_binaries.sh | 2 +- test/externalTests/common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh b/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh index 69d6a34d0..5638d62a7 100755 --- a/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh +++ b/scripts/solc-bin/bytecode_reports_for_modified_binaries.sh @@ -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 diff --git a/test/externalTests/common.sh b/test/externalTests/common.sh index 130e325a2..396612b96 100644 --- a/test/externalTests/common.sh +++ b/test/externalTests/common.sh @@ -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..."