Skip to content

Commit df6f930

Browse files
authored
Merge pull request #12236 from ethereum/removeEmscriptenWorkaround
Remove old compatibility patch to soljson.js.
2 parents 44fdcdc + 8e87c17 commit df6f930

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Bugfixes:
3131
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.
3232

3333

34+
Build System:
35+
* Remove obsolete compatibility workaround for emscripten builds.
36+
37+
3438
Important Bugfixes in Experimental Features:
3539
* 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.
3640

scripts/ci/build_emscripten.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ emcmake cmake \
6868
-DTESTS=0 \
6969
..
7070
make soljson
71-
# Patch soljson.js for backwards compatibility.
72-
# TODO: remove this with 0.7.
73-
# "viiiii" encodes the signature of the callback function.
74-
sed -i -e 's/addFunction(func,sig){/addFunction(func,sig){sig=sig||"viiiii";/' libsolc/soljson.js
7571

7672
cd ..
7773
mkdir -p upload

0 commit comments

Comments
 (0)