Remove old compatibility patch to soljson.js.

This commit is contained in:
Daniel Kirchner 2021-11-04 11:44:31 +01:00
parent 735550b734
commit 8e87c17671
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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