From 8e87c176715ae559cb3dc135a411936638fb762a Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Thu, 4 Nov 2021 11:44:31 +0100 Subject: [PATCH] Remove old compatibility patch to soljson.js. --- Changelog.md | 4 ++++ scripts/ci/build_emscripten.sh | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Changelog.md b/Changelog.md index f92e20c7e..b02bb80c3 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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. diff --git a/scripts/ci/build_emscripten.sh b/scripts/ci/build_emscripten.sh index f4b8d734d..7eac2486f 100755 --- a/scripts/ci/build_emscripten.sh +++ b/scripts/ci/build_emscripten.sh @@ -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