Skip to content

Commit

Permalink
Merge pull request #12236 from ethereum/removeEmscriptenWorkaround
Browse files Browse the repository at this point in the history
Remove old compatibility patch to soljson.js.
  • Loading branch information
ekpyron authored Nov 4, 2021
2 parents 44fdcdc + 8e87c17 commit df6f930
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ Bugfixes:
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.


Build System:
* Remove obsolete compatibility workaround for emscripten builds.


Important Bugfixes in Experimental Features:
* Yul IR Generator: Changes to function return variables referenced in modifier invocation arguments were not properly forwarded if there was more than one return variable.

Expand Down
4 changes: 0 additions & 4 deletions scripts/ci/build_emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ emcmake cmake \
-DTESTS=0 \
..
make soljson
# Patch soljson.js for backwards compatibility.
# TODO: remove this with 0.7.
# "viiiii" encodes the signature of the callback function.
sed -i -e 's/addFunction(func,sig){/addFunction(func,sig){sig=sig||"viiiii";/' libsolc/soljson.js

cd ..
mkdir -p upload
Expand Down

0 comments on commit df6f930

Please sign in to comment.