We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e39513 commit f46e333Copy full SHA for f46e333
scripts/bytecodecompare/storebytecode.sh
@@ -42,11 +42,18 @@ TMPDIR=$(mktemp -d)
42
43
if [[ "$SOLC_EMSCRIPTEN" = "On" ]]
44
then
45
+ echo "Installing solc-js..."
46
# npm install solc
47
git clone --depth 1 https://github.com/ethereum/solc-js.git solc-js
48
cp "$REPO_ROOT/emscripten_build/libsolc/soljson.js" solc-js/
49
+ pushd solc-js/
50
+ npm install
51
+ npm run build
52
+ popd
53
+
54
cp "$REPO_ROOT/scripts/bytecodecompare/prepare_report.js" .
- ( npm install solc-js/ )
55
+ npm install solc-js/
56
57
echo "Running the compiler..."
58
# shellcheck disable=SC2035
59
./prepare_report.js *.sol > report.txt
0 commit comments